Telematics I. Chapter 1 A Quick Tour. Goals of this chapter Examples Direct connection between two devices Multiple devices Errors

Similar documents
UNIT-II OVERVIEW OF PHYSICAL LAYER SWITCHING & MULTIPLEXING

UNIT- 2 Physical Layer and Overview of PL Switching

Communication Fundamentals in Computer Networks

INTRODUCTORY COMPUTER

CS3600 SYSTEMS AND NETWORKS

Introduction to Internet Routing

Computer Networks and the internet. Daniel Graham Ph.D

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Outline: Connecting Many Computers

Lecture 2 Communication services The Trasport Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

A closer look at network structure:

Physical Layer: Multiplexing, Spectrum Spreading and Switching. Covers Chapters# 06 & 08 from Text Book

2 Network Basics. types of communication service. how communication services are implemented. network performance measures. switching.

INTRODUCTION DATA COMMUNICATION TELECOMMUNICATIONS SYSTEM COMPONENTS 1/28/2015. Satish Chandra satish0402.weebly.com

CS 716: Introduction to communication networks. - 8 th class; 17 th Aug Instructor: Sridhar Iyer IIT Bombay

EEC-484/584 Computer Networks

Communication Networks

Module 1. Introduction. Version 2, CSE IIT, Kharagpur

Lesson 1: Network Communications

BROADBAND AND HIGH SPEED NETWORKS

Layer 3: Network Layer. 9. Mar INF-3190: Switching and Routing

Subject Data Communication. Subject Code 15CS46. Module 2 (Part 2) Multiplexing and Switching

Chapter 5 (Week 9) The Network Layer ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP BLM431 Computer Networks Dr.

Computer Networks. Routing

Growth. Individual departments in a university buy LANs for their own machines and eventually want to interconnect with other campus LANs.

L1: Introduction. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

ECE 158A: Lecture 13. Fall 2015

ECE 650 Systems Programming & Engineering. Spring 2018

Networks. Distributed Systems. Philipp Kupferschmied. Universität Karlsruhe, System Architecture Group. May 6th, 2009

Course 6. Internetworking Routing 1/33

Advantages and disadvantages

Wireless Networks. Communication Networks

Internetworking Models The OSI Reference Model

Computer Communication Networks

Lecture (03) Circuit switching

Chapter - 7. Multiplexing and circuit switches

end systems, access networks, links circuit switching, packet switching, network structure

Silberschatz and Galvin Chapter 15

The History and the layers of the OSI Model 30 - October

ET4254 Communications and Networking 1

CS 428/528 Computer Networks Lecture 01. Yan Wang

Introduction to Wireless Networking ECE 401WN Spring 2008

Announcements. TAs office hours: Mohamed Grissa: Mohamed Alkalbani:

Internet Architecture and Protocol

CMSC 611: Advanced. Interconnection Networks

Lecture 2: Internet Structure

Data Communication. Chapter # 1: Introduction. By: William Stalling

Lecture 15 Networking Fundamentals. Today s Plan

Lecture 4. Data Transmission Modes and Switching. Data Transmission & Switching 1-1

Assignment #1. Csci4211 Spring Due on Feb. 13th, Notes: There are five questions in this assignment. Each question has 10 points.

Peer entities. Protocol Layering. Protocols. Example

Text Book. 1. Computer Networks & Internets by Douglas E Comer. 2. Data and Computer Communication by William Stalling, 5th or above edition.

Next Steps Spring 2011 Lecture #18. Multi-hop Networks. Network Reliability. Have: digital point-to-point. Want: many interconnected points

Unit 2.

Introductions. Computer Networking Lecture 01. January 16, HKU SPACE Community College. HKU SPACE CC CN Lecture 01 1/36

COPYRIGHTED MATERIAL INTRODUCTION AND OVERVIEW

Optical networking technology

IP Packet Switching. Goals of Todayʼs Lecture. Simple Network: Nodes and a Link. Connectivity Links and nodes Circuit switching Packet switching

Review of Topology and Access Techniques / Switching Concepts

DATA COMMUNICATION AND NETWORKS

