Data Communication Protocols
Data Communication Protocols
PROTOCOLS
Data Link Protocols
Asynchronous Synchronous
Protocols Protocols
• Xmodem
• Ymodem
• Zmodem
• BLAST
• Kermit Character-oriented Bit-oriented
A B
Asynchronous Synchronous
Protocols Protocols
• Xmodem
• Ymodem
• Zmodem
• BLAST Character-oriented
• Kermit Bit-oriented
(Byte-oriented)
• BSC
Ymodem data unit changes to 1024 bytes (Xmodem=128)
use CRC16
multiple files accepted
Zmodem combination of X and Ymodem
Header Fields:
• address (sender/receiver)
• #frame identifier (0/1 for stop-and-wait ARQ)
A multiblock frame
Asynchronous Synchronous
Protocols Protocols
• Xmodem
• Ymodem
• Zmodem
• BLAST Character-oriented
• Kermit Bit-oriented
(Byte-oriented)
• BSC
Bit-oriented protocol
Represent more information into shorter
frame
Avoid the transparency problems
Bit-oriented
Protocols
Piggybacking:
data + ack
HDLC: Use of P/F field
HDLC: Use of P/F field
HDLC: S-Frame
Acknowledgement
HDLC: S-Frame
Positive Acknowledgement
RR
Receiver sends “Positive Ack” (no data to send)
N(R) = seq of next frame
RNR
Receiver sends “Positive Ack”
N(R) = seq of next frame
Receiver tells sender that sender cannot send any
frame until ‘RR’ frame is received
HDLC: S-Frame
Negative Acknowledgement
Reject (REJ)
Go-back-n ARQ
N(R) = # of damage frame (and follow)
Selective-Reject (SREJ)
N(R) = # of damage frame
HDLC: U-Frame control field
X.25
DCE
X.25 DTE
Intra-Network Protocol
X.25 DCE DCE
DTE DCE
X.25
DCE DTE
66
• X.25 network is a packet switching network that used
X.25 protocol.
• X.25 is a standard packet switching protocol that has
been widely used in WAN.
• X.25 is a standard for interface between the host
system with the packet switching network in which it
defines how DTE is connected and communicates with
packet switching network.
• It uses a virtual circuit approach to packet switching
(SVC and PVC) and uses asynchronous (statistical)
TDM to multiplex packets.
Figure 17-2
DISC
UA