Selective Repeat - ARQ
Duration: 5 min
This video lesson is available to enrolled students.
AI summary & chapters
AI Summary
An AI-generated summary of this video lecture.
This lecture introduces Selective Repeat Automatic Repeat Request (ARQ), a protocol designed for noisy links where only damaged frames are resent rather than multiple frames. The instructor contrasts this with Go-Back-N ARQ, emphasizing that Selective Repeat requires the sender and receiver window size to be at most one-half of 2^m. The session progresses through timer handling mechanisms, where a tree diagram illustrates that one timer is used for each frame sent. Key events include the loss of Frame 1, triggering a NAK and subsequent retransmission of specific frames. The instructor explains that if a valid NAK frame arrives, the sender resends only the corresponding frame. The lecture concludes with mathematical derivations for sequence and acknowledgement numbers, utilizing formulas like $W_s = (1 + 2a)$ to maximize efficiency and calculating bits required as $ ext{ceil}( ext{log}_2(1 + 2a))$.
Chapters
0:00 – 2:00 00:00-02:00
The video begins with a presentation slide titled "Selective Repeat Automatic Repeat Request" contrasting the protocol with Go-Back-N ARQ. Text on screen explains that for noisy links, a mechanism exists where only damaged frames are resent rather than multiple frames. The scene shifts to a detailed timing diagram illustrating communication between Sender A and Receiver B, showing frame transmission, acknowledgments, a lost frame event, and subsequent retransmission. Visible text notes that the sender and receiver window size must be at most one-half of 2^m.
2:00 – 5:00 02:00-05:00
The instructor explains the timer handling mechanism in Selective Repeat ARQ, drawing a tree diagram to illustrate how timers are managed for each frame sent. The slide details a sequence where Frame 1 is lost, triggering a NAK and subsequent retransmission of frames. The instructor highlights the NAK arrow to emphasize that a valid NAK triggers a retransmission of only the specific missing frame. On-screen text states, "If a valid NAK frame arrives, we just resend the corresponding frame," and shows Frame 1 (resend) following a NAK.
5:00 – 5:26 05:00-05:26
The video features a lecturer explaining "Sequence and Acknowledgement Numbers" for Selective Repeat ARQ. The whiteboard displays formulas for maximizing efficiency, specifically the window size $W_s = (1 + 2a)$ and the bits required $ ext{ceil}( ext{log}_2(1 + 2a))$. Handwritten calculations show the derivation of sequence number bits, starting with $75 + 1 = 76$ and comparing powers of 2 like $2^6=64$, $2^7=128$, and $2^8=256$. The instructor writes out utilization formulas involving transmission time ($T_T$) and propagation delay ($T_P$).
The lecture systematically builds understanding of Selective Repeat ARQ by first defining its core advantage over Go-Back-N: selective retransmission of only damaged frames. The instructor uses visual timing diagrams to demonstrate the protocol's operation, specifically focusing on how lost frames trigger NAKs and specific retransmissions. A critical constraint highlighted is the window size limitation of $2^{m-1}$ to prevent ambiguity. The session concludes with practical mathematical applications, deriving the necessary sequence number bits and window sizes to maximize channel utilization based on propagation delay and transmission time. This progression from conceptual definition to operational mechanics and finally to mathematical optimization provides a comprehensive overview of the protocol's design principles.