SlideShare a Scribd company logo
2
Most read
10
Most read
11
Most read
Lecture 01
Data-Link Protocols
Prepared by: Engr. Jeffrey Des B. Binwag

Chapter 23
Electronic Communications Sytems , Fifth Editon
By: Wayne Tomasi
ECE @Saint Louis University, Baguio City

1
Data Link Control Protocol
(DLCP)
• A set of rules implementing and
governing an orderly exchange of data
between OSI Protocol Layer 2 devices.
• Perform certain network functions that
ensure a coordinated transfer of data.

ECE @Saint Louis University, Baguio City

2
TYPES OF NETWORK
• PRIMARY/SECONDARY (MASTER/SLAVE )
A centrally controlled network where a primary station
(master) enacts procedures that determine which station is
transmitting and which is receiving at any given instant. All
the rest of the stations are secondary stations (slaves) whose
data communication actions are controlled by the primary.
• PEER-TO-PEER
A type of network where all connected stations are equal
(peers), and share equal access to the network. When a
station wishes to transmit on this network, it has to contend
with all the rest of the stations with an intent to transmit.
ECE @Saint Louis University, Baguio City

3
FUNCTIONS OF DLCP
• LINE DISCIPLINE
• FLOW CONTROL
• ERROR CONTROL

ECE @Saint Louis University, Baguio City

4
LINE DISCIPLINE
• The process of coordinating half-duplex
transmission on a data communications network
by:
– Establishing logical continuity between source and
destination stations before data transfer, and
– Ensuring that the destination station is ready and
capable of receiving data

• Fundamental Methods of implementation
– Enquiry/ Acknowledgement (ENQ/ACK)
– Poll/ Selection (POLL/SELECT)
ECE @Saint Louis University, Baguio City

5
ENQ/ACK
• Best suited to simple network environments like
two-point networks
• ENQUIRY
– A frame or packet of data which identifies the
receiving station and solicits the receiving station to
determine if it is ready to receive data

• ACKNOWLEDGEMENT
– ACK. Positive Acknowledgment (Ready to receive)
– NAK. Negative Acknowledgement (Not ready to
receive, Message received with error)
ECE @Saint Louis University, Baguio City

6
ENQ/ACK
ENQ
STATION A

ACK

STATION B

MESSAGE 1
ACK
MESSAGE 2
NAK
MESSAGE 2
ACK

MESSAGE 3 (EOT)
ACK
Time
ECE @Saint Louis University, Baguio City

7
POLL/SELECT
• Best suited to centrally controlled data communications networks
using multipoint topology

• POLL
– A solicitation sent from the primary to the secondary to determine if
the secondary has data to transmit
– Sent to one station at a time
– Secondary responds with either a message or a negative
acknowledgement (NAK)

• SELECTION
– How the primary designates a secondary as a destination, a query if
the destination is ready to receive data
– Can be broadcast to all secondary stations
– Secondary stations respond with either a positive acknowledgement
(ACK) or a negative acknowledgement (NAK)
ECE @Saint Louis University, Baguio City

8
POLL/SELECT
PRIMARY

SECONDARY A

SECONDARY B

SECONDARY C

Poll A
NAK

Poll B
Message
Selection B
ACK
Message
Selection C

NAK
Time
ECE @Saint Louis University, Baguio City

9
FLOW CONTROL
• Defines a set of procedures that tells the
transmitting station how much data it can
send before it must stop transmitting and wait
for an acknowledgement from the destination

• Fundamental Methods of implementation
– Stop-and-wait
– Sliding Window

ECE @Saint Louis University, Baguio City

10
STOP-AND-WAIT FLOW CONTROL
• The transmitting station sends one message
frame and then waits for an acknowledgment
before sending the next frame
• Advantage is simplicity
• Disadvantage is its poor network utilization

ECE @Saint Louis University, Baguio City

11
STOP-AND-WAIT FLOW CONTROL
Message Frame 1
STATION A
(Source)

ACK

STATION B
(Destination)

Message Frame 2
ACK
Message Frame 3
NAK
Message Frame 3
ACK

Message Frame 4 (EOT)
ACK
Time
ECE @Saint Louis University, Baguio City

12
SLIDING WINDOW FLOW CONTROL
• The transmitting station sends several
message frames in succession before receiving
an acknowledgement
• Advantage is faster speed of transmission
(better network utilization) compared to Stopand-wait flow control
• Disadvantage is the complexity of its design

