DATA COMMUNICATION Lecture-34.

Slides:



Advertisements
Similar presentations
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
Advertisements

10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Introduction to Information Technologies
NETWORKING CONCEPTS. ERROR DETECTION Error occures when a bit is altered between transmission& reception ie. Binary 1 is transmitted but received is binary.
PART III DATA LINK LAYER. Position of the Data-Link Layer.
The Data Link Layer Chapter 3. Position of the data-link layer.
Data Communications Chapter 7 Error Detection. Despite the best prevention techniques, errors may still happen. To detect an error, something extra has.
Chapter 10 Error Detection and Correction
Rutvi Shah1 ERROR CORRECTION & ERROR DETECTION Rutvi Shah2 Data can be corrupted during transmission. For reliable communication, errors must be detected.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 PART III: DATA LINK LAYER ERROR DETECTION AND CORRECTION 7.1 Chapter 10.
Shashank Srivastava Motilal Nehru National Institute Of Technology, Allahabad Error Detection and Correction : Data Link Layer.
1 Kyung Hee University Data Link Layer PART III. 2 Kyung Hee University Position of the data-link layer.
1 Data Link Layer Lecture 20 Imran Ahmed University of Management & Technology.
PART III DATA LINK LAYER. Position of the Data-Link Layer.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
CIT 307 Online Data Communications Error Detection Module 11 Kevin Siminski, Instructor.
Data Link Layer: Error Detection and Correction
Data and Computer Communications by William Stallings Eighth Edition Digital Data Communications Techniques Digital Data Communications Techniques Click.
Cyclic Redundancy Check CRC Chapter CYCLIC CODES Cyclic codes are special linear block codes with one extra property. In a cyclic code, if a codeword.
Practical Session 10 Error Detecting and Correcting Codes.
Unit 5 Lecture 2 Error Control Error Detection & Error Correction.
EEC4113 Data Communication & Multimedia System Chapter 5: Error Control by Muhazam Mustapha, October 2011.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
PREPARED BY: ENGR. JO-ANN C. VIÑAS
10/27/ Data Link Layer - Lin 1 CPET/ECET Data Link Layer Data Communications and Networking Fall 2004 Professor Paul I-Hai Lin Electrical.
Overview All data can be corrupted, for reliable communications we must be able to detect and correct errors implemented at the data link and transport.
Lecture 5 Checksum. 10.2CHECKSUM Checksum is an error-detecting technique that can be applied to a message of any length. In the Internet, the checksum.
Computer Communication & Networks Lecture 9 Datalink Layer: Error Detection Waleed Ejaz
CSCI 465 D ata Communications and Networks Lecture 9 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Error Detection.
Error Detection. Data can be corrupted during transmission. Some applications require that errors be detected and corrected. An error-detecting code can.
Error Detection and Correction
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 PART III: DATA LINK LAYER ERROR DETECTION AND CORRECTION 7.1 Chapter 10.
1 Kyung Hee University Error Detection and Correction.
Error Detection & Correction  Data can be corrupted during transmission.  For reliable transmission, errors must be detected and corrected.  Error detection.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
Part III: Data Link Layer Error Detection and Correction
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Error Correction/Detection.
ERROR DETECTION AND CORRECTION Chapter 8 Data Communications & Networking ERROR DETECTION AND CORRECTION Chapter 8 First Semester 2007/2008.
10.1 Types of Errors 10.2 Detection 10.3 Error Correction.
Dr. Clincy Professor of CS
Error Detection and Correction
Simple Parity Check The simplest form of error detection is the parity check used with ASCII codes, originally on asynchronous modem links Each 7 bit ASCII.
Error Detection and Correction
Introduction to Information Technologies
ERROR DETECTION AND CORRECTION
Data Link Layer.
Many to one/one to many Types of multiplexing Telephone system
Error Detection and Correction
Cyclic Redundancy Check (CRC)
CIS 321 Data Communications & Networking
Part III Datalink Layer 10.
Data Link Layer.
Digital data communication (Error control)
Error Detection Bit Error Rate(BER): It is the ratio of number Ne of errors appearing over a certain time interval t to the number Nt of 1 and 0 pulses.
EEC4113 Data Communication & Multimedia System Chapter 5: Error Control by Muhazam Mustapha, August 2010.
PART III Data Link Layer.
Basic concepts Networks must be able to transfer data from one device to another with complete accuracy. Data can be corrupted during transmission. For.
Chapter 7 Error Detection and Correction
Chapter 9 Error Detection and Correction
Introduction to Information Technologies
DATA COMMUNICATION Lecture-35.
DATA COMMUNICATION Lecture-33.
Chapter 9 Error Detection and Correction
Error Detection and Correction
Error Detection and Correction
DATA COMMUNICATION Lecture-36.
Data Link Layer. Position of the data-link layer.
Presentation transcript:

DATA COMMUNICATION Lecture-34

Recap of Lecture 33 Types of Errors Error Detection Techniques Redundancy Types of Redundancy Checks Vertical Redundancy Check (VRC)

Overview of Lecture 34 Types of Redundancy Checks Longitudinal Redundancy Check (LRC) Cyclic Redundancy Check (CRC)

Longitudinal Redundancy Check A block of bits is divided into rows and a redundant row of bits is added to the whole block

Longitudinal Redundancy Check

Example 9.4 Suppose the following block is sent: 10101001 00111001 11011101 11100111 __________ 10101010 (LRC)

Example 9.4 (Cont’d) It is hit by a burst of length 8 and some bits are corrupted: 10100011 10001001 11011101 11100111 __________ 10101010 (LRC)

Example 9.4 (Cont’d) Receiver checks LRC, some of bits do not follow even parity rule and whole block is discarded 10100011 10001001 11011101 11100111 __________ 10101010 (LRC)

Performance of LRC LRC increases the likelihood of detecting burst errors An LRC of n bits can Easily detect a burst error of n bits Detect more than n bits with a very high probability

Performance of LRC One pattern of errors that remains elusive Two bits in one data unit are damaged And two bits in exactly the same positions in another data unit are also damaged

Performance of LRC For Example: Original data units 11110000 11000011 Changed data units 01110001 01000010

Cyclic Redundancy Check Uses binary division, not addition Both sender and receiver use a predetermined divisor (binary number)

Cyclic Redundancy Check

Modulo-2 Division in a CRC Generator

Modulo-2 Division in a CRC Checker

Polynomials CRC generator is represented as an polynomial A polynomial should be selected such that It should not be divisible by x It should be divisible by (x+1)

Polynomials

Standard Polynomials

Performance of CRC CRC can detect all burst errors that affect an odd number of bits CRC can detect all burst errors of length less than or equal to the degree of the polynomial

Performance of CRC CRC can detect with a very high probability burst errors of length greater than the degree of the polynomial

Example 9.6 The CRC-12 ( ) has a degree of 12 It will detect All burst errors affecting odd no. of bits All burst errors with a length equal to or less than 12 99.97 % of the time burst errors with a length of 12 or more

Summary Types of Redundancy Checks Longitudinal Redundancy Check (LRC) Cyclic Redundancy Check (CRC)

Suggested Reading Section 9.4, 9.5 “Data Communications and Networking” 2nd Edition by Behrouz A. Forouzan