Lecture (04 & 05) Packet switching & Frame Relay techniques Dr. Ahmed ElShafee

Lecture (04 & 05) Packet switching & Frame Relay techniques

Jaringan Komputer. The Transport Layer

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

Network Connectivity and Mobility

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4021: Networks Discussion. Chapter 1.

Exercises for the Lectures on Communication Networks

Homework 1. Question 1 - Layering. CSCI 1680 Computer Networks Fonseca

CSC 401 Data and Computer Communications Networks

4.2 Virtual Circuit and Datagram Networks

Telematics I. Chapter 6 Internetworking. (Acknowledement: These slides have been compiled from H. Karl s set of slides)

EEC-484/584 Computer Networks

Lecture (05) Network interface Layer media & switching II

CS 3516: Computer Networks

infrared Disadvantage: 1. cannot use for long-range communication or outside a building due to sun s rays.

CS 4453 Computer Networks Winter

(Refer Slide Time: 1:09)

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP

Lecture 02 Chapter 10: Circuit Switching and Packet Switching

Routing Basics. What is Routing? Routing Components. Path Determination CHAPTER

Networking and Internetworking 1

PLEASE READ CAREFULLY BEFORE YOU START

PLEASE READ CAREFULLY BEFORE YOU START

Chapter 6 Questions. Problems

Local Area Network Overview

Introduction to Real-Time Communications. Real-Time and Embedded Systems (M) Lecture 15

Tutorial 2 : Networking

b) Diverse forms of physical connection - all sorts of wired connections, wireless connections, fiber optics, etc.

TCP/IP protocol suite

Internet Architecture & Performance. What s the Internet: nuts and bolts view

CS610- Computer Network Solved Subjective From Midterm Papers

CS519: Computer Networks

UNIT IV TRANSPORT LAYER

Introduction to the Internet

Telecommunication Protocols Laboratory Course. Lecture 3

1.0 INTRODUCTION. Introduction to data communication and networking 1

CS4700/CS5700 Fundaments of Computer Networks

COMPUTER SKILLS COMP101

CPS221 Lecture: Layered Network Architecture

This Lecture. BUS Computer Facilities Network Management. Switching Network. Simple Switching Network

Transcription:

Telematics I Chapter 1 A Quick Tour Goals of this chapter Examples Direct connection between two devices Multiple devices Errors (Acknowledgement: these slides have been edited from Prof. Karl s set of slides) 1 Goals of This Chapter Provide a brief, guided tour to communication networks, in particular, Internet style networks It starts from the simple case of two directly connected devices and generalizes to larger networks Goal is to provide a rough understanding on Which typical problems exist, Why they occur, How a solution could look like. Details on solutions will be treated in the remainder of the course 2

Basic Example 1: World Wide Web What happens when you enter http://www.tu-ilmenau.de into a Web browser??? 3 Basic Example 2: Telephony What happens when picking up a telephone and making a phone call? How to find the peer s phone? How to transmit speech?? What are the crucial differences between transferring a Web page and a phone call? Web: Bunch of data that has to be transmitted Phone: Continuous flow of information, must arrive in time By the way: what actually is data & information? 4

Some Terminology: Data Data (universal) Representation of facts, concepts, ideas and instructions in a formalized manner, that is suitable for communication, interpretation and processing through human beings and/or technical devices General examples for data representations: Spoken language Written language Signs Subjects Subjects of of Thinking Thinking Facts, Facts, Concepts, Concepts, Ideas, Ideas, Models, Models, etc. etc. Conventions for Representation Data Dataas as Formalized Formalized Representation Representation of of Thoughts Thoughts Model for Generation of Data by Human Beings 5 Some Terminology: Information Information: The meaning, that a human being associates with data according to the conventions that were used when the data was generated Attention: The notion of information is thus only related to human beings! This is a stricter definition of the term information than is usually assumed in everyday language Humans and machines can manipulate data, but only humans are able to gain information from data Therefore, the term information should be avoided when talking about data communication, telecommunication, etc. 6

