1 10 장. 데이터 링크 제어 (Data Link Control) 10.1 Line Discipline 10.2 흐름 제어 (Flow Control) 10.3 에러 제어 (Error Control) 10.4 요약.

Slides:



Advertisements
Similar presentations
CH. 7 Data Link Control. Requirements & Objectives of Data Link Control Frame Synchronization Flow Control Error Control Addressing Control and Data on.
Advertisements

Network Operations & administration CS 4592 Lecture 15 Instructor: Ibrahim Tariq.
Assume that a file is transferred from a node A to a node B. The file has been fragmented in 5 frames. Frame 0 is corrupted, the ACK of frame 1 is corrupted,
William Stallings Data and Computer Communications 7th Edition
ICSA341 Data Communications and Computer Networks 1 Data Link Control •General principles.
Data Link Control We want to minimize the amount of error correcting and detecting we need to do.
Data and Computer Communications Updated: 2/9/2009.
Data link control. Data Link Control –Flow Control how much data may sent –Error Control How can error be detected and corrected.
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.
Chapter 7 – Data Link Control Protocols
Chapter 9: Data Link Control Business Data Communications, 4e.
Link-Level Flow and Error Control
D ATA L INK L AYER By Dr. Nawaporn Wisitpongphan.
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 Link Control Line Discipline Flow Control Error Control.
Chapter 5 Data Link Layer.
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Data Link Control and Protocols.
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.
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.
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.
Eighth Edition by William Stallings Chapter 7 – Data Link Control Protocols Data Link Control Protocols need layer of logic above Physical to manage exchange.
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.
11.1 Flow and Error Control Flow Control Error Control.
1 FIT1005 Topic 6 - Data Link Layer Reference: Chapter 7 -Stallings.
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.
1 The utopia protocol  Unrealistic assumptions: –processing time ignored –infinite buffer space available –simplex: data transmitted in one direction.
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.
Data Link Control. The two main functions of the data link layer are data link control and media access control. The first, data link control, deals with.
PROTOCOL BASICS. 2 Introduction In chapter 3: Circuits and techniques can be employed to transmit a frame of information between 2 DTEs Error detection.
Data Link Control Protocols  need layer of logic above Physical  to manage exchange of data over a link frame synchronization frame synchronization flow.
Computer Communication & Networks
2.10 Flow and Error Control Before that ...
Chapter 9: Data Link Control
Chapter 11 Data Link Control and Protocols
Data Link Layer Flow Control.
Data Link Layer - 3 Dr. Sanjay P. Ahuja, Ph.D.
Part III Datalink Layer 10.
Sliding Window Protocol | Go-Back-N
Data link layer (LLC).
Chapter 11 Data Link Control
Chap. 4 Data link layer 2.
Instructor Mazhar Hussain
CIS 321 Data Communications & Networking
Flow Control.
Data Link Layer: Data Link Control
Chapter 10 Data Link Control
Flow and Error Control.
Overview Jaringan Komputer (2)
CS4470 Computer Networking Protocols
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.
DATA COMMUNICATION Lecture-38.
DATA COMMUNICATION Lecture-37.
Chapter 9: Data Link Control
Presentation transcript:

1 10 장. 데이터 링크 제어 (Data Link Control) 10.1 Line Discipline 10.2 흐름 제어 (Flow Control) 10.3 에러 제어 (Error Control) 10.4 요약

2 데이터 링크 제어 (Data Link Control) zData Link Layer

3 데이터 링크 제어 (Data Link Control) zData Link Layer functions

Line Discipline zLine discipline answers the question, who should send now? zcan be done in two ways ① ENQ/ACK(Enquiry/acknowledgment) ② poll/select

5 Line Discipline(cont’d) zLine discipline categories yENQ/ACK : peer-to-peer communication yPoll/Select : primary-secondary communication

6 Line Discipline(cont’d) zENQ/ACK

7 Line Discipline(cont’d) zHow it work

8 Line Discipline(cont’d) zPoll/Select

9 Line Discipline(cont’d) zHow it works ypolling : If the primary want to receive data, it asks the secondaries if they have anything to send. yselect : If primary want to send data, it tells the target secondary to get ready to receive.

10 Line Discipline(cont’d) zAddress ~ identify each frame as being either to or from a specific device on the link (address field or header on the protocol) yP  S : recipient of the data yS  P : originator of the data

11 Line Discipline(cont’d) zSelect ~is used whenever the primary device has something to send(select(SEL) frame)

12 Line Discipline(cont’d) zPoll ~is used by the primary device to solicit transmissions from the secondary devices

Flow Control ~refers to a set of procedures used to restrict the amount of data the sender can send before waiting for acknowledgment

14 Flow Control(cont’d) zStop and Wait

15 Flow Control(cont’d) zStop-and-Wait ~ the sender sends one frame and waits for an acknowledgment before sending the next frame yAdvantage : simplicity yDisadvantage : inefficiency

16 Flow Control(cont’d) zSliding window ~ several frames can be in transit at a time

17 Flow Control(cont’d) zSender window

18 Flow Control(cont’d) zReceiver window

19 Flow Control(cont’d) zExample

Error Control ~ refers primarily to methods of error detection and retransmission zARQ(Automatic Repeat Request) ~means retransmission of data in three cases : damaged frame, lost frame, and lost acknowledgment

21 Error Control(cont’d) zCategories of error control

22 Error Control(cont’d) zStop-and-Wait ARQ ~For retransmission to work, four features are added to the basic flow control mechanism. ysending device keeps a copy of the lost from transmitted ydata frame and ACK frame are numbered alternately 0 and 1 yNAK frame(not numbered) ytimer(sending device)

23 Error Control(cont’d) zDamaged Frames

24 Error Control(cont’d) zLost Data Frame

25 Error Control(cont’d) zLost Acknowledgment

26 Error Control(cont’d) zSliding Window ARQ ygo-back-n ARQ yselective-reject ARQ

27 Error Control(cont’d) zThree features are added to the basic flow control mechanism(sliding window) ysending device keeps copies of all transmitted frame until they have been acknowledged yACK(carry the number of the next frame expected) yNAK(carry the number of the damaged frame itself) yequipped with a timer to enable it to handle lost acknowledgments

28 Error Control(cont’d) zGo-Back-n ARQ ~ if one frame is lost or damaged, all frame sent since the lost frame acknowledged are retransmitted

29 Error Control(cont’d) zDamaged Frame

30 Error Control(cont’d) zLost Data Frame

31 Error Control(cont’d) zLost Acknowledgment

32 Error Control(cont’d) zSelective-Reject ARQ ~ only the specific damaged or lost frame is retransmitted