SlideShare a Scribd company logo
1 of 74
Point-to-Point Communication
2
Terminal-Host Communication
īŽ Components
īŽ Terminal
īŽ Host (locus of processing)
īŽ Transmission line (here, phone line and modem)
īŽ Telephone line acts as a point-to-point link
Phone
Line
Modem Modem
Terminal
Host
3
Terminal Emulation
īŽ People Already Have PCs
īŽ Host operating systems only work with terminals
īŽ Do not want to buy a terminal as well
īŽ PCs can emulate (act like) terminals
īŽ Only requires software (a communication
program)
īŽ Turns an expensive PC into a cheap terminal
4
VT100 Terminals
īŽ VT100 Emulation Only Needs Software
īŽ Communications program
īŽ Terminal emulation software
īŽ Most Hosts Support VT100 Terminals
īŽ Lowest Common Denominator
īŽ Slow: maximum speed of 19 kbps, usually slower
īŽ Uses inefficient asynchronous ASCII transmission,
discussed later
īŽ No graphics or even multiple fonts: plain text only
īŽ No color
5
Terminal Emulation Software
īŽ File Transfer
īŽ Transfer whole files with error correction
īŽ Upload: from PC to host
īŽ Download: from host to PC
īŽ Terminal emulation program and host file
transfer program must support the same file
transfer protocol standard
īŽ Kermit
īŽ XMODEM, YMODEM
īŽ IBM 3270 Terminals
6
Digital
Signal
(1101)
Modem
Analog
Signal
Analog and Digital Transmission
Digital
Signal
(1101)
Modem
Analog
Signal
Modulation
Demodulation
7
Digital and Binary
īŽ Digital Transmission
īŽ Can have multiple voltage levels, say 4
īŽ Change to one at start of each bit cycle
īŽ If 4, changes can represent 2 bits each:
īŽ 00, 01, 10, 11
00
11
01
10
Voltage
Level
Time
8
Baud Rate and Bit Rate
īŽ Baud Rate
īŽ Number of times line changes per second
īŽ Let baud rate be 4 (4 changes per second)
īŽ Let bits per line change be 2
īŽ Bit rate = 8 bits per second
īŽ Bit rate = x2 Baud rate in this example
00
11
01
10
One Second
9
Wave Characteristics
īŽ Amplitude (power)
īŽ Frequency (cycles per second, Hertz)
īŽ Wavelength (meters)
Amplitude
(power)
Wavelength
(meters)
Frequency (Hz)
One Second
10
Wave Characteristics
īŽ Phase
īŽ Fully cycle is 360 degrees
īŽ Phase is degrees different from reference wave
īŽ Human ears cannot hear. Equipment can
Reference
Wave
180
degrees
out of
phase
0o
180o
0o
90o
180o
270o
0 and rising
Highest
0 and falling
Lowest
11
Wave Characteristics
īŽ Amplitude
īŽ Frequency and Wavelength
īŽ Not independent
īŽ As frequency rises, wavelength falls
(Shorter guitar strings produce higher notes)
īŽ Their product is constant--the speed of light,
sound, etc.
īŽ Phase
12
Frequency Modulation
Low
Frequency
(0)
High
Frequency
(1)
Frequency
Modulation
(1011)
Wavelength
Wavelength
1
0
1
1
Vary the frequency (wavelength) to represent 1 and 0
13
Amplitude Modulation
Low
Amplitude
(0)
High
Amplitude
(1)
Amplitude
Modulation
(1011)
Amplitude (low)
Amplitude (high)
14
Phase Modulation
In Phase
(0)
180 degrees
out of phase
(1)
Frequency
Modulation
(1011)
15
Complex Modulation
High
Amplitude
Low
Amplitude
90 Degrees
Out of Phase,
High Amplitude
In Phase
180 Degrees Out of Phase
Vary both amplitude and phase
Several values (not just two) on each dimension
16
Modem Standards
īŽ Modems at Two Ends Must Communicate
īŽ Must follow same standards
īŽ Most modem standards set by ITU-T
īŽ Multiple category of standards:
īŽ Modem speed (modulation)
īŽ Error correction and compression
īŽ Facsimile
īŽ Etc.
īŽ When buying a modem, must check for
standard(s) followed in each category
17
Modem Speed Standards
īŽ Set by the ITU-T
īŽ Govern how modulation is done
īŽ Standards for speed governs modulation for
data transmission
īŽ V.92 56.6 kbps plus quick connect,
modem on hold, PCM upstream
īŽ V.90 56.6 kbps
īŽ V.34 28.8 kbps/33.6 kbps
īŽ V.32 bis14.4 kbps
18
Modem Speed Standards
īŽ Most data modems are also fax modems
īŽ V.14 14.4 kbps
īŽ V.29 9,600 bps
19
Error Correction and Compression
īŽ ITU-T Standards
īŽ V.42 Error detection and correction
īŽ V.42 bisData compression (up to 4:1)
īŽ V.44 Data compression (20 to 120%
more than V.42 bis)
īŽ Independent of speed standards (but V.44 only
with V.92)
īŽ Microcom Standards
īŽ Microcom Network Protocol (MNP)
īŽ Both error correction and compression
īŽ Several levels
īŽ Independent of speed standards
20
Modem Intelligence
īŽ Computer Can Send Commands to Modem
īŽ Dial a number, including how long to wait, etc.
īŽ Called intelligent modems
īŽ Hayes Developed the first Command Set
īŽ Most modems follow the same command set
īŽ We call them “Hayes compatible”
īŽ Commands start with “AT”
īŽ Other Standards for Fax Modems
īŽ Class 1 and Class 2: extensions to Hayes
21
Telephone Bandwidth is Limited
īŽ Telephone Transmission
īŽ Cuts off sounds below 300 Hertz
īŽ Cuts off sounds above about 3,400 Hz
īŽ Bandwidth is the difference between the highest
and lowest frequencies (3400-300): about 3,100
Hz
Sound
Loudness
Frequency (Hz)
0 300 3400 20,000
Bandwidth
3,100 Hz
22
Telephone Bandwidth is Limited
īŽ Speed is Limited
īŽ Maximum speed is related to bandwidth
(Shannon’s Law)
īŽ Maximum speed for phone lines for transmission
is a little over 30 kbps
īŽ So modems can’t get much faster
23
Another Look at Compression
īŽ With 4:1 Compression, a V.34 Modem Can
Receive Data at 115.2 kbps from the PC
īŽ However the ~30 kbps limit of the phone
system is not exceeded. Still transmit at 33.6
kbps.
115.2 kbps 33.6 kbps
~35 kbps
Maximum
Compression
in Modem
24
56 kbps Analog Modems
īŽ From home, you transmit
īŽ Analog-to-Digital Converter (ADC)
īŽ Filters your signal to a bandwidth of ~3.1 kHz
īŽ This limits you to 33.6 kbps
Telephone
Network
ADC
PC
V.34
modem
33.6 kbps
25
56 kbps Analog Modems
īŽ But ISP Can Connect Digitally
īŽ Signal travels through phone system at 56 kbps
īŽ At user end, digital-to-analog converter (DAC)
īŽ Sends signal to analog modem at wide bandwidth
īŽ Modem can receive at 56 kbps
Telephone
Network
DAC
PC
56 kbps
modem
ISP
Digital
Link
56 kbps
26
56 kbps Modems
īŽ What they can do
īŽ Send at 33.6 kbps (V.92 with PCM upstream can
go up to 48 kbps)
īŽ Receive at 56 kbps (V92 with V.44 compression
can go up to 120 kbps)
īŽ Problems
īŽ past: competing standards from Rockwell, U.S.
Robotics (V.90 ended them)
īŽ present: ISPs must support V.92 (all support V.90)
īŽ Users and ISPs
īŽ Users V.90 analog modem or V.92
īŽ ISPs V.90 digital modem or V.92
27
56 Kbps Modems
īŽ Telephone company
īŽ No changes needed, although ...
īŽ Many not have an internal ADC conversion
between ISP and customer (some do)
īŽ May not have long transmission line from last
switch to the customer premises (local loop)
īŽ Not all phone lines to customer premises will
support 56 kbps modems
īŽ Even when they do, speeds may only be 40-50
kbps
28
Half-Duplex Transmission
īŽ Sender and receiver must take turns sending
īŽ Like an old one-lane road
īŽ No interruption for error handling or flow control
A B A B
Time 1
Only one side
May communicate
A does
Time 2
Only one side
May communicate
B does
29
Full-Duplex Transmission
īŽ Both Sides May Transmit Simultaneously
īŽ Needed for error correction, flow control
īŽ Now almost universal in modem communication
A B A B
Time 1
Both sides may communicate
Both do
Time 2
Both sides may communicate
A does
30
Asynchronous Transmission
īŽ ASCII Character Set
īŽ 7-bit is the standard
īŽ 8-bit extended ASCII is popular
īŽ Bits transmitted backward
īŽ Parity for Error Detection
īŽ Only for 7-bit ASCII
īŽ Start/Stop Bits for Framing
īŽ Each frame is exactly 10 bits long
31
Asynchronous Transmission
īŽ ASCII Character Set
īŽ Created for sending printed American text
īŽ Each character is a 7-bit code (e.g., 1010101)
īŽ This allows 2^7 or 128 possible characters
īŽ Printing characters: A, a, !, <, %, etc.
īŽ Control codes: XOFF tells other side to pause
32
Asynchronous Transmission
īŽ 8-bit ASCII
īŽ Used in PCs: 8 bits per character (10101010)
īŽ Used for word processing format codes
īŽ Used in graphics that stores data in bytes
33
PC Serial Port
īŽ Bit Transmission of ASCII Characters
īŽ Transmits last bit first
īŽ If you wish to send 1111000,
īŽ The serial port transmits 0001111
34
Parity
īŽ For 7-bit ASCII Only (No Parity = 8-bit ASCII)
īŽ Transmit an 8th bit per character
īŽ Even parity: sum of data and parity bits is
even
īŽ To send 1110000 (odd), send 00001111
īŽ To send 1111000 (even), send 00011110
īŽ Odd parity: sum is odd
īŽ If error is detected, the character is simply
discarded. No way to ask for retransmission
35
Start and Stop Bits
īŽ When the Data Line is at Rest
īŽ It is kept in the “1” state
īŽ So “11110000” would look like 111111100001111
īŽ “00001111” would also look like 11111100001111
īŽ How can you tell where a character begins?
īŽ Solution
īŽ Add a start bit (always 0) to change the line state
īŽ End with a stop bit (always 1) to guarantee at least
a one-bit rest (1) against which to detect the next
start bit (0)
36
The Final Asynchronous Frame
īŽ Always 10 bits
īŽ Start, 7 data bits, parity, stop, or
īŽ Start, 8 data bits, stop
0 1 1 1 0 0 0 1 1 1
Start Parity
Stop
7-bit ASCII Character
0 1 1 1 0 0 0 1 1 1
Start
Stop
8-bit ASCII Character
37
Flow Control
īŽ Ask the Other Device to Pause (or Slow
Down)
īŽ ASCII
īŽ In asynch, usually done by sending ASCII control
codes
īŽ XOFF tells other side to pause
īŽ XON tells the other device to resume
īŽ Serial Port
īŽ Signals on the pins control when PC, modem can
transmit
38
3-38
Signal and Propagation
A signal is a disturbance in the media that propagates
(travels) down the transmission medium to the receiver
If propagation effects are too large, the receiver will not be
able to read the received signal
39
3-39
Binary-Encoded Data
īŽ Computers store and process data in binary
representations
īŽ Binary means “two”
īŽ There are only ones and zeros
īŽ Called bits
1101010110001110101100111
40
3-40
Binary-Encoded Data
īŽ Non-Binary Data Must Be Encoded into
Binary
īŽ Text
īŽ Integers (whole numbers)
īŽ Decimal numbers
īŽ Alternatives (North, South, East, or West, etc.)
īŽ Graphics
īŽ Human voice
īŽ etc.
Hello 11011001â€Ļ
41
Layering Perspective
īŽ Where is binary data encoding done?
īŽ It is done at the application layer, not at the
physical layer.
īŽ Where is signaling done
īŽ It is done at the physical layer
3-41
42
Signaling
43
3-43
On/Off Signaling
On/off signaling is used in optical fiber
The light is turned on during a clock cycle for a 1
The light is turned off during a clock cycle for a 0
There are two signaling states—on and off
This is called binary signaling
This is a simple type of signaling
44
3-44
Binary Voltage Signaling in 232 Serial Ports
The high state (0) is anything from +3 to +15 volts
The low state (1) is anything from -3 to -15 volts
1
45
3-45
Relative Immunity to Errors in Binary Signaling
Binary signaling gives some immunity to errors.
This is one of its major attractions.
46
UTP Propagation
Unshielded Twisted Pair wiring
47
3-47
Unshielded Twisted Pair (UTP) Wiring
īŽ UTP Characteristics
īŽ Inexpensive and to purchase and install
īŽ Dominates media for access links between computers
and the nearest switch
48
3-48
Unshielded Twisted Pair (UTP) Wiring
īŽ Standards
īŽ The TIA/EIA-568 standard governs UTP wiring in the
United States
īŽ In Europe, the comparable standard is ISO/IEC 11801
49
3-49
4-Pair UTP Cord with RJ45 Connector
3.
8-pin
RJ-45
Connector
2.
8 Wires
organized
as 4
twisted
pairs
Industry standard pen
1.
UTP cord
UTP cord
50
3-50
Unshielded Twisted Pair (UTP)
Wiring
īŽ Cord Organization
īŽ A length of UTP wiring is a cord
īŽ Each cord has eight copper wires
īŽ Each wire is covered with dielectric
(nonconducting) insulation
īŽ The wires are organized as four pairs
īŽ Each pair’s two wires are twisted around each
other several times per inch
īŽ There is an outer plastic jacket that encloses the
four pairs
51
3-51
Unshielded Twisted Pair (UTP)
Wiring
īŽ Connector
īŽ RJ-45 connector is the standard
connector
īŽ Plugs into an RJ-45 jack in a NIC, switch, or wall
jack
RJ-45
Jack
RJ-45
Jack
8-pin RJ-45 connectors
52
3-52
Attenuation and Noise
Power
Distance
3.
Noise Floor
(Average Noise level)
2.
Noise
4.
Noise Spike
1.
Signal
2.
Signal-
to-Noise
Ratio (SNR)
5.
Error
1. The signal attenuates (falls in power) as it propagates
2. There is noise (random energy) in the wire that adds to the signal
3. The average noise level is called the noise floor
4. Noise is random. Occasionally, there will be large noise spikes
5. Noise spikes as large as the signal cause errors
6. You want to keep the signal-to-noise ratio high
53
3-53
Limiting UTP Cord Length
īŽ Limit UTP cord length to 100 meters
īŽ This keeps the signal-to-noise ration (SNR) high
īŽ This makes attenuation and noise problems
negligible
īŽ Note that limiting cord lengths limits BOTH noise
and attenuation problems
100 Meters Maximum
Cord Length
54
3-54
UTP Wiring
īŽ Electromagnetic Interference (EMI)
īŽ Electromagnetic interference is electromagnetic
energy from outside sources that adds to the signal
īŽ From fluorescent lights, electrical motors,
microwave ovens, etc.
īŽ The problem is that UTP cords are like long radio
antennas
īŽ They pick up EMI energy nicely
īŽ When they carry signals, they also send EMI
energy out from themselves
55
3-55
Electromagnetic Interference (EMI)
and Twisting
Interference on the Two Halves of a Twist Cancels Out
Twisted
Wire
Electromagnetic
Interference (EMI)
UTP is twisted
specifically to reduce EMI
56
3-56
Crosstalk Interference and Terminal Crosstalk
Interference
Untwisted
at Ends Signal
Terminal Crosstalk
Interference
Crosstalk Interference
Terminal crosstalk interference
normally is the biggest EMI problem for UTP
57
3-57
Interference Hierarchy
īŽ EMI is any interference
īŽ Signals in adjacent pairs interfere with one another
(crosstalk interference). This is a specific type of EMI
īŽ Crosstalk interference is worst at the ends, where the
wires are untwisted. This is terminal crosstalk
interference—a specific type of crosstalk EMI
EMI
Crosstalk Interference
Terminal Crosstalk
Interference
58
3-58
Terminal Crosstalk Interference
īŽ Terminal crosstalk interference dominates
interference in UTP
īŽ Terminal crosstalk interference is limited to an
acceptable level by not untwisting wires more
than a half inch (1.25 cm) at each end of the
cord to fit into the RJ-45 connector
īŽ This reduces terminal crosstalk interference
to a negligible level.
1.25 cm or 0.5 inches
59
Shielded Twisted Pair Wiring (STP)
īŽ We have been talking about unshielded twisted
pair wiring.
īŽ Is there a shielded twisted pair wiring?
īŽ Yes. It has a metal mesh shield around each pair to
reduce cross-talk interference
īŽ It also has a metal mesh shield around the
four pairs to reduce external EMI
īŽ It is no longer used extensively because UTP,
which is much less expensive, was found to be
good enough for normal environments
īŽ However, we will see that Cat 7 wiring uses STP
3-59
60
3-60
UTP Limitations
īŽ Limit cords to 100 meters
īŽ Limits BOTH noise AND attenuation problems to an
acceptable level
īŽ Do not untwist wires more than 1.25 cm (a half
inch) when placing them in RJ-45 connectors
īŽ Limits terminal crosstalk interference to an acceptable
level
īŽ Neither completely eliminates the problems but
they usually reduce the problems to negligible
levels
2
61
3-61
3-18: Serial Versus Parallel
Transmission
62
Optical Fiber
Transmission
Light through Glass
Spans Longer Distances than UTP
63
3-63
Optical Fiber Transceiver and Strand
An optical fiber strand has a thin glass core
This core is 8.3, 50, or 62.5 microns in diameter
This glass core is surrounded by a tubular glass cladding
The outer diameter of the cladding is 125 microns,
regardless of the core’s diameter
The transceiver injects laser light into the core
64
3-64
Optical Fiber Transceiver and Strand
When a light wave ray hits the core/cladding boundary,
there is perfect internal reflection. There is no signal loss
65
3-65
Roles of UTP and Optical Fiber in LANs
66
3-66
Two-Strand Full-Duplex Optical Fiber Cord
with SC and ST Connectors
A fiber cord has
two-fiber strands
for full-duplex
(two-way)
transmission
SC Connectors
ST Connectors
Two
Strands
Cord
67
3-67
Full-Duplex Optical Fiber Cord with SC and ST
Connectors
SC Connector
(push and click)
ST Connector
(bayonet connectors:
push and click)
In contrast to UTP, which always uses RJ-45 connectors,
there are several optical fiber connector types
SC and ST are the most popular
68
3-68
Optical Fiber Strand
In optical fiber transmission, light is expressed in nanometers.
The transceiver transmits at 850 nm, 1,310 nm, or 1,550 nm
Shorter-wavelength (850 nm) transceivers are less expensive
Longer-wavelength (1,310 or 1,550 nm) light travels farther for a given speed
For LAN fiber, 850 nm provides sufficient distance and dominates
69
3-69
Multimode Fiber and Single-Mode Fiber
Multimode fiber has a thick core (50 or 62.5 microns in diameter)
Light can only enter the core at certain angles, called modes
Modes traveling straight through arrive faster than
modes that bounce against the cladding several times
70
Radio Propagation
71
3-71
Radio Propagation
Radio signals also propagate as waves.
As noted earlier, radio waves are measured in hertz (Hz),
which is a measure of frequency.
Radio usually operates in the MHz and GHz range.
72
3-72
Omnidirectional and Dish Antennas
73
3-73
Wireless Propagation Problems
UTP and optical fiber propagation are fairly predictable.
However, radio suffers from many propagation effects.
This makes radio transmission difficult to manage.
74
Topology
Network topology is the physical
arrangement of a network’s computers,
switches, routers, and transmission lines
It is a physical layer concept:
īŦ Point-to-point
īŦ Star
īŦ Bus
īŦ Ring

