UNIT I Overview of Data Communications and Networking McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 1.1 Data Communication Components Data Representation Direction of Data Flow McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 1-1 DATA COMMUNICATIONS Where are the data communications? Why data communications? Telecommunication: communication at a distance. Data: information presented in whatever form is agreed upon by the parties creating and using the data. Data communications: the exchange of data between two devices via some form of transmission medium such as a wire cable. McGraw-Hill 1.3 ©The McGraw-Hill Companies, Inc., 2004 1-1 DATA COMMUNICATIONS What do we need? Hardware Software Four fundamental characteristics: 1. 2. 3. 4. Delivery: correct destination Accuracy: correct data Timeliness: fast enough Jitter: uneven delay Topics covered: 1. Components 2. Data representation 3. Data flow McGraw-Hill 1.4 ©The McGraw-Hill Companies, Inc., 2004 Figure 1.1 McGraw-Hill Five components of data communication ©The McGraw-Hill Companies, Inc., 2004 DATA REPRESENTATION Text Email, articles, etc Coding (Unicode, ASCII) Numbers Direct conversion Images Pixels, resolution, gray scale, RGB, YCM Audio Continuous, signal conversion Video Movie, continuous/discrete McGraw-Hill 1.6 ©The McGraw-Hill Companies, Inc., 2004 DIRECTION OF DATA FLOW McGraw-Hill 1.7 Figure 1.2 Data flow (simplex, half-duplex, and full-duplex) ©The McGraw-Hill Companies, Inc., 2004 Figure 1.13 McGraw-Hill LAN ©The McGraw-Hill Companies, Inc., 2004 Figure 1.13 McGraw-Hill LAN (Continued) ©The McGraw-Hill Companies, Inc., 2004 Figure 1.14 McGraw-Hill MAN ©The McGraw-Hill Companies, Inc., 2004 Figure 1.15 McGraw-Hill WAN ©The McGraw-Hill Companies, Inc., 2004 TYPES OF CONNECTION POINT TO POINT MULTIPOINT McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 Figure 1.5 McGraw-Hill Point-to-point connection ©The McGraw-Hill Companies, Inc., 2004 Figure 1.6 McGraw-Hill Multipoint connection ©The McGraw-Hill Companies, Inc., 2004 Figure 1.7 Categories of topology Topology The way network is connected either physically or logically. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 Mesh Example: telephone regional offices 1 2 4 5 3 Advantages: • no traffic problems • Robust. No link failure no effect on others. • Privacy security • Easy to detect the abnormal situation. Disadvantages: • Amount of cables, i/o ports • Efficiency and effectiveness • Space • Cost Figure 1.5 A fully connected mesh topology (five devices) McGraw-Hill 1.16 ©The McGraw-Hill Companies, Inc., 2004 Figure 1.9 Star topology Each node is connected to a device in the center of the network called a hub. The hub simply passes the signal arriving from any node to the other nodes in the network. The hub does not route the data. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 Star Less expensive. One link and I/o port connecting to the hub. No direct traffic between two devices. Advantages: • Easy to install • Less cables • Maintain: add, move, delete • Robustness Figure 1.6 A star topology connecting four stations McGraw-Hill 1.18 Disadvantages; • Hub is too important • The hub represents a single source of failure ©The McGraw-Hill Companies, Inc., 2004 Bus •Each node is connected one after the other (like christmas lights) •Nodes communicate with each other along the same path called the backbone Multipoint Advantages: • Easy to install • Less cables Disadvantages: • Hard to detect fault isolation. • Bus cable is too important Figure 1.7 A bus topology connecting three stations McGraw-Hill 1.19 ©The McGraw-Hill Companies, Inc., 2004 Ring •The ring network is like a bus network, but the “end” of the network is connected to the first node •Nodes in the network use tokens to communicate with each other Point to point with 2 devices on both sides Figure 1.8 A ring topology connecting six stations Advantages: • Easy to install • Maintain: add move delete • Fault isolation Disadvantages: • Unidirectional traffic McGraw-Hill 1.20 ©The McGraw-Hill Companies, Inc., 2004 Figure 1.10 McGraw-Hill Bus topology ©The McGraw-Hill Companies, Inc., 2004 Figure 1.8 A ring topology connecting six stations McGraw-Hill 1.22 ©The McGraw-Hill Companies, Inc., 2004 Figure 1.9 A hybrid topology: a star backbone with three bus networks McGraw-Hill 1.23 ©The McGraw-Hill Companies, Inc., 2004 1.4 Protocols and Standards Protocols Standards Standards Organizations Internet Standards McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 Protocols and standard Protocols (rules) 1. Why do we need protocols? 2. Key elements of protocols a) Syntax: structure or format of the data b) Semantics: meaning of each section of bits c) Timing: when sent and how fast Standards 1. De facto vs. De jure 2. Organizations 3. Internet standards (Internet draft & RFC) McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 National Standards Organizations (Generally responsible for standards within a nation and usually participate in that nation’s international activity) • American National Standards Institute (ANSI) •International Standards Organizations (Promote standards for worldwide use) • International Standards Organization (ISO) • International Telecommunications Union (ITU)consists of ITU-T, which is responsible for communications, interfaces, and other standards related to telecommunications. • Electronic Industries Association (EIA) • Institute for Electrical and Electronics Engineers (IEEE) • Internet Engineering Task Force (IETF) McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004