SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Types of Error
• Whenever bits flow from one point to another, they
are subject to unpredictable changes because of
interference and thermal noise.
Error Control
Single Bit Error
• single-bit error means that only 1 bit of a given data unit (such as
a byte, character, or packet) is changed from 1 to 0 or from 0 to1.
Burst Error
• The term burst error means that 2 or more bits in the data unit
have changed from 1 to 0 or from 0 to 1.
Error Control Contd…
Error Control
Error Control Contd…
Error Control
Error Detection Error Correction
Two Dimensional Parity
Internet Checksum
Cyclic Redundant Check (CRC)
Hamming Code
Error Detection Techniques
 Two approaches when the recipient detects an error
 Notify the sender that the message was corrupted, so the sender can
send again, if the error is rare, then the retransmitted message will
be error-free
 Using some error correct detection and correction algorithm, the
receiver reconstructs the message.
 Common technique for detecting transmission error
 CRC (Cyclic Redundancy Check)
 Used in HDLC, DDCMP, CSMA/CD
 Other approaches
 Two Dimensional Parity (used in BISYNC)
 Checksum (used in IP)
Error Control Contd…
Basic Idea of Error Detection
– To add redundant information to a frame that can be used
to determine if errors have been introduced
– Imagine (Extreme Case)
• Transmitting two complete copies of data
– Identical  No error
– Differ  Error
– Poor Scheme ???
» n bit message, n bit redundant information
» Error can go undetected
• In general, we can provide strong error detection technique
– k redundant bits, n bits message, k << n
– In Ethernet, a frame carrying up to 12,000 bits of data requires only 32-
bit CRC.
Error Control Contd…
TWO-DIMENSIONAL PARITY
 It is based on “simple” (one-dimensional) parity, which usually
involves adding one extra bit to a 7-bit code to balance the
number of 1s in the byte. For example,
 Odd parity sets the eighth bit to 1 if needed to give an odd number of
1s in the byte.
 Even parity sets the eighth bit to 1 if needed to give an even number
of 1s in the byte.
 Two-dimensional parity does a similar calculation for each bit
position across each of the bytes contained in the frame
 This results in an extra parity byte for the entire frame, in addition
to a parity bit for each byte
 Two-dimensional parity catches all 1-, 2-, and 3-bit errors and
most 4-bit errors
Error Control Contd…
Error Control Contd…
Internet Checksum:
Error Control Contd…
In internet checksum n=16
 Add up all the words that are transmitted and then transmit the
result of that sum
o The result is called the checksum.
 The receiver performs the same calculation on the received data
and compares the result with the received checksum
 If any transmitted data, including the checksum itself, is
corrupted, then the results will not match, so the receiver knows
that an error occurred
 Consider the data being checksummed as a sequence of 16-bit
integers.
• Add them together using 16-bit ones complement arithmetic and
then take the ones complement of the result. That 16-bit number
is the checksum.
• In ones complement arithmetic, a negative integer −x is
represented as the complement of x;
– Each bit of x is inverted.
Error Control Contd…
 When adding numbers in ones complement arithmetic, a
carryout from the most significant bit needs to be added to the
result (Wrapping).
Sender Side:
 The message is divided into 16-bit words.
 The value of the checksum word is set to 0.
 All words including the checksum are added using one's complement
addition.
 The sum is complemented and becomes the checksum.
 The checksum is sent with the data.
Receiver Side:
 The message (including checksum) is divided into 16-bit words.
 All words are added using one's complement addition.
 The sum becomes the new checksum.
 If the value of checksum is 0, the message is accepted; otherwise, it is
rejected.
Error Control Contd…
Example:
Frame Data: 01101101 10010011 01101101
n=8
Sender Side:
Calculating Checksum,
01101101
10010011
01101101
---------------------------
01101101 --------1’s Compliment-- 10010010---------------------------
Checksum = 10010001
So data transmitted over the link is: 01101101 10010011 01101101 10010010
Error Control Contd…
Receiver Side: (without Error)
Received Data: 01101101 10010011 01101101 10010001
Calculating Sum,
01101101
10010011
01101101
10010010
---------------------------
11111111 ----> All 1’s So accepted (No error)---------------------------
Receiver Side: (with Error)
Received Data: 11101101 10010011 01101101
11101101
10010011
01101101
10010010
---------------------------
01111111 ---> Not all 1’s. So not accepted (Contains Error)---------------------------
Error Control Contd…

