Chapter 1 Communication Networks and Services
Total Page:16
File Type:pdf, Size:1020Kb
Chapter 1 Communication Networks and Services Network Architecture and Services Telegraph Networks & Message Switching Telephone Networks and Circuit Switching Computer Networks & Packet Switching Future Network Architectures and Services Key Factors in Network Evolution 1 Chapter 1 Communication Networks and Services Network Architecture and Services 2 Communication Services & Applications z A communication service enables the exchange of information between users at different locations. z Communication services & applications are everywhere. E-mail E-mail server Exchange of text messages via servers 3 Communication Services & Applications z A communication service enables the exchange of information between users at different locations. z Communication services & applications are everywhere. Web Browsing Web server Retrieval of information from web servers 4 Communication Services & Applications z A communication service enables the exchange of information between users at different locations. z Communication services & applications are everywhere. Instant Messaging Direct exchange of text messages 5 Communication Services & Applications z A communication service enables the exchange of information between users at different locations. z Communication services & applications are everywhere. Telephone Real-time bidirectional voice exchange 6 Communication Services & Applications z A communication service enables the exchange of information between users at different locations. z Communication services & applications are everywhere. Cell phone Real-time voice exchange with mobile users 7 Communication Services & Applications z A communication service enables the exchange of information between users at different locations. z Communication services & applications are everywhere. Short Message Service Fast delivery of short text messages 8 Many other examples! z Peer-to-peer applications z Napster, Gnutella, Kazaa file exchange z Searching for ExtraTerrestrial Intelligence (SETI) z Audio & video streaming z Network games z On-line purchasing z Text messaging in PDAs, cell phones (SMS) z Voice-over-Internet 9 Services & Applications z Service: Basic information transfer capability z Internet transfer of individual block of information z Internet reliable transfer of a stream of bytes z Real-time transfer of a voice signal z Applications build on communication services z E-mail & web build on reliable stream service z Fax and modems build on basic telephone service z New applications build on multiple networks z SMS builds on Internet reliable stream service and cellular telephone text messaging 10 What is a communication network? Communication Network z The equipment (hardware & software) and facilities that provide the basic communication service z Virtually invisible to the user; Usually represented by a cloud z Equipment z Facilities z Routers, servers, z Copper wires, coaxial switches, multiplexers, cables, optical fiber hubs, modems, … z Ducts, conduits, telephone poles … How are communication networks designed and operated?11 Communication Network Architecture z Network architecture: the plan that specifies how the network is built and operated z Architecture is driven by the network services z Overall communication process is complex z Network architecture partitions overall communication process into separate functional areas called layers Next we will trace evolution of three network architectures: telegraph, telephone, and computer networks 12 Network Architecture Evolution 1.0E+14 ? 1.0E+12 1.0E+10 1.0E+08 1.0E+06 per second 1.0E+04 Information transfer 1.0E+02 1.0E+00 1850 1875 1900 1925 1950 1975 2000 Next Telegraph Telephone Internet, Optical Generation networks networks & Wireless networks Internet 13 Network Architecture Evolution z Telegraph Networks z Message switching & digital transmission z Telephone Networks z Circuit Switching z Analog transmission → digital transmission z Mobile communications z Internet z Packet switching & computer applications z Next-Generation Internet z Multiservice packet switching network 14 Chapter 1 Communication Networks and Services Telegraph Networks & Message Switching 15 Telegraphs & Long-Distance Communications Approaches to long-distance communications z Courier: physical transport of the message z Messenger pigeons, pony express, FedEx z Telegraph: message is transmitted across a network using signals z Drums, beacons, mirrors, smoke, flags, semaphores… z Electricity, light z Telegraph delivers message much sooner 16 Optical (Visual) Telegraph z Claude Chappe invented optical telegraph in the 1790’s z Semaphore mimicked a person with outstretched arms with flags in each hand z Different angle combinations of arms & hands generated hundreds of possible signals z Code for enciphering messages kept secret z Signal could propagate 800 km in 3 minutes! 17 Message Switching z Network nodes were created where several optical telegraph Network Node North lines met (Paris and other sites) line z Store-and-Forward Operation: West z Messages arriving on each line line were decoded East z Next-hop in route determined by line destination address of a message South z Each message was carried by hand line to next line, and stored until operator became available for next transmission 18 Electric Telegraph z William Sturgeon Electro-magnet (1825) z Electric current in a wire wrapped around a piece of iron generates a magnetic force z Joseph Henry (1830) z Current over 1 mile of wire to ring a bell z Samuel Morse (1835) z Pulses of current deflect electromagnet to generate dots & dashes z Experimental telegraph line over 40 miles (1840) z Signal propagates at the speed of light!!! z Approximately 2 x 108 meters/second in cable 19 Digital Communications z Morse code converts text message into sequence of dots and dashes z Use transmission system designed to convey dots and dashes Morse Morse Morse Morse Code Code Code Code A · — J · — — — S · · · 2 · · — — — B — · · · K — · — T — 3 · · · — — C — · — · L · — · · U · · — 4 · · · · — D — · · M —— V · · · — 5 · · · · · E · N —· W · — — 6 — · · · · F · · — · O ——— X — · · — 7 — — · · · G ——· P · ——· Y —· —— 8 ———· · H · · · · Q ——· — Z ——· · 9 ————· I · · R · —· 1 · ———— 0 ————— 20 Electric Telegraph Networks z Electric telegraph networks exploded z Message switching & Store-and-Forward operation z Key elements: Addressing, Routing, Forwarding z Optical telegraph networks disappeared Message Message Message Source Message Switches Destination 21 Baudot Telegraph Multiplexer z Operator 25-30 words/minute z but a wire can carry much more z Baudot multiplexer: Combine 4 signals in 1 wire z Binary block code (ancestor of ASCII code) z A character represented by 5 bits z Time division multiplexing z Binary codes for characters are interleaved z Framing is required to recover characters from the binary sequence in the multiplexed signal z Keyboard converts characters to bits 22 Baudot Telegraph Multiplexer Keyboard Paper Tape Printer Baudot Baudot Multiplexer Demultiplexer Paper Tape Printer …A2D1C1B1A1 Paper Tape Printer 5 bits / character Paper Tape Printer23 Elements of Telegraph Network Architecture z Digital transmission z Text messages converted into symbols (dots/dashes, zeros/ones) z Transmission system designed to convey symbols z Multiplexing z Framing needed to recover text characters z Message Switching z Messages contain source & destination addresses z Store-and-Forward: Messages forwarded hop-by-hop across network z Routing according to destination address 24 Chapter 1 Communication Networks and Services Telephone Networks and Circuit Switching 25 Bell’s Telephone z Alexander Graham Bell (1875) working on harmonic telegraph to multiplex telegraph signals z Discovered voice signals can be transmitted directly z Microphone converts voice pressure variation (sound) into analogous electrical signal z Loudspeaker converts electrical signal back into sound z Telephone patent granted in 1876 z Bell Telephone Company founded in 1877 Signal for “ae” as in cat Microphone Loudspeaker analog electrical 26 sound signal sound Bell’s Sketch of Telephone 27 Signaling z Signaling required to establish a call z Flashing light and ringing devices to alert the called party of incoming call z Called party information to operator to establish calls Signaling + voice signal transfer 28 The N2 Problem z For N users to be fully connected directly z Requires N(N – 1)/2 connections z Requires too much space for cables z Inefficient & costly since connections not always on 1 N = 1000 N(N – 1)/2 = 499500 N 2 29 4 3 Telephone Pole Congestion 30 Circuit Switching z Patchcord panel switch invented in 1877 z Operators connect users on demand z Establish circuit to allow electrical current to flow from inlet to outlet z Only N connections required to central office 1 N N –1 2 3 31 Manual Switching 32 Strowger Switch z Human operators intelligent & flexible z But expensive and not always discreet z Strowger invented automated switch in 1888 z Each current pulse advances wiper by 1 position z User dialing controls connection setup z Decimal telephone numbering system z Hierarchical network structure simplifies routing z Area code, exchange (CO), station number 1st digit 2nd digit . 0 0 0 . 9 . 0 9 9 33 9 Strowger Switch 34 Hierarchical Network Structure Toll CO = central office Tandem Tandem CO CO CO CO CO Telephone subscribers connected to local CO (central office) 35 Tandem & Toll switches connect CO’s Three Phases of a Connection 1. Telephone Pick up phone network