DATA COMMUNICATION (ELA…)

Post on 23-Feb-2016

22 views 0 download

Tags:

description

DATA COMMUNICATION (ELA…). PROTOCOLS AND ARCHITECTURE. Protocols. Used for communications between entities in different systems Must speak the same language. Key Elements of a Protocol. Syntax Data formats Signal levels Semantics Control information Error handling Timing - PowerPoint PPT Presentation

Transcript of DATA COMMUNICATION (ELA…)

DATA COMMUNICATION(ELA…)

PROTOCOLS AND ARCHITECTURE1

PROTOCOLS

Used for communications between entities in different systems

Must speak the same language

2

KEY ELEMENTS OF A PROTOCOL Syntax

Data formatsSignal levels

SemanticsControl informationError handling

TimingSpeed matchingSequencing

3

SERVER

RFLINK

PC

EXAMPLE: THREE-LAYER MODEL Communications can be said to involve

three agents:`

4

EXAMPLE: THREE-LAYER MODEL Makes sense to organize the

communication task into three, relatively independent layers

5

CommTask

EXAMPLE: THREE-LAYER MODEL Network Access Layer Functions

Exchange of data between the computer and the network

Sending computer provides address of destination to help in determining routing options

May invoke levels of service (i.e., priority) Software used in this layer depends on type of

network used

6

EXAMPLE: THREE-LAYER MODEL Computer-Transport Layer Functions

Reliable data exchange Data arrive at destination application Same order in which they were sent

Independent of network being used Independent of application

7

EXAMPLE: THREE-LAYER MODEL Application Layer Functions

Support for different user applications User applications refer to network applications Examples

8

EXAMPLE: THREE-LAYER MODEL Addressing Requirements

Two levels of addressing required Each computer needs unique network address Each application on a multi-tasking computer needs a

unique address within the computerService Access Point (SAP)

9

PROTOCOL ARCHITECTURES AND NETWORKS

10

PROTOCOL DATA UNITS

11

OSI – THE MODEL

Open Systems Interconnection (OSI) Developed by the International

Organization for Standardization (ISO) Seven layers A theoretical system delivered too late! TCP/IP is the de facto standard

12

OSI – THE MODELLayering is the key! 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

13

THE OSI ENVIRONMENT

14

STANDARDIZATION WITHIN THE OSI FRAMEWORK

15

ELEMENTS OF STANDARDIZATION

Protocol specificationOperates between the same layer on two

systemsMay involve different operating systemProtocol specification must be precise

Format of data units Semantics of all fields Allowable sequence of PDUs

Service definitionFunctional description of what is provided

AddressingReferenced by SAPs

16

LAYER SPECIFIC STANDARDS

17

ISO OSI REFERENCE MODEL

18

Application Layer (7)

Presentation Layer (6)

Session Layer (5) Transport Layer (4)

Network Layer (3) Data Link Layer

(2) Physical Layer (1)

Application orientedNetwork oriented

NETWORK-DEPENDENT LAYERS

Physical LayerConcerned with the physical and electrical

interfaces b/w the user equipment and the network equipment

Responsible for the transmission of bitsAlways implemented using hardwarePhysical layer standards

RS-232-C RS-449 RS-422-A RS-423-A

19

NETWORK-DEPENDENT LAYERS

Data Link LayerAssembles data bits into a block, or frameResponsible for ensuring error-free, reliable

transmission of dataRequests retransmission or correction if any

errors occurExample protocols

BSC SDLC HDLC PPP

20

NETWORK-DEPENDENT LAYERS Network Layer

Responsible for appropriate routing of messages across a network

Only layer concerned with types of switching networks used to route data

21

USE OF A RELAY

22* *

APPLICATION-ORIENTED LAYERS Transport Layer

Responsible for: Monitoring the quality of the communications channel Selecting the most cost-efficient communication

service based on reliability required for a particular transmission

23

APPLICATION-ORIENTED LAYERS

Session Layer Requests that a logical connection be established

based on the end user’s request Transfer a file

File location File destination

Controls any necessary log-ons and passwords Responsible for terminating connection

24

APPLICATION-ORIENTED LAYERS

Presentation Layer Provides format and code conversion services

Printing operations Concerned with syntax and semantics of the

information transmitted File transfers b/w heterogeneous hosts

Data compression Data encryption

25

APPLICATION-ORIENTED LAYERS Application layer

Provides access to the network for the end user Remote terminal access File transfer

Network management statistics and diagnostics can also be implemented in this layer

26

TCP/IP PROTOCOL SUITE Dominant commercial protocol architecture Specified and extensively used before OSI Developed through the US Department of

Defense Used by the Internet

27

TCP/IP LAYERS Physical Layer Network Access Layer Internet Layer Transport Layer (a.k.a., Host-to-host) Application Layer

28

PHYSICAL LAYER Physical interface between data transmission

device (e.g. computer) and transmission medium or network Characteristics of transmission medium Signal levels Data rates

29

NETWORK ACCESS LAYER Exchange of data between end system and

network Destination address provision Invoking services like priority Software depends on type of network

30

INTERNET LAYER (IP) Systems may be attached to different

networks Routing functions across multiple networks Implemented in end systems and routers

31

TRANSPORT LAYER Reliable delivery of data Ordering of delivery Uses Transmission Control Protocol (TCP)

32

APPLICATION LAYER Support for user applications

HTTP Simple Mail Transfer Protocol (SMTP) Telnet FTP

33

OPERATION OF TCP AND IP

34

PDUS IN TCP/IP

35

SOME PROTOCOLS IN TCP/IP SUITE

36

OSI VS. TCP/IP

37

STANDARDS

Required to allow for interoperability between equipment

AdvantagesEnsures a large market for equipment and

softwareAllows products from different vendors to

communicate Disadvantages

Freeze technologyMay be multiple standards for the same

thing e.g., military vs. commercial

38

STANDARDS ORGANIZATIONS

Internet Society ISO International Telecommunications Union –

Telecommunications Sector (ITU-T) ATM forum

39