Error Detection and Correction

Slides:



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

Computer Interfacing and Protocols
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Introduction to Information Technologies
PART III DATA LINK LAYER. Position of the Data-Link Layer.
The Data Link Layer Chapter 3. Position of the data-link layer.
Unit 1 Protocols Learning Objectives: Understand the need to detect and correct errors in data transmission.
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.
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.
Unit 5 Lecture 2 Error Control Error Detection & Error Correction.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
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
Error Detection.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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
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.
Transmission Errors Error Detection and Correction.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 5 Data Link Layer.
Data Link Layer 1. 2 Single-bit error 3 Multiple-bit error 4.
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.
Computer Network Lab. 1 9 장 Error Detection and Correction 9.1 Types of Errors 9.2 Detection 9.3 Error Correction 9.4 요약.
1 Kyung Hee University Prof. Choong Seon HONG Error Detection and Correction.
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.
9장 Error Detection and Correction
Introduction to Information Technologies
ERROR DETECTION AND CORRECTION
Data Link Layer.
Part III. Data Link Layer
Many to one/one to many Types of multiplexing Telephone system
Subject Name: COMPUTER NETWORKS-1
ERROR DETECTION AND CORRECTION
CIS 321 Data Communications & Networking
Chap. 4 Data link layer 2.
Part III Datalink Layer 10.
Data Link Layer.
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.
Packetizing Error Detection
Packetizing Error Detection
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.
Packetizing Error Detection
DATA COMMUNICATION Lecture-33.
Protocols and the TCP/IP Suite
Chapter 9 Error Detection and Correction
Error Detection and Correction
Error Detection and Correction
Error Detection and Correction
DATA COMMUNICATION Lecture-34.
Data Link Layer. Position of the data-link layer.
Presentation transcript:

Error Detection and Correction Komunikasi Data

Objective Mahasiswa mampu mengenali eror yang terjadi pada transmisi asinkron, dan mendeteksinya dengan menggunakan bit parity. Mahasiswa mampu mengenali eror yang terjadi pada transmisi sinkron, dan eror dikoreksi dengan menggunakan LRC dan VRC. Mahasiswa dapat menjelaskan bagaimana mendeteksi eror pada transmisi sinkron dan dengan menggunakan checksum dan CRC Mahasiswa dapat menjelaskan bagaimana eror pada transmisi sinkron dapat dikoreksi dengan menggunakan kode Hamming Mahasiswa mampu menjelaskan bagaimana eror dapat dikoreksi menggunakan ARQ (Automatic Repeat Request).

Error Detection and Correction 1 Types of Errors 2 Detection 3 Error Correction

Error Detection and Correction Data can be corrupted during transmission. For reliable communication, error must be detected and corrected are implemented either at the data link layer or the transport layer of the OSI model

1. Type of Errors

Type of Errors(cont’d) Single-Bit Error ~ is when only one bit in the data unit has changed (ex : ASCII STX - ASCII LF)

Type of Errors(cont’d) Multiple-Bit Error ~ is when two or more nonconsecutive bits in the data unit have changed(ex : ASCII B - ASCII LF)

Type of Errors(cont’d) Burst Error ~ means that two or more consecutive bits in the data unit have changed

2. Detection Error detection uses the concept of redundancy, which means adding extra bits for detecting errors at the destination

Detection(cont’d) Redundancy

Detection(cont’d) Detection methods VRC (Vertical Redundancy Check) LRC (Longitudinal Redundancy) CRC (Cyclical redundancy Check) Checksum

Detection(cont’d) VRC(Vertical Redundancy Check) A parity bit is added to every data unit so that the total number of 1s(including the parity bit) becomes even for even-parity check or odd for odd-parity check VRC can detect all single-bit errors. It can detect multiple-bit or burst errors only the total number of errors is odd.

Detection(cont’d) Even parity VRC concept

Detection(cont’d) LRC(Longitudinal Redundancy Check) Parity bits of all the positions are assembled into a new data unit, which is added to the end of the data block

Detection(cont’d) CRC(Cyclic Redundancy Check) ~ is based on binary division.

Detection(cont’d) CRC generator Binary Division in a CRC Generator ~ uses modular-2 division. Binary Division in a CRC Generator

Detection(cont’d) Binary Division in a CRC Checker

Detection(cont’d) Polynomials CRC generator(divisor) is most often represented not as a string of 1s and 0s, but as an algebraic polynomial.

Detection(cont’d) A polynomial representing a divisor

Detection(cont’d) Standard polynomials

Detection(cont’d) Checksum ~ used by the higher layer protocols ~ is based on the concept of redundancy(VRC, LRC, CRC ….)

Detection(cont’d) Checksum Generator

Detection(cont’d) To create the checksum the sender does the following: The unit is divided into K sections, each of n bits. Section 1 and 2 are added together using one’s complement. Section 3 is added to the result of the previous step. Section 4 is added to the result of the previous step. The process repeats until section k is added to the result of the previous step. The final result is complemented to make the checksum.

Detection(cont’d) data unit and checksum

Detection(cont’d)

3. Error Correction ~ can be handled in two ways  when an error is discovered, the receiver can have the sender retransmit the entire data unit.  a receiver can use an error-correcting code, which automatically corrects certain errors.