SlideShare una empresa de Scribd logo
1 de 31
Descargar para leer sin conexión
Data Link Control Protocols
CEN 220/CIS 192 Advanced Data Communications and Networking
Data and Computer Communications, W. Stallings 9/E, Chapter 7
Data Link Control Protocols
“Great and enlightened one,” said Ten-teh, as soon as his
stupor was lifted, “has this person delivered his message
competently, for his mind was still a seared vision of snow
and sand and perchance his tongue has stumbled?”
“Bend your ears to the wall,” replied the Emperor, “and be
assured.”
—Kai Lung's Golden Hours,
Earnest Bramah
Data Link Control Protocols
When sending data, to achieve control, a layer of
logic is added above the physical layer

data link control or a data link control protocol
To manage exchange of data over a link:

frame synchronization

flow control

error control

addressing

control and data

link management
Flow Control
Ensure sending entity does not overwhelm receiving entity

prevent buffer overflow
Influenced by:

transmission time
• time taken to emit all bits into medium

propagation time
• time for a bit to traverse the link
Assumption is all frames are successfully received with no
frames lost or arriving with errors
Model of Frame Transmission
Stop and Wait
Simplest form of flow
control
Works well for a
message sent in a few
large frames

stop and wait becomes
inadequate if large
block of data is split
into small frames by
source
Stop and Wait Link Utilization
Sliding Windows Flow Control
Allows multiple numbered frames to be in transit

receiver has buffer W long

transmitter sends up to W frames without ACK

ACK includes number of next frame expected

sequence number is bounded by size of field (k)
• frames are numbered modulo 2k
• giving max window size of up to 2k – 1

receiver can ACK frames without permitting further
transmission (Receive Not Ready)

must send a normal acknowledge to resume
If have full-duplex link, can piggyback acks
Sliding Window Diagram
Sliding Window Example
Error Control Techniques
Detection and
correction of errors
such as:
lost frames
-a frame fails
to arrive at
the other side
damaged frames
-frame arrives
but some of
the bits are in
error
Automatic Repeat Request (ARQ)
Collective name for error control mechanisms
Effect of arq is to turn an unreliable data link into a
reliable one
Versions of arq are:

stop-and-wait

go-back-N

selective-reject
Stop and Wait ARQ
Source transmits single frame
Waits for ack
• no other data can be sent until destination’s reply arrives
If frame received is damaged, discard it
 transmitter has timeout
 if no ACK within timeout, retransmit
If ack is damaged, transmitter will not recognize
 transmitter will retransmit
 receiver gets two copies of frame
 use alternate numbering and ACK0 / ACK1
Stop and Wait ARQ
Go-Back-N ARQ
Most commonly used error control
Based on sliding-window
Use window size to control number of outstanding frames
If no error, ack as usual
If error, reply with rejection

destination will discard that frame and all future
frames until frame in error is received correctly

transmitter must go back and retransmit that frame
and all subsequent frames
Go Back N - Handling
Damaged frame

error in frame i so receiver rejects frame i

transmitter retransmits frames from i
Lost frame

frame i lost and either
• transmitter sends i+1 and receiver gets frame i+1 out
of sequence and rejects frame i
• or transmitter times out and sends ACK with P bit set
which receiver responds to with ACK i

transmitter then retransmits frames from i
Go Back N - Handling
Selective-Reject (ARQ)
Also called selective retransmission
Only rejected frames are retransmitted
Subsequent frames are accepted by the receiver
and buffered
Minimizes retransmission
Receiver must maintain large enough buffer
More complex logic in transmitter

less widely used
Useful for satellite links with long propagation
delays
Go-Back-N vs.
Selective
Reject
High Level Data Link Control (HDLC)
HDLC Transfer Modes
HDLC Frame Structure

uses synchronous transmission

transmissions are in the form of frames

