Chapter 9: Data Link Control Business Data Communications, 4e.

Slides:



Advertisements
Similar presentations
William Stallings Data and Computer Communications 7th Edition
Advertisements

CH. 7 Data Link Control. Requirements & Objectives of Data Link Control Frame Synchronization Flow Control Error Control Addressing Control and Data on.
EE 4272Spring, 2003 Chapter 7 Data Link Control Objectives: Effective & reliable data communication between two directly connected transmitting-receiving.
EIE325: Telecommunication TechnologiesMaciej J. Ogorza ł ek, PolyU, EIE Telecommunication Technologies Week 8 Flow Control Error Control.
William Stallings Data and Computer Communications 7th Edition
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 7 – Data Link Control Protocols.
Data and Computer Communications Updated: 2/9/2009.
Flow and Error Control. Flow Control Flow control coordinates the amount of data that can be sent before receiving acknowledgement It is one of the most.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control and Protocols.
1 Topic 5: Data Link Layer - Chapter 9: Data Link Control Business Data Communications, 4e.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Link Control Slide 1 Data Link Control Chapter 7.
Piggybacking A method to combine a data frame with ACK. Station A and B both have data to send. Instead of sending separately, station A sends a data frame.
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
Data Link Control Protocols Data link control protocol Provides a layer of control between systems on a transmission medium referred to as data link. DLC.
1 Data Link Layer Lesson 6 NETS2150/ Position of the data-link layer McGraw-Hill © The McGraw-Hill Companies, Inc., 2004.
1 ITC242 – Introduction to Data Communications Week 10 Topic 16 Data link control.
William Stallings Data and Computer Communications 7 th Edition Chapter 7 Data Link Control Protocols.
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.
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Error Control.
Chapter 6 Errors, Error Detection, and Error Control
Semester Copyright USM EEE442 Computer Networks The Data Link / Network Layer Functions: Flow Control and Error Control En. Mohd Nazri Mahmud.
Link-Level Flow and Error Control
Network Technology CSE Network Technology CSE3020 Week 6.
Chapter 17: Data Link Control and Multiplexing Business Data Communications, 5e.
Data and Computer Communications Eighth & Ninth Edition by William Stallings Chapter 7 – Data Link Control Protocols.
Data Link Control Protocols
Data Link Control Protocols Dr. Muazzam A. Khan. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow.
Aegis School of Telecommunication Chapter 7 Data Link Control Protocols Telecom Systems I by Dr. M. G. Sharma, Phd.
William Stallings Data and Computer Communications 7th Edition
Data and Computer Communications Ninth Edition by William Stallings Chapter 7 – Data Link Control Protocols Data and Computer Communications, Ninth Edition.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Control and Protocols.
Chapter 3 THE DATA LINK LAYER
Chapter 5 Peer-to-Peer Protocols and Data Link Layer PART I: Peer-to-Peer Protocols ARQ Protocols and Reliable Data Transfer Flow Control.
1 Kyung Hee University Data Link Protocols. 2 Kyung Hee University 11 장 Data Link Control and Protocols 11.1 Flow and Error Control 11.2 Stop-and-Wait.
THE DATA LINK LAYER Chapter 3 1. H YBRID M ODEL The hybrid reference model to be used in this book. 2.
Computer Networks Module 3: Data Link Layer (Framing) Dr. Vikram Shete St. Francis Institute of Technology.
Lecture 3-2: Coding and Error Control (Cont.) ECE
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control and Protocols.
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
Data Communications & Computer Networks, Second Edition1 Chapter 6 Errors, Error Detection, and Error Control.
Chapter -8 Data Link Protocols Asynchronous Protocols Synchronous Protocols Character-Oriented Protocols Bit-Oriented Protocols.
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.
Data Link Layer: Data Link Control : Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D.
CIS : Data Link Control. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow Transmission.
1 FIT1005 Topic 6 - Data Link Layer Reference: Chapter 7 -Stallings.
CSCI 465 D ata Communications and Networks Lecture 10 Martin van Bommel CSCI 465 Data Communications & Networks 1.
FIT – Monash University High-Level Data Link Control
1 Flow&Error Control R. Supakorn. 2 Flow Control Flow control refers to a set of procedure used to restrict the amount of data that the sender can send.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 5 Data Link Layer.
Telecommunications & Networking Lesson 3. ISO Open System Interconnect (OSI) Application Presentation Session Transport Network Data Link Physical Application.
CSCI 465 D ata Communications and Networks Lecture 11 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Chapter 11 Data Link Control and Protocols Flow and Error Control Flow Control Error Control.
Data and Computer Communications Data Link Control Protocols.
1 The Data Link Layer A. S. Tanenbaum Computer Networks W. Stallings Data and Computer Communications Chapter 3.
11.1 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data and Computer Communications Data Link Control Protocols.
Data Link Control Protocols  need layer of logic above Physical  to manage exchange of data over a link frame synchronization frame synchronization flow.
2.10 Flow and Error Control Before that ...
Chapter 9: Data Link Control
Data Link Layer Flow Control.
Topic 5: Data Link Layer - Chapter 9: Data Link Control
Chap. 4 Data link layer 2.
Data Link Layer What does it do?
CIS 321 Data Communications & Networking
William Stallings Data and Computer Communications
Chapter 9: Data Link Control
Presentation transcript:

