























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
























1
Session 2 - Main Theme Data Transmission/Encoding Concepts and ADTs in Protocol Design
Dr. Jean-Claude Franchitti
New York University Computer Science Department Courant Institute of Mathematical Sciences
Data Transmission Data Encoding Protocol Design ADTs Conclusion Assignment & Readings
3
7
Terminology (2/3)
No intermediate devices
Direct link Only 2 devices share link
More than two devices share the link
8
Terminology (3/3)
Simplex
e.g., television
Half duplex
e.g. police radio
Flux duplex
9
Analog and Digital Data Transmission
Entities that convey meaning
Electric or electromagnetic representations of data
Communication of data by propagation and processing of signals
Data
Continuous values within some interval e.g., sound, video
Discrete values e.g., text, integers
13
Concerned with content
Integrity endangered by noise, attenuation etc.
Repeaters used
Repeater receives signal
Extracts bit pattern
Retransmits
Attenuation is overcome
Noise is not amplified
15
Pulses become rounded and smaller Leads to loss of information
19
No transition (i.e. no return to zero voltage) e.g., Absence of voltage for zero, constant positive voltage for one
Nonreturn to zero inverted on ones
Constant voltage pulse for duration of bit
Data encoded as presence or absence of signal transition at beginning of bit time
Transition (low to high or high to low) denotes a binary 1
No transition denotes binary 0
An example of differential encoding
21
25
Manchester Transition in middle of each bit period Transition serves as clock and data Low to high represents one High to low represents zero Used by IEEE 802. Differential Manchester Midbit transition is clocking only Transition at start of a bit period represents zero No transition at start of a bit period represents one Note: this is a differential encoding scheme Used by IEEE 802.
Con At least one transition per bit time and possibly two Maximum modulation rate is twice NRZ Requires more bandwidth
Pros Synchronization on mid bit transition (self clocking) No dc component Error detection Absence of expected transition
27
31
Block of data transmitted without start or stop bits
Clocks must be synchronized
Can use separate clock line Good over short distances Subject to impairments
Embed clock signal in data Manchester encoding Carrier frequency (analog)
33
(Ring Buffer, Queue, FSM)
37
Lower layer sends data and indications Data must be separated from indications Read requests from HL may use different data boundaries than LL LL may be providing data at same time as HL wants to read it
. . .
0 1 2
N-
Inititial State Input: 0 Output: 0
39
. . .
0 1 2
N-
New Element Arrives Input: 1 Output: 0
Element 0
. . .
0 1 2
N-
New Element Arrives Input: 2 Output: 0
Element 0 Element 1