single frame format used
Flag Fields and Bit Stuffing
Delimit frame at both ends with 01111110
Receiver hunts for flag sequence to synchronize
Bit stuffing used to avoid confusion with data
containing flag sequence 01111110

0 inserted after every sequence of five 1s

if receiver detects five 1s it checks next bit

if next bit is 0, it is deleted (was stuffed bit)

if next bit is 1 and seventh bit is 0, accepted as flag

if sixth and seventh bits 1, sender is indicating abort
Address Field
Identifies secondary station that transmitted or
will receive frame
Usually 8 bits long
May be extended to multiples of 7 bits

leftmost bit indicates if is the last octet (1) or not (0)
Address 11111111 allows primary to broadcast
Control Field
Different frame types

Information - data transmitted to user (next layer up)
• flow and error control piggybacked on information frames

Supervisory - ARQ when piggyback is not used

Unnumbered - supplementary link control functions
First 1-2 bits of control field identify frame type
Control Field
Use of poll/final (p/f) bit depends on context
In command frame p bit set to 1 to solicit (poll)
response from peer
In response frame f bit set to 1 to indicate
response to soliciting command
Sequence number usually 3 bits

can extend to 8 bits as shown below
Information & Frame Check Sequence
(FCS) Fields
HDLC Operation
Consists of exchange of i-frames, s-frames and u-frames
Involves three phases
HDLC Operation Example
HDLC Operation Example
Summary
Data link protocols
– frame synchronization
– flow control
● stop-and-wait, sliding window
● ACK frame
● error control
– lost frame, damaged frame
– stop-and-wait, go-back-N, selective-reject ARQs
HDLC
– NRM, ABM,ARM

Más contenido relacionado

La actualidad más candente

CSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHARECSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHAREKhushboo Pal
 
Guided and unguided media
Guided and unguided mediaGuided and unguided media
Guided and unguided mediaHassan Osama
 
Contention based MAC protocols
Contention based  MAC protocolsContention based  MAC protocols
Contention based MAC protocolsDarwin Nesakumar
 
Fisheye State Routing (FSR) - Protocol Overview
Fisheye State Routing (FSR) - Protocol OverviewFisheye State Routing (FSR) - Protocol Overview
Fisheye State Routing (FSR) - Protocol OverviewYoav Francis
 
Sensor Protocols for Information via Negotiation (SPIN)
Sensor Protocols for Information via Negotiation (SPIN)Sensor Protocols for Information via Negotiation (SPIN)
Sensor Protocols for Information via Negotiation (SPIN)rajivagarwal23dei
 
What is network architecture
What is network architecture What is network architecture
What is network architecture Sorcia D'Arceuil
 
Mac protocols
Mac protocolsMac protocols
Mac protocolsjuno susi
 
Classification of routing protocols
Classification of routing protocolsClassification of routing protocols
Classification of routing protocolsMenaga Selvaraj
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network LayerManoj Kumar
 
Computer network switching
Computer network switchingComputer network switching
Computer network switchingShivani Godha
 
Serial And Parallel Data Transmission By ZAK
Serial And Parallel Data Transmission By ZAKSerial And Parallel Data Transmission By ZAK
Serial And Parallel Data Transmission By ZAKTabsheer Hasan
 
Power Management in Wireless Sensor Network
Power Management in Wireless Sensor NetworkPower Management in Wireless Sensor Network
Power Management in Wireless Sensor NetworkBhavik Panchal
 
TIME SYNCHRONIZATION IN WIRELESS SENSOR NETWORKS: A SURVEY
 TIME SYNCHRONIZATION IN WIRELESS SENSOR NETWORKS: A SURVEY TIME SYNCHRONIZATION IN WIRELESS SENSOR NETWORKS: A SURVEY
TIME SYNCHRONIZATION IN WIRELESS SENSOR NETWORKS: A SURVEYijujournal
 
Protocols of noiseless
Protocols of noiselessProtocols of noiseless
Protocols of noiselessBasit Hussain
 