More Related Content

Similar to adapters2.PPT

Presentation9
Presentation9Presentation9
Presentation9
Mohd Yusak
 
komdat5
komdat5komdat5
komdat5
pasca
 
13. Computer Systems Input And Output Architecture
13. Computer Systems   Input And  Output Architecture13. Computer Systems   Input And  Output Architecture
13. Computer Systems Input And Output Architecture
New Era University
 
5 digital datacomm
5 digital datacomm5 digital datacomm
5 digital datacomm
Hattori Sidek
 
Usb Controlled Function Generator
Usb Controlled Function GeneratorUsb Controlled Function Generator
Usb Controlled Function Generator
Kent Schonert
 

Similar to adapters2.PPT (20)

Digital audio
Digital audioDigital audio
Digital audio
 
Presentation9
Presentation9Presentation9
Presentation9
 
Phase Modulation , Error, Hamming Distance , GSM -Data Communication
Phase Modulation , Error,  Hamming Distance , GSM -Data CommunicationPhase Modulation , Error,  Hamming Distance , GSM -Data Communication
Phase Modulation , Error, Hamming Distance , GSM -Data Communication
 
Uart
UartUart
Uart
 
03_04-AnalogDigital-HYanikomeroglu-12Jan2011_14Jan2011_Old1.ppt
03_04-AnalogDigital-HYanikomeroglu-12Jan2011_14Jan2011_Old1.ppt03_04-AnalogDigital-HYanikomeroglu-12Jan2011_14Jan2011_Old1.ppt
03_04-AnalogDigital-HYanikomeroglu-12Jan2011_14Jan2011_Old1.ppt
 