Some Terminology: (Data) Communication Communication originally means Exchange of data between human communication partners According to the universal meaning of the term data as introduced before, this means: Every concrete communication is a data communication In the literature and daily language, usually the following, more narrow definition is used: Transmission of digital data between telecommunication devices In this class we use the term in the following sense: Data (tele-) communication is the generic term for all data exchange over an immaterial carrier and a significant distance between human beings and/or machines Immaterial carrier: Flow of energy (e.g. electrical, optical, electro-magnetical wave) Opposite: Data transport over material carrier (e.g. letter, magnetic tape, floppy disk, CD, DVD) 7 Some Terminology: Signal Signal: A signal is the physical representation of data in the form of a characteristic variation in space and/or time of one or more physical quantities Signals are thus the real physical representation of abstract data Abstract World Subjects Subjects of of Thinking Thinking Data Data as as Formalized Formalized Representation Representation Physical World Conventions for Representation of Thoughts Conventions for Representation of Data Signal Signal as as Real Real Representation Representation of of Data Data 8

Overview Examples Direct connection between two devices Signals Low-level communication properties Duplex Multiple devices Errors 9 Simplest Communication: Direct Physical Connection Web example: Browser=client and server Simplest case: directly connect them by a (pair of) cable Client Server provides data, client consumes it Server Telephony: Connect two telephones via a (pair of) cable 10

What Good is a Physical Connection? Signals Data has to be represented by signals Signal: Representation of data by characteristic changes (in time or space) of physical variables Material example: Letters on paper Immaterial example: Acoustic waves when speaking Current or voltage in a wire Immaterial signals in physical media enable data communication between remote senders and receivers Information Abstract world Physical world Data Signals Conventions for representation Conventions for representation 11 Bits and Signals What should be communicated: Data, represented as bits What can be communicated between remote entities: Signals Needed: a means to transform bits into signals And: from signals back into bits at the receiver A simple convention for a copper wire: A 1 is represented by current A 0 is represented by no current (Not practical, more sophisticated conversions necessary) Questions: How to detect bits, decide on their length, handle errors? 12

Low-Level Properties of Communication Transmitting signals on a physical carrier results in some low-level properties Propagation delay d: How long does it take for a signal to reach receiver? Propagation speed v: How fast does a signal travel in the medium? Electromagnetic waves in vacuum speed of light v=c, in copper v= 2/3 c d = distance / v Data rate r: With which data rate (in bits/second) can a sender transmit? (EOT SOT) = Data size / data rate Error rate: What is the rate of incorrect bits arriving at the receiver? Also: what error patterns? Start of transmission End of transmission Delay d Message Sequence Charts (MSC) Time Distance 13 How Can a Wire Store Data Bandwidth-Delay Product What happens in the first d seconds after transmission starts? Bits are transmitted and propagate towards the receiver Sender keeps sending bits First bit arrives after d seconds In this time, sender has transmitted d*r bits Where are they? Stored in the wire! d*r is the product of delay and data rate Commonly called bandwidth/delay product Crucial property of high-performance networks Start of transmission Delay d Example (transcontinental): Data rate 100 Mbit/s Delay 6000km/(2/3c) = 0.03 s d*r 3 Mbit Time 14

Two Physical Connections for Two-Way Communication? Two-way communication Telephony: Both parties want to say something WWW: Server needs to know which webpage shall be delivered Different cases possible: A B Simplex: Only one party transmits Example: Radio broadcast; many recipients at the same time Half duplex: Parties alternatively send data Example: Conversation Full duplex: Both parties send all the time 15 How to Realize Duplexing Simplex operation: trivial Half duplex Two pairs of cables, one for each direction wasteful Use one cable intelligently participants alternatively transmit, wait their time until it is their turn Both sending at the same time would not work, signals interfere Problem: How can one node decide that the other is done sending? B A A B B A A B B A A B Time B A Time division duplex TDD 16

