Data Communications
Data Communications
Introduction
Topics:
Data Communications History Data Communication System Data Communication Codes Networks The Internet Protocols and Standards Standard Organizations
2
1-2 HISTORY
Samuel F. B. Morse
6
1844 The first telegraph line was established between Baltimore and Washington, D.C. 1849 The first slow-speed telegraph printer was invented 1860 The high speed (15 bps) telegraph printers were available 1850 The Western Union Telegraph Company was formed in Rochester, New York, for the purpose of carrying coded messages from one person to another.
Emile Baudot
1899 Marconi succeeded in sending radio telegraph messages 1920 The first commercial radio stations were installed The high speed (15 bps) telegraph printers were available 1940 Bell Laboratories developed the first special-purpose computer using electromechanical relays
10
11
1968 The AT&T operation tariff allowed only equipment furnished by AT&T to be connected to AT&T lines. A landmark Supreme Court decision, the Carterfone decision, allowed non-Bell companies to interconnect to the vast AT&T communications netowrk.
12
13
Five Components
l Message
The information to be communicated.
l Sender
The device that sends the data message.
l Receiver
The device that receives the message.
l Medium
The transmission medium is the physical path by which a message travels from sender to receiver.
l Protocol
A set of rules governs the data communication
14
15
16
Data Terminal Equipment (DTE) It is a general term that describes the interface equipment used at the stations to adapt the digital signals from the computers and terminals to a form more suitable for transmission. Data Communications Equipment (DCE) It is a general term that describes the equipment that converts digital signals to analog signals and interfaces the data terminal equipment to the analog transmission medium.
17
18
19
Transmission Modes
l Simplex
Communication is unidirectional Only one of the two devices on a link can transmit, the other can only receive
l Half Duplex
Each station can transmit and receive but not at the same time
l Full Duplex
Both station can transmit and receive simultaneously
20
l Four-wire
It involves a transmission medium that uses four wires (two are used for signals that are propagating in opposite directions and two are used for reference leads) or a configuration that is equivalent to having four wires.
21
22
A prescribed bit sequences used for encoding characters and symbols. Three types of characters used: Data link control characters Graphic control characters Alpha/numeric characters
23
Morse Code
It is the first data communications code used. It used three unequal-length symbols (dot, dash, and space) to encode characters. It is inadequate for use in modern digital computer equipment because all characters do not have the same number of symbols or take the same length of time to send, and each Morse code operator transmits code at a different rate.
24
Baudot Code
25
BCD Code
26
EBCDIC Code
27
ASCII Code
28
29
Data Representations
l Numbers
Converted to binary number
l Images
Pixels (picture elements) is represented by bit pattern.
l Audio
Continuous, not discrete.
l Video
Either a continuous entity (e.g. by a TV camera) or a combination of images (each a discrete entity)
30
1-4 NETWORKS
A network is a set of devices (often referred to as nodes) connected by communication links. A node can be a computer, printer, or any other device capable of sending and/or receiving data generated by other nodes on the network. Topics discussed in this section:
Distributed Processing Network Criteria Physical Structures Network Models Categories of Networks Interconnection of Networks: Internetwork
31
32
l Network Criteria
Performance
l Depend on a number of factors including the number of users, the type of transmission medium, the capabilities of the connected hardware and the efficiency of the software. l Ex. Measurement of transmit time and response time
Reliability
l Accuracy of delivery l Frequency of failure
Security
l Data protection
33
34
Physical Structures
l Network
Two or more devices connected together through links. Link is a communication pathway that transfers data from one device to another
l Types of Connection
Point to Point
l Provides a dedicated link between two devices. The capacity of the link is reserved for transmission between those two devices.
Multipoint
l More than two devices share a single link l Capacity of channel is shared
35
Topology It identifies how the various locations within the network are interconnected.
36
l Every device has a dedicated point-to-point link to every other devices l A fully connected mesh network has n(n-1)/2 physical channels to link n devices
37
l Each device has a dedicated point-to-point link only to a central controller usually call a hub
38
l A multi-point connection l Nodes are connected to the cable by drop lines and taps
39
l Each device has a dedicated point-to-point connection only with the two devices on either side of it. A signal is passed along the ring in one direction from device to device until it reaches its destination
40
Figure 1.9 A hybrid topology: a star backbone with three bus networks
41
42
Advantages: Limits collision domain. Can function in LAN or WAN. Connects differing media and architectures. Can determine the best path for packets. Can filter broadcast. Disadvantages: Expensive Must use routable protocols. Can be difficult to configure its routing. Slower than a Bridge.
SWITCH
A device that filters and forwards packets between LAN segments. Works at Data Link Layer and sometimes at the Network Layer of the OSI Layer. Supports any packet protocol. Acts like a Hub, but filters like a Bridge. Keeps track of MAC Addresses of all attached devices.
Advantages: Limits the collision domain. Can provide bridging. Can be configured to limit broadcast domains. Disadvantages: More expensive than a Hub or a Bridge. Configuration of additional functions can be very complex.
HUB
A common connection point for devices in a network. Works at Physical Layer of the OSI Layer. Broadcasts a packet once arrived at one port. Broadcast feature causes network congestion. In reality, hub is a repeater with multiple ports.
Advantages: Cheap Can connect different media types. Disadvantages: Extends the collision domain. Cannot filter information. Broadcasts packets to all connected segments.
BRIDGE
A device that connects two LANs, or two segments of the same LAN. Works at Data Link Layer of the OSI Layer. Filters packets. Does not forward packets right away by examining the MAC Address. Forwards packets whose destination address is on a different segment from its own. Divides a network into multiple collision, so reducing the number of collisions. Uses a Spanning Tree Protocol to decide whether to pass a packet on to a different network segment.
Advantages: Limits collision domain. Can extend network distances. Can connect to different types of media and architectures. Disadvantages: Broadcast packets cannot be filtered. More expensive than a repeater. Slower than a repeater due to additional processing of packets.
REPEATER
A network device used to regenerate or replicate a signal. Works at Physical Layer of the OSI Layer. Allows the connection of network segments. Extends the network beyond the maximum length of a single segment. Connects segments of the same network, even if they use different media. Relays messages to its original quality.
Advantages: Can connect different types of media. Can extend a network in terms of distance. Does not increase network traffic. Disadvantages: Extends the collision domain. Cannot filter data. Cannot connect different network architecture. Usually represented by this icon in a detailed network diagram. Limited number only can be used in network.
SERVER
A computer or device in a network that manages network resources. Often dedicated only performs no other tasks besides their server task. It can also a software a program running on a single computer. Needs a Static IP. Examples are Application, Chat, FTP, Mail, Proxy, Web, DNS, Audio/Video, etc.
Advantages: Centralization Scalability Flexibility Interoperability Accessibility Ease of application development. Lower total costs than mainframe legacy systems. Disadvantages: Dependability Lack of mature tools. Lack of scalability Higher than anticipated cost Can cause network congestion
Network Categories
l Local Area Network (LAN)
Usually privately own and links the devices in a single office, building or campus Designed to allow resources to be shared between personal computers or workstations Data speed up to 100Mbps
50
PC TV
Coaxial Cable
Cable Drop
Cable company
51
52
Figure 1.12 A heterogeneous network made of four WANs and two LANs
53
WAN
Student Computer Centre
USA
54
l Internetwork or Internet
Connection of multiple networks A communication system that has brought a wealth of information to our fingertips and organized it for our use. History
l Requirement to connect research entity computers in order to share data and findings l (Mid 1960s) Initiated by Advance Research Projects Agency (ARPA) of USA DOD. l (1967) ARPA presented ARPANET l (1969) ARPANER was realized l (1972) Vint Cerf and Bob Kahn collaborated on Internetting Project l (1973) Vint Cerf and Bob Kahn released Transmission Control Protocol (TCP) l TCP/IP
TCP segmentation, reassembly & error detection IP - routing
56
57
58
l Protocol
A set of rules the governs data communication It defines what is communicated, how it is communicated and when it is communicated. Key Elements:
l Syntax
Refers to the structure or format of the data
l Semantics
Refers to the meaning of each section of bits
l Timing
Refers to when data should be sent and how fast they can be sent
59
l Standards
Guarantees that equipment manufacturers follows national and international interoperability of data & communication technology and proceses Provide guidelines to manufacturer, vendors, government agencies,
l Categories
De facto
l Standards that have not been approved by an organized body but have been adopted as standards through widespread use
De jure
l Legislated by an officially recognized body
60
To ensure an orderly transfer of information between two or more data communications systems using different equipment with different needs, a consortium of organizations, manufacturers, and users meet on a regular basis to establish guidelines and standards.
61
International Standard Organizations (ISO) It creates the sets of rules and standards for graphics, document exchange, and related technologies. It is responsible for endorsing and coordinating the work of the other standards organizations. American National Standards Institute (ANSI) It is the official standards agency for the United States and is the U.S. voting representative for ISO. Standards Council of Canada (SCC) It is the official standards agency for Canada with similar responsibilities to those of ANSI
62
Consultative Committee for International Telephony and Telegraphy (CCITT) It is now the standards organization for the United Nations and develops the recommended sets of rules and standards for telephone and telegraph communications. It has developed three sets of specifications: the V series for modem interfacing, the X series for data communications, and the I and Q series for the Integrated Services Digital Network (ISDN).
63
Institute of Electrical and Electronics Engineers (IEEE) It is a U.S. professional organization of electronics, computer, and communications engineers. Electronic Industries Association (EIA) It is a U.S. organization that establishes and recommends industrial standards. It is responsible for developing the RS (recommended standard) series of standards for data and telecommunications.
64