It is the functionality of data link layer of OSI model.This mechanisms ensure that all data frame transmitted reach its destination error free and probably in sequential manner.It uses three tools for this purpose-Acknowledgment,Timers and Sequence Number.
There are mainly two kinds of error we concern with-Single bit error and burst error.Single bit error occurs when a single bit get altered during transmission,burst error means a data packet totally got damaged or altered during data transfer.
Error can be detected by the following techniques -
Parity bit,Cyclic redundancy check(CRC) and Checksum .We briefly discuss it here-
These are the common error detection technique.Hamming Code is a Error correction technique but it is generally a good idea to retransmit the data again then correct it, In fast networks error correction will take more time.
Flow Control:
It is generally happen that sender's data sending rate is far much higher to the rate at which receiver can receive the data.So flow control is needed to ensure efficient and error free data transmission.Techniques used here are-Stop and wait protocol and sliding window protocol.
- Acknowledgment:
There is also NACK frame to signify that the data is not received by the receiver.By having it sender have to retransmit the data again.
- Timers:
- Sequence Numbers:
There are mainly two kinds of error we concern with-Single bit error and burst error.Single bit error occurs when a single bit get altered during transmission,burst error means a data packet totally got damaged or altered during data transfer.
Error can be detected by the following techniques -
Parity bit,Cyclic redundancy check(CRC) and Checksum .We briefly discuss it here-
- Parity Bit:
- Cyclic Redundancy Check:
- Checksum:
These are the common error detection technique.Hamming Code is a Error correction technique but it is generally a good idea to retransmit the data again then correct it, In fast networks error correction will take more time.
Flow Control:
It is generally happen that sender's data sending rate is far much higher to the rate at which receiver can receive the data.So flow control is needed to ensure efficient and error free data transmission.Techniques used here are-Stop and wait protocol and sliding window protocol.
- Stop and Wait Protocol:
- Sliding Window Protocol:
And it also solve the problem of uses of more bandwidth, because in this scheme both sender and receiver uses the channel to send the data and receiver just send the acknowledge with the data which it want to send to sender, so there is no special bandwidth is used for acknowledgment, so the bandwidth is saved, and this whole process is called PIGGYBACKING.
LAN Technologies
Computer Networks
Introduction to Computer Science
Digital Electronics
LAN Technologies
Computer Networks
Introduction to Computer Science
Digital Electronics
No comments:
Post a Comment