Computer Communications Sunggu Lee EE Dept., POSTECH Sep. 7, 2006.

Slides:



Advertisements
Similar presentations
Introduction to TCP/IP
Advertisements

Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
International Standards Organization Open Systems Interconnect (OSI) Reference Model Advanced Computer Networks.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
OSI Model.
Open System Interconnection (OSI) Model
Review on Networking Technologies Linda Wu (CMPT )
Ch 23 1 Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007 Ameera Almasoud.
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
Chapter 2 Network Models.
Protocol Reference Model of OSI
COMPUTER NETWORKS.
The OSI Model A layered framework for the design of network systems that allows communication across all types of computer systems regardless of their.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Lecturer: Tamanna Haque Nipa
Process-to-Process Delivery:
Data Communications and Networks
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
Chapter 2 Network Models
Presentation on Osi & TCP/IP MODEL
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Computer Networks.  The OSI model is a framework containing seven layers that defines the protocols and devices used at each stage of the process when.
Characteristics of Communication Systems
THE OSI MODEL AND THE TCP/IP PROTOCOL SUITE CS 1202 Lectur3 part2.
COMPUTER COMMUNICATION Sunggu Lee EE Dept., POSTECH Apr. 22, 2009.
TCP/IP: Basics1 User Datagram Protocol (UDP) Another protocol at transport layer is UDP. It is Connectionless protocol i.e. no need to establish & terminate.
Huda AL_Omairl - Network 71 Protocols and Network Software.
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
Chapter 7 Low-Level Protocols
Mukesh N. Tekwani Elphinstone College Mumbai
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
 An ISO is a multi national body dedicated to worldwide agreement on international standards.  An ISO standard that covers all aspects of network communications.
The OSI Model and the TCP/IP Protocol Suite Outline: 1.Protocol Layers 2.OSI Model 3.TCP/IP Model 4.Addressing 1.
The OSI Model.
University of the Western Cape Chapter 12: The Transport Layer.
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
TCP/IP Transport and Application (Topic 6)
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
BZUPAGES.COM Presentation on TCP/IP Presented to: Sir Taimoor Presented by: Jamila BB Roll no Nudrat Rehman Roll no
Prepared by Engr.Jawad Ali BSc(Hons)Computer Systems Engineering University of Engineering and Technology Peshawar.
Network Protocols and Standards (Part 2). The OSI Model In 1984, the International Organization for Standardization (ISO) defined a standard, or set of.
Open System Interconnection Describe how information from a software application in one computer moves through a network medium to a software application.
Individual Project 1 Sarah Pritchard. Fran, a customer of your company, would like to visit your company’s website from her home computer… How does your.
Net 221D:Computer Networks Fundamentals
ISDS 4120 Project 1 DWAYNE CARRAL JR 3/27/15. There are seven layers which make up the OSI (Open Systems Interconnection Model) which is the model for.
8/28/ Network Models - Lin 1 CPET/ECET Network Models Data Communications and Networking Fall 2004 Professor Paul I-Hai Lin Electrical and.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP Protocol Suite Suresh Kr Sharma 1 The OSI Model and the TCP/IP Protocol Suite Established in 1947, the International Standards Organization (ISO)
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
Network Models. 2.1 what is the Protocol? A protocol defines the rules that both the sender and receiver and all intermediate devices need to follow,
Networking Using the OSI Model.
OSI LAYERS.
Part I. Overview of Data Communications and Networking
The OSI Model and the TCP/IP Protocol Suite
Layered Architectures
The Open System Interconnection (OSI) Model & Network Protocols.
The OSI Model and the TCP/IP Protocol Suite
Transport Layer Unit 5.
Process-to-Process Delivery:
Chapter 15 – Part 2 Networks The Internal Operating System
The OSI Model and the TCP/IP Protocol Suite
Process-to-Process Delivery: UDP, TCP
Open System Interconnect (OSI).
Unit – III Network Essentials
Presentation transcript:

Computer Communications Sunggu Lee EE Dept., POSTECH Sep. 7, 2006

Analog and Digital Signals Analog: real-world signal Digital: “digitized” version of original analog signal - represented as sequence of binary bits - e.g., 12, 7, 7, 6, 10, 14, 15, 15, …  …

Digital Signal Representation Bit Representation (Logic 0 and 1) in Wireless Communication Channel  Typically based on electromagnetic (EM) waves Changes in electrical current flow cause EM waves  Example methods Sine wave frequencies: high frequency = 1, low frequency = 0 Sine wave phases: 0 degree = 1, 90 degree = 0 Bit Representation (Logic 0 and 1) in Wired Communication Channel  Optical: no light = 0, light = 1  Current: no current = 0, positive current = 1  Voltage Positive logic: 0 = low voltage, 1 = high voltage Noise margins, voltage ranges used to permit small variations in input & output voltage values  LSTTL: for inputs, ‘0’ = V and ‘1’ = V for outputs, ‘0’ = V and ‘1’ = V

Wireless Communication Communication “medium” (thing through which the data is communicated) is shared  Each “communication connection” is referred to as a “channel” Methods for sharing the communication medium  Time division multiple access (TDMA)  Frequency division multiple access (FDMA)  Code division multiple access (CDMA) Many different varieties Example: use a frequency hopping code  Change communication frequencies in a predetermined pattern

TDMA [Agrawal 2006]

FDMA [Agrawal 2006]

CDMA [Agrawal 2006]

Frequency Hopping [Agrawal 2006]