komdat5
komdat5komdat5
komdat5
 
13. Computer Systems Input And Output Architecture
13. Computer Systems   Input And  Output Architecture13. Computer Systems   Input And  Output Architecture
13. Computer Systems Input And Output Architecture
 
Quantum Computer - Low noise signal processing solution
Quantum Computer - Low noise signal processing solutionQuantum Computer - Low noise signal processing solution
Quantum Computer - Low noise signal processing solution
 
Digital Audio
Digital AudioDigital Audio
Digital Audio
 
05 signal encodingtechniques
05 signal encodingtechniques05 signal encodingtechniques
05 signal encodingtechniques
 
Lec 5
Lec 5Lec 5
Lec 5
 
Chapter 1.pptx
Chapter 1.pptxChapter 1.pptx
Chapter 1.pptx
 
Role of CAN BUS in automotives
Role of CAN BUS in automotivesRole of CAN BUS in automotives
Role of CAN BUS in automotives
 
5 digital datacomm
5 digital datacomm5 digital datacomm
5 digital datacomm
 
AN INTRODUCTION TO SERIAL PORT INTERFACING
AN INTRODUCTION TO SERIAL PORT INTERFACINGAN INTRODUCTION TO SERIAL PORT INTERFACING
AN INTRODUCTION TO SERIAL PORT INTERFACING
 