Weitere ähnliche Inhalte

Was ist angesagt?

Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Controltameemyousaf
 
Data link layer
Data link layerData link layer
Data link layersbkbca
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networksguesta81d4b
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correctionSiddique Ibrahim
 
Multiple access control protocol
Multiple access control protocol Multiple access control protocol
Multiple access control protocol meenamunesh
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correctionMaria Akther
 
Topic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingTopic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingDr Rajiv Srivastava
 
Error Detection and Correction presentation
Error Detection and Correction presentation Error Detection and Correction presentation
Error Detection and Correction presentation Badrul Alam
 
Multiplexing
MultiplexingMultiplexing
Multiplexingstooty s
 
Framming data link layer
Framming data link layerFramming data link layer
Framming data link layerPREMAL GAJJAR
 

Was ist angesagt? (20)

Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Control
 
Data link layer
Data link layerData link layer
Data link layer
 
Computer networks - Channelization
Computer networks - ChannelizationComputer networks - Channelization
Computer networks - Channelization
 
Mac layer
Mac  layerMac  layer
Mac layer
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 
Error Control In Network Layer
Error Control In Network LayerError Control In Network Layer
Error Control In Network Layer
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
 
Multiple access control protocol
Multiple access control protocol Multiple access control protocol
Multiple access control protocol
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
 
Topic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingTopic: Virtual circuit & message switching
Topic: Virtual circuit & message switching
 
Crc
CrcCrc
Crc
 
computer network OSI layer
computer network OSI layercomputer network OSI layer
computer network OSI layer
 
Error Detection and Correction presentation
Error Detection and Correction presentation Error Detection and Correction presentation
Error Detection and Correction presentation
 
Hamming codes
Hamming codesHamming codes
Hamming codes
 
Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
 
Stop and-wait protocol
Stop and-wait protocolStop and-wait protocol
Stop and-wait protocol
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
Multiple access protocol
Multiple access protocolMultiple access protocol
Multiple access protocol
 
Framming data link layer
Framming data link layerFramming data link layer
Framming data link layer
 

Ähnlich wie Error control

4_Datalink__Error_Detection_and Correction.pdf
4_Datalink__Error_Detection_and Correction.pdf4_Datalink__Error_Detection_and Correction.pdf
4_Datalink__Error_Detection_and Correction.pdfkenilpatel65
 
Satellite error detection and correction presentation
Satellite error detection and correction presentationSatellite error detection and correction presentation
Satellite error detection and correction presentationAhmedMuhumed2
 
Error detection.ppt
Error detection.pptError detection.ppt
Error detection.pptPawanRaj48
 
07 Data Link LayerError Control.pdf
07 Data Link LayerError Control.pdf07 Data Link LayerError Control.pdf
07 Data Link LayerError Control.pdfbaysahcmjames2kblax
 
III_UNIT_ErrorCorrecting.pptx
III_UNIT_ErrorCorrecting.pptxIII_UNIT_ErrorCorrecting.pptx
III_UNIT_ErrorCorrecting.pptxShantanuDharekar
 
Error correction and detection th
Error correction and detection thError correction and detection th
Error correction and detection thShardaSalunkhe1
 
Error dectation and correction
Error dectation and correctionError dectation and correction
Error dectation and correctionfg657
 
Error correction error detection in digital communication
Error correction error detection in digital communicationError correction error detection in digital communication
Error correction error detection in digital communicationswatihalunde
 
computer Networks Error Detection and Correction.ppt
computer Networks Error Detection and Correction.pptcomputer Networks Error Detection and Correction.ppt
computer Networks Error Detection and Correction.pptJayaprasanna4
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correctionSisir Ghosh
 
901325_chapter 10 (1).ppt
901325_chapter 10 (1).ppt901325_chapter 10 (1).ppt
901325_chapter 10 (1).pptBezaAlem2
 
Error Detection and Correction.ppt
Error Detection and Correction.pptError Detection and Correction.ppt
Error Detection and Correction.pptKumarVaibhav100
 
Error detection.
Error detection.Error detection.
Error detection.Wasim Akbar
 
Error detection and correction.ppt
Error detection and correction.pptError detection and correction.ppt
Error detection and correction.pptMsSJeyalakshmiVelsUn
 
Error detection methods-computer networks
Error detection methods-computer networksError detection methods-computer networks
Error detection methods-computer networksDHIVYADEVAKI
 
