Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

24
9-1 Chapter 9 - Communication Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

description

Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication. Chapter Contents. 9.1 Modems 9.2 Transmission Media 9.3 Network Architecture: Local Area Networks 9.4 Communication Errors and Error Correcting Codes 9.5 Network Architecture: The Internet - PowerPoint PPT Presentation

Transcript of Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

Page 1: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-1 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Principles of Computer ArchitectureMiles Murdocca and Vincent Heuring

Chapter 9: Communication

Page 2: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-2 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Chapter Contents

9.1 Modems

9.2 Transmission Media

9.3 Network Architecture: Local Area Networks

9.4 Communication Errors and Error Correcting Codes

9.5 Network Architecture: The Internet

9.6 Case Study: Asynchronous Transfer Mode

Page 3: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-3 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Modem Communication

• Communication over a telephone line with modems:

Page 4: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-4 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Modulation Schemes• Three common forms of modulation:

Page 5: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-5 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Pulse Code Modulation• Conversion of an analog signal into a PCM binary sequence:

Page 6: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-6 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Ideal vs. Transmitted Waves

Page 7: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-7 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Transmission Media

• Transmisson media. (a) Two-wire open lines; (b) twisted-pair lines; (c) coaxial cable; (d) optical fiber; (e)satellites.

Page 8: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-8 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

The Seven Layers of the OSI Model

Page 9: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-9 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

A Few Network Topologies• (a) Bus; (b) ring; and (c) star network topologies.

Page 10: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-10 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Parity• Even parity bits are assigned to a few ASCII characters:

Page 11: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-11 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Check Bits• Check bits for a single error correcting ASCII code:

Page 12: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-12 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

SEC coded ‘a’

• Format for a single error correcting ASCII code:

Page 13: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-13 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

SEC Coded ‘d’

• Parity computation for an ASCII character in an SEC code:

Page 14: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-14 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

3-Bit SEC Hypercube• Hamming distance relationships among three-bit codewords.

Valid codewords are 000 and 111. The remaining codewords represent errors.

Page 15: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-15 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

LRC and VRC Checking

• Combined LRC and VRC checking. Checksum bits form even parity for each column.

Page 16: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-16 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Cyclic Redundancy Checking

Page 17: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-17 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Internet Protocol Stack• Layering in the TCP/IP protocol suite:

Page 18: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-18 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

IPv4 Address Classes

Page 19: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-19 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Encapsulation• Encapsulation in the TCP/IP protocol suite:

Page 20: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-20 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Hub vs. Router vs.

Switch

• Configurations shown for (a) a hub; (b) a router; and (c) a switch.

Page 21: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-21 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Self-Routing Switch

• A 44 self-routing switch based on the bubblesort algorithm:

Page 22: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-22 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

TDM vs. ATM• (a) Time division multiplexing vs. (b) asynchronous transfer mode.

Page 23: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-23 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Format of an ATM Packet• Format of an ATM packet. (a) User-to-network interface (UNI) format; and (b) network-to-network interface

(NNI) format.

Page 24: Principles of Computer Architecture Miles Murdocca and Vincent Heuring Chapter 9: Communication

9-24 Chapter 9 - Communication

Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring

Simple ATM Network