×

Multiple Access Control

Multiple Access Control: The data link layer is separated into two sub-layers. The upper sub-layer is responsible for flow control and error control that is called the logical link control layer. The lower sub-layer is responsible for multiple access resolution that is called media access control (MAC). The Sub-layer of the data link layer is shown in the figure below.

Multiple Access Control

The media access control protocol is divided into three protocols: The Random access, the Controlled-access, and the Channelization protocol.

Multiple Access Control

Random Access Protocol

In the Random access protocol, all systems are equal. No anyone system can depend and control another system. However, if more than one station attempts to transmit the data, there is an access conflict—collision, due to which the frames are either lost or changed.

Random access protocol is divided into two categories; firstly, aloha, and second CSMA (carrier sense multiple access). CSMA is later further divided into two parallel methods; CSMA/CD and CSMA/CA. When a collision is detected, CSMA/CD tells the station what to do. CSMA/CA attempts to stop a collision.

1.     Aloha

ALOHA is a Multiple Access Protocol which is used for random access in the network. Aloha was designed for the wireless local area network (WLAN), which is also known as the radio broadcast. In this method, any user can transmit the data at any time.

Type of Aloha

1. Pure Aloha

2. Slotted Aloha

Pure Aloha: Pure aloha is also called the original aloha protocol. It's a simple but elegant protocol, i.e., whenever the system has a data frame to send, it transmits the data frame continuously. Due to which the risk of collision is very high in this aloha method. Shown in below pure aloha.

Multiple Access Control
  • The maximum throughput occurs at G = 1/2, which is 18.4%.
  • In Pure Aloha, the probability of successful transmission of the data frame is S= G* e^-2G
  • In Pure Aloha, vulnerable time is: 2 * Tfr

Slotted Aloha: Slotted aloha was developed to improve the efficiency of the Pure Aloha. In this Aloha, the time of the systems is divided into slots so that the system can send only one frame to a slot, and this frame can only be sent at the beginning of the slot. If a system cannot send a frame at the beginning of the slot, then it has to wait for the next slot to start. If two systems try to transmit the frame at the beginning of a time slot. But it is better than pure Aloha because it has less chance of collision. Shown in below slotted aloha.

Multiple Access Control
  • In Slotted Aloha, maximum throughput occurs at G = 1, which is 37%.
  • In Slotted Aloha, the probability of successful transmission of the data frame: S=G* e^-G
  • In Slotted Aloha, vulnerable time is: Tfr

2.     CSMA (Carrier Sense Multiple Access)

CSMA was developed to improve performance and minimize the chance of collision. Each station is required to test the state of the medium before transmission. In other words, CSMA is based on the principle “sense before transmit.” CSMA can reduce the risk of collision, but it cannot remove it.

CSMA primary access mode:

1-Persistent: The 1-persistent method is very easy and quick. In this method, after the station finds the line empty, it immediately transmits its frame. The chances of the collision are very high in this method because two or more stations immediately transmit their frames as soon as the line is found empty.

Non-Persistent: In the non-persistent method, if found the line is empty, it transmits the frames immediately. If the line isn't clear, it waits for a random period and detects the line again. This approach decreases the risk of a collision.

P-Persistent: This method is a combination of 1-Persistent and Non-Persistent advantages. The p-persistent approach decreases the risk of collision and increases performance. 

In the P-Persistent approach, the following steps follow after the station finds the line-empty:

  1. With probability (p), the station transmits its frame.
  2. With probability (q = 1 ? p), the station waits for the starting of the next time slot and re-test the line.
  3. If the line is empty, it goes to step 1.
  4. If the line is not empty, it behaves as though a collision has happened, and it uses the back-off process.

In later, CSMA is divided into two parallel methods: CSMA/CD and CSMA/CA. When a collision is detected, CSMA/CD tells the station what to do, and CSMA/CA attempts to stop a collision.

Multiple Access Control

CSMA/CD (Carrier Sense Multiple Access with Collision Detection)

CSMA/CD is a carrier communication network protocol that operates in the Multiple Access Control layer.

In this approach, the station tracks the medium after transmitting a frame to see whether the transmission was successful or not. If so, the station work is completed. But, if there is a collision, the frame is re-sent.

CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance)

CSMA/CA is used in wireless networks because CSMA cannot detect the collision, so CSMA/CA is the only solution to collision avoidance.

In CSMA/CA, Collisions are avoided by the use of three techniques:

  1. Interframe space
  2. Contention window
  3. Acknowledgment
  • Interframe space: If a station detects the idle channel, the station does not send the frame immediately. It waits for a time period. That time period is called IFS time. IFS is often used to describe the station's priority.
  • Contention window: The contention window is the sum of time that is split into slots. When a station is ready to send a frame, it can choose a random number of slots as the Wait time. According to the binary exponential back-off strategy, the number of slots in the window changes. There are shown in the figure below.
  • Acknowledgment: Positive acknowledgment or time-out timer helps to guarantee a successful transmission.