ECE @Saint Louis University, Baguio City

13
SLIDING WINDOW FLOW CONTROL
Message Frame 0

0

STATION A
(Source)

STATION B
(Destination)
Message Frame 1

1

Message Frame 2

2

0 to (2n-1)
receptacles

...

...

...

2n-1

Message Frame (n-1) (EOT)

ACK
Time
ECE @Saint Louis University, Baguio City

14
ERROR CONTROL
• A process encoding overhead codes into a
message frame for the detection of errors when
they occur and the provision for the correction of
the said errors
• Error detection may be achieved by various error
codes like LRC, VRC, or CRC
• Error correction in the OSI Layer 2 is
implemented by Automatic Request for
Retransmission (ARQ)
• Errors that cannot be resolved by ARQ are
referred for resolution to the higher OSI layers
ECE @Saint Louis University, Baguio City

15
TYPES OF ARQ
• Stop-and-Wait ARQ
– A message frame is retransmitted if the source
receives a negative acknowledgment from the
destination

• Sliding Window ARQ
– Go-back-n-frames
• The errored frame and all frames transmitted after it
are retransmitted even if the subsequent frames have
no error

– Selective Reject (SREJ)
• Only the errored frames are retransmitted
ECE @Saint Louis University, Baguio City

16 (END)

More Related Content

PDF
Stop and-wait protocol
DOCX
Leaky bucket algorithm
PPTX
switching techniques in data communication and networking
PPTX
Physical Layer
PPT
spread spectrum
PPTX
Transmission impairments(presentation)
PPTX
Direct sequence spread spectrum
PPT
Time Division Multiplexing
Stop and-wait protocol
Leaky bucket algorithm
switching techniques in data communication and networking
Physical Layer
spread spectrum
Transmission impairments(presentation)
Direct sequence spread spectrum
Time Division Multiplexing

What's hot (20)

PPT
data-link layer protocols
PPTX
Packet radio protocol
PPTX
Tdm and fdm
PPTX
Synchronous and Asynchronous Transmission
PPTX
Pstn (Public Switched Telephone Networks)
PDF
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
PPTX
Network software
PPT
ATM Networking Concept
PPT
Wireless routing protocols
PPTX
Frequency hopping spread spectrum
PPTX
Transport layer
PPTX
Computer Network - Network Layer
PPT
Network Layer,Computer Networks
PPTX
Concept of Diversity & Fading (wireless communication)
PPTX
What Is Sliding Window Protocol?
PPTX
Transmission impairments
PPTX
The medium access sublayer
PDF
W-LAN (Wireless Local Area Network)
PPT
Transmission Media
PPTX
Multiplexing in mobile computing
data-link layer protocols
Packet radio protocol
Tdm and fdm
Synchronous and Asynchronous Transmission
Pstn (Public Switched Telephone Networks)
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Network software
ATM Networking Concept
Wireless routing protocols
Frequency hopping spread spectrum
Transport layer
Computer Network - Network Layer
Network Layer,Computer Networks
Concept of Diversity & Fading (wireless communication)
What Is Sliding Window Protocol?
Transmission impairments
The medium access sublayer
W-LAN (Wireless Local Area Network)
Transmission Media
Multiplexing in mobile computing
Ad

Similar to Data link control protocol(1) (20)

PPTX
Data link control protocol(2)
PPTX
CN Unit 2 - cs8591.pptx
PPTX
Unit 1 Circuit and Packet Switching.pptx
PDF
Ch05_OSI_Reference_Model - Compressed.pdf
PPTX
Presentation on control access protocol
PPTX
datalinklayer-200201062315 (1).pptx
PDF
Data link layer
PPT
Unit 1
PPT
Topic: Virtual circuit & message switching
DOCX
Data link control notes
PPT
A427 nic card
PPT
Unit 2 ppt 3.ppt
PPT
CAN.ppt
PPT
Controlled Area Networks in embedded systems
PPT
CAN(controlled area network) presentation
PPT
CAN bus basic_engineering_pptMulti-Master Architecture.ppt
PPT
CONTROL AREA NETWORK FOR AUTOMOBILES.ppt
PPT
CANCANCANCANCANCANCANCANCANCANCANCANCANCAN
PPTX
Network Fundamentals: Ch4 - Transport Layer
Data link control protocol(2)
CN Unit 2 - cs8591.pptx
Unit 1 Circuit and Packet Switching.pptx
Ch05_OSI_Reference_Model - Compressed.pdf
Presentation on control access protocol
datalinklayer-200201062315 (1).pptx
Data link layer
Unit 1
Topic: Virtual circuit & message switching
Data link control notes
A427 nic card
Unit 2 ppt 3.ppt
CAN.ppt
Controlled Area Networks in embedded systems
CAN(controlled area network) presentation
CAN bus basic_engineering_pptMulti-Master Architecture.ppt
CONTROL AREA NETWORK FOR AUTOMOBILES.ppt
CANCANCANCANCANCANCANCANCANCANCANCANCANCAN
Network Fundamentals: Ch4 - Transport Layer
Ad