AODV (adhoc ondemand distance vector routing)
AODV (adhoc ondemand distance vector routing) AODV (adhoc ondemand distance vector routing)
AODV (adhoc ondemand distance vector routing) ArunChokkalingam
 
Ethernet Computer network
Ethernet Computer networkEthernet Computer network
Ethernet Computer networkmiteshppt
 

La actualidad más candente (20)

Power control in 3 g
Power control in 3 gPower control in 3 g
Power control in 3 g
 
Error control
Error controlError control
Error control
 
CSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHARECSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHARE
 
Guided and unguided media
Guided and unguided mediaGuided and unguided media
Guided and unguided media
 
Contention based MAC protocols
Contention based  MAC protocolsContention based  MAC protocols
Contention based MAC protocols
 
Fisheye State Routing (FSR) - Protocol Overview
Fisheye State Routing (FSR) - Protocol OverviewFisheye State Routing (FSR) - Protocol Overview
Fisheye State Routing (FSR) - Protocol Overview
 
Sensor Protocols for Information via Negotiation (SPIN)
Sensor Protocols for Information via Negotiation (SPIN)Sensor Protocols for Information via Negotiation (SPIN)
Sensor Protocols for Information via Negotiation (SPIN)
 
What is network architecture
What is network architecture What is network architecture
What is network architecture
 
Mac protocols
Mac protocolsMac protocols
Mac protocols
 
Classification of routing protocols
Classification of routing protocolsClassification of routing protocols
Classification of routing protocols
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
 
CS6551 COMPUTER NETWORKS
CS6551 COMPUTER NETWORKSCS6551 COMPUTER NETWORKS
CS6551 COMPUTER NETWORKS
 
Serial And Parallel Data Transmission By ZAK
Serial And Parallel Data Transmission By ZAKSerial And Parallel Data Transmission By ZAK
Serial And Parallel Data Transmission By ZAK
 
Icmp
IcmpIcmp
Icmp
 
Power Management in Wireless Sensor Network
Power Management in Wireless Sensor NetworkPower Management in Wireless Sensor Network
Power Management in Wireless Sensor Network
 
TIME SYNCHRONIZATION IN WIRELESS SENSOR NETWORKS: A SURVEY
 TIME SYNCHRONIZATION IN WIRELESS SENSOR NETWORKS: A SURVEY TIME SYNCHRONIZATION IN WIRELESS SENSOR NETWORKS: A SURVEY
TIME SYNCHRONIZATION IN WIRELESS SENSOR NETWORKS: A SURVEY
 
Protocols of noiseless
Protocols of noiselessProtocols of noiseless
Protocols of noiseless
 
AODV (adhoc ondemand distance vector routing)
AODV (adhoc ondemand distance vector routing) AODV (adhoc ondemand distance vector routing)
AODV (adhoc ondemand distance vector routing)
 
Ethernet Computer network
Ethernet Computer networkEthernet Computer network
Ethernet Computer network
 

Similar a Data Link Control Protocols Explained

Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol conceptsRaji Lakshmi
 
Different protocols for data communication networks
Different protocols for data communication networks Different protocols for data communication networks
Different protocols for data communication networks Nt Arvind
 
09 Data Link LayerFlow Control.ppt
09 Data Link LayerFlow Control.ppt09 Data Link LayerFlow Control.ppt
09 Data Link LayerFlow Control.pptShaliniKumariGupta1
 
DATA LINK CONTROL.pptx
DATA LINK CONTROL.pptxDATA LINK CONTROL.pptx
DATA LINK CONTROL.pptxODINARARCH
 
Data Link Control Protocols
Data Link Control ProtocolsData Link Control Protocols
Data Link Control ProtocolsTechiNerd
 
Unit IV_Flow.pptx
Unit IV_Flow.pptxUnit IV_Flow.pptx
Unit IV_Flow.pptxTejasRao8
 
Flow Control (1).ppt
Flow Control (1).pptFlow Control (1).ppt
Flow Control (1).pptsarthakgithub
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols BE Smârt
 