How to Realize Duplexing Frequency Full duplex Two pairs of cables would work, but still overhead (installation, maintenance, ) does it work with one cable also? Exploit some properties of the physical medium Here: transmissions in different frequencies do not interfere Idea: use different frequencies for transmission in different directions B A A B Time Frequency Division Duplex FDD 17 How to Realize Duplexing Full duplex by time division duplexing? Sounds like a contradiction: both A and B always have data to send, but have to take turns? Having data to send corresponds to a certain data rate bits per second How about intermediately storing data when the other station is currently sending? Then quickly send all stored & new data Data to be transmitted A B A B A B B A TDD can realize full duplex if transmission over medium is at least twice as fast as data is to be transmitted 18

Lessons Learned from Duplexing It is useful to distinguish between Requirements on what should be possible Rules and methods how to implement such requirements Example: Implement a full duplex requirement using TDD This distinction will become very important Formalized later as service versus protocol Buffering is an important means to decouple different dynamics in time Questions of buffer overflow have to be considered 19 Overview Examples Direct connection between two devices Multiple devices Multi-hop connections Switching Forwarding Multiplexing Multiple access Routing Errors 20

But There are More than Two Computers / Telephones Connect each telephone / computer with each other one? With eleven computers: With four computers: 21 Beirut Connections Connecting many phones in real life 22

Beirut Connections 23 Put some Structure into a Network Pairwise connecting all entities does not work Need some structure Distinguish between end systems/terminals/user devices on one hand, switching elements/routers on the other hand 24

How to Communicate Over a Switching Element Using switching elements, there is no longer a direct physical connection between two terminals How to send signals nonetheless? Option 1: Have the switching element dynamically, on demand configure an electrical circuit between terminals Act as a real switch compare Fräulein vom Amt Resulting circuit lasts for duration of communication Circuit switching http://www.wdrcobg.com/switchboard.html 25 Circuit Switching Evaluation Advantages of circuit switching Simple Once circuit is established, resources are guaranteed to participating terminals Once circuit is established, data only has to follow the circuit Disadvantages Resources are dedicated what if there is a pause in the communication? Circuit has to be set up before communication can commence Alternatives? 26

Packet Switching Avoid setting up a circuit for a complete communication Instead: chop up data into packets Packets contain some actual data that is to be delivered to the recipient (can have different size) Also need administrative information, e.g., who the recipient is Sender then occasionally sends out a packet, instead of a continuous flow of data Problems: How to detect start and end of a packet, which information to put into a packet, Packet 1 Packet 2 Packet 3 27 Packet Switching To Z Switches take on additional tasks To Y Receive a complete packet To X Store the packet in a buffer Find out the packet s destination Decide where the packet should be sent next to reach its destination Information about the network graph necessary Forward the packet to this next hop of its journey Also called store-and-forward network To Y Buffer Pick next hop To Z To Z To Y To X To Z 28

Multiplexing Previous example had two packets at the head of the queue destined for terminal Z Similar situation: a switching element has only a single outgoing connection Such a special case is called a multiplexer Organizing the forwarding of packets over such a single, shared connection is called multiplexing Multiplexers in general need buffer space as well 29 Multiplexing Obvious option: Time Division Multiplexing (TDM) Serve one packet after the other; divide the use of the connection in time To Z To Z Alternative: Frequency Division Multiplexing (FDM) Use different frequencies to transmit several packets at the same time To Z To Z (in frequency 2) (in frequency 1) 30

Multiplexing Some other alternatives exist Code Division Multiplexing (CDM), Space Division Multiplexing (SDM) Mostly relevant in wireless communication Obvious parallels/relations to duplex operation! Multiplexing describes how to operate several pairs of communicating entities Duplexing describes how a given pair of communicating entities can exchange data Question: How to combine different duplex and multiplexing schemes? 31 Mutliplexing & Virtualization In essence, multiplexing serves one particular purpose: It abstracts away that a physical connection has to be shared with other contending entities, each sending a logical flow It allows the entities connected to the switch to imagine that they alone are using the physical connection At somewhat lesser properties Multiplexing virtualizes the actual, physical connection It needs a peer entity, a demultiplexer, to restore the original flows This concept of virtualizing and enriching the properties of a simpler subsystem is a pivotal technique for communication networks As it is in software engineering, operating systems, etc. It allows us to think in terms of increasingly more complex communication systems, build one atop the other 32

