Realization Mechanism of Reliable Transmission

1. Stop waiting for the protocol SW

insert image description here

  • The sender sends information to the receiver, and the receiver sends an ACK confirmation signal to the sender after verifying that the information is correct, and the sender continues to send the next message. If the receiver checks the information incorrectly, it sends a NAK error signal. The sender resends the data packet.
  • insert image description here
    Timeout retransmission mechanism: If the sender's data is lost during the sending process, the sender cannot receive the ACK or NAK signal returned from the receiver, and will always be in a waiting state.
  • In the liberation method, the sender starts a timeout timer while sending a data packet. If the time set by the timer has not been received and the return signal is exceeded, the original data packet is resent.
    insert image description here
    insert image description here

2. Go-Back-N protocol GBN (Go-Back-N)

insert image description here

  • error condition
    insert image description here
  • summary
    insert image description here

Guess you like

Origin blog.csdn.net/qq_43679351/article/details/125099859