Chapter 11: Data Link Control
Chapter 11: Data Link ControlChapter 11: Data Link Control
Chapter 11: Data Link ControlJeoffnaRuth
 
Data link layer
Data link layerData link layer
Data link layersbkbca
 
a_presentation_on_hdlc_and_dlc_computer.ppt
a_presentation_on_hdlc_and_dlc_computer.ppta_presentation_on_hdlc_and_dlc_computer.ppt
a_presentation_on_hdlc_and_dlc_computer.pptBlackHat41
 
DataLinkControl.ppt
DataLinkControl.pptDataLinkControl.ppt
DataLinkControl.pptMaddalaSeshu
 

Similar a Data Link Control Protocols Explained (20)

07 data linkcontrol
07 data linkcontrol07 data linkcontrol
07 data linkcontrol
 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol concepts
 
Different protocols for data communication networks
Different protocols for data communication networks Different protocols for data communication networks
Different protocols for data communication networks
 
09 Data Link LayerFlow Control.ppt
09 Data Link LayerFlow Control.ppt09 Data Link LayerFlow Control.ppt
09 Data Link LayerFlow Control.ppt
 
DATA LINK CONTROL.pptx
DATA LINK CONTROL.pptxDATA LINK CONTROL.pptx
DATA LINK CONTROL.pptx
 
Data Link Control Protocols
Data Link Control ProtocolsData Link Control Protocols
Data Link Control Protocols
 
application layers
application layersapplication layers
application layers
 
Lect21 09-11
Lect21 09-11Lect21 09-11
Lect21 09-11
 
Unit IV_Flow.pptx
Unit IV_Flow.pptxUnit IV_Flow.pptx
Unit IV_Flow.pptx
 
Flow Control (1).ppt
Flow Control (1).pptFlow Control (1).ppt
Flow Control (1).ppt
 
5 DLL-LLC- Book
5 DLL-LLC- Book5 DLL-LLC- Book
5 DLL-LLC- Book
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
 
stop and wait
stop and waitstop and wait
stop and wait
 
Chapter 11: Data Link Control
Chapter 11: Data Link ControlChapter 11: Data Link Control
Chapter 11: Data Link Control
 
Data Link Control
Data Link ControlData Link Control
Data Link Control
 
07 data linkcontrol
07 data linkcontrol07 data linkcontrol
07 data linkcontrol
 
Data link layer
Data link layerData link layer
Data link layer
 
a_presentation_on_hdlc_and_dlc_computer.ppt
a_presentation_on_hdlc_and_dlc_computer.ppta_presentation_on_hdlc_and_dlc_computer.ppt
a_presentation_on_hdlc_and_dlc_computer.ppt
 
Data link control
Data link controlData link control
Data link control
 
DataLinkControl.ppt
DataLinkControl.pptDataLinkControl.ppt
DataLinkControl.ppt
 

Más de adpeer

Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9eChapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9eadpeer
 
Chapter 9 - Spread Spectrum 9e
Chapter 9 - Spread Spectrum 9eChapter 9 - Spread Spectrum 9e
Chapter 9 - Spread Spectrum 9eadpeer
 
Chapter 1 - Data Communications, Data Networks, and the Internet
Chapter 1 - Data Communications, Data Networks, and the InternetChapter 1 - Data Communications, Data Networks, and the Internet
Chapter 1 - Data Communications, Data Networks, and the Internetadpeer
 
Chapter 2 - Protocol Architecture, TCP/IP, and Internet-Based Applications 9e
Chapter 2 - Protocol Architecture, TCP/IP, and Internet-Based Applications 9eChapter 2 - Protocol Architecture, TCP/IP, and Internet-Based Applications 9e
Chapter 2 - Protocol Architecture, TCP/IP, and Internet-Based Applications 9eadpeer
 
