Error Correction and Flow Control Martin Weiss. Slide 2 Objectives of this Meeting u Describe different flow control techniques u Describe the major error.

Slides:



Advertisements
Similar presentations
Chapter 3 The Data Link Layer.
Advertisements

The Data Link Layer Chapter 3. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
Synchronous Links/Networks Modems are asynchronous - penalized by start bits and stop bits on each character (and dead time) Synchronous Networks recover.
Chapter 3 The Data Link Layer.
5/15/2015© 2008 Raymond P. Jefferis IIILect The Data Link Layer.
8-Reliability and Channel Coding Dr. John P. Abraham Professor UTPA.
1 Topic 5: Data Link Layer - Chapter 9: Data Link Control Business Data Communications, 4e.
The Data Link Layer Framing Error Control Flow Control
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Link Control Slide 1 Data Link Control Chapter 7.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 12 Introduction to Computer Networks.
The Data Link Layer Chapter 3. Position of the data-link layer.
The OSI Reference Model
1 K. Salah Module 4.0: Data Link Layer The Logical Link Control (LLC) sublayer –Framing –Flow Control –Error Control The Media Access Control (MAC) sublayer.
Chapter 9: Data Link Control Business Data Communications, 4e.
Circuit Switching (a) Circuit switching. (b) Packet switching.
Chapter 6: Errors, Error Detection, and Error Control
Chapter 6 Errors, Error Detection, and Error Control
20101 The Data Link Layer Chapter Design Issues Controls communication between 2 machines directly connected by “wire”-like link Services Provided.
Adapted from Tanenbaum's Slides for Computer Networking, 4e The Data Link Layer Chapter 3.
Data Link Protocols Asynchronous Protocols Synchronous Protocols
Data Link Layer RAHUL DEVA.
Chapter 7 Data Link Control & Data Link Protocol By Dr.Sukchatri P.
CSE331: Introduction to Networks and Security Lecture 3 Fall 2002.
Data Link Layer - 1 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Data Link Layer Part I – Designing Issues and Elementary.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 14.
Chapt 3 Data Link Layer1 Data Link Layer Functions –Provides services to network layer Well-defined interface –Framing –Flow control – between adjacent.
Chapter 5 Peer-to-Peer Protocols and Data Link Layer PART I: Peer-to-Peer Protocols ARQ Protocols and Reliable Data Transfer Flow Control.
Data Link Layer : Services, Framing, Error Detection and Correction2.
The data link layer. Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control.
The Data Link Layer. Functions of the Data Link Layer Provide service interface to the network layer Dealing with transmission errors Error detection.
The Data Link Layer. Functions of the Data Link Layer Provide service interface to the network layer Frame delineation Dealing with transmission errors.
The Data Link Layer Chapter 3 10/28/2015www.noteshit.com1.
UNIT-II Computer Network Data Link Layer. Data Link Layer Prepared by - ROHIT KOSHTA Data Link Layer is second layer of OSI reference model and is placed.
Computer Networks Module 3: Data Link Layer (Framing) Dr. Vikram Shete St. Francis Institute of Technology.
EEC4113 Data Communication & Multimedia System Chapter 5: Error Control by Muhazam Mustapha, October 2011.
Layer Two Data Link Layer Collects bits from layer 1 and organizes into frames Passes bits that make up frames to layer 1 for transmission Concerned with.
Data Communications & Computer Networks, Second Edition1 Chapter 6 Errors, Error Detection, and Error Control.
Chapter 6: Errors, Error Detection, and Error Control Data Communications and Computer Networks: A Business User’s Approach Third Edition.
Chapter 11 Data Link Protocols A data link protocol is a set of specifications used to implement the data link layer [A protocol is the set of rules or.
Chapter 11 Data Link Control
Data Link and Flow Control Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific.
Error/Flow Control Modeling (ARQ Modeling). © Tallal Elshabrawy 2 Data Link Layer  Data Link Layer provides a service for Network Layer (transfer of.
1 Error Detection and Correction Martin Weiss. Slide 2 Objectives of this Meeting u Describe the major error detection techniques u Describe forward error.
The Data Link Layer Chapter 3 1/21/2016www.ishuchita.com1.
Computer Interfacing and Protocols
Telecommunications & Networking Lesson 3. ISO Open System Interconnect (OSI) Application Presentation Session Transport Network Data Link Physical Application.
Data Link Layer. Link Layer The data unit to be transmited at the link layer is called a frame. Why link layer? How can it know where a frame begins and.
1 The Data Link Layer A. S. Tanenbaum Computer Networks W. Stallings Data and Computer Communications Chapter 3.
Chapter 9: Data Link Control Business Data Communications, 4e.
Data Link Layer.
Powerpoint Templates Data Communication Muhammad Waseem Iqbal Lec # 15.
24/11/1013-Datalink1 The Data Link Layer Role Services Functions –Framing –Encapsulation –Addressing –Connection Control –Ordered Delivery –Flow Control.
Chapter 3 The Data Link Layer.
Chapter 9: Data Link Control
Data Link Layer.
Chap. 4 Data link layer 2.
Data Link Layer What does it do?
Chapter 3 – Part 1 The Data Link Layer.
Overview Jaringan Komputer (2)
Chapter 3 The Data Link Layer.
CS412 Introduction to Computer Networking & Telecommunication
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
The Data Link Layer Chapter
Flow control refers to a set of procedures used to restrict the amount of data that the sender can send before waiting for acknowledgment. Error control.
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
Lecture 4 Peer-to-Peer Protocols and Data Link Layer
Chapter 9: Data Link Control
Data Link Layer. Position of the data-link layer.
Presentation transcript:

Error Correction and Flow Control Martin Weiss

Slide 2 Objectives of this Meeting u Describe different flow control techniques u Describe the major error detection techniques

Slide 3 Review of the Last Meeting u Physical interfaces u Topologies u Asynchronous communications

Slide 4 Data Link Layer Issues u Type u Error detection and control u Flow control

Slide 5 Types of DLC Protocols u Byte-oriented protocols u Bit-oriented protocols

Slide 6 Protocol Environments u End-to-End u Local

Slide 7 Structure of Byte-Oriented Protocols SYN Header SOHSTX Message EOT Sample Structure SYN = Synchronization SOH = Start of Header STX = Start of Text EOT = End of Text

Slide 8 Structure of Bit-Oriented Protocols PreambleFlagHeaderMessageTrailerFlag Sample Frame Structure Preamble: Used for Bit Synchronization Flag: Identifies Start and End of Message Trailer: Error Checking

Slide 9 Bit Stuffing u Example Transmission Direction Locations for Stuff Bits Original Bit Stream Transmitted Bit Stream

Slide 10 Design of Transmitter and Receiver Application Network Software Bit Stuffing Flag Insertion Control TransmitterReceiver Application Network Software Bit Destuffing Control Flag Detection

Slide 11 Vertical and Longitudinal Redundancy Checks Bit 1Bit 2 Bit n Parity Character 1 Character 2 Character m Parity b 11 b1mb1m C1C1 b2mb2m C2C2 b nm RmRm CnCn C n+1 b 21 bn1bn1 R1R1 b 12 b 22 bn2bn2 R2R2 LRC VRC

Slide 12 Cyclical Redundancy Check (CRC) u Based on polynomial division u Use standard divisor polynomials

Slide 13 Standard CRC Polynomials u P is the bit pattern, or Generator Polynomial u In the previous example, P = X 5 + X 4 + X u Standard CRC generator polynomials –CRC-12 = X 12 + X 11 + X 3 + X 2 + X + 1 –CRC-16 = X 16 + X 15 + X –CRC-CCITT = X 16 + X 12 + X 5 + 1

Slide 14 Error Correction u Automatic Response Request (ARQ) u Forward error correction

Slide 15 Types of ARQ u Stop-and-Wait (Idle RQ) u Sliding Window (Continuous RQ)

Slide 16 Stop and Wait 1 Data 0 2 ACK 0 3 Data 1 4 NACK 1 5 Data 1 6 ACK 1 7 Data 0

Slide 17 Stop and Wait (Long Channel) 1 Data 0 2 ACK 0 3 Data 1 4 ACK 1 Increasing bit rate 1 D 0 2 A 0 3 D 1 4 A 1

Slide 18 Sliding Window u Transmitter may transmit several messages before awaiting response u The number of unacknowledged messages permitted is the Window Size

Slide 19 Sliding Window u If an error occurs –Transmitter resends everything since the error (Go-Back-N) –Only the errored packet (Selective Retransmission)

Slide 20 Sliding Window (n>3) 0 Data ACK 2 0

Slide 21 Sliding Window (Go-Back-N) 4 Data NACK Data Data 6

Slide 22 Performance Issues u Stop and Wait –Error free –With errors

Slide 23 Performance Issues u Sliding window (Go-Back-N)

Slide 24 Performance Issues U a Sliding Window (N=7) Stop and Wait P=10 -3

Slide 25 Forward Error Correction u Encode data so that errors can be corrected u Requires redundancy in message

Slide 26 Examples of Protocols u Byte oriented protocol –Kermit –Bisync u Bit oriented protocol: HDLC

Slide 27 Kermit Frame Structure SOHLENSEQTYPEdataBCCCR