Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Computer Networks (CS422) Douglas Comer Computer Science Department Purdue University West Lafayette, IN.

Slides:



Advertisements
Similar presentations
CSCI 4550/8556 Computer Networks Comer, Chapter 6: Long Distance Communication (Carriers, Modulation, And Modems)
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.
1 Transmission Fundamentals Chapter 2 (Stallings Book)
Chapter-3-1CS331- Fakhry Khellah Term 081 Chapter 3 Data and Signals.
Local Asynchronous Communication and RS-232. Goals Explain how electric current can be used to transmit bits over short distances Present a popular mechanism.
Chapter 6 Long-Distance Communication  Property of long-distance transmission - a continuous, oscillating carrier signal (fig 6.1) will propagate farther.
Transmission Basics ITNW 1325, Chapter III. OSI Physical Layer.
Chapter 3 - Transmission Media Basic Idea Transmission media Copper wires Glass fibers Radio Microwave Infrared Laser Choosing a medium Media in use at.
Unbounded media have network signals that are not bound by any type of fiber or cable; hence, they are also called wireless technologies Wireless LAN.
© Kemal AkkayaWireless & Network Security 1 Department of Computer Science Southern Illinois University Carbondale CS591 – Wireless & Network Security.
1 Part II: Data Transmission The basics of media, signals, bits, carriers, and modems Fall 2005 Qutaibah Malluhi Computer Science and Engineering Qatar.
CS335 Networking & Network Administration Tuesday, April 6.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
Computer Network 實踐資管 Wang-Jiunn Cheng 2004 PART IV-1 Local Area Networks (LANs) Topology.
Module 3.0: Data Transmission
CSCI 4550/8556 Computer Networks Comer, Chapter 5: Local Asynchronous Communication (RS-232)
Chapter 3 Data and Signals
1 Fall 2005 Long Distance Communication Carriers, Modulation, And Modems Qutaibah Malluhi Computer Science and Engineering Qatar University.
CSCI 4550/8556 Computer Networks Comer, Chapter 4: Transmission Media.
Introduction to Wireless Communication. History of wireless communication Guglielmo Marconi invented the wireless telegraph in 1896 Communication by encoding.
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.
Chapter 2 Basic Communication Theory Basic Communications Theory w Understand the basic transmission theory, and figure out the maximum data rate. w.
Data Transmission The basics of media, signals, bits, carries, and modems (Part II)
1 Chapter 4-6 Signals, Media, And Data Transmission.
1 Long-Distance Communication. 2 Illustration of a Carrier Carrier –Usually a sine wave –Oscillates continuously –Frequency of carrier fixed.
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
Lecture 2 Computer Communications and Networks Boriana Koleva Room: C54 Phone:
Data Transmission The basics of media, signals, bits, carries, and modems (Part I)
Chapter 4:Transmission Media 1 Basic Idea 2 Transmission media 3 Copper wires 4 Glass fibers 5 Radio 6 Microwave 7 Infrared 8 Laser 9 Choosing a medium.
Chapter 2.  Types of Network  Circuit Switched & Packet Switched  Signaling Techniques  Baseband & Broadband  Interference  Transmission Medium.
1 Ch 5 Local Asynchronous Communication (RS-232).
Data Communications Introduction and Review. Transmission Media Copper Wires Copper Wires Low resistance. Electrical signal produces miniature radio station.
1 Ch 6 Long-Distance Communication Carriers, Modulation, and Modems.
Data Transmission The basics of media, signals, bits, carries, and modems (Part III)
Modulation & More. Signal Propagation Electric current cannot be transmitted on copper over long distances because the signal gets weaker as it travels.
Chapter 5: Local Asynchronous Communication 1. Bit-wise data transmission 2. Asynchronous communication 3. Sending bits with electric current 4. Standard.
1 Part II Data Transmission Ch 4 Transmission Media.
1 ELE5 COMMUNICATIONS SYSTEMS REVISION NOTES. 2 Generalised System.
Electromagnetic Spectrum
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
1. Physical Transmission Transmission Media Wire (guided) Coaxial cable Twisted Pair UTP STP Fiber Optic Wireless (unguided) Radio waves Microwave Infrared.
CSI 4118Fall Part I Signals, Media, And Data Transmission.
Digital Interfaces An interface links two devices Interface Standards define: – mechanical specifications - how many wires & connector type –electrical.
Module 4 Cable Testing.
CSI 4118Fall Part 1.1 Signals, Media, And Data Transmission.
TELECOMMUNICATION. Communication over a long distance.
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.
Data and Signals & Analouge Signaling
Physical Layer. Data Communications - Physical Layer2 Physical Layer Essence: Provide the means to transmit bits from sender to receiver involves a lot.
Chapter 6 Long Distance Communication. Long-Distance Communication Important fact: an oscillating signal travels farther than direct current For long-distance.
COMPUTER NETWORKS CS610 Lecture-3 Hammad Khalid Khan.
The signal range radio decametre
Dr. Clincy Professor of CS
Physical Transmission
6.1 Communication Methods
Physical Transmission
Introduction to electronic communication systems
Local Asynchronous Communication (RS-232)
Long-Distance Communication (Carriers, Modulation, And Modems)
Dr. Clincy Professor of CS
Lecture 4 Continuation of transmission basics Chapter 3, pages 75-96
Physical Transmission
Signals, Media, And Data Transmission
Signals, Media, And Data Transmission
Chapter 2 Transmission Basics.
Chapter 6 Transmission of Digital Data Interfaces and Modems
Presentation transcript:

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Computer Networks (CS422) Douglas Comer Computer Science Department Purdue University West Lafayette, IN  Copyright All rights reserved. This document may not be reproduced by any means without the express written consent of the author.

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Forms Of Energy Used To Transmit Data Electric current Audible sounds Omni-directional electromagnetic waves –Radio Frequency (RF) –Infrared ( 紅外線 ultraviolet) Directional electromagnetic waves –Point-to-point satellite channel –Limited broadcast (spot beam 現場廣播 ) –Microwave –Laser beam

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Types Of Satellites Geosynchronous Earth Orbit Low Earth Orbit (LEO) –Array needed (66)

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Two Important Physical Limits Of A Transmission System Propagation delay –Time required for signal to travel across media –Example: electromagnetic radiation travels through space at the speed of light (C=3  10 8 meters per second) Bandwidth –Maximum times per second the signal can change

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Transmission Of Data Network hardware encodes information for transmission Two types of encoding –Analog (amount of energy proportional to value of item sent) –Digital (two forms of energy to encode 0 and 1) Computer networks use the latter

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Example Digital Encoding Medium –Copper wire Energy form –Electric current Encoding –Negative voltage encodes 1 –Positive voltage encodes 0

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Illustration Of Digital Encoding Known as waveform diagram X-axis corresponds to time Y-axis corresponds to voltage

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Encoding Details All details specified by a standard Several organizations produce networking standards –IEEE –ITU –EIA Hardware that adheres to standard interoperable

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 The RS-232C Standard Example use –Connection to keyboard/mouse –Serial port on PC Specified by EIA Voltage is +15 or -15 Cable limited to ~50 feet Newer EIA standard is RS-422 (ITU standard is V.24) Uses asynchronous communication

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Asynchronous Communication Sender and receiver must agree on –Number of bits per character –Duration of each bit Receiver –Does not know when a character will arrive –May wait forever To ensure meaningful exchange send –Start bit before character –One or more stop bits after character

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Illustration Of RS-232 Start bit –Same as 0 –Not part of data Stop bit –Same as 1 –Follows data

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Duration Of A Bit In RS-232C Determined by baud rate –Example baud rates: 9.6 Kbaud, 28.8 Kbaud, 33.6 Kbaud –Duration of bit is 1/baud_rate Sender and receiver must agree a priori Receiver samples signal Disagreement results in framing error

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Two-Way Communication Desirable in practice Requires each side to have transmitter and receiver Called full duplex

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Illustration Of Full-Duplex Communication Transmitter on one side connected to receiver on other Separate wires needed to carry current in each direction Common ground wire DB-9, DB-15, or DB-25 connector used –Pin 2 is transmit –Pin 3 is receive

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Electrical Transmission (The Bad News) It’s an ugly world –Electrical energy dissipates as it travels along –Wires have resistance, capacitance, and inductance which distort signals –Magnetic or electrical interference distorts signals –Distortion can result in loss or misinterpretation

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Illustration Of Distorted Signal For A Single Bit In practice –Distortion can be much worse than illustrated

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Consequences RS-232 hardware must handle minor distortions –Take multiple samples per bit –Tolerate less than full voltage Cannot use electrical current for long- distance transmission

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Long-Distance Communication Important fact: an oscillating signal travels farther than direct current For long-distance communication –Send a sine wave (called a carrier wave) –Change (modulate) the carrier to encode data Note: modulated carrier technique used for radio and television

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Illustration Of A Carrier Carrier – Usually a sine wave – Oscillates continuously Frequency of carrier fixed

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Types Of Modulation Amplitude modulation (used in radio) Frequency modulation (used in FM radio) Phase shift modulation (used for data)

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Illustration Of Amplitude Modulation Strength of signal encodes 0 or 1 One cycle of wave needed for each bit Data rate limited by carrier bandwidth

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Illustration Of Phase-Shift Modulation Change in phase encodes K bits Data rate higher than carrier bandwidth

Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Phase-Shift Example Section of wave is omitted at phase shift Data bits determine size of omitted section