Error Detection and correction concepts in Data communication and networks
Error Detection and correction concepts in Data communication and networksError Detection and correction concepts in Data communication and networks
Error Detection and correction concepts in Data communication and networksNt Arvind
 
Error detection and correction codes
Error detection and correction codesError detection and correction codes
Error detection and correction codesGargiKhanna1
 

Ähnlich wie Error control (20)

4_Datalink__Error_Detection_and Correction.pdf
4_Datalink__Error_Detection_and Correction.pdf4_Datalink__Error_Detection_and Correction.pdf
4_Datalink__Error_Detection_and Correction.pdf
 
Satellite error detection and correction presentation
Satellite error detection and correction presentationSatellite error detection and correction presentation
Satellite error detection and correction presentation
 
Error detection.ppt
Error detection.pptError detection.ppt
Error detection.ppt
 
07 Data Link LayerError Control.pdf
07 Data Link LayerError Control.pdf07 Data Link LayerError Control.pdf
07 Data Link LayerError Control.pdf
 
III_UNIT_ErrorCorrecting.pptx
III_UNIT_ErrorCorrecting.pptxIII_UNIT_ErrorCorrecting.pptx
III_UNIT_ErrorCorrecting.pptx
 
error detection.ppt
error detection.ppterror detection.ppt
error detection.ppt
 
Error correction and detection th
Error correction and detection thError correction and detection th
Error correction and detection th
 
Error dectation and correction
Error dectation and correctionError dectation and correction
Error dectation and correction
 
Sak
SakSak
Sak
 
Error correction error detection in digital communication
Error correction error detection in digital communicationError correction error detection in digital communication
Error correction error detection in digital communication
 
computer Networks Error Detection and Correction.ppt
computer Networks Error Detection and Correction.pptcomputer Networks Error Detection and Correction.ppt
computer Networks Error Detection and Correction.ppt
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
 
901325_chapter 10 (1).ppt
901325_chapter 10 (1).ppt901325_chapter 10 (1).ppt
901325_chapter 10 (1).ppt
 
Error Detection and Correction.ppt
Error Detection and Correction.pptError Detection and Correction.ppt
Error Detection and Correction.ppt
 
Error detection.
Error detection.Error detection.
Error detection.
 
Error detection and correction.ppt
Error detection and correction.pptError detection and correction.ppt
Error detection and correction.ppt
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
 
Error detection methods-computer networks
Error detection methods-computer networksError detection methods-computer networks
Error detection methods-computer networks
 
Error Detection and correction concepts in Data communication and networks
Error Detection and correction concepts in Data communication and networksError Detection and correction concepts in Data communication and networks
Error Detection and correction concepts in Data communication and networks
 
Error detection and correction codes
Error detection and correction codesError detection and correction codes
Error detection and correction codes
 

Mehr von selvakumar_b1985 (20)

Triggering transmission
Triggering transmissionTriggering transmission
Triggering transmission
 
Token ring
Token ringToken ring
Token ring
 
Subnetting
SubnettingSubnetting
Subnetting
 
Email Security
Email SecurityEmail Security
Email Security
 
RIP - Routing Information Protocol
RIP - Routing Information ProtocolRIP - Routing Information Protocol
RIP - Routing Information Protocol
 
Physical Mediums
Physical MediumsPhysical Mediums
Physical Mediums
 
OSPF - Routing Protocol
OSPF - Routing ProtocolOSPF - Routing Protocol
OSPF - Routing Protocol
 
Layering and Architecture
Layering and ArchitectureLayering and Architecture
Layering and Architecture
 
Issues in Data Link Layer
Issues in Data Link LayerIssues in Data Link Layer
Issues in Data Link Layer
 
Internetworking - IP
Internetworking - IPInternetworking - IP
Internetworking - IP
 
ICMP
ICMPICMP
ICMP
 
Hybrid Channel Access Link
Hybrid Channel Access LinkHybrid Channel Access Link
Hybrid Channel Access Link
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
 
Addressing Scheme IPv4
Addressing Scheme IPv4Addressing Scheme IPv4
Addressing Scheme IPv4
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocol
 
Framing Protocols
Framing ProtocolsFraming Protocols
Framing Protocols
 
Flow Control
Flow ControlFlow Control
Flow Control
 
FDDI
FDDIFDDI
FDDI
 
Ethernet
EthernetEthernet
Ethernet
 
DNS
DNS DNS
DNS
 

