Ș.l. dr. ing. Lucian-Florentin Bărbulescu

Similar documents
10.1 REVIEW QUESTIONS

Data Link Control Protocols

The flow of data must not be allowed to overwhelm the receiver

Data Link Control. Surasak Sanguanpong Last updated: 11 July 2000

16.682: Communication Systems Engineering. Lecture 17. ARQ Protocols

Data Link Layer. Goals of This Lecture. Engineering Questions. Outline of the Class

4. Error correction and link control. Contents

Data Link Control Protocols

Telecom Systems Chae Y. Lee. Contents. Flow Control Error Detection/Correction Link Control (Error Control) Link Performance (Utility)

ERROR AND FLOW CONTROL. Lecture: 10 Instructor Mazhar Hussain

INTERNET ARCHITECTURE & PROTOCOLS

DATA LINK LAYER UNIT 7.

Data link layer functions. 2 Computer Networks Data Communications. Framing (1) Framing (2) Parity Checking (1) Error Detection

Similar Polygons Date: Per:

Chapter 7: Data Link Control. CS420/520 Axel Krings Page 1

Chapter 7: Data Link Control. Data Link Control Protocols

Department of Computer and IT Engineering University of Kurdistan. Data Communication Netwotks (Graduate level) Data Link Layer

Data and Computer Communications

The Transport Layer Reliability

Chapter 3. The Data Link Layer. Wesam A. Hatamleh

William Stallings Data and Computer Communications. Chapter 7 Data Link Control


Data Link Layer (part 2)

Data Link Control Layer, Error Detection, Error Correction, and Framing

Data Communications. Automatic Repeat Request Medium Access Control

Problem Set Name the 7 OSI layers and give the corresponding functionalities for each layer.

CONNECTION-ORIENTED & CONNECTIONLESS NETWORKS

Macro O Compensate a single cartridge ActiveEdge tool

S Capacity enhancement methods for radio interface ARQ Schemes

INF Data Communication Data Link Layer

Flow control: Ensuring the source sending frames does not overflow the receiver

Outline. EEC-484/584 Computer Networks. Data Link Layer Design Issues. Framing. Lecture 6. Wenbing Zhao Review.

Chapter Six. Errors, Error Detection, and Error Control. Data Communications and Computer Networks: A Business User s Approach Seventh Edition

Lecture 7: Flow Control"

The Link Layer II: Ethernet

Data Link Layer. Overview. Links. Shivkumar Kalyanaraman

Peer-to-Peer Protocols and Data Link Layer. Chapter 5 from Communication Networks Leon-Gracia and Widjaja

Lecture 5: Flow Control. CSE 123: Computer Networks Alex C. Snoeren

Outline. Basic ARQ schemes. S Capacity enhancement methods for radio interface ARQ Schemes. Classification of error control strategies

PART III. Data Link Layer MGH T MGH C I 204

ELEN Network Fundamentals Lecture 15

Brand Guidelines October, 2014

Error Detection Codes. Error Detection. Two Dimensional Parity. Internet Checksum Algorithm. Cyclic Redundancy Check.

Overview. Data Link Technology. Role of the data-link layer. Role of the data-link layer. Function of the physical layer

CS 421: Computer Networks SPRING MIDTERM I April 7, minutes

Lecture 4: CRC & Reliable Transmission. Lecture 4 Overview. Checksum review. CRC toward a better EDC. Reliable Transmission

SRI RAMAKRISHNA INSTITUTE OF TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY COMPUTER NETWORKS UNIT - II DATA LINK LAYER

Solutions for Chapter similar to 1 and 3

CHANNEL CODING 1. Introduction

TCP/IP-2. Transmission control protocol:

1.6 Error Control Strategies

Similarity and Model Testing

Lecture 6: Reliable Transmission. CSE 123: Computer Networks Alex Snoeren (guest lecture) Alex Sn

BRAND STANDARD GUIDELINES 2014

CMSC 2833 Lecture 18. Parity Add a bit to make the number of ones (1s) transmitted odd.

Lecture 26: Data Link Layer

Data Link Technology. Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science