Controlled Access

In this method, stations contact each other to see which channel is appropriate for transmission. A station may not send a frame until other stations approve it. There are three types of controlled access: Reservation, Polling, and Token Passing.

Channelization

In this process, the usable bandwidth of the network is shared between several stations in time, distance, or through-code. There are three types of Channelization: FDMA (Frequency Division Multiple Access), TDMA (Time Division Multiple Access), and CDMA (Code Division Multiple Access).

FDMA figure is shown below.

Multiple Access Control

TDMA figure is shown below.

Multiple Access Control

Related Topics

Uses of Computer Networks

During the twentieth century, the most significant technology is information collecting, processing, and distribution. Computers and communications have been integrated, which has considerably influenced the organization of computer systems. The previous...

6 minutes read.

Disadvantages of Computer Network

What is Computer Network? A computer network is a collection of interconnected devices that can communicate and exchange data with each other. Networks allow devices to share resources such as printers...

3 minutes read.

Address Mapping

Address Mapping: Internet is made of a combination of physical networks connected together by internetworking devices such as routers. A logical address is an internetwork address. A physical address is...

4 minutes read.

Cyclic Redundancy Check Example

What is Cyclic Redundancy Check? A cyclic redundancy check (CRC) is a type of error-detecting code commonly used in digital networks and storage devices to detect accidental changes to raw data....

5 minutes read.

IPv4 vs IPv6

What is an IP? The process or protocol used to transmit data from one computer to another over the internet is known as Internet Protocol (IP). Every computer connected to the...

5 minutes read.

Types of Computer Network: LAN, MAN, WAN and PAN

PAN: Personal Area Network PAN stands for Personal Area Network. It is designed for a very short distance (1 to10 m), such as a single room. This type of network can...

3 minutes read.

TCP/IP model in Computer Network

An essential foundation for computer networking is the TCP/IP model. It stands for Transmission Control Protocol and Internet Protocol which are the two major Internet protocols. This model outlines the...

6 minutes read.

Advantages and Disadvantages of LAN

Before we move to advantages and disadvantages of LAN, first we discuss about what is LAN. Local area network is referred to by its abbreviation, LAN. A system that connects PCs...

3 minutes read.

Define Framing in Computer Network

Framing is a function of the data link layer, which provides a way for a sender to transmit a set of bits that should be meaningful to the user. The...

7 minutes read.

Difference between Transport and Network Layer

When it comes to the Internet, it is essential to understand the different layers that make up the network. The two most important layers are Transport Layer and Network Layer....

7 minutes read.

Advantages and Disadvantages of WAN

Before we move to advantages and disadvantages of WAN, first we discuss about what is WAN and what are its features. A wide area network is a vast network of information...

4 minutes read.

OSI Model

OSI Model: OSI stands for Open Systems Interconnection. The ISO (International Standards Organization) was introduced the OSI model in 1983. The OSI model is a standard reference model for communication between...

6 minutes read.

Computer Network Switching

Switching Many numbers of connected devices are called the network. Whenever a company has multiple devices, there has a problem of how to connected them to make the one to one...

5 minutes read.

Method of Joining and Fusion of Fiber Optic Cable

What is Fiber Optics Cable? Fiber optics cable transforms the information at a light pulse. We can transfer voice, data, and video through the fiber optics cable. The fiber optics cable...

3 minutes read.

Cryptography in Computer Network

Cryptography: Cryptography is derived from the Greek word, which means "Hidden Secrets." In other words, it is an art in which we can protect our data and information. Through cryptography,...

2 minutes read.

Fixed and Flooding Routing Algorithms

Introduction Before going to study fixed and flooding routing algorithms, we have to take a look back to revisit the topic of routing. Routing can be defined as Routing: What is it? Routing...

3 minutes read.

Stream Control Transmission Protocol

Stream Control Transmission Protocol: SCTP stands for Stream Control Transmission Protocol. SCTP was developed by the Internet Engineering Task Force (IETF). It is a reliable message-oriented protocol of the transport...

3 minutes read.

Network Layer in OSI Model

This article will help you in getting a good understanding of the Network Layer in the OSI model. The network layer is the third layer of the OSI Model from the...

4 minutes read.

Fiber Optics and its Types

Fiber Optics is a type of technology that is used to transfer data through the cable with the speed of light. The metal wire is preferred for the transmission of...

3 minutes read.

Ring Topology in Computer Network

Ring topology is a topology that was invented by IBM in 1984 by the Institute of Electrical and Electronics Engineers. It is defined as a type of network topology where...

4 minutes read.