You are on page 1of 10

Simplified Communications Model - Diagram

CSE/EE 458: Data Communication (Overview)


Guohong Cao Department of Computer & Engineering 310 Pond Lab gcao@cse.psu.edu

A Communications Model
Source
generates data to be transmitted

Key Communications Tasks


Transmission System Utilization Interfacing Signal Generation Synchronization Exchange Management Error detection and correction Addressing and routing Recovery, Message formatting, Security, Network Management
Guohong Cao (gcao@cse.psu.edu)

Transmitter
Converts data into transmittable signals

Transmission System
Carries data

Receiver
Converts received signal into data

Destination
Takes incoming data
3

Simplified Data Communications Model

Networking
Point to point communication not usually practical
Devices are too far apart Large set of devices would need impractical number of connections

Solution is a communications network

Wide Area Networks


Large geographical area, rely in part on common carrier. Technologies
Circuit switching, e.g. telephone Packet switching Frame relay, reduce overhead. Up to 2Mbps Asynchronous Transfer Mode (ATM), can be 100Mbps. Integrated service digital network (ISDN) and broadband ISDN. From 64k to 100Mbps.
7 Guohong Cao (gcao@cse.psu.edu)

Local Area Networks


Smaller scope
Building or small campus

Protocols
Used for communications between entities in a system, must speak the same language. Entities
User applications, e-mail facilities, X terminals

Usually owned by same organization as attached devices Data rates much higher Usually broadcast systems Now some switched systems and ATM are being introduced
9

Systems
Computer, Terminal, Remote sensor

Elements
Syntax: data formats, singnal levels Semantics: control information, error handling Timing: speed matching, sequencing
10

Protocol Architectures and Networks

Protocol Data Units (PDU)


At each layer, protocols are used to communicate Control information is added to user data at each layer Transport layer may fragment user data Each fragment has a transport header added
Destination SAP Sequence number Error detection code

This gives a transport protocol data unit


11 Guohong Cao (gcao@cse.psu.edu)

TCP/IP Protocol Architecture


Developed by the US Defense Advanced Research Project Agency (DARPA) for its packet switched network (ARPANET) Used by the global Internet No official model but a working one.
Application layer Host to host or transport layer Internet layer Network access layer Physical layer
13

TCP/IP Protocol Architecture Model

14

OSI Model
Open Systems Interconnection Developed by the International Organization for Standardization (ISO) Seven layers A theoretical system delivered too late! TCP/IP is the de facto standard

OSI v TCP/IP

15 Guohong Cao (gcao@cse.psu.edu)

Standards
Required to allow for interoperability between equipment Advantages
Ensures a large market for equipment and software Allows products from different vendors to communicate

Standards Organizations
Internet Society
Internet architecture board (IAB) Internet Engineering Task force (IETF) Internet engineering steering group (IESG)

Disadvantages
Freeze technology May be multiple standards for the same thing
17

International organization for standardization (ISO) International telecommunication Union (ITU-T), formally CCITT ATM forum IEEE 802
18

Standard or Nonstandard
Nonstandard protocols built for specific computers and tasks K sources and L receivers leads to K*L protocols and 2*K*L implementations If common protocol used, K + L implementations needed Protocol functions
Encapsulation, segmentation and reassembly, connection control, ordered delivery, flow control, error control, addressing multiplexing, transmission services.
19

Use of Standard Protocols

Guohong Cao (gcao@cse.psu.edu)

Encapsulation
Addition of control information to data
Address infor, error-detecting code, protocol control

Segmentation (Fragmentation)
Application layer messages may be large, network packets may be smaller. Splitting larger blocks into smaller ones is segmentation (or fragmentation in TCP/IP)
ATM blocks (cells) are 53 octets long Ethernet blocks (frames) are up to 1526 octets long

Advantages
Efficient error control, fair access, short delay, small buffer

Disadvantages
Overheads, long processing time, interrupts
21 22

Connection Control
Connection Establishment Data transfer Connection termination May be connection interruption and recovery Sequence numbers used for
Ordered delivery Flow control Error control
23

Flow Control
Done by receiving entity Limit amount or rate of data Stop and wait Credit systems
Sliding window

Performed in various layers: transport, data link

Guohong Cao (gcao@cse.psu.edu)

Error Control
Guard against loss or damage Error detection
Sender inserts error detecting bits Receiver checks these bits If OK, acknowledge If error, discard packet

Retransmission
If no acknowledge in given time, re-transmit

Performed at various levels


25 26

Addressing
Address level
Ip address, port address,

Multiplexing
Supporting multiple connections on one machine Mapping of multiple connections at one level to a single connection at another
Carrying a number of connections on one fiber optic cable Aggregating or bonding ISDN lines to gain bandwidth

Global address or local address


IEEE 802 address, ip address

Connection identifier
Connection oriented data transfer (virtual circuits) Reduced overhead as connection identifiers are shorter than global addresses Routing may be fixed and identified by connection id

Address mode
Unicast, broadcast, multicast
27

Guohong Cao (gcao@cse.psu.edu)

Transmission Services
Priority
e.g. control messages

OSI - The Model


A layer model Each layer performs a subset of the required communication functions Each layer relies on the next lower layer to perform more primitive functions Each layer provides services to the next higher layer Changes in one layer should not require changes in other layers

Quality of service (QoS)


Minimum acceptable throughput Maximum acceptable delay

Security
Access restrictions

29

30

Elements of Standardization
Protocol specification
Operates between the same layer on two systems May involve different operating system Protocol specification must be precise
Format of data units Semantics of all fields sequence of PDUs

Service definition
Functional description of what is provided

Addressing
Referenced by SAPs
31 Guohong Cao (gcao@cse.psu.edu)

OSI Layers (1)


Physical
Physical interface between devices
Mechanical, electrical, functional, procedural

Data Link
Means of activating, maintaining and deactivating a reliable link Error detection and control, flow control.

Network
Transport of information between host and host Routing.
33 34

OSI Layers (2)


Transport
Exchange of data between end systems Error free, in sequence, QoS, No loss and duplicate.

TCP/IP Protocol Suite


Dominant commercial protocol architecture
Specified and extensively used before OSI Developed by research funded US DoD

Session
Control of dialogues between applications Dialogue discipline, grouping, and recovery

Application Layer
Communication between processes or applications

End to end or transport layer (TCP/UDP/)


End to end transfer of data, congestion, error, flow control

Presentation
Data formats and coding Data compression, encryption

Internet Layer (IP)


Routing

Network Layer
Media access control, error, flow control

Application
Means for applications to access OSI environment
35

Physical Layer
Transmission medium, signal rate and encoding
Guohong Cao (gcao@cse.psu.edu)

37

You might also like