Page 1. Review: Internet Protocol Stack. Transport Layer Services. Design Issue EEC173B/ECS152C. Review: TCP

Lecture 7: Sliding Windows. CSE 123: Computer Networks Geoff Voelker (guest lecture)

Computer Networking. Reliable Transport. Reliable Transport. Principles of reliable data transfer. Reliable data transfer. Elements of Procedure

Wisconsin Retirement Testing Preparation

CSE 123: Computer Networks Alex C. Snoeren. HW 1 due NOW!

Tranont Mission Statement. Tranont Vision Statement. Change the world s economy, one household at a time.

I. INTRODUCTION. each station (i.e., computer, telephone, etc.) directly connected to all other stations

Data Link Layer. Learning Objectives. Position of the data-link layer. MCA 207, Data Communication & Networking

recruitment Logo Typography Colourways Mechanism Usage Pip Recruitment Brand Toolkit

(Sicherungsschicht) Chapter 5 (part 2) [Wa0001] HDLC - 1.

CPE 548 Exam #1 (50 pts) February 17, 2016

Computer Networks. Shyam Gollakota

November 25, Mr. Paul Kaspar, PE City Engineer City of Bryan Post Office Box 1000 Bryan, Texas 77802

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Protocol Principles. Framing, FCS and ARQ 2005/03/11. (C) Herbert Haas

Data Link Layer (cont.) ( h h h ) (Sicherungsschicht) HDLC - 1.

23-3 TCP. Topics discussed in this section: TCP Services TCP Features Segment A TCP Connection Flow Control Error Control 23.22

Page 1. Review: Internet Protocol Stack. Transport Layer Services EEC173B/ECS152C. Review: TCP. Transport Layer: Connectionless Service

Principles of Reliable Data Transfer

No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Lecture 6. TCP services. Internet Transport Layer: introduction to the Transport Control Protocol (TCP) A MUCH more complex transport

CS 43: Computer Networks. 16: Reliable Data Transfer October 8, 2018

Institute of Computer Technology - Vienna University of Technology. L02 - Protocol Principles

L5: Building Direct Link Networks III. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

EITF25 Internet Techniques and Applications L3: Data Link layer. Stefan Höst

This Lecture. BUS Computer Facilities Network Management. Line Discipline. Data Link Layer

2.1 CHANNEL ALLOCATION 2.2 MULTIPLE ACCESS PROTOCOLS Collision Free Protocols 2.3 FDDI 2.4 DATA LINK LAYER DESIGN ISSUES 2.5 FRAMING & STUFFING

COMPUTER GRAPHICS COURSE. LuxRender. Light Transport Foundations

Analyzation of Automatic Repeat Request (ARQ) Protocols

AVT-718 SDM-AOS Support

EECE494: Computer Bus and SoC Interfacing. USB (Universal Series Bus) Dr. Charles Kim Electrical and Computer Engineering Howard University

r=0.1 r=0.5 r=1 Figure 2.3: Throughput of ABP vs. PER

Chapter 11 Data Link Control 11.1

3. Data Link Layer 3-2

Chapter 3. The Data Link Layer

CPE 448/548 Exam #1 (100 pts) February 14, Name Class: 448

INF4/MSc Computer Networking. Lectures 3-4 Transport layer protocols TCP/UDP automatic repeat request

Comparison of ISO-OSI and TCP/IP Suit. Functions of Data Link Layer:

CHAPTER 15 LOCAL AREA NETWORKS ANSWERS TO QUESTIONS

ELEC 691X/498X Broadcast Signal Transmission Winter 2018

CS43: Computer Networks Reliable Data Transfer. Kevin Webb Swarthmore College October 5, 2017

CS 520 Networking in the TCP/IP enviornment

Multi-Hop ARQ 林咨銘 2006/8/24.

Transcription:

Ș.l. dr. ing. Lucian-Florentin Bărbulescu 1

Forward Error Control sufficient additional bits are added to each message for error detection locate the position of the error correction is achieved simply by inverting the bit(s) that have been identified as erroneous 2