Binary Codes Meaning of a sequence of binary bits is dependent on the interpretation used  Example: unsigned integer = 104, character = ‘o’ part of a binary program part of a video or audio data stream A “service request” command from a client PC A “service response” reply from a server PC Other  Example: When interpreted as character string  Hello  ‘H’ = , ‘e’ = , ‘l’ = , …

Packetization of Data For transmission of a stream of data bits (message), the message is typically partitioned into “packets”  A packet consist of Packet header (destination, routing info, etc.) Data payload (the bits of the message) Check bits (redundant bits used to check for errors in the received packet)

Communication Protocols For successful transmission/receipt of a packet, the transmitter and receiver must agree on a “communication protocol”  Set of rules on how the packet is interpreted How to sample the bits of the packet  Signaling method  Synchronization of the transmitter/receiver How to determine which parts of the packet are the packet header (destination info, etc.), data payload, check bits, etc. How to interpret the bits of the data payload  Integer, floating-point, character string, JPEG picture, etc.

Computer Communication Models and Communication Protocol Suites Most commonly used reference base communication model is the Open Systems Interconnection (OSI) model  Standardized by the International Organization for Standardization (ISO) Most common implementation of the OSI model is a set of protocols referred to as the TCP/IP protocol suite (or stack)  TCP = Transmission Control Protocol  IP = Internet Protocol

Communication Protocols L1 L2 L3 L4 L5 L7 L6 [Forouzan 2003]

Computer Communication Example Send picture image and message to friend Microsoft Outlook system software Hello! Netscape Messenger system software Hello! Netscape Messenger sender receiver Communication Channel

Layer-by-Layer (OSI Model) View

Activities Required (Sender Side) Edit message and enter “send”  MS Outlook Express Convert into sequence of bits  Tags must be inserted so that original message can be reconstructed at destination E.g., “string” … “JPEG” … “end”  … … Encrypt message if necessary  for privacy Compress if necessary Partition into packets of fixed maximum size  Attach header information (Packet ID, destination, checksum, …) Intersperse with packets from messages created by other applications On first link of path,  Partition each packet into fixed-size frames (with headers)  Send each frame out onto the network IP address

Activities Required on Network Route each packet to its destination During each “hop” of the path  Send signals back and forth to coordinate the sending and receiving of the stream of bits corresponding to a frame Handshaking  Check each frame for errors Request retransmission in the case of errors  Arrange received frames into the proper order  Wait for all frames of the packet to be received Once each packet reaches its destination node,  Store packet in a memory buffer at destination  Send signal to destination CPU to inform it of the arrival of the new packet Port Number IP address

Activities at Destination Node Receive packets  Check each packet for errors and request retransmission in the case of errors  Arrange received packets into the proper order  Once all packets have been received, form a complete message Decompress if necessary Decrypt if necessary Check for errors Use tags in the bit stream to reconstruct the message Show message to user using tool (e.g., MS Outlook Express)

Network Addresses IP (Internet Protocol) address  Address used to identify a computing node on the internet  Network layer (L3) address  E.g., (Look up “properties” on “TCP/IP” on “Network”) MAC (Medium Access Control) address  Address used to identify a LAN card – cannot be changed  Data link layer (L2) address  E.g., abcd1234 (Enter “ipconfig /all” from MS Windows “cmd” window) Port address  Address used to identify a network interface point for an application prog.  Corresponds to a memory buffer Send a message - write to a memory buffer on a remote computer Receive a message – read from a memory buffer on the local computer  Example: 39 (for FTP), 3000 (for a user-defined port)

Connection-Oriented and Connectionless Networking Connection-oriented networking  Uses a specific network path that is established for the duration of a connection Three phases: connection establishment, data transfer, connection termination  Main advantage: reliable communication  Main implementation method: TCP (transfer control protocol) Connectionless networking  Finds a new path for each packet sent  Main advantage: fast communication for short messages  Main implementation method: UDP (user datagram protocol)

Communication Performance Parameters (1) Throughput ( 데이터 처리량 )  Actual number of bits transmitted per second Note 1: different from latency ( 지연시간 ) Note 2: different from bandwidth ( 대역폭 )  Most important communication performance parameter  Typical measurement method Send a data file from a source node to a destination node  Record the time t1 when the first byte of the data is received  Record the time t2 when the last byte of the data is received  Divide amount of data received by (t2 – t1) Note: Mbps = mega-bits-per-second (not bytes)

Communication Performance Parameters (2) Bandwidth  Maximum number of bits that can be transmitted per second Note 1: different from latency ( 지연 시간 ) Note 2: different from throughput ( 데이터 처리량 )  Measures performance of network only (not the computer hardware or software)  Typical measurement method Difficult to measure since effects of small data amounts, software and hardware at source and destination nodes must be removed The “rated” figure stated in the specifications for the relevant communication protocol is most commonly used  E.g., 11 Mbps for IEEE b

Communication Performance Parameters (3) Latency  Time required for the first byte of a message to be transferred from the source to the destination node  Should include software processing time  Typical measurement method At time t1, source node sends a very small message to destination node Destination node receives message and sends it back to the source node Source node receives message and records the time t2 One-way communication latency is (t2 – t1) / 2 Why can’t we measure latency directly (record time t3 at destination and measure latency as t3 – t1)?

Communication Performance Parameters (4) Other parameters also sometimes measured  Example: Packet loss rate Number of packets dropped by the network Most relevant to wireless networks

References Behrouz A. Forouzan, TCP/IP Protocol Suite, 2nd Ed., McGraw-Hill, Boston, D. P. Agrawal and Q.-A. Zeng, Introduction to Wireless and Mobile Systems, 2 nd Ed., Nelson, Toronto, 2006.