Transport Layer PART II - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

Transport Layer PART II

Description:

Building a Reliable Data Transfer Protocol. Finite-State Machine ... Use message-dictation protocol cause garble of ACK and NAK. Resend the current packet ... – PowerPoint PPT presentation

Number of Views:36
Avg rating:3.0/5.0
Slides: 13
Provided by: shaida
Category:
Tags: part | garble | layer | transport

less

Transcript and Presenter's Notes

Title: Transport Layer PART II


1
Transport LayerPART II
2
(No Transcript)
3
Principle of Reliable Data Transfer
4
(No Transcript)
5
Building a Reliable Data Transfer Protocol
  • Finite-State Machine (FSM) Protocol
  • Simple protocol
  • Sender and receiver have just one state

6
(No Transcript)
7
Building a Reliable Data Transfer Protocol
  • Finite-State Machine (FSM) Protocol
  • The sender and receiver have one state
  • The dash arrow indicates an initial state
  • An event causes a transition
  • Transition is from one state back to itself
  • No error is assumed

8
Building a Reliable Data Transfer Protocol
  • Automatic Repeat reQuest Protocol (ARQ)
  • Error is assumed
  • Error may occur during transmission, propagation,
    or in a buffer
  • The bits may be corrupt
  • Use message-dictation protocol
  • Positive Acknowledgement and Negative
    Acknowledgement

9
Building a Reliable Data Transfer Protocol
  • Automatic Repeat reQuest Protocol (ARQ) is based
    on retransmission
  • ARQ requires three additional protocol
    capabilities
  • Error Detection receiver detect when bit errors
    have occurred
  • Receiver feedback Use ACK (positive ACK) and
    NAK (negative acknowledgement)
  • Retransmission A packet that is received in
    error will be transmitted by the sender

10
(No Transcript)
11
Building a Reliable Data Transfer Protocol
  • What if ACK and NAK are corrupted
  • How to handle this problem?
  • Use message-dictation protocol cause garble of
    ACK and NAK
  • Resend the current packet

12
Building a Reliable Data Transfer Protocol
  • Resend packet may cause
  • Packets duplication in a sender-to-receiver
    channel
  • The receiver does not know whether the ACK or NAK
    it last sent was received correctly at the sender
  • Solution add a new field to the data packet
    that is a sequence number
  • Receiver checks the sequence number to determine
    the packet
  • Assumption the channel does not lose any packet
Write a Comment
User Comments (0)
About PowerShow.com