Telecommunications & Networking Lesson 3. ISO Open System Interconnect (OSI) Application Presentation Session Transport Network Data Link Physical Application.

Slides:



Advertisements
Similar presentations
EE 4272Spring, 2003 Chapter 7 Data Link Control Objectives: Effective & reliable data communication between two directly connected transmitting-receiving.
Advertisements

Chapter 14: Data Link Control
EIE325: Telecommunication TechnologiesMaciej J. Ogorza ł ek, PolyU, EIE Telecommunication Technologies Week 8 Flow Control Error Control.
William Stallings Data and Computer Communications 7th Edition
Chapter 3 The Data Link Layer.
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.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Link Control Slide 1 Data Link Control Chapter 7.
Chapter 6 Errors, Error Detection, and Error Control.
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 12 Introduction to Computer Networks.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 13 Introduction to Computer Networks.
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.
The Data Link Layer Chapter 3. Position of the data-link layer.
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.
Chapter 6: Errors, Error Detection, and Error Control
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.
Lect11.ppt - 03/15/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 11 Link-Level Flow and Error Control by Zornitza Genova Prodanoff.
Link-Level Flow and Error Control
Network Technology CSE Network Technology CSE3020 Week 6.
15 - Winter 2006 ECE ECE 766 Computer Interfacing and Protocols 1 Data Link Control Physical layer is only responsible for data transmission Data link.
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
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 Link Layer We have now discussed the prevalent shared channel technologies  Ethernet/IEEE  Wireless LANs (802.11) We have now covered chapters.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
-1- 網路概論 Class 4 – Data Link Control Part II 授課老師 楊人順 2001/10/16-17.
CSC 311 Chapter Eight FLOW CONTROL TECHNIQUES. CSC 311 Chapter Eight How do we manage the large amount of data on the network? How do we react to a damaged.
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 Transport Layer Lecture 10 Imran Ahmed University of Management & Technology.
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.
1 Chapter 6 Errors, Error Detection, and Error Control Data Communications and Computer Networks: A Business User’s Approach.
Lecture 3-2: Coding and Error Control (Cont.) ECE
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.
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.
Chapter 3: Channel Coding (part 3). Automatic repeat request (ARQ) protocols ▫Used in combination with error detection/correction ▫Block of data with.
CIS : Data Link Control. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow Transmission.
11.1 Flow and Error Control Flow Control Error Control.
1 FIT1005 Topic 6 - Data Link Layer Reference: Chapter 7 -Stallings.
Error Correction and Flow Control Martin Weiss. Slide 2 Objectives of this Meeting u Describe different flow control techniques u Describe the major error.
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.
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.
CSCI 465 D ata Communications and Networks Lecture 11 Martin van Bommel CSCI 465 Data Communications & Networks 1.
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.
DATA LINK CONTROL. DATA LINK LAYER RESPONSIBILTIES  FRAMING  ERROR CONTROL  FLOW CONTROL.
Chapter 9: Data Link Control Business Data Communications, 4e.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 4 : Chapter 7 Data & computer.
Powerpoint Templates Computer Communication & Network Week # 10.
Data and Computer Communications Data Link Control Protocols.
Chapter 9: Data Link Control
Data Link Layer Flow Control.
Data Link Layer - 3 Dr. Sanjay P. Ahuja, Ph.D.
Chap. 4 Data link layer 2.
Rivier College CS575: Advanced LANs Chapter 6: Logical Link Control
DATA COMMUNICATION Lecture-38.
William Stallings Data and Computer Communications
Chapter 9: Data Link Control
Presentation transcript:

Telecommunications & Networking Lesson 3

ISO Open System Interconnect (OSI) Application Presentation Session Transport Network Data Link Physical Application Presentation Session Transport Network Data Link Physical

Objectives & Requirements Frame synchronization : knows when to send and when to receive Flow control : not send more than can be received Error control : detect and correct Addressing : specific line in a multiport Control and data : be able to distinguish Link management

Flow Control Rate of transfer Sender must not overwhelm the receiver Half-duplex vs Full-duplex Buffer size –0 –n –Infinity Set of procedures

Flow Control Handshaking ENQ/ACK/NAK Poll/Select Stop-and-Wait Sliding Window

Stop-and-Wait Flow Control Sender sends again only an acknowledgement of the previous frame sent is received by the receiver Receiver sends back an acknowledgement to indicate its readiness to receive another frame Receiver withhold an acknowledgement if it is not ready to receive the next frame flip between 0 and 1 for labelling of frame

Stop-and-Wait : Inadequacy Only one frame in transit at any one time Bit length of the network is now usually >> the frame length Example: transmission time = 1 and propagation delay = a; if a>1, then propagation delay causes the frame to arrive IMMEDIATELY AFTER or AFTER the transmission is complete. If a < 1, then propagation delay is less than the transmission time, meaning that the frame could arrive before the transmission is complete Point: Inefficient with high transfer rate line

Sliding-Window Flow Control Size of the ‘sliding window’ is defined by the buffer size of both ends Sending window shrinks from the left (once frames are sent) and expands to the right (once ACK is received) Receiver window shrinks from the left (once frames are received) and expands to the right (once ACK is sent) modulo-n for n-1 buffer size

Sliding Window

Error Control For ‘lost frame’ and ‘damaged frame’ What to do: –Error detection –Positive Acknowledgement –Retransmission After Timeout –Negative Acknowledgement & Retransmission

Error Control ARQ (Automatic Repeat Request) –Stop-and-Wait ARQ –Sliding Window ARQ Go-Back-n ARQ Selective-Reject ARQ

Stop-and-Wait ARQ Damaged Frame –Receiver detects error in frame; discard –Sender timeout for expected acknowledgement –Sender re-send frame (thus requiring a buffer size of 1 frame); frame is labelled alternatively with 1 and 0 Damaged ACK/NAK –ACK0 for reception of frame 1 and waiting for frame 0 next; similar for ACK1

Stop-and-Wait ARQ, lost ACK frame

Stop-and-Wait ARQ

Stop-and-wait ARQ

Go-back-n, damaged data frame

Go-back-n, lost data frame

Go-back-n, lost ACK

Other DLC Protocols HDLC (ISO 33009, ISO 4335) - High-Level Data Link Control : many important DLC protocols based on this LAPB : Link Access Procedure, Balanced - ITU- T/X.25; subset of HDLC; same frame format LAPD : Link Access Procedure, D-Channel - ITU-T/ISDN Frame Relay ATM - cell based and not based on HDLC

Error Detection VRC (Vertical Redundancy Check) –Even Parity (even number of one’s) –Odd Parity (odd number of one’s) Detect all one-bit errors; all odd number of bits errors

Error Detection Longitudinal Redundancy Check (LRC) Assuming even parity

Error Detection Cyclic Redundancy Check (CRC) The redundancy bits are the remainder (at least n-1 bits) given a predetermined divisor of n bits for a k bit datum, where k > n The receiver accepts if the division leads to no remainder

CRC (cont’d) Note: left-most is a one, then subtract left-most is NOT a one, then subtract zero positional subtraction ONLY

CRC (cont’d)