Computer Networks and Internets, 5e By Douglas E. Comer

Slides:



Advertisements
Similar presentations
1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints Adapted from the notes By Lami Kaya, © 2009 Pearson Education.
Advertisements

Data Communication Topics to be discussed:  Data Communication Terminology.  Data Transmission Signals.  Data Transmission Circuits.  Serial & Parallel.
1 Fall 2005 Local Serial Asynchronous Communication Qutaibah Malluhi Computer Science and Engineering Qatar University.
Local Asynchronous Communication and RS-232. Goals Explain how electric current can be used to transmit bits over short distances Present a popular mechanism.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
CS335 Networking & Network Administration Tuesday, April 6.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 6: Digital Data Communications Techniques.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
CSCI 4550/8556 Computer Networks Comer, Chapter 5: Local Asynchronous Communication (RS-232)
Data Communications Chapter 6 The Data Communications Interface.
Chapter 8 COMMUNICATION AND COMPUTER NETWORK
Local Asynchronous Communication
Local Asynchronous Communications. Bit-wise data transmission Data transmission requires: Encoding bits as energy Transmitting energy through medium Decoding.
Data transmission refers to the movement of data in form of bits between two or more digital devices. This transfer of data takes place via some form.
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
Transmission Modes Serial Transmission  One bit is transmitted on a circuit at a time  Usually there is one transmit circuit and one receive circuit.
1 Long-Distance Communication. 2 Illustration of a Carrier Carrier –Usually a sine wave –Oscillates continuously –Frequency of carrier fixed.
1 Ch 5 Local Asynchronous Communication (RS-232).
Chapter 4 Computer Networks – Part 1
Data Communication. 2 Data Communications Data communication system components: Message Message Information (data) to be communicated. Sender Sender Device.
Chapter-4/5-1CS331- Fakhry Khellah Term 081 Chapter 4 (Only 4.2 – 4.3) Digital Transmission.
DATA COMM & COMPUTER NETWORKING. Data Communications..  are the exchange of data between two devices via some  form of transmission medium such as a.
Chapter 5: Local Asynchronous Communication 1. Bit-wise data transmission 2. Asynchronous communication 3. Sending bits with electric current 4. Standard.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
William Stallings Data and Computer Communications 7 th Edition Chapter 1 Data Communications and Networks Overview.
ECS 152A 4. Communications Techniques. Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and.
Digital Transmission. 2 A Taxonomy of Transmission Modes Defn: A transmission mode is the manner in which data is sent over the underlying medium Transmission.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
CSC 335 Data Communications and Networking
The Principle of Electronic Data Serial and Parallel Data Communication Transmission Rate Bandwidth Bit Rate Parity bits.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
1 Transmission of Digital Data : Interface and Modems.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
AS Computing Data transmission. Basic data transmission Baud The rate that the voltage changes is called the Baud. If the voltage changes 10 times every.
Digital Interfaces An interface links two devices Interface Standards define: – mechanical specifications - how many wires & connector type –electrical.
FUNDAMENTALS OF NETWORKING
Unit 1 Lecture 4.
CSC 335 Data Communications and Networking Lecture 4b: Communication and Multiplexing Dr. Cheer-Sun Yang.
Chapter 7 Channel organization. Group members  Bilal Ahmed  Mehmal javed  Faisal khan janjua  Harris bashir.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
CSE, IT– III SEM Course Name-DAC Topic- Communication modes.
1 Business Telecommunications Data and Computer Communications Chapter 6 The Data Communications Interface.
Data Communication & Networking. Data communication Not to be confused with telecommunication –Any process that permits the passage from a sender to one.
COMPUTER NETWORKS Lecture-3 Husnain Sherazi. Review Lecture 2  Resource Sharing  Growth of the Internet – Linear Scale – Log Scale  Tools for Probing.
Week 7 Managing Telecommunications & Networks. Effective communications are essential to organizational success Define the terms communications and telecommunications.
Serial Communications
(1B) Methods of representing and measuring data electronically
William Stallings Data and Computer Communications
Circuit Switching Circuit switching refers to a communication mechanism that establishes a path between a sender and receiver with guaranteed isolation.
Transmission Modes The term transmission mode to refer to the manner in which data is sent over the underlying medium Transmission modes can be divided.
Local Asynchronous Communication (RS-232)
DIGITAL DATA COMMUNICATION TECHNIQUES
Lecture 4 Continuation of transmission basics Chapter 3, pages 75-96
DIGITAL DATA COMMUNICATION TECHNIQUES
DIGITAL DATA COMMUNICATION TECHNIQUES
Data Communication.
CHAPTER SERIAL PORT PROGRAMMING. Basics of Serial Communication Computers transfer data in two ways: ◦ Parallel  Often 8 or more lines (wire.
Chapter 6 Transmission of Digital Data Interfaces and Modems
Chapter 9 Transmission Modes
communications system
Serial Communications
William Stallings Data and Computer Communications
Introduction Communication Modes Transmission Modes
Presentation transcript:

Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints Adapted from notes By Lami Kaya, LKaya@ieee.org © 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1

Chapter 9 Transmission Modes 2

Topics Covered 9.1 Introduction 9.2 A Taxonomy of Transmission Modes 9.3 Parallel Transmission 9.4 Serial Transmission 9.5 Transmission Order: Bits and Bytes 9.6 Timing of Serial Transmission 9.7 Asynchronous Transmission 9.8 RS-232 Asynchronous Character Transmission 9.9 Synchronous Transmission 9.10 Bytes, Blocks, and Frames 9.11 Isochronous Transmission 9.12 Simplex, Half-Duplex, and Full-Duplex Transmission 9.13 DCE and DTE Equipment 3

9.1 Introduction This chapter continues the discussion by focusing on the ways data is transmitted introduces common terminology explains the advantages and disadvantages of parallelism discusses the important concepts of synchronous and asynchronous communication 4

9.2 A Taxonomy of Transmission Modes We use the term transmission mode to refer to the manner in which data is sent over the underlying medium Transmission modes can be divided into two fundamental categories: Serial — one bit is sent at a time Serial transmission is further categorized according to timing of transmissions Parallel — multiple bits are sent at the same time Figure 9.1 gives an overall taxonomy of the transmission modes discussed in the chapter 5

9.2 A Taxonomy of Transmission Modes 6

9.3 Parallel Transmission Parallel transmission allows transfers of multiple data bits at the same time over separate media In general, parallel transmission is used with a wired medium that uses multiple, independent wires Furthermore, the signals on all wires are synchronized so that a bit travels across each of the wires at precisely the same time Figure 9.2 illustrates the concept, and shows why engineers use the term parallel to characterize the wiring 7

9.3 Parallel Transmission 8

9.3 Parallel Transmission The figure omits two important details: First, in addition to the parallel wires that each carry data a parallel interface usually contains other wires that allow the sender and receiver to coordinate Second, to make installation and troubleshooting easy the wires for a parallel transmission system are placed in a single physical cable A parallel mode of transmission has two chief advantages: High speed: it can send N bits at the same time a parallel interface can operate N times faster than an equivalent serial interface Match to underlying hardware: Internally, computer and communication hardware uses parallel circuitry a parallel interface matches the internal hardware well 9

9.4 Serial Transmission Serial transmission sends one bit at a time It may seem that anyone would choose parallel transmission for high speeds However, most communication systems use serial mode There are two main reasons First, serial networks can be extended over long distances at much less cost Second, using only one physical wire means that there is never a timing problem caused by one wire being slightly longer than another Sender and receiver must contain a hardware that converts data from the parallel form used in the device to the serial form used on the wire Figure 9.3 illustrates the configuration 10

9.4 Serial Transmission 11

9.4 Serial Transmission The hardware needed to convert data between an internal parallel form and a serial form can be straightforward or complex depending on the type of serial communication mechanism In the simplest case, a single chip that is known as a Universal Asynchronous Receiver and Transmitter (UART) performs the conversion A related chip, Universal Synchronous-Asynchronous Receiver and Transmitter (USART) handles conversion for synchronous networks 13

9.5 Transmission Order: Bits and Bytes In serial mode, when sending bits, which bit should be sent across the medium first? Consider an integer: Should a sender transmit the Most Significant Bit (MSB) or the Least Significant Bit (LSB) first? We use the term little-endian to describe a system that sends the LSB first We use the term big-endian to describe a system that sends the MSB first Either form can be used, but the sender and receiver must agree 14

9.5 Transmission Order: Bits and Bytes The order in which bits are transmitted does not settle the entire question of transmission order Data in a computer is divided into bytes, and each byte is further divided into bits (typically 8 bits per byte) Thus, it is possible to choose a byte order and a bit order independently For example, Ethernet technology specifies that data is sent byte big-endian and bit little-endian Figure 9.4 illustrates the order in which Ethernet sends bits from a 32-bit quantity 15

9.5 Transmission Order: Bits and Bytes 16

9.6 Timing of Serial Transmission Serial transmission mechanisms can be divided into three broad categories (depending on how transmissions are spaced in time): Asynchronous transmission can occur at any time with an arbitrary delay between the transmission of two data items Synchronous transmission occurs continuously with no gap between the transmission of two data items Isochronous transmission occurs at regular intervals with a fixed gap between the transmission of two data items 17

9.7 Asynchronous Transmission It is asynchronous if the system allows the physical medium to be idle for an arbitrary time between two transmissions The asynchronous style of communication is well-suited to applications that generate data at random (e.g., a user typing on a keyboard or a user that clicks on a link) The disadvantage of asynchrony arises from the lack of coordination between sender and receiver While the medium is idle, a receiver cannot know how long the medium will remain idle before more data arrives Asynchronous technologies usually arrange for a sender to transmit a few extra bits before each data item to inform the receiver that a data transfer is starting extra bits allow the receiver to synchronize with the incoming signal the extra bits are known as a preamble or start bits 18

9.8 RS-232 Asynchronous Character Transmission Consider the transfer of characters across copper wires between a computer and a device such as a keyboard each data item represents one character It is standardized by the Electronic Industries Alliance (EIA) It has become the most widely used for character communication Known as RS-232-C, and commonly abbreviated RS-232 EIA standard specifies the details, such as physical connection size (max cable length 50 feet long) electrical details (range between -15v +15v) the line coding being used It can be configured to control the exact number of bits per second It can be configured to send 7-bit or 8-bit characters Figure 9.5 illustrates how voltage varies at different stages when a start bit, eight bits of a character, and a stop bit are sent 19

9.8 RS-232 Asynchronous Character Transmission 20

9.9 Synchronous Transmission A synchronous mechanism transmits bits of data continually with no idle time between bits after transmitting the final bit of one data byte, the sender transmits a bit of the next data byte The sender and receiver constantly remain synchronized which means less synchronization overhead Compare the 8-bit characters on an asynchronous system as illustrated in Figure 9.5 and a synchronous system as illustrated in Figure 9.6 Each character sent using RS-232 requires an extra start bit and stop bit meaning that each 8-bit character requires a minimum of 10 bit times, even if no idle time is inserted On a synchronous system each character is sent without start or stop bits 21

9.9 Synchronous Transmission 22

9.10 Bytes, Blocks, and Frames If the underlying synchronous mechanism must send bits continually What happens if a sender does not have data ready to send at all times? The answer lies in a technique known as framing: an interface is added to a synchronous mechanism that accepts and delivers a block of bytes known as a frame To insure that the sender and receiver stay synchronized a frame starts with a special sequence of bits Most synchronous systems include an idle sequence (or idle byte) that is transmitted when the sender has no data to send Figure 9.7 illustrates the concept 23

9.10 Bytes, Blocks, and Frames 24

9.11 Isochronous Transmission is designed to provide steady bit flow for multimedia applications Delivering such data at a steady rate is essential because variations in delay known as jitter can disrupt reception (cause pops or clicks in audio/make video freeze for a short time) Isochronous network is designed to accept and send data at a fixed rate, R Network interface is such that data must be handed to the network for transmission at exactly R bits per second For example, an isochronous mechanism designed to transfer voice operates at a rate of 64,000 bits per second A sender must generate digitized audio continuously A receiver must be able to accept and play the stream 25

9.12 Simplex, Half-Duplex, and Full-Duplex Transmission A communications channel is classified as one of three types: (depending on the direction of transfer) Simplex Full-Duplex Half-Duplex Simplex: a simplex mechanism can only transfer data in a single direction It is analogous to broadcast radio or television Figure 9.8a illustrates simplex communication Full-Duplex: allows transmission in two directions simultaneously It is analogous to a voice telephone conversation in which a participant can speak even if they are able to hear background music at the other end Figure 9.8b illustrates the concept 26

9.12 Simplex, Half-Duplex, and Full-Duplex Transmission 27

9.12 Simplex, Half-Duplex, and Full-Duplex Transmission Half-Duplex: A half-duplex mechanism involves a shared transmission medium The shared medium can be used for communication in each direction But the communication cannot proceed simultaneously It is analogous to using walkie-talkies where only one side can transmit at a time An additional mechanism is needed at each end of a half-duplex communication that coordinates transmission to insure that only one side transmits at a given time Figure 9.8c illustrates half-duplex communication 28

9.13 DCE and DTE Equipment Terms Data Communications Equipment (DCE) and Data Terminal Equipment (DTE) were originally created by AT&T To distinguish between the communications equipment owned by the phone company and the terminal equipment owned by a subscriber The terminology persists: if a business leases a data circuit from a phone company the phone company installs DCE equipment at the business and the business purchases DTE equipment that attaches to the phone company’s equipment 29

9.13 DCE and DTE Equipment From an academic point of view, the concept behind the DCE-DTE distinction is not ownership of the equipment Instead, it lies in the ability to define an arbitrary interface for a user If the underlying network uses synchronous transmission the DCE equipment can provide either a synchronous or isochronous interface to the user’s equipment Figure 9.9 illustrates the conceptual organization Several standards exist that specify a possible interface between DCE and DTE The RS-232 standard described in this chapter and the RS-449 standard proposed as a replacement can each be used In addition, a standard known as X.21 is also available 30

9.13 DCE and DTE Equipment 31