SlideShare uma empresa Scribd logo
1 de 16
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)

Mais conteúdo relacionado

Mais procurados

Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSDr. SELVAGANESAN S
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layerNaiyan Noor
 
switching techniques in data communication and networking
switching techniques in data communication and networkingswitching techniques in data communication and networking
switching techniques in data communication and networkingHarshita Yadav
 
Design issues for the layers
Design issues for the layersDesign issues for the layers
Design issues for the layersjayaprakash
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networksguesta81d4b
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniquesGupta6Bindu
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)k33a
 
TOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.pptTOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.pptshanthishyam
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols BE Smârt
 
Reference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPReference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPMukesh Chinta
 
Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer Dr. SELVAGANESAN S
 

Mais procurados (20)

Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
Mobile Transport layer
Mobile Transport layerMobile Transport layer
Mobile Transport layer
 
switching techniques in data communication and networking
switching techniques in data communication and networkingswitching techniques in data communication and networking
switching techniques in data communication and networking
 
Design issues for the layers
Design issues for the layersDesign issues for the layers
Design issues for the layers
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 
Ip addressing classful
Ip addressing classfulIp addressing classful
Ip addressing classful
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniques
 
Tcp IP Model
Tcp IP ModelTcp IP Model
Tcp IP Model
 
Computer networks - Channelization
Computer networks - ChannelizationComputer networks - Channelization
Computer networks - Channelization
 
The medium access sublayer
 The medium  access sublayer The medium  access sublayer
The medium access sublayer
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
Distance vector routing
Distance vector routingDistance vector routing
Distance vector routing
 
TOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.pptTOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.ppt
 
Osi model
Osi modelOsi model
Osi model
 
TCP/IP model
TCP/IP modelTCP/IP model
TCP/IP model
 
Gsm radio-interface
Gsm radio-interfaceGsm radio-interface
Gsm radio-interface
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
 
Reference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPReference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IP
 
Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer
 

Semelhante a Data link control protocol(1)

CN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptxCN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptxPondinesh2
 
datalinklayer-200201062315 (1).pptx
datalinklayer-200201062315 (1).pptxdatalinklayer-200201062315 (1).pptx
datalinklayer-200201062315 (1).pptxMeenaAnusha1
 
Data link layer
Data link layerData link layer
Data link layerkovendanv
 
Topic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingTopic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingDr Rajiv Srivastava
 
A427 nic card
A427 nic cardA427 nic card
A427 nic cardsurajbhai
 
Network Fundamentals: Ch4 - Transport Layer
Network Fundamentals: Ch4 - Transport LayerNetwork Fundamentals: Ch4 - Transport Layer
Network Fundamentals: Ch4 - Transport LayerAbdelkhalik Mosa
 
INTRODUCTION TO PHYSICAL LAYER
INTRODUCTION TO PHYSICAL LAYERINTRODUCTION TO PHYSICAL LAYER
INTRODUCTION TO PHYSICAL LAYERAPARNA P
 
CSC 424 -Lecture 5n8 2022.pptx
CSC 424 -Lecture 5n8 2022.pptxCSC 424 -Lecture 5n8 2022.pptx
CSC 424 -Lecture 5n8 2022.pptxNoraNjepuome3
 
unit 2_switchingtechniques.ppt
unit 2_switchingtechniques.pptunit 2_switchingtechniques.ppt
unit 2_switchingtechniques.pptThangamaniR3
 
Unit_1.pdf computer networks and computer topology
Unit_1.pdf computer networks and computer topologyUnit_1.pdf computer networks and computer topology
Unit_1.pdf computer networks and computer topology22i261
 
Computer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdfComputer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdfSweta Kumari Barnwal
 

Semelhante a Data link control protocol(1) (20)

Data link control protocol(2)
Data link control protocol(2)Data link control protocol(2)
Data link control protocol(2)
 
CN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptxCN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptx
 
Presentation on control access protocol
Presentation on control access protocolPresentation on control access protocol
Presentation on control access protocol
 
datalinklayer-200201062315 (1).pptx
datalinklayer-200201062315 (1).pptxdatalinklayer-200201062315 (1).pptx
datalinklayer-200201062315 (1).pptx
 
Data link layer
Data link layerData link layer
Data link layer
 
Data link layer
Data link layerData link layer
Data link layer
 
Unit 1
Unit 1Unit 1
Unit 1
 
Topic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingTopic: Virtual circuit & message switching
Topic: Virtual circuit & message switching
 
Data link control notes
Data link control notesData link control notes
Data link control notes
 