Forward Error Control the number of added bits is larger that the number needed just for error detection often less efficient than Feedback Error Control efficient mainly for: entertainment applications (live transmission) long distance transmission (some satellite links) 3

Forward Error Control Several methods, the basic: Multiple copies of data Hamming codes 4

Forward Error Control Multiple copies of data Each bit is replicated several times. If one bit is in error, majority rule can be applied. Eg.: data: 0110110 transmitted: 000 111 111 000 111 111 000 if one bit in error: 000 111 111 001 111 111 000 5

Forward Error Control Hamming code Several parity bits are added to the message If one bit is in error then the parity bits can be used to detect the error and positon of the bit 6

Forward Error Control Hamming code Eg.: data: 01010101 bits b12, b11, b10, b9, b7, b6, b5, b3 4 parity bits: c8 even parity between b12, b11, b10, b9 c4 even parity between b12, b7, b6, b5 c2 even parity between b11, b10, b7, b6, b3 c1 even parity between b11, b9, b7, b5, b3 sent data: 010100101111 7

Forward Error Control Hamming code Eg.: if b9 is in error -> received data: 0100 00101111 c8 is received as 0 and computed as 1 -> Error (1) c4 is received as 1 and computed as 1 -> Ok (0) c2 is received as 1 and computed as 1 -> Ok (0) c1 is received as 0 and computed as 1 -> Error (1) 1001 = 9 -> position of bit in error 8

Feedback Error Control the frame contains only error detection information a short confirmation message (ACK) is sent back to confirm error-free transmission In case of an error: no ACK is sent another short message might be sent (NAK) a retransmission of the frame is performed the process is known as Automatic Repeat Request (ARQ) 9

Automatic Repeat Request Two variations of the scheme: Idle RQ (send and wait) Continuous RQ (with two retransmission methods) Selective retransmission (selective-reject) Only the missing frames are retransmitted Go-back N All frames starting with the missing frames are retransmitted 10

Idle RQ 11

Continuous RQ 12

Continuous RQ selective retransmission 13

Continuous RQ selective retransmission 14

Continuous RQ go-back N 15

Continuous RQ go-back N 16

Flow Control Ensure that the receiver is not overwhelmed with data by the sender Two mechanisms Stop and wait implemented by Idle RQ Sliding window 17

Sliding window The sender has a limit of frames that can be emitted before an acknowledge is received window size If window size is 1 -> Idle RQ The window size defines the required buffers 18

Sequence numbers The frames are identified by adding an integer identifier to them The number of required identifiers and thus of bits needed for them is dependent on the retransmission method used 19

Performance issues stop and wait without errors where UU = nn tt ffffffffff nn(2tt pppppppp + tt ffffffffff ) = t frame -> time to transmit a frame t prop -> propagation time (delay) tt ffffffffff 2tt pppppppp + tt ffffffffff aa = tt pppppppp tt ffffffffff UU = 1 1 + 2aa 20

Performance issues stop and wait without errors where aa = dd VV LL RR = dddd LLLL d -> distance between emitter and receiver V -> signal speed (close to the speed of light) L -> number of bits in frame R -> bit rate UU = 1 1 + 2 dddd LLLL 21

Performance issues Error-Free Sliding-Window where W -> window size 1 WW 2aa + 1 UU = WW 2aa + 1 WW < 2aa + 1 22

Performance issues stop and wait with errors UU = TT ff NN rr TT tt where T f = time for transmitter to emit a single frame T t = total time that line is engaged in the transmission of a single frame N r = the expected number of transmissions of a frame UU = 1 NN rr 1 + 2aa 23

Performance issues stop and wait with errors NN rr = iipp ii 1 1 PP ii=1 where P = probability of a frame error = 1 1 PP UU = 1 PP 1 + 2aa = 1 PP 1 + 2 dddd LLLL 24

Performance issues sliding window with errors Selective retransmission Go-back N 1 PP WW 2aa + 1 UU = WW 1 PP 2aa + 1 WW < 2aa + 1 UU = 1 PP 1 + 2aaaa WW 1 PP (2aa + 1)(1 PP + WWWW) WW 2aa + 1 WW < 2aa + 1 25

Performance issues sliding window with errors 26