SlideShare a Scribd company logo
2
Most read
3
Most read
8
Most read
Presented by-
Bhupendra sahu
BCA 2nd year
DSVV Haridwar
Error Control
• Error control includes both error detection and error
correction.
• It allows the receiver to inform the sender if a frame
is lost or damaged during transmission and
coordinates the retransmission of those frames by
the sender.
• Error control in the data link layer is based on
automatic repeat request (ARQ). Whenever an error
is detected, specified frames are retransmitted.
According to Behrouz A.Forouzan
 At the sending node, a frame in a data-link layer need to be
changed to bits, transformed to be electromagnetic signals,
and transmitted through the transmission media.
 At the receiving node, electromagnetic signals are received,
transformed to bits and put together to create a frame.
 Since electromagnetic signals are susceptible to error, and a
frame is susceptible to error.
 The error need first to be detected . After detection, it need
to be either corrected at the receiver node or discarded and
retransmitted by sending node.
Error Types
Single-bit error
Multiple-bit error
Burst error
How error occurs
 A burst error is more likely to occur than a single bit
error because the duration of the noise signal is
normally longer than the duration of 1 bit,which
means that when noise affect data, it affects a set of
bits.
 The number of bits affected depends on the data rates
and the duration of noise.
 Ex-if we sending data at 1 kbps, a noise of 1/100 second
can affect 10 bits, if we sending data at 1 mbps the
same noise can affect 10,000 bits.
Two Basic forms of Error control:-
 Stop-and-wait error control
 Sliding window error control
Stop-and-Wait Error Control
 Stop-and-wait is the simplest of the error control
protocols
 A transmitter sends a frame then stops and waits for an
acknowledgment
 If a positive acknowledgment (ACK) is received, the next
frame is sent
 If a negative acknowledgment (NAK) is received, the
same frame is transmitted again
Stop-and-Wait Error Control (continued)
Sliding Window Error Control
 These techniques assume that multiple frames are in
transmission at one time
 A sliding window protocol allows the transmitter to
send a number of data packets at one time before
receiving any acknowledgments
 Depends on window size
 When a receiver does acknowledge receipt, the
returned ACK contains the number of the frame
expected next
Sliding Window Error Control (continued)
Sliding Window Error Control (continued)
 Older sliding window protocols numbered each frame
or packet that was transmitted
 More modern sliding window protocols number each
byte within a frame
 An example in which the packets are numbered,
followed by an example in which the bytes are
numbered:
Sliding Window Error Control (continued)
Sliding Window Error Control (continued)
Sliding Window Error Control (continued)
 Notice that an ACK is not always sent after each frame
is received
 It is more efficient to wait for a few received frames
before returning an ACK
 How long should you wait until you return an ACK?
Sliding Window Error Control (continued)
 Using TCP/IP, there are some basic rules concerning ACKs:
 Rule 1: If a receiver just received data and wants to send
its own data, piggyback an ACK along with that data
 Rule 2: If a receiver has no data to return and has just
ACKed the last packet, receiver waits 500 ms for another
packet
 If while waiting, another packet arrives, send the ACK
immediately
 Rule 3: If a receiver has no data to return and has just
ACKed the last packet, receiver waits 500 ms
 No packet, send ACK
Sliding Window Error Control (continued)
Sliding Window Error Control (continued)
 What happens when a packet is lost?
 As shown in the next slide, if a frame is lost, the
following frame will be “out of sequence”
 The receiver will hold the out of sequence bytes in a
buffer and request the sender to retransmit the
missing frame
Sliding Window Error Control (continued)
Sliding Window Error Control (continued)
 What happens when an ACK is lost?
 As shown in the next slide, if an ACK is lost, the sender
will wait for the ACK to arrive and eventually time out
 When the time-out occurs, the sender will resend the
last frame
Sliding Window Error Control (continued)
Error control

More Related Content

PPTX
Sliding window protocol(ARQ technique)
PPTX
RANDOM ACCESS PROTOCOL IN COMMUNICATION
PPT
Framming data link layer
PPTX
What Is Sliding Window Protocol?
PPSX
Error control
PPT
Forouzan _ Multiple access protocols.ppt
PPT
HDLC, PPP and SLIP
PPTX
Transport layer protocols : Simple Protocol , Stop and Wait Protocol , Go-Bac...
Sliding window protocol(ARQ technique)
RANDOM ACCESS PROTOCOL IN COMMUNICATION
Framming data link layer
What Is Sliding Window Protocol?
Error control
Forouzan _ Multiple access protocols.ppt
HDLC, PPP and SLIP
Transport layer protocols : Simple Protocol , Stop and Wait Protocol , Go-Bac...

