An automatic repeat request is a message displayed in case of an error. It’s prominent in the two-way communication system, which has many error control protocols. The protocols exist in the data link layer and transport layer of the OSI (Open system interconnection) model.
How does the ARQ work?
This protocol’s core purpose is to ensure the acknowledgment of receiving the receiver’s message before the Timeout occurs. Timeout refers to the period before the message must be sent to the sender to confirm its delivery. If the timeout situation arises, the receiver will not receive the confirmation, prompting the sender to send the message again. The process continues until the packet is non-corrupt and the whole packet is transmitted across the network.
Applications of the ARQ Protocol
The protocol works in the shortwave radio for reliable delivery of signals. Various applications of ARQ are:
- Specific service orientation protocol
- High-level data link protocol
- X-modem file transfer protocol
- A binary synchronous communication protocol
- Service orientation protocol
Types of ARQ Protocol
- Stop and wait for an automatic repeat request
Stop and wait for ARQ, an alternating protocol for managing network transmission. It is helpful in two-way communication systems. The protocol enables acknowledgment when a message is finally delivered to the sender. If the message is not sent or not received at the other end, then the acknowledgment message won’t be sent. This enables sending the packets until they finally reach their safe destination. Timeout plays an aTimeoutl role in this protocol. The sender’s action depends upon the Timeout and varTimeouther factors.
- Go-Back-NARQ
Go back to an automatic repeat request type—the receiver’s acknowledgment is completely eradicated, and several frames or packets are sent continuously without prompting anything to the sender or receiver. The time took less, and the process was relatively straightforward. The sender sends the sequence number along with acknowledgment to ensure the transmission occurs smoothly. The only fault in this system is that the frames can be transmitted more than once, and if one sequence is corrupted, everything needs to be re-considered.
- Selective ARQ
This one is similar to Go Back N-ARQ, but the sending continues even when the frame is corrupt. The receiver keeps track of the sequence number of the frames. If a frame is not received at the receiver’s end, the sender will continue sending the frames until the entire window is empty. Unlike the previous one, this does not send the packet multiple times.
Merits – ARQ
- Detecting errors is more straightforward than other existing techniques.
- Decoding is easy, and simple techniques can be used to process it.
D-Merits – ARQ
- A medium having a high error rate might cause the transmission of multiple frames.
- A high error rate might cause a loss of productivity and efficiency of the system.