Download presentation
Presentation is loading. Please wait.
Published byAdela Fletcher Modified over 9 years ago
1
Modems and Beyond Chapter 5 Copyright 2001 Prentice Hall Revision 2: July 2001
2
2 Modems n Problem – Computer is digital – Telephone line is analog – Need translation device called a modem Digital Signal Modem Analog Signal
3
3 Modems n Note: – Device is digital;Transmission line is analog – Cannot just say “modem translates between analog and digital” (For analog device and digital transmission line, need something else) Digital Device Analog Transmission Line
4
4 Modulation n A Modem is a Modulator and Demodulator – Modulation is converting outgoing digital device signals into analog transmission line signals – Demodulation is converting incoming analog transmission line signals into digital device signals Digital Signal Modem Analog Signal
5
5 Modulation n Example: Frequency Modulation – 1 is a high-frequency vibration – 0 is a low-frequency vibration 1 0 1 1
6
6 Modem Forms n Internal Modem – On printed circuit board inside PC – Does not take up desktop space – Can be complex to install--must open up computer
7
7 Modem Forms n External Modem – Easy to install (just plug into serial port) – Takes up desk space – Needs wire to serial port (adds to wiring clutter) – Needs electrical power
8
8 Modem Forms n PC Card Modems – Fit in PC Card slots on notebooks – Easy to install – Do not take up desktop space – Expensive – Few desktop PCs have PC Card slots
9
9 Modem Connection for Internal Modem Phone Line to Telephone Phone Line to Wall Jack
10
10 Modem Connection for External Modem Phone Line to Telephone Wall Power: usually uses “brick” transformer Serial Cable to Serial Port Phone Line to Wall Jack
11
11 Modem Standards n Two Modems Must Follow Same Standards – Speed standards (modulation method) – Error correction and compression standards – Facsimile standards – Modern modem standards are created by the ITU-T
12
12 Modem Standards n Training Period – When two modems first start talking, they negotiate standards to use; settle on highest common standards
13
13 Modem Speed Standards (ITU-T) n V.90 – Receive at 56 kbps but send at only 33.6 kbps – Not all phone lines, ISPs support 56 kbps – Fall back to 33.6 kbps if cannot support n V.34 – 33.6 kbps send and receive n V.32 bis – 14.4 kbps send and receive – bis means second (version of the standard)
14
14 Modem Standards: Error Correction and Compression n ITU-T – V.42: Error detection and correction – V.42 bis: Compression (up to 4:1) – Most newer modems have both n MNP Level 5 – Proprietary standard of Microcom – Once widely used – Provides both error correction and compression – Now largely superceded by V.42 and V.42 bis Not in Book
15
15 New Modem Standards n V.92 – Can transmit faster than 33.6 kbps but only if the line has unusually high top frequency cutoff – If transmits faster, reception speed falls below 56 kbps – Modem on hold: can talk a short time without breaking the connection – Cuts call setup time in half n V.44 – Can compress webpages better, cutting download time in half. New
16
16 Modem Standards n Facsimile Modem Standards – Most modems also act as fax modems – Facsimile requires different modulation than data transmission – V.14: 14.4 kbps – V.29: 9.6 kbps – Yes: Facsimile is slow!
17
17 V.90 Modems n Telephone Bandwidth is Limited (Chapter 4) – Bandwidth limits speed – Limits speed to about 35 kbps – When you transmit, limited to 35 kbps 35 kbps
18
18 V.90 Modems n Upload (Sending) Speed is Limited – Analog-to-digital converter (ADC) at the telephone company filters your incoming signal – Limits you to about 35 kbps Telephone Network Telephone Network ADC PC V.34 modem 33.6 kbps
19
19 V.90 Modems n However, Receive at 56 kbps – ISP connects with digital line to the Telco – Sends at 56 kbps – No analog-to-digital converter to filter and so limit speed Telephone Network Telephone Network DAC PC 56 kbps modem ISP Digital Link No ADC! 56 kbps
20
20 V.90 Modems n Receive at 56 kbps – 56 kbps digital channels inside phone network – Only local loop is analog today – Trunk lines and switches support 56 kbps transmission Telephone Network Telephone Network DAC PC 56 kbps modem ISP Digital Switches and Trunk Lines 56 kbps
21
21 V.90 Modems n Receive at 56 kbps – Telephone company transmits in analog to subscriber at 56 kbps – Digital to analog converter (DAC) does not limit speed to less than 56 kbps. No filtering. Telephone Network Telephone Network DAC PC 56 kbps modem ISP Digital Link 56 kbps
22
22 V.90 Modem n Telephone Company Does Not Have to Do Anything Differently – ADCs and DACs are already in place for ordinary voice service – Lack of change in phone system allowed fast implementation Telephone Network Telephone Network ADC PC 56 kbps modem ISP Digital Link DAC
23
23 V.90 Modem n ISP Does Have to Do Things Differently – Digital line to telephone network – Special equipment at ISP – Does not use a V.90 modem – If used V.90 modem, could only send at 33.6 kbps Telephone Network Telephone Network DAC PC 56 kbps modem ISP Digital Link No V.90 Modem!
24
24 V.90 Modem n User Needs a V.90 Modem – Does not need a new phone line – Not all phone lines will work, but it is never worth the cost to install a new line for V.90 modems – Same for V.92 modems New
25
25 Alternatives to Ordinary Phone Lines & Modems n Faster Speeds; Called Broadband Services n Also Higher Cost – Translation devices more expensive than modems – Faster (more expensive) transmission line to ISP – ISP may charge more because of heavier transmission load – Faster interface than 232 serial port may be needed
26
26 Transmission Line Versus ISP n Transmission line may be provided by a transmission carrier, not the ISP n Users have to pay separate fees to carrier and ISP n Some ISPs also provide transmission line – But not all do – Transmission line costs must always be considered PC ISP Transmission Line
27
27 Translator Devices n Device versus Line Analog LineDigital Line Analog Device Codec Digital Device ModemDSU Translator Transmission Line Device
28
ISDN Integrated Services Digital Network Codecs DSUs
29
29 ISDN n Get ISDN line from telephone company – Multiplexes (mixes) three channels on one UTP wire pair to the desktop 1101 B Channel B Channel 2B+D Multiplexed Onto One Set of Wires ISDN Modem D Channel: control signals
30
30 ISDN n Two B Channels are 64 kbps – Original idea: one for voice, one for data 1101 B Channel B Channel
31
31 ISDN n Can now “bond” the two B channels for 128 kbps data if ISP supports it n D Channel is 16 kbps (for supervisory signaling) Telephone Network Telephone Network ISP ISDN Modem ISDN Modem 128 kbps B B Bonding
32
32 ISDN Costs n Must install an ISDN line – Will cost more than telephone line n Actually, could use your existing phone line – But then would need one B channel for telephony
33
33 ISDN Costs n Line is expensive – $60-$80/mo plus installation fee – ISP charge is separate; may charge more for ISDN access n Dial Up: Not always connected – Do not have to pay for full-time use – Good if usage is small per day, say to upload sales data from retail once per night – Good for backup to always-on services n Need “ISDN modem” (expensive) New
34
34 ISDN Modem n ISDN “Modem” is a Misnomer – Modem is for for digital device, analog line – ISDN line is digital n ISDN modem really contains – Codec to link analog telephone to digital ISDN line – Data service unit (DSU) to translate between PC digital format and ISDN digital format (voltage levels, timing, etc.)
35
35 ISDN Modem n Codec – Translates analog device signal into digital signal for propagation – Constantly samples the intensity of the voice analog signal Sample 1/8,000 sec 0110010
36
36 ISDN Modem n Codec – Divides each second into 8,000 sampling periods – Only measures intensity of voice signal in each Sample 1/8,000 sec Sampling Period Intensity Value 0110010
37
37 ISDN Modem n Codec – Measures voice intensity as an 8-bit intensity value (0-255) – Overall, sends 8 bits 8,000 times per second (64 kbps) Sample 1/8,000 sec Sampling Period Intensity Value 0110010
38
38 ISDN Modem n Codec – This is why telephone channels are 64 kbps n Designed for digitized voice n Often steal 8 kbps for supervisory signaling, so 56 kbps Sample 1/8,000 sec Sampling Period Intensity Value 0110010
39
39 DSU (Data Service Unit) n DSU translates between different digital formats – Device and line are both digital, but still must have translator n Different bit rates n Different number of possible states n Different voltage levels for the states n Different ways to represent ones and zeros DSU Digital Line
40
Cable Modem Service Broadband Internet Access
41
41 Cable Modem Service n Service of Cable Television Companies – Deliver up to 10 Mbps downstream to the home – Even this capacity is shared by multiple subscribers, so real download speed is more limited – Usually, only about 300 to 500 kbps real throughput Cable TV Network Cable TV Network Also ISP Functions Also ISP Functions Cable Modem Cable Modem Not in Book
42
42 Cable Modem Sharing in Perspective n Sharing is Not as Extreme as it May First Appear – Usually, shared within Blocks of 500 Houses – Only Some Households in Block will Subscribe – Only Some Subscribers will be Online at Any Moment – Only Some of Online Subscribers will Send and Receive at Any Moment – Only these will Share the Capacity n So Sharing Does Not Reduce Speed Unless the Adoption Rate is Large
43
43 Cable Modem Service n Service of Cable Television Companies – Limited to about 64 kbps to 256 kbps upstream – Does not tie up telephone line – Always available Cable TV Network Cable TV Network Also ISP Functions Also ISP Functions Cable Modem Cable Modem
44
44 Cable Modem Service n Cost is about $50 per Month – Includes ISP service! – Installation usually costs $100 to $150 and includes a cable modem and a network interface card – Cost-competitive with adding a second phone line to handle your modem communication
45
DSLs Digital Subscriber Lines
46
46 Digital Subscriber Lines (DSLs) n Offered by Telephone Companies – Lines to customer premises are subscriber lines, which connect subscribers to the telephone system – These are digital – Hence “digital subscriber line” Telephone Network Telephone Network ISP DSL Modem DSL Modem DSL
47
47 Digital Subscriber Lines (DSLs) n Offered by Telephone Companies – Several types of digital lines for subscribers n Some are for homes, others for businesses – For residential customers, usually multiplexes regular phone, high-speed data n Can use existing phone line coming into house n Can use Internet without tying up phone Telephone Network Telephone Network ISP DSL Modem DSL Modem Existing Phone Line
48
48 Digital Subscriber Lines n Most common for home is Asymmetric DSL (ADSL) – Upstream and downstream speeds are different – Upstream at 64 kbps or more – Downstream at 256 kbps to a few Mbps – Asymmetric speed is good for WWW – About $50 per month incl. ISP; more for faster service Telephone Network Telephone Network ISP DSL Modem DSL Modem ADSL 64 or more kbps 256 kbps-a few Mbps
49
49 Digital Subscriber Lines n G.Lite (G.992.2) Standard – New ADSL standard from ITU-T – Up to 1.5 Mbps downstream speed – No carrier installation is necessary – Not being widely adopted by ADSL vendors yet Telephone Network Telephone Network ISP DSL Modem DSL Modem ADSL 64 or more kbps Up to 1.5 Mbps New
50
50 Digital Subscriber Lines n Digital Subscriber Line Access Multiplexer – Telco must install a DSLAM at end switching office to serve DSL users Telephone Network Telephone Network ISP DSLAM DSL
51
51 Digital Subscriber Lines n Splitting Voice and Data – Voice and data are split at home by the DSL modem – Voice and data are also split at the telephone company’s first switching office DSL Modem DSLAM DSL Data Network Voice Network Computer Phone New
52
52 DSLs Versus Cable Modem Service n Both Expected to Sell Well n Forecast for Worldwide Installations in 2004 – Cable modem lines: 9 million – DSLs: 10 million – Source: Insight Research n Cable is Available Mostly in Residential Areas n Cable is only widespread in some countries, especially the United States
53
53 Broadband Access Lines in Perspective n Limited to Transmission Between Customer Premises and the ISP – ISP Speed can Limit Service Speed – Internet Backbone Speed can Limit Service Speed – Server Host Access Line Speed can Limit Service Speed – Server Host Processing Speed can Limit Service Speed n Broadband Access Lines are Not Panaceas
54
54 Wireless Internet Access n Reach the Internet by Radio – Terrestrial (uses earth stations) – Satellite-based ISP
55
55 GEO Satellites n In geosynchronous orbit – Appear to be stationary in the sky n Far from the ground – 36,000 km (22,300 miles) – Need much power to send/receive – Need dish antennas to concentrate signals – Must point dish at the satellite – Impractical for portable computers
56
56 VSATs n Very Small Aperture Terminals (VSATs) – Small dishes (1 meter in diameter or less) – Do not concentrate signal as well as large dishes, so inefficient – Do not focus as precisely as large dishes, so satellites cannot be spaced closely together – However, inexpensive – Used when there must be many ground stations
57
57 LEO Satellites n Low Earth Orbit (LEO) Satellites – Below First Van Allen Radiation band, which peaks at 3,000 km (1,800 miles) – A typical orbit is 1,000 km or 600 miles Omnidirectional Antenna New: Not in Book
58
58 LEO Satellites n Low Earth Orbit (LEO) Satellites – Need far less power to reach than 36,000 km (22,300 mile) geosynchronous satellites – So can get by with omnidirectional antenna – Can use phone of reasonable size, cost – Access anywhere is the world, although local laws may limit legality Omnidirectional Antenna
59
59 MEO Satellites n Medium Earth Orbit (MEO) Satellites – Between First and Second Van Allen Radiation Band, which peaks at 15,000 km (about 9,000 miles) – Typical distance is 6,000 km or 4,000 miles – Farther away than LEOs, so need more power – But travel more slowly across sky, so fewer hand-offs, fewer satellites needed New
60
60 Ports n Need port fast enough for line n 232 Serial port to 115.2 kbps: only V.34, V.90 or ISDN n USB (universal serial bus) – 12 Mbps – Available on all new PCs – Fast enough for DSLs, cable modems – Faster version coming (USB-2, ~480 Mbps)
61
61 Ports n Firewire (IEEE 1394) – 400 Mbps and faster – Not available on most new PCs – Fast enough for DSLs, cable modems n Ethernet NIC (10 Mbps) – Network interface card used in PC networks – Printed circuit board – Must be installed inside PC systems unit – Fast enough for DSLs, cable modems
62
62 Small Office Service n Serial Router Connects Internal Stations to Shared Broadband Access Service Small Office Serial Router Shared Broadband Line ISP
63
63 Small Office Service n Serial Routers (Also Called Access Routers) are Very Simple – One or more ports to connect the serial port to the LAN – One port to connect to the high-speed access line, which is serial – Much less expensive than general-purpose routers because no complex router forwarding decision caused by multiple possible output ports Serial Router New
64
64 Small Office Service n Serial Router Connects Internal Stations to Shared Broadband Access Service – Companies with several stations pay much more for line than when connecting a single PC – Each machine gets its own IP address via DHCP – Serial router may be a user PC with added software – Often, router is called a gateway (the old name for router)
65
65 Connecting Two PCs at Home to the Internet n Physically, One PC (the Gateway PC) Connects to the Hub or Switch and to the Broadband Line – Gateway (router) PC needs two Network Interface Cards, one for hub, one for broadband modem Gateway PC Broadband Line to ISP ADSL/Cable Modem Hub or Switch NIC
66
66 Connecting Two PCs at Home to the Internet n Gateway PC Needs Gateway Software – On NIC to broadband line, acts like a single station – Gets temporary IP address from ISP DHCP – Sends and receives to ISP using this IP address Gateway PC Send, Receive with Temporary IP Address
67
67 Connecting Two PCs at Home to the Internet n Gateway PC Needs Gateway Software – Each PC is set up with a permanent IP address – So gateway PC has two addresses, one bound to each NIC Gateway Program Temporary IP Address Permanent IP Address Permanent IP Address
68
68 Connecting Two PCs at Home to the Internet n Gateway Software Does Network Address Translation (NAT) – When a PC sends using permanent IP address – Gateway software replaces source IP permanent address with temporary IP address ISP expects Gateway PC Temporary IP Address Permanent IP Address Permanent IP Address
69
69 Connecting Two PCs at Home to the Internet n Gateway Software Does Network Address Translation (NAT) – When a PC receives – Gateway software replaces ISP temporary IP destination address with receiver’s permanent IP address, passes on to PC Gateway PC Temporary IP Address Permanent IP Address Permanent IP Address
70
70 Connecting Two PCs at Home to the Internet n Newer Approach – Access router connects to broadband modem – Has built in hub or switch to connect stations Broadband Modem Access Router With Hub or Switch UTP New
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.