Data Transmission and Networks Transmission error checking & correcting.

Slides:



Advertisements
Similar presentations
Introduction to Information Technologies
Advertisements

A-Level Computing#BristolMet Session Objectives#11 MUST identify the hardware required to connect to the Internet SHOULD describe how data is transmitted.
Chapter 6 Errors, Error Detection, and Error Control
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
PART III DATA LINK LAYER. Position of the Data-Link Layer.
The Data Link Layer Chapter 3. Position of the data-link layer.
Chapter 6: Errors, Error Detection, and Error Control
Data Communications Chapter 7 Error Detection. Despite the best prevention techniques, errors may still happen. To detect an error, something extra has.
Chapter 6 Errors, Error Detection, and Error Control
Unit 1 Protocols Learning Objectives: Understand the need to detect and correct errors in data transmission.
Hamming It Up with Hamming Codes CSE 461 Section Week 3.
Synchronous - Asynchronous Data Transmission. Asynchronous ► The sender and receiver are not Synchronised. ► The sender sends only one character at a.
Error Detection and Correction.  Corrupted files  Attachments that won’t open  Files that won’t download  Videos that won’t play Errors occur when.
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.
Digital Logic Chapter 2 Number Conversions Digital Systems by Tocci.
Computers in Surveying SVY2301 / E4006 Automated Surveying.
RNJ 10/02/091 3 Computing System Fundamentals 3.6 Errors Prevention and Detection.
AS Computing F451 F451 Data Transmission. What data is transmitted? Phone SMS Radio TV Internet.
Error Detection and Correction
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.
CIT 307 Online Data Communications Error Detection Module 11 Kevin Siminski, Instructor.
Part 2: Packet Transmission Packets, frames Local area networks (LANs) Wide area networks (LANs) Hardware addresses Bridges and switches Routing and protocols.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data and Computer Communications by William Stallings Eighth Edition Digital Data Communications Techniques Digital Data Communications Techniques Click.
Practical Session 10 Error Detecting and Correcting Codes.
Unit 5 Lecture 2 Error Control Error Detection & Error Correction.
AS Computing Data Transmission and Networks. Transmission error Detecting errors in data transmission is very important for data integrity. There are.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
Error Detection and Correction
Communication Systems 3.1) Characteristics of a Communication System.
Data Communications & Computer Networks, Second Edition1 Chapter 6 Errors, Error Detection, and Error Control.
Chapter 7 - Packets, Frames and Error Detection 1. Concepts of Packets 2. Motivation for Packet Switching 3. Framing 4. Frame Formats 5. Transmission Errors.
PREPARED BY: ENGR. JO-ANN C. VIÑAS
Data Representation Conversion 24/04/2017.
Verification & Validation. Batch processing In a batch processing system, documents such as sales orders are collected into batches of typically 50 documents.
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.
Error Detection.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
FUNDAMENTALS OF NETWORKING
1 Kyung Hee University Error Detection and Correction.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Layer PART III.
Data Link Layer 1. 2 Single-bit error 3 Multiple-bit error 4.
09/06/ Data Representation ASCII, Binary Denary Conversion, Integer & Boolean data types.
ERROR DETECTION AND CORRECTION Chapter 8 Data Communications & Networking ERROR DETECTION AND CORRECTION Chapter 8 First Semester 2007/2008.
Combinational Logic Design
10.1 Types of Errors 10.2 Detection 10.3 Error 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.
Introduction to Information Technologies
ERROR DETECTION AND CORRECTION
CIS 321 Data Communications & Networking
OCR AS Level F451: Data transmission
Serial I/O and Data Communication.
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.
Packetizing Error Detection
Packetizing Error Detection
Chapter 7 Error Detection and Correction
Introduction to Information Technologies
Fundamentals of Data Representation
Packetizing Error Detection
COMPUTER NETWORKS CS610 Lecture-5 Hammad Khalid Khan.
Error Detection and Correction
Error Detection and Correction
Error Detection Learning Objectives:
Presentation transcript:

Data Transmission and Networks Transmission error checking & correcting

Learning Objectives Discuss the use of check sums and parity bits to reduce transmission errors.

Transmission error checking and correcting Errors are inevitable when transmitting a large number of bits. Luckily there are only two possible mistakes that can occur: Either a 1 is received as a 0 a 1 is received as a 0Or a 0 is received as a 1. a 0 is received as a 1.

Echo Back Send the data back again. If the data that is sent back is the same as the data that was sent in the first place then the original data must have reached its destination correctly, if not then it needs to be sent again. If the data that is sent back is the same as the data that was sent in the first place then the original data must have reached its destination correctly, if not then it needs to be sent again.Advantage: Very effective, Very effective,Disadvantage: Data has to be sent twice: Data has to be sent twice:Slow Needs duplex (or at least half duplex) transmission mode to allow data transfer in both directions.

Parity bit Used in every byte to force every byte to either have an odd or even number of 1s. The Number of 1s in a byte must always be either an odd number or an even number. The Number of 1s in a byte must always be either an odd number or an even number. As long as both devices agree to either even or odd parity then this can be checked by the receiving device after each byte is received.

Parity Example If odd parity is agreed between two devices then if a byte is received that has an even number of 1s, an error must have occurred. The sender wishes to send ? The sender wishes to send ? ? is the parity bit which is not part of the data it wishes to send. As odd parity is used then it sets the parity bit to 0 to make the byte have an odd number of 1’s (3). So the sender sends So the sender sends When it is sent there is an error in transmission so that the last bit is received as a one. When it is sent there is an error in transmission so that the last bit is received as a one. So, the byte received is So, the byte received is This has 4 ones in it, which is an even number, so there must be an error. This has 4 ones in it, which is an even number, so there must be an error. The receiving device would ask for it to be sent again. The receiving device would ask for it to be sent again.

ASCII (American Standard Code for Information Interchange) Represents each character in a standard character set as a single byte binary code. The standard code form that most PCs use to allow for communication between systems. Usually uses a 7 bit binary code so can store 128 different characters and simple communications protocols. Sufficient for all characters on a standard keyboard plus control codes. This means that 1 bit is free to be used for something else (i.e. a parity bit).

Notes: Even parity can equally well be used, as long as it has been agreed between the two devices. If two mistakes are made in the same byte they will cancel each other out and the faulty data will be accepted. The solution to this is not part of this course. The solution to this is not part of this course. Parity is not only used during data transfer between devices, but also when data is transferred between different parts of the CPU.

Summary of Bit Parity Method Extra bit in each byte that does not transmit data. Makes number of ones in a byte be always even or always odd. Error in the transmission of a bit will make the even/odd wrong. Problem of two errors in one byte not being found.

Parity Block Odd parity is being used. Byte number 5 has an even number of 1s therefore an error. Column 4 has an even number of 1s. Therefore the 0 in row 5, column 4 needs to be changed to 1.

Check Sum Add all the bytes together that are being sent in a block of data. Data will normally be sent as a block of bytes rather than as individual bytes. Data will normally be sent as a block of bytes rather than as individual bytes. The carry, out of the byte, is not taken into account, so the answer is an 8 bit number, just like the bytes. This is calculated before the data is sent, and then calculated again when it is received. If there are no errors in the transmission, the two answers will match.

Plenary Can you explain the use of check sums and parity bits to reduce transmission errors?

Summary of Parity Method Extra bit on each data-byte that does not transmit data. Makes number of ones in a byte be always even or always odd. Error in the transmission of a bit will make the even/odd wrong. Problem of two errors in one byte not being found.

Check Sum Add all the bytes together that are being sent in a block of data. Data will normally be sent as a block of bytes rather than as individual bytes. Data will normally be sent as a block of bytes rather than as individual bytes. The carry, out of the byte, is not taken into account, so the answer is an 8 bit number, just like the bytes. This is calculated before the data is sent, and then calculated again when it is received. If there are no errors in the transmission, the two answers will match.