500 likes | 656 Views
Network Operations & administration CS 4592 Lecture 13. Instructor: Ibrahim Tariq. Data Link Layer. Error Correction. By retransmission flow and error control protocols Forward Error Correction (FEC) require more redundancy bits should locate the invalid bit or bits
E N D
Network Operations & administration CS 4592Lecture 13 Instructor: Ibrahim Tariq
Error Correction • By retransmission • flow and error control protocols • Forward Error Correction (FEC) • require more redundancy bits • should locate the invalid bit or bits • n-bit code word contains m data bits + r redundancy bits n=m+r • m+r+1 bits discoverable by r bits • 2r>=m+r+1
Hamming Code • Hamming codes provide for FEC using a “Block Parity” • i.e, instead of one parity bit send a block of parity bits • Allows correction of single bit errors • This is accomplished by using more than one parity bit • Each computed on different combination of bits in the data
Communication Network Communication networks Broadcast networks End nodes share a common channel (TV, radio…) Switched networks End nodes send to one (or more) end nodes Circuit switching Dedicated circuit per call (telephone, ISDN) (physical) Packet switching Data sent in discrete portions (the Internet)
Noiseless Channel: Nyquist Bit Rate • Defines theoretical maximum bit rate for Noiseless Channel: • Bit Rate=2 X Bandwidth X log2L
Example We have a channel with a 1 MHz bandwidth. The SNR for this channel is 63; what is the appropriate bit rate and signal level? Solution First, we use the Shannon formula to find our upper limit. C = B log2 (1 + SNR) = 106 log2 (1 + 63) = 106 log2 (64) = 6 Mbps Then we use the Nyquist formula to find the number of signal levels. 6 Mbps = 2 1 MHz log2L L = 8
Noisy Channel: Shannon Capacity • Defines theoretical maximum bit rate for Noisy Channel: • Capacity=Bandwidth X log2(1+SNR)
Line Coding Schemes Data Communication & Networks, Summer 2009
Unipolar Encoding Data Communication & Networks, Summer 2009
Polar: NRZ-L and NRZ-I Encoding Data Communication & Networks, Summer 2009
Polar: RZ Encoding Data Communication & Networks, Summer 2009
Polar: Manchester Encoding Data Communication & Networks, Summer 2009
Polar: Differential Manchester Encoding Data Communication & Networks, Summer 2009
ANALOG-TO-DIGITAL CONVERSION Digital signal is superior to an analog signal. The tendency today is to change an analog signal to digital data. pulse code modulation
Circuit Switching • There are three phases in circuit switching: • Establish • Transfer • Disconnect • The telephone message is sent in one go, it is not broken up. The message arrives in the same order that it was originally sent.
Packet Switching • In packet-based networks, the message gets broken into small data packets. • These packets seek out the most efficient route to travel as circuits become available. • Each packet may go a different route from the others.