Presentation is loading. Please wait.

Presentation is loading. Please wait.

Point-to-Point Communication. 2 Terminal-Host Communication n Components n Terminal n Host (locus of processing) n Transmission line (here, phone line.

Similar presentations


Presentation on theme: "Point-to-Point Communication. 2 Terminal-Host Communication n Components n Terminal n Host (locus of processing) n Transmission line (here, phone line."— Presentation transcript:

1 Point-to-Point Communication

2 2 Terminal-Host Communication n Components n Terminal n Host (locus of processing) n Transmission line (here, phone line and modem) n Telephone line acts as a point-to-point link Phone Line Modem Terminal Host

3 3 Terminal Emulation n People Already Have PCs n Host operating systems only work with terminals n Do not want to buy a terminal as well n PCs can emulate (act like) terminals n Only requires software (a communication program) n Turns an expensive PC into a cheap terminal

4 4 VT100 Terminals n VT100 Emulation Only Needs Software n Communications program n Terminal emulation software n Most Hosts Support VT100 Terminals n Lowest Common Denominator n Slow: maximum speed of 19 kbps, usually slower n Uses inefficient asynchronous ASCII transmission, discussed later n No graphics or even multiple fonts: plain text only n No color

5 5 Terminal Emulation Software n File Transfer n Transfer whole files with error correction n Upload: from PC to host n Download: from host to PC n Terminal emulation program and host file transfer program must support the same file transfer protocol standard n Kermit n XMODEM, YMODEM n 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 n Digital Transmission n Can have multiple voltage levels, say 4 n Change to one at start of each bit cycle n If 4, changes can represent 2 bits each: n 00, 01, 10, 11 00 11 01 10 Voltage Level Time

8 8 Baud Rate and Bit Rate n Baud Rate n Number of times line changes per second n Let baud rate be 4 (4 changes per second) n Let bits per line change be 2 n Bit rate = 8 bits per second n Bit rate = x2 Baud rate in this example 00 11 01 10 One Second

9 9 Wave Characteristics n Amplitude (power) n Frequency (cycles per second, Hertz) n Wavelength (meters) Amplitude (power) Wavelength (meters) Frequency (Hz) One Second

10 10 Wave Characteristics n Phase n Fully cycle is 360 degrees n Phase is degrees different from reference wave n Human ears cannot hear. Equipment can Reference Wave 180 degrees out of phase 0o0o 180 o 0 o 90 o 180 o 270 o 0 and rising Highest 0 and falling Lowest

11 11 Wave Characteristics n Amplitude n Frequency and Wavelength n Not independent n As frequency rises, wavelength falls (Shorter guitar strings produce higher notes) n Their product is constant--the speed of light, sound, etc. n Phase

12 12 Frequency Modulation Low Frequency (0) High Frequency (1) Frequency Modulation (1011) Wavelength 1 0 1 1 Vary the frequency (wavelength) to represent 1 and 0

13 13 Amplitude Modulation Low Amplitude (0) High Amplitude (1) Amplitude Modulation (1011) Amplitude (low) Amplitude (high)

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 n Modems at Two Ends Must Communicate n Must follow same standards n Most modem standards set by ITU-T n Multiple category of standards: n Modem speed (modulation) n Error correction and compression n Facsimile n Etc. n n When buying a modem, must check for standard(s) followed in each category

17 17 Modem Speed Standards n Set by the ITU-T n Govern how modulation is done n Standards for speed governs modulation for data transmission n V.92 56.6 kbps plus quick connect, modem on hold, PCM upstream V.92 n V.90 56.6 kbps V.90 V.90 n V.3428.8 kbps/33.6 kbps n V.32 bis14.4 kbps

18 18 Modem Speed Standards n Most data modems are also fax modems n V.1414.4 kbps n V.299,600 bps

19 19 Error Correction and Compression n ITU-T Standards n n V.42Error detection and correction n n V.42 bisData compression (up to 4:1) n n V.44Data compression (20 to 120% more than V.42 bis) V.44 n Independent of speed standards (but V.44 only with V.92) n Microcom Standards n Microcom Network Protocol (MNP) n Both error correction and compression n Several levels n Independent of speed standards

20 20 Modem Intelligence n Computer Can Send Commands to Modem n Dial a number, including how long to wait, etc. n Called intelligent modems n Hayes Developed the first Command Set n Most modems follow the same command set n We call them “Hayes compatible” n Commands start with “AT” n Other Standards for Fax Modems n Class 1 and Class 2: extensions to Hayes

21 21 Telephone Bandwidth is Limited n Telephone Transmission n Cuts off sounds below 300 Hertz n Cuts off sounds above about 3,400 Hz n Bandwidth is the difference between the highest and lowest frequencies (3400-300): about 3,100 Hz Sound Loudness Frequency (Hz) 0300340020,000 Bandwidth 3,100 Hz

22 22 Telephone Bandwidth is Limited n Speed is Limited n Maximum speed is related to bandwidth (Shannon’s Law) n Maximum speed for phone lines for transmission is a little over 30 kbps n So modems can’t get much faster

23 23 Another Look at Compression n With 4:1 Compression, a V.34 Modem Can Receive Data at 115.2 kbps from the PC n 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 n From home, you transmit n Analog-to-Digital Converter (ADC) n Filters your signal to a bandwidth of ~3.1 kHz n This limits you to 33.6 kbps Telephone Network Telephone Network ADC PC V.34 modem 33.6 kbps

25 25 56 kbps Analog Modems n But ISP Can Connect Digitally n Signal travels through phone system at 56 kbps n At user end, digital-to-analog converter (DAC) n Sends signal to analog modem at wide bandwidth n Modem can receive at 56 kbps Telephone Network Telephone Network DAC PC 56 kbps modem ISP Digital Link 56 kbps

26 26 56 kbps Modems n What they can do n Send at 33.6 kbps (V.92 with PCM upstream can go up to 48 kbps) n Receive at 56 kbps (V92 with V.44 compression can go up to 120 kbps) n Problems n past: competing standards from Rockwell, U.S. Robotics (V.90 ended them) n present: ISPs must support V.92 (all support V.90) support V.92support V.92 n Users and ISPs n Users V.90 analog modem or V.92 n ISPs V.90 digital modem or V.92

27 27 56 Kbps Modems n Telephone company n No changes needed, although... n Many not have an internal ADC conversion between ISP and customer (some do) n May not have long transmission line from last switch to the customer premises (local loop) n Not all phone lines to customer premises will support 56 kbps modems n Even when they do, speeds may only be 40-50 kbps

28 28 Half-Duplex Transmission n Sender and receiver must take turns sending n Like an old one-lane road n No interruption for error handling or flow control ABAB Time 1 Only one side May communicate A does Time 2 Only one side May communicate B does

29 29 Full-Duplex Transmission n Both Sides May Transmit Simultaneously n Needed for error correction, flow control n Now almost universal in modem communication ABAB Time 1 Both sides may communicate Both do Time 2 Both sides may communicate A does

30 30 Asynchronous Transmission n ASCII Character Set n 7-bit is the standard n 8-bit extended ASCII is popular n Bits transmitted backward n Parity for Error Detection n Only for 7-bit ASCII n Start/Stop Bits for Framing n Each frame is exactly 10 bits long

31 31 Asynchronous Transmission n ASCII Character Set n Created for sending printed American text n Each character is a 7-bit code (e.g., 1010101) n This allows 2^7 or 128 possible characters n Printing characters: A, a, !, <, %, etc. n Control codes: XOFF tells other side to pause

32 32 Asynchronous Transmission n 8-bit ASCII n Used in PCs: 8 bits per character (10101010) n Used for word processing format codes n Used in graphics that stores data in bytes

33 33 PC Serial Port n Bit Transmission of ASCII Characters n Transmits last bit first n If you wish to send 1111000, n The serial port transmits 0001111

34 34 Parity n For 7-bit ASCII Only (No Parity = 8-bit ASCII) n Transmit an 8th bit per character n Even parity: sum of data and parity bits is even n To send 1110000 (odd), send 00001111 n To send 1111000 (even), send 00011110 n Odd parity: sum is odd n If error is detected, the character is simply discarded. No way to ask for retransmission

35 35 Start and Stop Bits n When the Data Line is at Rest n It is kept in the “1” state n So “11110000” would look like 111111100001111 n “00001111” would also look like 11111100001111 n How can you tell where a character begins? n Solution n Add a start bit (always 0) to change the line state n 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 n Always 10 bits n Start, 7 data bits, parity, stop, or n Start, 8 data bits, stop 0 1 1 1 0 0 0 1 1 1 StartParity Stop7-bit ASCII Character 0 1 1 1 0 0 0 1 1 1 Start Stop 8-bit ASCII Character

37 37 Flow Control n Ask the Other Device to Pause (or Slow Down) n ASCII n In asynch, usually done by sending ASCII control codes n XOFF tells other side to pause n XON tells the other device to resume n Serial Port n Signals on the pins control when PC, modem can transmit

38 38 ISDN n Integrated Serviced Digital Network n Planned as eventual replacement for the worldwide analog telephone network n All-digital, but expensive and difficult to install n Integrated services n Automatic number identification n Call waiting n Now available only locally (business and limited) n will ISDN standardize worldwide? - NO!!!

39 39 Basic Rate Interface (BRI) n Service Brought to User’s Desk n 3 Channels multiplexed onto one set of wires n Really, bidirectional, so 6 channels! 1101 B Channel B Channel 2B+D Multiplexed Onto One Set of Wires Terminal Adapter D Channel: control signals

40 40 ISDN BRI n B Channels n 2 B-channels multiplexed to desktop n 64 kbps each n Simultaneous voice and data connections n Sometimes, a single 128-kbps connection n Moderately faster than modems and comparable increase in cost n D Channel n one 16 kbps channel, usually for control signaling

41 41 Connecting a Computer to the ISDN n Requires a Terminal Adapter n Contains a DSU (data service unit) n Converts PC digital format to ISDN digital format 1101 Terminal Adapter DSU 1101

42 42 ISDN Costs for Internet Access n Carrier Charges n Installation of the ISDN Line by Carrier n Monthly Service Charge to Carrier n Traffic volume charges (per kilobit) n Purchase or Lease of Terminal Adapter n Internet Service Providers n Charge extra for ISDN access n Even more for 128 kbps service (2 B channels) n ISDN fees do not go to ISP

43 43 Beyond ISDN n Faster than analog phone lines but still slow n Better dial-up connections …. V.92-V.44 V.92-V.44 n Newer alternatives are growing n Cable modems from cable television companies n DSL lines from telephone companies n Much faster n 1-10 Mbps to customer premises n Sometimes slower uplink (33.6 kbps - 1 Mbps) n More expensive than dial-up n equivalent to the cost of two phone lines n installation costs and/or monthly lease of modem

44 44 Beyond ISDN n Cable Modems from Cable TV Companies n High-speed digital access offered by cable television companies n Really DSUs but called cable modems n 500 kbps to 10 Mbps downstream (to you) n Downstream speed shared by block of users n ISDN-like speeds upstream (from you) n Typical Cable + ISP charges around $40.00 n Comcast and TCI major players n 10 million users today and growing 10 million users 10 million users

45 45 Beyond ISDN n Digital Subscriber Link (DSL) n High-speed digital access offered by telephone companies over the ordinary local loop n Requires equipment at telephone company switch n User needs DSL modem (really, a DSU) n 128 kbps to perhaps 8 Mbps downstream n ISDN-like rates upstream are common n Several versions: Asymmetric (ADSL), etc. n Microsoft, Intel, Compaq, and others join Telcos n Keep yourself informed: ADSL Forum ADSL ForumADSL Forum

46 46 Beyond ISDN n Satellite/Wireless n Satellite link instead of wire link to ISP n Good for mobile users n Good for intranets in a company with multiple dispersed sites n ISDN speeds or higher n High cost

47 47 Broadband Market Forecast n Residential Use (2003) n 80% of Households have computers online n 77%dial-up connections n 23% broadband (17 million) n Forecast 2007: 56% ( 41 million) Forecast n Broadband Broadband n 54%Cable modems n 34% DSL n 8% ISDN n 4% Satellite/wireless n Cnet: Cable vs DSL Cable vs DSLCable vs DSL


Download ppt "Point-to-Point Communication. 2 Terminal-Host Communication n Components n Terminal n Host (locus of processing) n Transmission line (here, phone line."

Similar presentations


Ads by Google