What's hot (20)

PPTX
HDLC(High level Data Link Control)
PPSX
Flow Control
PPT
Sliding window protocol
PPTX
Congestion control
PPTX
Routing algorithm
PPT
TCP/IP Network ppt
PDF
Multiplexing
PPT
Flow & Error Control
PPT
data-link layer protocols
PPTX
Transport layer
PPTX
PPT
Error Detection And Correction
PPTX
Osi model
PPTX
Transport layer
PPT
Guided Transmission Media
PPT
Communication primitives
PPT
Unit 3 Network Layer PPT
PPTX
Quality of Service
PPTX
Go back-n protocol
HDLC(High level Data Link Control)
Flow Control
Sliding window protocol
Congestion control
Routing algorithm
TCP/IP Network ppt
Multiplexing
Flow & Error Control
data-link layer protocols
Transport layer
Error Detection And Correction
Osi model
Transport layer
Guided Transmission Media
Communication primitives
Unit 3 Network Layer PPT
Quality of Service
Go back-n protocol
Ad

Viewers also liked (18)

PPT
Errror Detection and Correction
PPT
Error control, parity check, check sum, vrc
PPTX
PDF
Errors, Error Detection, and Error Control
PDF
IEEE standards and Data Link Layer Protocol
PPT
oil gas industry guidelines | Michael Bowen
PPT
Datalinklayer tanenbaum
PPT
DDL and Physical Layer
PPT
Data Link Layer
PPTX
GROUP03_AMAK:ERROR DETECTION AND CORRECTION PPT
PPTX
Error Detection and Correction - Data link Layer
PPTX
Network Fundamentals: Ch7 - Data Link Layer
PPTX
Data link layer
PPT
Error detection and correction
PPTX
TCP/IP Model
PPT
Error correction, ARQ, FEC
PPTX
Computer Networks - Error Detection & Error Correction
PPT
The Data Link Layer
Errror Detection and Correction
Error control, parity check, check sum, vrc
Errors, Error Detection, and Error Control
IEEE standards and Data Link Layer Protocol
oil gas industry guidelines | Michael Bowen
Datalinklayer tanenbaum
DDL and Physical Layer
Data Link Layer
GROUP03_AMAK:ERROR DETECTION AND CORRECTION PPT
Error Detection and Correction - Data link Layer
Network Fundamentals: Ch7 - Data Link Layer
Data link layer
Error detection and correction
TCP/IP Model
Error correction, ARQ, FEC
Computer Networks - Error Detection & Error Correction
The Data Link Layer
Ad

Similar to Error control (20)

PPTX
Error detection and correction
PDF
Unit 2_ Flow & Error Control in computer networks
PPTX
Lecture 36-43_DATA_COMMUNICATION_PPT.pptx
PPT
5 DLL-LLC- Book
PDF
DATA LINK LAYER.pdf
PPTX
Osi model
PDF
CN-unit-ii.its help you for computer network
PPT
CN_unit2.ppt Data Link Layer characteristics, categories
PPT
Chapter 4 data link layer
PPT
09 Data Link LayerFlow Control.ppt
PPT
Flow Control (1).ppt
PPT
notes_Lecturdsfsdfsfdfsfsffsfs dfe 11.ppt
PPTX
flow control pptx for computer networking
PPT
14-Data Link Control.ppt 14-Data Link Control.ppt 14-Data Link Control.pp
PDF
Data Communication and Computer Networks unit 2
PDF
Flowctrl
PPTX
Dcn ppt by roma
PPTX
Dcn ppt on data link layer
PPT
Arq protocol part 2
PPT
computer_network_completenotes_unit2.ppt
Error detection and correction
Unit 2_ Flow & Error Control in computer networks
Lecture 36-43_DATA_COMMUNICATION_PPT.pptx
5 DLL-LLC- Book
DATA LINK LAYER.pdf
Osi model
CN-unit-ii.its help you for computer network
CN_unit2.ppt Data Link Layer characteristics, categories
Chapter 4 data link layer
09 Data Link LayerFlow Control.ppt
Flow Control (1).ppt
notes_Lecturdsfsdfsfdfsfsffsfs dfe 11.ppt
flow control pptx for computer networking
14-Data Link Control.ppt 14-Data Link Control.ppt 14-Data Link Control.pp
Data Communication and Computer Networks unit 2
Flowctrl
Dcn ppt by roma
Dcn ppt on data link layer
Arq protocol part 2
computer_network_completenotes_unit2.ppt

Recently uploaded (20)

PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PDF
advance database management system book.pdf
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
IGGE1 Understanding the Self1234567891011
PDF
Indian roads congress 037 - 2012 Flexible pavement
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
What if we spent less time fighting change, and more time building what’s rig...
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PPTX
20th Century Theater, Methods, History.pptx
PDF
Weekly quiz Compilation Jan -July 25.pdf
TNA_Presentation-1-Final(SAVE)) (1).pptx
advance database management system book.pdf
Virtual and Augmented Reality in Current Scenario
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
Unit 4 Computer Architecture Multicore Processor.pptx
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
IGGE1 Understanding the Self1234567891011
Indian roads congress 037 - 2012 Flexible pavement
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
What if we spent less time fighting change, and more time building what’s rig...
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
Share_Module_2_Power_conflict_and_negotiation.pptx
20th Century Theater, Methods, History.pptx
Weekly quiz Compilation Jan -July 25.pdf

Error control

  • 1. Presented by- Bhupendra sahu BCA 2nd year DSVV Haridwar
  • 2. Error Control • Error control includes both error detection and error correction. • It allows the receiver to inform the sender if a frame is lost or damaged during transmission and coordinates the retransmission of those frames by the sender. • Error control in the data link layer is based on automatic repeat request (ARQ). Whenever an error is detected, specified frames are retransmitted.
  • 3. According to Behrouz A.Forouzan  At the sending node, a frame in a data-link layer need to be changed to bits, transformed to be electromagnetic signals, and transmitted through the transmission media.  At the receiving node, electromagnetic signals are received, transformed to bits and put together to create a frame.  Since electromagnetic signals are susceptible to error, and a frame is susceptible to error.  The error need first to be detected . After detection, it need to be either corrected at the receiver node or discarded and retransmitted by sending node.
  • 8. How error occurs  A burst error is more likely to occur than a single bit error because the duration of the noise signal is normally longer than the duration of 1 bit,which means that when noise affect data, it affects a set of bits.  The number of bits affected depends on the data rates and the duration of noise.  Ex-if we sending data at 1 kbps, a noise of 1/100 second can affect 10 bits, if we sending data at 1 mbps the same noise can affect 10,000 bits.
  • 9. Two Basic forms of Error control:-  Stop-and-wait error control  Sliding window error control
  • 10. Stop-and-Wait Error Control  Stop-and-wait is the simplest of the error control protocols  A transmitter sends a frame then stops and waits for an acknowledgment  If a positive acknowledgment (ACK) is received, the next frame is sent  If a negative acknowledgment (NAK) is received, the same frame is transmitted again
  • 12. Sliding Window Error Control  These techniques assume that multiple frames are in transmission at one time  A sliding window protocol allows the transmitter to send a number of data packets at one time before receiving any acknowledgments  Depends on window size  When a receiver does acknowledge receipt, the returned ACK contains the number of the frame expected next
  • 13. Sliding Window Error Control (continued)
  • 14. Sliding Window Error Control (continued)  Older sliding window protocols numbered each frame or packet that was transmitted  More modern sliding window protocols number each byte within a frame  An example in which the packets are numbered, followed by an example in which the bytes are numbered:
  • 15. Sliding Window Error Control (continued)
  • 16. Sliding Window Error Control (continued)
  • 17. Sliding Window Error Control (continued)  Notice that an ACK is not always sent after each frame is received  It is more efficient to wait for a few received frames before returning an ACK  How long should you wait until you return an ACK?
  • 18. Sliding Window Error Control (continued)  Using TCP/IP, there are some basic rules concerning ACKs:  Rule 1: If a receiver just received data and wants to send its own data, piggyback an ACK along with that data  Rule 2: If a receiver has no data to return and has just ACKed the last packet, receiver waits 500 ms for another packet  If while waiting, another packet arrives, send the ACK immediately  Rule 3: If a receiver has no data to return and has just ACKed the last packet, receiver waits 500 ms  No packet, send ACK
  • 19. Sliding Window Error Control (continued)
  • 20. Sliding Window Error Control (continued)  What happens when a packet is lost?  As shown in the next slide, if a frame is lost, the following frame will be “out of sequence”  The receiver will hold the out of sequence bytes in a buffer and request the sender to retransmit the missing frame
  • 21. Sliding Window Error Control (continued)
  • 22. Sliding Window Error Control (continued)  What happens when an ACK is lost?  As shown in the next slide, if an ACK is lost, the sender will wait for the ACK to arrive and eventually time out  When the time-out occurs, the sender will resend the last frame
  • 23. Sliding Window Error Control (continued)