More from Jeffrey Des Binwag (14)

PPTX
ECE 528T1: Design of Communication Systems Module 3
PPTX
ECE 528T1: Design of Communication Systems Module 2
PPTX
SLU ECE 528T1: Design of Communication Systems Module 1
PPTX
Psdn and ccitt x series
PPTX
Datacom module 5 (UART, USRT, Serial Interface, Modem)
PPTX
Datacom module 4: Fundamentals of Data Communication
PPTX
Datacom module 3: Data Communications Circuits, Arrangements, and Networks
PPTX
Datacom module 2: Data Communication Architecture, Protocols, and Standards
PPTX
Datacom module 1: Introduction to Data Communications
PPTX
ECESLU Microprocessors Lecture 3
PPTX
ECESLU Microprocessors lecture 2
PPTX
ECESLU Microprocessors lecture
PPTX
Data link control protocol(3)
PPTX
Data link control protocol(4)
ECE 528T1: Design of Communication Systems Module 3
ECE 528T1: Design of Communication Systems Module 2
SLU ECE 528T1: Design of Communication Systems Module 1
Psdn and ccitt x series
Datacom module 5 (UART, USRT, Serial Interface, Modem)
Datacom module 4: Fundamentals of Data Communication
Datacom module 3: Data Communications Circuits, Arrangements, and Networks
Datacom module 2: Data Communication Architecture, Protocols, and Standards
Datacom module 1: Introduction to Data Communications
ECESLU Microprocessors Lecture 3
ECESLU Microprocessors lecture 2
ECESLU Microprocessors lecture
Data link control protocol(3)
Data link control protocol(4)

Recently uploaded (20)

PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Classroom Observation Tools for Teachers
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
master seminar digital applications in india
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Cell Types and Its function , kingdom of life
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Microbial diseases, their pathogenesis and prophylaxis
STATICS OF THE RIGID BODIES Hibbelers.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Microbial disease of the cardiovascular and lymphatic systems
O5-L3 Freight Transport Ops (International) V1.pdf
Pre independence Education in Inndia.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Basic Mud Logging Guide for educational purpose
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Classroom Observation Tools for Teachers
Anesthesia in Laparoscopic Surgery in India
PPH.pptx obstetrics and gynecology in nursing
master seminar digital applications in india
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Cell Types and Its function , kingdom of life
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...