Chapter 4 - Transmission Media 9e
Chapter 4 - Transmission Media 9eChapter 4 - Transmission Media 9e
Chapter 4 - Transmission Media 9eadpeer
 
Chapter 5 - Signal Encoding Techniques 9e
Chapter 5 - Signal Encoding Techniques 9eChapter 5 - Signal Encoding Techniques 9e
Chapter 5 - Signal Encoding Techniques 9eadpeer
 
Chapter 6 - Digital Data Communication Techniques 9e
Chapter 6 - Digital Data Communication Techniques 9eChapter 6 - Digital Data Communication Techniques 9e
Chapter 6 - Digital Data Communication Techniques 9eadpeer
 
Chapter 8 - Multiplexing 9e
Chapter 8 - Multiplexing 9eChapter 8 - Multiplexing 9e
Chapter 8 - Multiplexing 9eadpeer
 

Más de adpeer (8)

Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9eChapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
 
Chapter 9 - Spread Spectrum 9e
Chapter 9 - Spread Spectrum 9eChapter 9 - Spread Spectrum 9e
Chapter 9 - Spread Spectrum 9e
 
Chapter 1 - Data Communications, Data Networks, and the Internet
Chapter 1 - Data Communications, Data Networks, and the InternetChapter 1 - Data Communications, Data Networks, and the Internet
Chapter 1 - Data Communications, Data Networks, and the Internet
 
Chapter 2 - Protocol Architecture, TCP/IP, and Internet-Based Applications 9e
Chapter 2 - Protocol Architecture, TCP/IP, and Internet-Based Applications 9eChapter 2 - Protocol Architecture, TCP/IP, and Internet-Based Applications 9e
Chapter 2 - Protocol Architecture, TCP/IP, and Internet-Based Applications 9e
 
Chapter 4 - Transmission Media 9e
Chapter 4 - Transmission Media 9eChapter 4 - Transmission Media 9e
Chapter 4 - Transmission Media 9e
 
Chapter 5 - Signal Encoding Techniques 9e
Chapter 5 - Signal Encoding Techniques 9eChapter 5 - Signal Encoding Techniques 9e
Chapter 5 - Signal Encoding Techniques 9e
 
Chapter 6 - Digital Data Communication Techniques 9e
Chapter 6 - Digital Data Communication Techniques 9eChapter 6 - Digital Data Communication Techniques 9e
Chapter 6 - Digital Data Communication Techniques 9e
 
Chapter 8 - Multiplexing 9e
Chapter 8 - Multiplexing 9eChapter 8 - Multiplexing 9e
Chapter 8 - Multiplexing 9e
 

Último

Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 

Último (20)

Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 

