Docsity

control access protocals, Study notes of Computer Networks

Partial preview of the text

Download control access protocals and more Study notes Computer Networks in PDF only on Docsity!

Controlled Access Protocols in Computer Networks Controlled access protocols are essential for managing data transmission over a shared communication medium in computer networks. They ensure that only one device can transmit at atime, preventing data collisions and ensuring efficient network performance. What is Controlled Access? Controlled access refers to the process of regulating communication on a shared medium to prevent data collisions. In this method, each device consults with others to determine which has the right to transmit, allowing only one node to send data at a time. This approach ensures efficient data transfer without conflicts. Types of Controlled Access Protocols There are three primary controlled access techniques: iL. Reservation: In this method, a station must first make a reservation before it can transmit data on the shared medium. Time is divided into intervals, and each interval has a reservation frame that precedes the data frame. This method ensures that each station gets a chance to transmit, but it can be inefficient if many stations do not have data to send. How it works: o Time is divided into intervals. o Each interval has a reservation frame followed by a data frame. o Stations make reservations in their respective minislots within the reservation frame. © Stations that have made reservations can send their data in the data frame. Advantages: o Guarantees each station a chance to transmit. © Eliminates collisions. Disadvantages: © Can be inefficient if many stations do not have data to send. eo Requires precise time synchronization. Polling: In this method, one device acts as a primary station and controls the communication channel. The primary station polls each secondary station to see if it has data to transmit. This method is efficient for networks with a small number of devices, but it can become inefficient as the number of devices increases. How it works: o One device is designated as the primary station, and the others are secondary stations. © The primary station polls each secondary station to see if it has data to transmit. o If asecondary station has data, it sends it to the primary station. © The primary station can then send data to a secondary station. Advantages: o Simple to implement. © Efficient for small networks. e Disadvantages: © Can be inefficient for large networks. © The primary station can become a bottleneck. 1. Token Passing: In this method, a special packet called a token is passed from one device to the next. Only the device that holds the token is allowed to transmit data. This method is fair and efficient, but it can be complex to implement. e How it works: o A token is passed from one device to the next in a predefined order. o Only the device that holds the token can transmit data. o After transmitting, the device passes the token to the next device. e Advantages: o Fair and efficient. © Eliminates collisions. e Disadvantages: o Can be complex to implement. © Token loss can cause problems. Importance of Controlled Access Protocols Controlled access protocols are crucial for maintaining network integrity and data flow. They prevent data collisions, which can lead to data loss and network downtime. By ensuring that only one device can transmit at a time, these protocols help to optimize network performance and ensure reliable communication. Conclusion Controlled access protocols are essential for managing data transmission in computer networks. They prevent data collisions and ensure efficient network performance. The three primary controlled access techniques are reservation, polling, and token passing. Each method has its advantages and disadvantages. and the best method for a particular network will depend on the specific requirements of that network. Token passes around the ring from station to station