A427 nic card
A427 nic cardA427 nic card
A427 nic card
 
Unit 2 ppt 3.ppt
Unit 2 ppt 3.pptUnit 2 ppt 3.ppt
Unit 2 ppt 3.ppt
 
CAN.ppt
CAN.pptCAN.ppt
CAN.ppt
 
Network Fundamentals: Ch4 - Transport Layer
Network Fundamentals: Ch4 - Transport LayerNetwork Fundamentals: Ch4 - Transport Layer
Network Fundamentals: Ch4 - Transport Layer
 
INTRODUCTION TO PHYSICAL LAYER
INTRODUCTION TO PHYSICAL LAYERINTRODUCTION TO PHYSICAL LAYER
INTRODUCTION TO PHYSICAL LAYER
 
21 Scheme_MODULE-2_CCN.pdf
21 Scheme_MODULE-2_CCN.pdf21 Scheme_MODULE-2_CCN.pdf
21 Scheme_MODULE-2_CCN.pdf
 
CSC 424 -Lecture 5n8 2022.pptx
CSC 424 -Lecture 5n8 2022.pptxCSC 424 -Lecture 5n8 2022.pptx
CSC 424 -Lecture 5n8 2022.pptx
 
unit 2_switchingtechniques.ppt
unit 2_switchingtechniques.pptunit 2_switchingtechniques.ppt
unit 2_switchingtechniques.ppt
 
Unit_1.pdf computer networks and computer topology
Unit_1.pdf computer networks and computer topologyUnit_1.pdf computer networks and computer topology
Unit_1.pdf computer networks and computer topology
 
Computer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdfComputer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdf
 
1.CN-PPT.ppt
1.CN-PPT.ppt1.CN-PPT.ppt
1.CN-PPT.ppt
 

Mais de Jeffrey Des Binwag

ECE 528T1: Design of Communication Systems Module 3
ECE 528T1:  Design of Communication Systems Module 3ECE 528T1:  Design of Communication Systems Module 3
ECE 528T1: Design of Communication Systems Module 3Jeffrey Des Binwag
 
ECE 528T1: Design of Communication Systems Module 2
ECE 528T1:  Design of Communication Systems Module 2ECE 528T1:  Design of Communication Systems Module 2
ECE 528T1: Design of Communication Systems Module 2Jeffrey Des Binwag
 
SLU ECE 528T1: Design of Communication Systems Module 1
SLU ECE 528T1:  Design of Communication Systems Module 1SLU ECE 528T1:  Design of Communication Systems Module 1
SLU ECE 528T1: Design of Communication Systems Module 1Jeffrey Des Binwag
 
Datacom module 5 (UART, USRT, Serial Interface, Modem)
Datacom module 5 (UART, USRT, Serial Interface, Modem)Datacom module 5 (UART, USRT, Serial Interface, Modem)
Datacom module 5 (UART, USRT, Serial Interface, Modem)Jeffrey Des Binwag
 
Datacom module 4: Fundamentals of Data Communication
Datacom module 4:  Fundamentals of Data CommunicationDatacom module 4:  Fundamentals of Data Communication
Datacom module 4: Fundamentals of Data CommunicationJeffrey Des Binwag
 
Datacom module 3: Data Communications Circuits, Arrangements, and Networks
Datacom module 3:  Data Communications Circuits, Arrangements, and NetworksDatacom module 3:  Data Communications Circuits, Arrangements, and Networks
Datacom module 3: Data Communications Circuits, Arrangements, and NetworksJeffrey Des Binwag
 
Datacom module 2: Data Communication Architecture, Protocols, and Standards
Datacom module 2:  Data Communication Architecture, Protocols, and StandardsDatacom module 2:  Data Communication Architecture, Protocols, and Standards
Datacom module 2: Data Communication Architecture, Protocols, and StandardsJeffrey Des Binwag
 
Datacom module 1: Introduction to Data Communications
Datacom module 1:  Introduction to Data CommunicationsDatacom module 1:  Introduction to Data Communications
Datacom module 1: Introduction to Data CommunicationsJeffrey Des Binwag
 
ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3Jeffrey Des Binwag
 
ECESLU Microprocessors lecture 2
ECESLU Microprocessors lecture 2ECESLU Microprocessors lecture 2
ECESLU Microprocessors lecture 2Jeffrey Des Binwag
 
ECESLU Microprocessors lecture
ECESLU Microprocessors lecture ECESLU Microprocessors lecture
ECESLU Microprocessors lecture Jeffrey Des Binwag
 

Mais de Jeffrey Des Binwag (14)

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

Último

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Último (20)

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

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)