Kürzlich hochgeladen

(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 

Kürzlich hochgeladen (20)

(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 

Error control

  • 1.
  • 2. Types of Error • Whenever bits flow from one point to another, they are subject to unpredictable changes because of interference and thermal noise. Error Control
  • 3. Single Bit Error • single-bit error means that only 1 bit of a given data unit (such as a byte, character, or packet) is changed from 1 to 0 or from 0 to1. Burst Error • The term burst error means that 2 or more bits in the data unit have changed from 1 to 0 or from 0 to 1. Error Control Contd…
  • 4. Error Control Error Control Contd… Error Control Error Detection Error Correction Two Dimensional Parity Internet Checksum Cyclic Redundant Check (CRC) Hamming Code
  • 5. Error Detection Techniques  Two approaches when the recipient detects an error  Notify the sender that the message was corrupted, so the sender can send again, if the error is rare, then the retransmitted message will be error-free  Using some error correct detection and correction algorithm, the receiver reconstructs the message.  Common technique for detecting transmission error  CRC (Cyclic Redundancy Check)  Used in HDLC, DDCMP, CSMA/CD  Other approaches  Two Dimensional Parity (used in BISYNC)  Checksum (used in IP) Error Control Contd…
  • 6. Basic Idea of Error Detection – To add redundant information to a frame that can be used to determine if errors have been introduced – Imagine (Extreme Case) • Transmitting two complete copies of data – Identical  No error – Differ  Error – Poor Scheme ??? » n bit message, n bit redundant information » Error can go undetected • In general, we can provide strong error detection technique – k redundant bits, n bits message, k << n – In Ethernet, a frame carrying up to 12,000 bits of data requires only 32- bit CRC. Error Control Contd…
  • 7. TWO-DIMENSIONAL PARITY  It is based on “simple” (one-dimensional) parity, which usually involves adding one extra bit to a 7-bit code to balance the number of 1s in the byte. For example,  Odd parity sets the eighth bit to 1 if needed to give an odd number of 1s in the byte.  Even parity sets the eighth bit to 1 if needed to give an even number of 1s in the byte.  Two-dimensional parity does a similar calculation for each bit position across each of the bytes contained in the frame  This results in an extra parity byte for the entire frame, in addition to a parity bit for each byte  Two-dimensional parity catches all 1-, 2-, and 3-bit errors and most 4-bit errors Error Control Contd…
  • 9. Internet Checksum: Error Control Contd… In internet checksum n=16
  • 10.  Add up all the words that are transmitted and then transmit the result of that sum o The result is called the checksum.  The receiver performs the same calculation on the received data and compares the result with the received checksum  If any transmitted data, including the checksum itself, is corrupted, then the results will not match, so the receiver knows that an error occurred  Consider the data being checksummed as a sequence of 16-bit integers. • Add them together using 16-bit ones complement arithmetic and then take the ones complement of the result. That 16-bit number is the checksum. • In ones complement arithmetic, a negative integer −x is represented as the complement of x; – Each bit of x is inverted. Error Control Contd…
  • 11.  When adding numbers in ones complement arithmetic, a carryout from the most significant bit needs to be added to the result (Wrapping). Sender Side:  The message is divided into 16-bit words.  The value of the checksum word is set to 0.  All words including the checksum are added using one's complement addition.  The sum is complemented and becomes the checksum.  The checksum is sent with the data. Receiver Side:  The message (including checksum) is divided into 16-bit words.  All words are added using one's complement addition.  The sum becomes the new checksum.  If the value of checksum is 0, the message is accepted; otherwise, it is rejected. Error Control Contd…
  • 12. Example: Frame Data: 01101101 10010011 01101101 n=8 Sender Side: Calculating Checksum, 01101101 10010011 01101101 --------------------------- 01101101 --------1’s Compliment-- 10010010--------------------------- Checksum = 10010001 So data transmitted over the link is: 01101101 10010011 01101101 10010010 Error Control Contd…
  • 13. Receiver Side: (without Error) Received Data: 01101101 10010011 01101101 10010001 Calculating Sum, 01101101 10010011 01101101 10010010 --------------------------- 11111111 ----> All 1’s So accepted (No error)--------------------------- Receiver Side: (with Error) Received Data: 11101101 10010011 01101101 11101101 10010011 01101101 10010010 --------------------------- 01111111 ---> Not all 1’s. So not accepted (Contains Error)--------------------------- Error Control Contd…