Multiplexing & Shared Resources Multiplexing can be viewed as a means to regulate the access to a resource that is shared by multiple users The switching element/its outgoing line With the switching element as the controller Virtually shared, but exclusively controlled! Are there other examples of shared resources? Classroom, with air as physical medium A shared copper wire, as opposed to direct connection Characteristic: a broadcast medium! Shared! 33 Broadcast Medium and Multiple Access Common characteristic of a broadcast medium: Only a single sender at a time! Exclusive access is necessary There are some exceptions using CDMA, but that s advanced material Exclusive access is simple to achieve with a multiplexer What if no multiplexer is available? Exclusive access has to be ensured by all participants working together The problem of multiple access to a shared medium Medium access for short Rules have to be agreed upon Classroom approach: only speak when asked to, central instance 34

An Intermediate Summary So far, we have a rough idea about Converting bits to signals and back again Duplexing, switching, multiplexing Packets as unit of data transport Multiple access of several entities to a shared medium In essence, we know how to connect several entities into a flat or hierarchical network Missing piece for hierarchical networks: How to know where to send a packet For circuit switching: how to setup the circuit 35 Forwarding and Next Hop Selection Recall: A switching element/a router forwards a packet onto the next hop towards its destination How does a router know which of its neighbors is the best possible one towards a given destination? What is a good neighbor, anyway? P? Z A?? V X M U? W Y 36

Options for Next Hop Selection Some simple options: Flooding send to all neighbors Hot potato routing send to a randomly chosen neighbor Simple options not convincing Try to find good, i.e., short routes few hops Try to learn about the structure of the network, interpreted as a graph Construct routing tables Routing table of W Destination For each switching element separately Separate entry for each destination Contains information about the (conjectured) shortest distance to a given destination via each neighbor Neighbor U V X Y M 2 3 4 4 P 3 2 3 4 Z 4 3 2 3 37 Routing Tables Criteria Good/perfect estimate of real distances, freedom of loops, Constructing routing tables Initially, typically empty how should a new node know anything? Passive: observe ongoing traffic (e.g., from hot potato routing) and try to extract information, successively improve table correctness Actively exchange information between routers to try to learn network structure routing protocols Problem: Size! In large networks, maintaining routing entries for all possible destinations quickly becomes infeasible Solution: hierarchy treat similar nodes identically (divide et imperara) Internetworking 38

Overview Examples Direct connection between two devices Multiple devices Errors 39 Handling Errors, Overload, So we are done building a network unless something goes wrong! Source of errors/abnormal situations Conversion from signals to bits can fail Access to a shared medium might not work Packets can be lost, e.g., because buffers overflow Packets can be misrouted (because of incorrect routing tables), delayed, reordered Receiver might not be able to keep up with incoming stream of packets Routers can fail, resulting in incorrect routing tables and many more 40

Handling Errors, Overload, Error control at various abstraction levels needed Between two direct neighbors, over a given connection Between end systems, to compensate for errors not detected locally e.g., incorrect order of packets Overload control Protect the network against buffer overflows, regulate the number of packets injected into the network Congestion control Protect end system against too many packets coming in Flow control Where and how to implement error and overload control is a principal architectural decision Main options: in the end system or in the network Big difference between telephony system and Internet Telephony carriers are (traditionally) interested in network-based solutions to be able to charge for it 41 Intermediate Summary: Basic Required Functions Bit-to-signal and signal-to-bit conversion Grouping bits into packets Accessing a shared medium Switching, duplexing, multiplexing Controlling errors on a connection between two systems Forwarding incoming packets, consulting routing tables Constructing routing tables, maintaining them Controlling errors not detectable between two neighboring systems Protecting the network against overload Protecting end systems against overload Ensuring correct order and possibly timeliness of packets Making these functions accessible from application programs Controlling the actual hardware that connects a wire to a computer and more! 42

Conclusions Communication networks have to solve many problems and need a lot of functionality The most basic of these problems, and an idea about their solution, should have become clear How to group these functions, how to solve these problems, will be the topic of the remainder of this course 43