Data link control protocol(1)

  • 1. Lecture 01 Data-Link Protocols Prepared by: Engr. Jeffrey Des B. Binwag Chapter 23 Electronic Communications Sytems , Fifth Editon By: Wayne Tomasi ECE @Saint Louis University, Baguio City 1
  • 2. Data Link Control Protocol (DLCP) • A set of rules implementing and governing an orderly exchange of data between OSI Protocol Layer 2 devices. • Perform certain network functions that ensure a coordinated transfer of data. ECE @Saint Louis University, Baguio City 2
  • 3. TYPES OF NETWORK • PRIMARY/SECONDARY (MASTER/SLAVE ) A centrally controlled network where a primary station (master) enacts procedures that determine which station is transmitting and which is receiving at any given instant. All the rest of the stations are secondary stations (slaves) whose data communication actions are controlled by the primary. • PEER-TO-PEER A type of network where all connected stations are equal (peers), and share equal access to the network. When a station wishes to transmit on this network, it has to contend with all the rest of the stations with an intent to transmit. ECE @Saint Louis University, Baguio City 3
  • 4. FUNCTIONS OF DLCP • LINE DISCIPLINE • FLOW CONTROL • ERROR CONTROL ECE @Saint Louis University, Baguio City 4
  • 5. LINE DISCIPLINE • The process of coordinating half-duplex transmission on a data communications network by: – Establishing logical continuity between source and destination stations before data transfer, and – Ensuring that the destination station is ready and capable of receiving data • Fundamental Methods of implementation – Enquiry/ Acknowledgement (ENQ/ACK) – Poll/ Selection (POLL/SELECT) ECE @Saint Louis University, Baguio City 5
  • 6. ENQ/ACK • Best suited to simple network environments like two-point networks • ENQUIRY – A frame or packet of data which identifies the receiving station and solicits the receiving station to determine if it is ready to receive data • ACKNOWLEDGEMENT – ACK. Positive Acknowledgment (Ready to receive) – NAK. Negative Acknowledgement (Not ready to receive, Message received with error) ECE @Saint Louis University, Baguio City 6
  • 7. ENQ/ACK ENQ STATION A ACK STATION B MESSAGE 1 ACK MESSAGE 2 NAK MESSAGE 2 ACK MESSAGE 3 (EOT) ACK Time ECE @Saint Louis University, Baguio City 7
  • 8. POLL/SELECT • Best suited to centrally controlled data communications networks using multipoint topology • POLL – A solicitation sent from the primary to the secondary to determine if the secondary has data to transmit – Sent to one station at a time – Secondary responds with either a message or a negative acknowledgement (NAK) • SELECTION – How the primary designates a secondary as a destination, a query if the destination is ready to receive data – Can be broadcast to all secondary stations – Secondary stations respond with either a positive acknowledgement (ACK) or a negative acknowledgement (NAK) ECE @Saint Louis University, Baguio City 8
  • 9. POLL/SELECT PRIMARY SECONDARY A SECONDARY B SECONDARY C Poll A NAK Poll B Message Selection B ACK Message Selection C NAK Time ECE @Saint Louis University, Baguio City 9
  • 10. FLOW CONTROL • Defines a set of procedures that tells the transmitting station how much data it can send before it must stop transmitting and wait for an acknowledgement from the destination • Fundamental Methods of implementation – Stop-and-wait – Sliding Window ECE @Saint Louis University, Baguio City 10
  • 11. STOP-AND-WAIT FLOW CONTROL • The transmitting station sends one message frame and then waits for an acknowledgment before sending the next frame • Advantage is simplicity • Disadvantage is its poor network utilization ECE @Saint Louis University, Baguio City 11
  • 12. STOP-AND-WAIT FLOW CONTROL Message Frame 1 STATION A (Source) ACK STATION B (Destination) Message Frame 2 ACK Message Frame 3 NAK Message Frame 3 ACK Message Frame 4 (EOT) ACK Time ECE @Saint Louis University, Baguio City 12
  • 13. SLIDING WINDOW FLOW CONTROL • The transmitting station sends several message frames in succession before receiving an acknowledgement • Advantage is faster speed of transmission (better network utilization) compared to Stopand-wait flow control • Disadvantage is the complexity of its design ECE @Saint Louis University, Baguio City 13
  • 14. SLIDING WINDOW FLOW CONTROL Message Frame 0 0 STATION A (Source) STATION B (Destination) Message Frame 1 1 Message Frame 2 2 0 to (2n-1) receptacles ... ... ... 2n-1 Message Frame (n-1) (EOT) ACK Time ECE @Saint Louis University, Baguio City 14
  • 15. ERROR CONTROL • A process encoding overhead codes into a message frame for the detection of errors when they occur and the provision for the correction of the said errors • Error detection may be achieved by various error codes like LRC, VRC, or CRC • Error correction in the OSI Layer 2 is implemented by Automatic Request for Retransmission (ARQ) • Errors that cannot be resolved by ARQ are referred for resolution to the higher OSI layers ECE @Saint Louis University, Baguio City 15
  • 16. TYPES OF ARQ • Stop-and-Wait ARQ – A message frame is retransmitted if the source receives a negative acknowledgment from the destination • Sliding Window ARQ – Go-back-n-frames • The errored frame and all frames transmitted after it are retransmitted even if the subsequent frames have no error – Selective Reject (SREJ) • Only the errored frames are retransmitted ECE @Saint Louis University, Baguio City 16 (END)