ES UNIT3.pptx
ES UNIT3.pptxES UNIT3.pptx
ES UNIT3.pptx
 
ANALOG DIGITAL HYBRID MODULATION
ANALOG DIGITAL HYBRID MODULATIONANALOG DIGITAL HYBRID MODULATION
ANALOG DIGITAL HYBRID MODULATION
 
3G overview final
3G overview final 3G overview final
3G overview final
 
Usb Controlled Function Generator
Usb Controlled Function GeneratorUsb Controlled Function Generator
Usb Controlled Function Generator
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
đŸŦ The future of MySQL is Postgres 🐘
đŸŦ  The future of MySQL is Postgres   🐘đŸŦ  The future of MySQL is Postgres   🐘
đŸŦ The future of MySQL is Postgres 🐘
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

adapters2.PPT

  • 2. 2 Terminal-Host Communication īŽ Components īŽ Terminal īŽ Host (locus of processing) īŽ Transmission line (here, phone line and modem) īŽ Telephone line acts as a point-to-point link Phone Line Modem Modem Terminal Host
  • 3. 3 Terminal Emulation īŽ People Already Have PCs īŽ Host operating systems only work with terminals īŽ Do not want to buy a terminal as well īŽ PCs can emulate (act like) terminals īŽ Only requires software (a communication program) īŽ Turns an expensive PC into a cheap terminal
  • 4. 4 VT100 Terminals īŽ VT100 Emulation Only Needs Software īŽ Communications program īŽ Terminal emulation software īŽ Most Hosts Support VT100 Terminals īŽ Lowest Common Denominator īŽ Slow: maximum speed of 19 kbps, usually slower īŽ Uses inefficient asynchronous ASCII transmission, discussed later īŽ No graphics or even multiple fonts: plain text only īŽ No color
  • 5. 5 Terminal Emulation Software īŽ File Transfer īŽ Transfer whole files with error correction īŽ Upload: from PC to host īŽ Download: from host to PC īŽ Terminal emulation program and host file transfer program must support the same file transfer protocol standard īŽ Kermit īŽ XMODEM, YMODEM īŽ IBM 3270 Terminals
  • 6. 6 Digital Signal (1101) Modem Analog Signal Analog and Digital Transmission Digital Signal (1101) Modem Analog Signal Modulation Demodulation
  • 7. 7 Digital and Binary īŽ Digital Transmission īŽ Can have multiple voltage levels, say 4 īŽ Change to one at start of each bit cycle īŽ If 4, changes can represent 2 bits each: īŽ 00, 01, 10, 11 00 11 01 10 Voltage Level Time
  • 8. 8 Baud Rate and Bit Rate īŽ Baud Rate īŽ Number of times line changes per second īŽ Let baud rate be 4 (4 changes per second) īŽ Let bits per line change be 2 īŽ Bit rate = 8 bits per second īŽ Bit rate = x2 Baud rate in this example 00 11 01 10 One Second
  • 9. 9 Wave Characteristics īŽ Amplitude (power) īŽ Frequency (cycles per second, Hertz) īŽ Wavelength (meters) Amplitude (power) Wavelength (meters) Frequency (Hz) One Second
  • 10. 10 Wave Characteristics īŽ Phase īŽ Fully cycle is 360 degrees īŽ Phase is degrees different from reference wave īŽ Human ears cannot hear. Equipment can Reference Wave 180 degrees out of phase 0o 180o 0o 90o 180o 270o 0 and rising Highest 0 and falling Lowest
  • 11. 11 Wave Characteristics īŽ Amplitude īŽ Frequency and Wavelength īŽ Not independent īŽ As frequency rises, wavelength falls (Shorter guitar strings produce higher notes) īŽ Their product is constant--the speed of light, sound, etc. īŽ Phase
  • 14. 14 Phase Modulation In Phase (0) 180 degrees out of phase (1) Frequency Modulation (1011)
  • 15. 15 Complex Modulation High Amplitude Low Amplitude 90 Degrees Out of Phase, High Amplitude In Phase 180 Degrees Out of Phase Vary both amplitude and phase Several values (not just two) on each dimension
  • 16. 16 Modem Standards īŽ Modems at Two Ends Must Communicate īŽ Must follow same standards īŽ Most modem standards set by ITU-T īŽ Multiple category of standards: īŽ Modem speed (modulation) īŽ Error correction and compression īŽ Facsimile īŽ Etc. īŽ When buying a modem, must check for standard(s) followed in each category
  • 17. 17 Modem Speed Standards īŽ Set by the ITU-T īŽ Govern how modulation is done īŽ Standards for speed governs modulation for data transmission īŽ V.92 56.6 kbps plus quick connect, modem on hold, PCM upstream īŽ V.90 56.6 kbps īŽ V.34 28.8 kbps/33.6 kbps īŽ V.32 bis14.4 kbps
  • 18. 18 Modem Speed Standards īŽ Most data modems are also fax modems īŽ V.14 14.4 kbps īŽ V.29 9,600 bps
  • 19. 19 Error Correction and Compression īŽ ITU-T Standards īŽ V.42 Error detection and correction īŽ V.42 bisData compression (up to 4:1) īŽ V.44 Data compression (20 to 120% more than V.42 bis) īŽ Independent of speed standards (but V.44 only with V.92) īŽ Microcom Standards īŽ Microcom Network Protocol (MNP) īŽ Both error correction and compression īŽ Several levels īŽ Independent of speed standards
  • 20. 20 Modem Intelligence īŽ Computer Can Send Commands to Modem īŽ Dial a number, including how long to wait, etc. īŽ Called intelligent modems īŽ Hayes Developed the first Command Set īŽ Most modems follow the same command set īŽ We call them “Hayes compatible” īŽ Commands start with “AT” īŽ Other Standards for Fax Modems īŽ Class 1 and Class 2: extensions to Hayes
  • 21. 21 Telephone Bandwidth is Limited īŽ Telephone Transmission īŽ Cuts off sounds below 300 Hertz īŽ Cuts off sounds above about 3,400 Hz īŽ Bandwidth is the difference between the highest and lowest frequencies (3400-300): about 3,100 Hz Sound Loudness Frequency (Hz) 0 300 3400 20,000 Bandwidth 3,100 Hz
  • 22. 22 Telephone Bandwidth is Limited īŽ Speed is Limited īŽ Maximum speed is related to bandwidth (Shannon’s Law) īŽ Maximum speed for phone lines for transmission is a little over 30 kbps īŽ So modems can’t get much faster
  • 23. 23 Another Look at Compression īŽ With 4:1 Compression, a V.34 Modem Can Receive Data at 115.2 kbps from the PC īŽ However the ~30 kbps limit of the phone system is not exceeded. Still transmit at 33.6 kbps. 115.2 kbps 33.6 kbps ~35 kbps Maximum Compression in Modem
  • 24. 24 56 kbps Analog Modems īŽ From home, you transmit īŽ Analog-to-Digital Converter (ADC) īŽ Filters your signal to a bandwidth of ~3.1 kHz īŽ This limits you to 33.6 kbps Telephone Network ADC PC V.34 modem 33.6 kbps
  • 25. 25 56 kbps Analog Modems īŽ But ISP Can Connect Digitally īŽ Signal travels through phone system at 56 kbps īŽ At user end, digital-to-analog converter (DAC) īŽ Sends signal to analog modem at wide bandwidth īŽ Modem can receive at 56 kbps Telephone Network DAC PC 56 kbps modem ISP Digital Link 56 kbps
  • 26. 26 56 kbps Modems īŽ What they can do īŽ Send at 33.6 kbps (V.92 with PCM upstream can go up to 48 kbps) īŽ Receive at 56 kbps (V92 with V.44 compression can go up to 120 kbps) īŽ Problems īŽ past: competing standards from Rockwell, U.S. Robotics (V.90 ended them) īŽ present: ISPs must support V.92 (all support V.90) īŽ Users and ISPs īŽ Users V.90 analog modem or V.92 īŽ ISPs V.90 digital modem or V.92
  • 27. 27 56 Kbps Modems īŽ Telephone company īŽ No changes needed, although ... īŽ Many not have an internal ADC conversion between ISP and customer (some do) īŽ May not have long transmission line from last switch to the customer premises (local loop) īŽ Not all phone lines to customer premises will support 56 kbps modems īŽ Even when they do, speeds may only be 40-50 kbps
  • 28. 28 Half-Duplex Transmission īŽ Sender and receiver must take turns sending īŽ Like an old one-lane road īŽ No interruption for error handling or flow control A B A B Time 1 Only one side May communicate A does Time 2 Only one side May communicate B does
  • 29. 29 Full-Duplex Transmission īŽ Both Sides May Transmit Simultaneously īŽ Needed for error correction, flow control īŽ Now almost universal in modem communication A B A B Time 1 Both sides may communicate Both do Time 2 Both sides may communicate A does
  • 30. 30 Asynchronous Transmission īŽ ASCII Character Set īŽ 7-bit is the standard īŽ 8-bit extended ASCII is popular īŽ Bits transmitted backward īŽ Parity for Error Detection īŽ Only for 7-bit ASCII īŽ Start/Stop Bits for Framing īŽ Each frame is exactly 10 bits long
  • 31. 31 Asynchronous Transmission īŽ ASCII Character Set īŽ Created for sending printed American text īŽ Each character is a 7-bit code (e.g., 1010101) īŽ This allows 2^7 or 128 possible characters īŽ Printing characters: A, a, !, <, %, etc. īŽ Control codes: XOFF tells other side to pause
  • 32. 32 Asynchronous Transmission īŽ 8-bit ASCII īŽ Used in PCs: 8 bits per character (10101010) īŽ Used for word processing format codes īŽ Used in graphics that stores data in bytes
  • 33. 33 PC Serial Port īŽ Bit Transmission of ASCII Characters īŽ Transmits last bit first īŽ If you wish to send 1111000, īŽ The serial port transmits 0001111
  • 34. 34 Parity īŽ For 7-bit ASCII Only (No Parity = 8-bit ASCII) īŽ Transmit an 8th bit per character īŽ Even parity: sum of data and parity bits is even īŽ To send 1110000 (odd), send 00001111 īŽ To send 1111000 (even), send 00011110 īŽ Odd parity: sum is odd īŽ If error is detected, the character is simply discarded. No way to ask for retransmission
  • 35. 35 Start and Stop Bits īŽ When the Data Line is at Rest īŽ It is kept in the “1” state īŽ So “11110000” would look like 111111100001111 īŽ “00001111” would also look like 11111100001111 īŽ How can you tell where a character begins? īŽ Solution īŽ Add a start bit (always 0) to change the line state īŽ End with a stop bit (always 1) to guarantee at least a one-bit rest (1) against which to detect the next start bit (0)
  • 36. 36 The Final Asynchronous Frame īŽ Always 10 bits īŽ Start, 7 data bits, parity, stop, or īŽ Start, 8 data bits, stop 0 1 1 1 0 0 0 1 1 1 Start Parity Stop 7-bit ASCII Character 0 1 1 1 0 0 0 1 1 1 Start Stop 8-bit ASCII Character
  • 37. 37 Flow Control īŽ Ask the Other Device to Pause (or Slow Down) īŽ ASCII īŽ In asynch, usually done by sending ASCII control codes īŽ XOFF tells other side to pause īŽ XON tells the other device to resume īŽ Serial Port īŽ Signals on the pins control when PC, modem can transmit
  • 38. 38 3-38 Signal and Propagation A signal is a disturbance in the media that propagates (travels) down the transmission medium to the receiver If propagation effects are too large, the receiver will not be able to read the received signal
  • 39. 39 3-39 Binary-Encoded Data īŽ Computers store and process data in binary representations īŽ Binary means “two” īŽ There are only ones and zeros īŽ Called bits 1101010110001110101100111
  • 40. 40 3-40 Binary-Encoded Data īŽ Non-Binary Data Must Be Encoded into Binary īŽ Text īŽ Integers (whole numbers) īŽ Decimal numbers īŽ Alternatives (North, South, East, or West, etc.) īŽ Graphics īŽ Human voice īŽ etc. Hello 11011001â€Ļ
  • 41. 41 Layering Perspective īŽ Where is binary data encoding done? īŽ It is done at the application layer, not at the physical layer. īŽ Where is signaling done īŽ It is done at the physical layer 3-41
  • 43. 43 3-43 On/Off Signaling On/off signaling is used in optical fiber The light is turned on during a clock cycle for a 1 The light is turned off during a clock cycle for a 0 There are two signaling states—on and off This is called binary signaling This is a simple type of signaling
  • 44. 44 3-44 Binary Voltage Signaling in 232 Serial Ports The high state (0) is anything from +3 to +15 volts The low state (1) is anything from -3 to -15 volts 1
  • 45. 45 3-45 Relative Immunity to Errors in Binary Signaling Binary signaling gives some immunity to errors. This is one of its major attractions.
  • 47. 47 3-47 Unshielded Twisted Pair (UTP) Wiring īŽ UTP Characteristics īŽ Inexpensive and to purchase and install īŽ Dominates media for access links between computers and the nearest switch
  • 48. 48 3-48 Unshielded Twisted Pair (UTP) Wiring īŽ Standards īŽ The TIA/EIA-568 standard governs UTP wiring in the United States īŽ In Europe, the comparable standard is ISO/IEC 11801
  • 49. 49 3-49 4-Pair UTP Cord with RJ45 Connector 3. 8-pin RJ-45 Connector 2. 8 Wires organized as 4 twisted pairs Industry standard pen 1. UTP cord UTP cord
  • 50. 50 3-50 Unshielded Twisted Pair (UTP) Wiring īŽ Cord Organization īŽ A length of UTP wiring is a cord īŽ Each cord has eight copper wires īŽ Each wire is covered with dielectric (nonconducting) insulation īŽ The wires are organized as four pairs īŽ Each pair’s two wires are twisted around each other several times per inch īŽ There is an outer plastic jacket that encloses the four pairs
  • 51. 51 3-51 Unshielded Twisted Pair (UTP) Wiring īŽ Connector īŽ RJ-45 connector is the standard connector īŽ Plugs into an RJ-45 jack in a NIC, switch, or wall jack RJ-45 Jack RJ-45 Jack 8-pin RJ-45 connectors
  • 52. 52 3-52 Attenuation and Noise Power Distance 3. Noise Floor (Average Noise level) 2. Noise 4. Noise Spike 1. Signal 2. Signal- to-Noise Ratio (SNR) 5. Error 1. The signal attenuates (falls in power) as it propagates 2. There is noise (random energy) in the wire that adds to the signal 3. The average noise level is called the noise floor 4. Noise is random. Occasionally, there will be large noise spikes 5. Noise spikes as large as the signal cause errors 6. You want to keep the signal-to-noise ratio high
  • 53. 53 3-53 Limiting UTP Cord Length īŽ Limit UTP cord length to 100 meters īŽ This keeps the signal-to-noise ration (SNR) high īŽ This makes attenuation and noise problems negligible īŽ Note that limiting cord lengths limits BOTH noise and attenuation problems 100 Meters Maximum Cord Length
  • 54. 54 3-54 UTP Wiring īŽ Electromagnetic Interference (EMI) īŽ Electromagnetic interference is electromagnetic energy from outside sources that adds to the signal īŽ From fluorescent lights, electrical motors, microwave ovens, etc. īŽ The problem is that UTP cords are like long radio antennas īŽ They pick up EMI energy nicely īŽ When they carry signals, they also send EMI energy out from themselves
  • 55. 55 3-55 Electromagnetic Interference (EMI) and Twisting Interference on the Two Halves of a Twist Cancels Out Twisted Wire Electromagnetic Interference (EMI) UTP is twisted specifically to reduce EMI
  • 56. 56 3-56 Crosstalk Interference and Terminal Crosstalk Interference Untwisted at Ends Signal Terminal Crosstalk Interference Crosstalk Interference Terminal crosstalk interference normally is the biggest EMI problem for UTP
  • 57. 57 3-57 Interference Hierarchy īŽ EMI is any interference īŽ Signals in adjacent pairs interfere with one another (crosstalk interference). This is a specific type of EMI īŽ Crosstalk interference is worst at the ends, where the wires are untwisted. This is terminal crosstalk interference—a specific type of crosstalk EMI EMI Crosstalk Interference Terminal Crosstalk Interference
  • 58. 58 3-58 Terminal Crosstalk Interference īŽ Terminal crosstalk interference dominates interference in UTP īŽ Terminal crosstalk interference is limited to an acceptable level by not untwisting wires more than a half inch (1.25 cm) at each end of the cord to fit into the RJ-45 connector īŽ This reduces terminal crosstalk interference to a negligible level. 1.25 cm or 0.5 inches
  • 59. 59 Shielded Twisted Pair Wiring (STP) īŽ We have been talking about unshielded twisted pair wiring. īŽ Is there a shielded twisted pair wiring? īŽ Yes. It has a metal mesh shield around each pair to reduce cross-talk interference īŽ It also has a metal mesh shield around the four pairs to reduce external EMI īŽ It is no longer used extensively because UTP, which is much less expensive, was found to be good enough for normal environments īŽ However, we will see that Cat 7 wiring uses STP 3-59
  • 60. 60 3-60 UTP Limitations īŽ Limit cords to 100 meters īŽ Limits BOTH noise AND attenuation problems to an acceptable level īŽ Do not untwist wires more than 1.25 cm (a half inch) when placing them in RJ-45 connectors īŽ Limits terminal crosstalk interference to an acceptable level īŽ Neither completely eliminates the problems but they usually reduce the problems to negligible levels 2
  • 61. 61 3-61 3-18: Serial Versus Parallel Transmission
  • 62. 62 Optical Fiber Transmission Light through Glass Spans Longer Distances than UTP
  • 63. 63 3-63 Optical Fiber Transceiver and Strand An optical fiber strand has a thin glass core This core is 8.3, 50, or 62.5 microns in diameter This glass core is surrounded by a tubular glass cladding The outer diameter of the cladding is 125 microns, regardless of the core’s diameter The transceiver injects laser light into the core
  • 64. 64 3-64 Optical Fiber Transceiver and Strand When a light wave ray hits the core/cladding boundary, there is perfect internal reflection. There is no signal loss
  • 65. 65 3-65 Roles of UTP and Optical Fiber in LANs
  • 66. 66 3-66 Two-Strand Full-Duplex Optical Fiber Cord with SC and ST Connectors A fiber cord has two-fiber strands for full-duplex (two-way) transmission SC Connectors ST Connectors Two Strands Cord
  • 67. 67 3-67 Full-Duplex Optical Fiber Cord with SC and ST Connectors SC Connector (push and click) ST Connector (bayonet connectors: push and click) In contrast to UTP, which always uses RJ-45 connectors, there are several optical fiber connector types SC and ST are the most popular
  • 68. 68 3-68 Optical Fiber Strand In optical fiber transmission, light is expressed in nanometers. The transceiver transmits at 850 nm, 1,310 nm, or 1,550 nm Shorter-wavelength (850 nm) transceivers are less expensive Longer-wavelength (1,310 or 1,550 nm) light travels farther for a given speed For LAN fiber, 850 nm provides sufficient distance and dominates
  • 69. 69 3-69 Multimode Fiber and Single-Mode Fiber Multimode fiber has a thick core (50 or 62.5 microns in diameter) Light can only enter the core at certain angles, called modes Modes traveling straight through arrive faster than modes that bounce against the cladding several times
  • 71. 71 3-71 Radio Propagation Radio signals also propagate as waves. As noted earlier, radio waves are measured in hertz (Hz), which is a measure of frequency. Radio usually operates in the MHz and GHz range.
  • 73. 73 3-73 Wireless Propagation Problems UTP and optical fiber propagation are fairly predictable. However, radio suffers from many propagation effects. This makes radio transmission difficult to manage.
  • 74. 74 Topology Network topology is the physical arrangement of a network’s computers, switches, routers, and transmission lines It is a physical layer concept: īŦ Point-to-point īŦ Star īŦ Bus īŦ Ring