Chapter 9: Data Link Control Business Data Communications, 4e

Flow Control Necessary when data is being sent faster than it can be processed by receiver Computer to printer is typical setting Can also be from computer to computer, when a processing program is limited in capacity

Stop-and-Wait Flow Control Simplest form Source may not send new frame until receiver acknowledges the frame already sent Very inefficient, especially when a single message is broken into separate frames, or when the data link is long enough for significant delays to be introduced

Speed: 2  10 8 m/s

Sliding-Window Flow Control Allows multiple frames to be in transit Receiver sends acknowledgement with sequence number of anticipated frame Sender maintains list of sequence numbers it can send, receiver maintains list of sequence numbers it can receive ACK (acknowledgement) supplemented with RNR (receiver not ready)

RR: Receive Ready

Error Control Process All transmission media have potential for introduction of errors All data link layer protocols must provide method for controlling errors Error control process has two components Error detection Error correction

Error Detection: Parity Bits Bit added to each character to make all bits add up to an even number (even parity) or odd number (odd parity) Good for detecting single-bit errors only High overhead (one extra bit per 7-bit character=12.5%)

Error Detection: Cyclic Redundancy Check (CRC) Data in frame treated as a single binary number, divided by a unique prime binary, and remainder is attached to frame 17-bit divisor leaves 16-bit remainder, 33- bit divisor leaves 32-bit remainder For a CRC of length N, errors undetected are 2 -N Overhead is low (1-3%)

Error Correction Two types of errors Lost frame Damaged frame Automatic Repeat reQuest (ARQ) Error detection Positive acknowledgment Retransmission after time-out Negative acknowledgment and retransmission

Stop-and-Wait ARQ One frame received and handled at a time If frame is damaged, receiver discards it and sends no acknowledgment Sender uses timer to determine whether or not to retransmit Sender must keep a copy of transmitted frame until acknowledgment is received If acknowledgment is damaged, sender will know it because of numbering

Fig. 9.5 (Page 217)

Go-Back-N ARQ Uses sliding-window flow control When receiver detects error, it sends negative acknowledgment (REJ) Sender must begin transmitting again from rejected frame Transmitter must keep a copy of all transmitted frames

Data Link Control Specified flow and error control for synchronous communication Data link module arranges data into frames, supplemented by control bits Receiver checks control bits, if data is intact, it strips them

High-Level Data Link Control On transmitting side, HDLC receives data from an application, and delivers it to the receiver on the other side of the link On the receiving side, HDLC accepts the data and delivers it to the higher level application layer Both modules exchange control information, encoded into a frame

HDLC Frame Structure Flag Flag: , at start and end Address Address: secondary station (for multidrop configurations) Information Information: the data to be transmitted Frame check sequence Frame check sequence: 16- or 32-bit CRC Control Control: purpose or function of frame Information frames: contain user data Supervisory frames: flow/error control (ACK/ARQ) Unnumbered frames: variety of control functions (see p.222)

8-bit Control Field Refer to Table 9.1 (Page 222)

16-bit Control Field

HDLC Operation Initialization: S-frames specify mode and sequence numbers, U-frames acknowledge Data Transfer: I-frames exchange user data, S-frames acknowledge and provide flow/error control Disconnect: U-frames initiate and acknowledge

Common Data Link Control Protocols