Professional Documents
Culture Documents
Data Link Protocol
Data Link Protocol
Data Link Protocol
Agenda
Definition Functions Attributes Concepts Types Conversion
Definition
Protocols: set of rules or guidelines for communication between DTEs Data link protocol: rules for operating the circuit and sending message over it
Functions
Communication startup Character identification and framing Message identification Line control Error control Termination
Protocol Concepts
Line Access
Contention Polling Token passing
Message format
Contention
Carrier sense multiple access with collision detection (CSMA/CD) by XEROX For:
Point-to-point circuits Traffic light for multipoint circuits Fast speed of circuit Office application & LAN
Not for
Manufacturing due to inconsistent response time
Polling
Characteristics
One master and slavers Special polling character
Types
Roll call polling (polling list) Fast select polling (several terminals) Hub polling (station to station) Token passing (token)
Token (particular sequence of bits, Free or busy)
Message Format
Start of header (SOH)
Header (Address, sequence, date and time) Start of text (STX)
Start/stop bits Parity checking Character oriented Less expensive and less complicated equipment For personal computers
XMODEM (simple, less reliable error checking) XMODEM-CRC (more reliable) XMODEM-1K (more efficient) YMODEM (reliable, multiple files transfer) YMODEM-G (fast) ZMODEM (fast, good failure recovery) X.PC (pack switching network, multiple sessions on one circuit)
Byte-count-oriented protocols
Special character for start of the header, count field, message, block check character (BCC) DECs Digital Data Communication Message Protocol (DDCMP)
Bit-oriented protocols
Use flag character for start and end of message IBMs Synchronous Data Link Control (SDLC) ISOs High-Level Data Link control (HDLC)
Cons:
Code dependent Half-duplex protocol Cumbersome for transparency mode
Pro:
Efficient at transparency mode Variable length of data Only one control character: SOH Easy implement for full-duplex and message sequence
Other fields
Address field Control field: type of frame, sequence number for information frames Information field: multiple of 8 bits Frame check sequence (FCS) field: error checking
Frame flow
Initialization phase, data transfer phase, and disconnect phase
Protocol Conversion
Methods
Dedicated hardware protocol converters Add-in circuit board protocol converters Software protocol converters Gateway
Functions
Code translation Control characters, format, and error checking
Points to Remember
Definition Functions Attributes Concepts Types Conversion
Discussion
Select proper protocol for the network of a bank state you reasons