Data Link Control Protocols Explained

  • 1. Data Link Control Protocols CEN 220/CIS 192 Advanced Data Communications and Networking Data and Computer Communications, W. Stallings 9/E, Chapter 7
  • 2. Data Link Control Protocols “Great and enlightened one,” said Ten-teh, as soon as his stupor was lifted, “has this person delivered his message competently, for his mind was still a seared vision of snow and sand and perchance his tongue has stumbled?” “Bend your ears to the wall,” replied the Emperor, “and be assured.” —Kai Lung's Golden Hours, Earnest Bramah
  • 3. Data Link Control Protocols When sending data, to achieve control, a layer of logic is added above the physical layer  data link control or a data link control protocol To manage exchange of data over a link:  frame synchronization  flow control  error control  addressing  control and data  link management
  • 4. Flow Control Ensure sending entity does not overwhelm receiving entity  prevent buffer overflow Influenced by:  transmission time • time taken to emit all bits into medium  propagation time • time for a bit to traverse the link Assumption is all frames are successfully received with no frames lost or arriving with errors
  • 5. Model of Frame Transmission
  • 6. Stop and Wait Simplest form of flow control Works well for a message sent in a few large frames  stop and wait becomes inadequate if large block of data is split into small frames by source
  • 7. Stop and Wait Link Utilization
  • 8. Sliding Windows Flow Control Allows multiple numbered frames to be in transit  receiver has buffer W long  transmitter sends up to W frames without ACK  ACK includes number of next frame expected  sequence number is bounded by size of field (k) • frames are numbered modulo 2k • giving max window size of up to 2k – 1  receiver can ACK frames without permitting further transmission (Receive Not Ready)  must send a normal acknowledge to resume If have full-duplex link, can piggyback acks
  • 11. Error Control Techniques Detection and correction of errors such as: lost frames -a frame fails to arrive at the other side damaged frames -frame arrives but some of the bits are in error
  • 12. Automatic Repeat Request (ARQ) Collective name for error control mechanisms Effect of arq is to turn an unreliable data link into a reliable one Versions of arq are:  stop-and-wait  go-back-N  selective-reject
  • 13. Stop and Wait ARQ Source transmits single frame Waits for ack • no other data can be sent until destination’s reply arrives If frame received is damaged, discard it  transmitter has timeout  if no ACK within timeout, retransmit If ack is damaged, transmitter will not recognize  transmitter will retransmit  receiver gets two copies of frame  use alternate numbering and ACK0 / ACK1
  • 15. Go-Back-N ARQ Most commonly used error control Based on sliding-window Use window size to control number of outstanding frames If no error, ack as usual If error, reply with rejection  destination will discard that frame and all future frames until frame in error is received correctly  transmitter must go back and retransmit that frame and all subsequent frames
  • 16. Go Back N - Handling Damaged frame  error in frame i so receiver rejects frame i  transmitter retransmits frames from i Lost frame  frame i lost and either • transmitter sends i+1 and receiver gets frame i+1 out of sequence and rejects frame i • or transmitter times out and sends ACK with P bit set which receiver responds to with ACK i  transmitter then retransmits frames from i
  • 17. Go Back N - Handling
  • 18. Selective-Reject (ARQ) Also called selective retransmission Only rejected frames are retransmitted Subsequent frames are accepted by the receiver and buffered Minimizes retransmission Receiver must maintain large enough buffer More complex logic in transmitter  less widely used Useful for satellite links with long propagation delays
  • 20. High Level Data Link Control (HDLC)
  • 22. HDLC Frame Structure  uses synchronous transmission  transmissions are in the form of frames  single frame format used
  • 23. Flag Fields and Bit Stuffing Delimit frame at both ends with 01111110 Receiver hunts for flag sequence to synchronize Bit stuffing used to avoid confusion with data containing flag sequence 01111110  0 inserted after every sequence of five 1s  if receiver detects five 1s it checks next bit  if next bit is 0, it is deleted (was stuffed bit)  if next bit is 1 and seventh bit is 0, accepted as flag  if sixth and seventh bits 1, sender is indicating abort
  • 24. Address Field Identifies secondary station that transmitted or will receive frame Usually 8 bits long May be extended to multiples of 7 bits  leftmost bit indicates if is the last octet (1) or not (0) Address 11111111 allows primary to broadcast
  • 25. Control Field Different frame types  Information - data transmitted to user (next layer up) • flow and error control piggybacked on information frames  Supervisory - ARQ when piggyback is not used  Unnumbered - supplementary link control functions First 1-2 bits of control field identify frame type
  • 26. Control Field Use of poll/final (p/f) bit depends on context In command frame p bit set to 1 to solicit (poll) response from peer In response frame f bit set to 1 to indicate response to soliciting command Sequence number usually 3 bits  can extend to 8 bits as shown below
  • 27. Information & Frame Check Sequence (FCS) Fields
  • 28. HDLC Operation Consists of exchange of i-frames, s-frames and u-frames Involves three phases
  • 31. Summary Data link protocols – frame synchronization – flow control ● stop-and-wait, sliding window ● ACK frame ● error control – lost frame, damaged frame – stop-and-wait, go-back-N, selective-reject ARQs HDLC – NRM, ABM,ARM