cs 408 computer networks data transmission basics not in the text book excerpts from chapter 3, 4...
TRANSCRIPT
![Page 1: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/1.jpg)
CS 408Computer Networks
Data Transmission Basics Not in the text bookExcerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications, 6th ed.
![Page 2: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/2.jpg)
Data TransmissionConverting into Electromagnetic (EM)
signalsTransmitting those signals through
mediumMedium
Guided mediumo e.g. twisted pair, optical fiber
Unguided mediumo e.g. air, water
![Page 3: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/3.jpg)
Spectrum & BandwidthSpectrum
range of frequencies contained in signal
bandwidthwidth of spectrum
![Page 4: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/4.jpg)
Data Rate and Bandwidth A perfect square wave has infinite bandwidth
cannot be transmitted over a medium due to medium restrictions
Fourier series of a periodic functiono (infinite) sum of sines and cosines (terms)o more terms more frequencies (bandwidth) better
square-like shape more bandwidth
o less distortionso expensive
less bandwidtho more distortions ==> more errorso cheap
Higher bandwidth = higher data rate
![Page 5: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/5.jpg)
Transmission MediaGuided
Twisted pairCoaxial cableOptical fibers
Unguided radiomicrowave infrared
![Page 6: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/6.jpg)
Electromagnetic Spectrum
![Page 7: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/7.jpg)
Magnetic MediaCan give good data rateSometimes the best way :)
especially for large volume of data transfer
![Page 8: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/8.jpg)
Twisted Pair
![Page 9: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/9.jpg)
Twisted Pair - ApplicationsMost common mediumTelephone network
Between house and local exchange (subscriber loop)
Within buildingsTo private branch exchange (PBX)
For local area networks (LAN)Ethernet
![Page 10: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/10.jpg)
Twisted Pair - Pros and ConsCheapEasy to work withShort rangeOur book says "Low data rate"
But nowadays it is possible to go 40 Gbps with Cat 7 cables
![Page 11: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/11.jpg)
Unshielded and Shielded TPShielded Twisted Pair (STP)
Metal braid or sheathing that reduces interferenceMore expensiveHarder to handle (thick, heavy)Not so economical for low rates, but a good
alternative for higher rates IBM invention
Unshielded Twisted Pair (UTP)Ordinary telephone wireCheaperEasier to installSuffers from external EM (Electromagnetic)
interference
![Page 12: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/12.jpg)
UTP Categories Cat 3
up to 16MHz Voice grade Very old technology, generally in old offices Twist length of 7.5 cm to 10 cm
Cat 5 data grade up to 100MHz Commonly pre-installed in office buildings Twist length 0.6 cm to 0.85 cm
Cat 6, 6a Up to 200 MHz and 10 Gbps Ethernet
Cat 7 Up to 600 MHz and 40 Gbps Ethernet (and maybe
beyond)
![Page 13: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/13.jpg)
Coaxial Cable
For transmission
![Page 14: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/14.jpg)
Coaxial Cable ApplicationsMost versatile mediumTelevision distribution
Aerial antenna to TVCable TV
Long distance telephone transmissionCan carry 10,000 voice calls simultaneouslyMostly replaced by fiber optic
Cable InternetLocal area networks (old technology)
![Page 15: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/15.jpg)
Coaxial Cable - Transmission CharacteristicsLess vulnerable to interference and
crosstalk (than twisted pair)due to concentric structure
Periodic amplifiers/repeaters are needed
![Page 16: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/16.jpg)
Optical Fiber
Core: thin fiber (8 - 100 micrometers), plastic or glass
Cladding: Glass or plastic coating of fiber. Specially designed with a lower index of refraction. Thus it acts as a reflector.
Overcoat (Jacket): plastic layer to protect against environmental dangers
![Page 17: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/17.jpg)
Optical Fiber - BenefitsGreater capacity
Data rates of hundreds of Gbps
Smaller size & weighteasy installation, less physical space needed in
ducts
Lower attenuation less repeaters needed (one in approx. every 50 kms)
Electromagnetic isolationno interferenceno crosstalksecurer
![Page 18: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/18.jpg)
Optical Fiber - ApplicationsLong distance communication linesSubscriber loopsLANs
![Page 19: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/19.jpg)
Wireless TransmissionUnguided mediaTransmission and reception via antennaDirectional
Focused beamCareful alignment required
o Line-of-sight needed
OmnidirectionalSignal spreads in all directionsCan be received by many antennas
![Page 20: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/20.jpg)
Frequencies1GHz to 40GHz
referred as microwave frequenciesHighly directionalPoint to pointSatellite
30MHz to 1GHzOmnidirectionalBroadcast radio
![Page 21: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/21.jpg)
Terrestrial Microwave Typical antenna is a parabolic dish
mounted on a tower Focused beam Line-of-sight transmission Long haul telecommunications
voice and video what are the advantages/disadvantages
of using microwave by a long-distance telephone company?
o no right-of-way neededo No long distance cablingo need to buy frequency bando needs periodic towers o sensitive to atmospheric conditions – e.g.
multipath fading alternative: fiber optic – needs right-of-
way and cabling
![Page 22: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/22.jpg)
Satellite Microwave Satellite is a relay station Satellite receives on one frequency, amplifies or
repeats signal, and transmits on another frequency transponder = frequency channel
may also broadcast TV
Requires geo-stationary orbit Applications
Television Long distance telephone Private business networks
![Page 23: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/23.jpg)
Asynchronous and Synchronous Transmission on Direct Links
Problem: SYNCHRONIZATIONSender and receiver must cooperatemust know when to start and stop samplingmust know the rate of data
Two solutionsAsynchronousSynchronous
![Page 24: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/24.jpg)
Asynchronous TransmissionData transmitted one character at a time
generally 7- 8 bits per characterPrior communication, both parties must
agree on the data rateagree on the character length in bits
But parties do not need to agree on starting and stopping time prior to communication (they exchange starting and stopping time info during tranmission)No common clock signal neededThat is why this is asynchronous
![Page 25: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/25.jpg)
Asynchronous Transmission
![Page 26: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/26.jpg)
Asynchronous Transmission - BehaviorIn idle state, receiver looks for 1 to 0
transitionThen samples next “character length”
intervalsThen looks for next 1 to 0 for next charStop bit is used to make sure a 1 to 0
transition for the next characterOverhead is 2, 3 or 4 bits per char (start,
stop and/or parity bits)
![Page 27: CS 408 Computer Networks Data Transmission Basics Not in the text book Excerpts from Chapter 3, 4 and 6 of Stallings, Data and Computer Communications,](https://reader035.vdocument.in/reader035/viewer/2022070323/56649da85503460f94a94801/html5/thumbnails/27.jpg)
Synchronous TransmissionBlock of data transmitted without start or
stop bitsNo overhead (except error
detection/correction codes) Common clock signal
clock starts ==> data startsclock stops ==> data stopsgenerally sender-generateddata is sampled once per clock cycleno further synchronization needed for short
distance and point to point communication