DATA COMMUNICATION (ELA…)

39
DATA COMMUNICATION (ELA…) PROTOCOLS AND ARCHITECTURE 1

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…)

Page 1: DATA COMMUNICATION (ELA…)

DATA COMMUNICATION(ELA…)

PROTOCOLS AND ARCHITECTURE1

Page 2: DATA COMMUNICATION (ELA…)

PROTOCOLS

Used for communications between entities in different systems

Must speak the same language

2

Page 3: DATA COMMUNICATION (ELA…)

KEY ELEMENTS OF A PROTOCOL Syntax

Data formatsSignal levels

SemanticsControl informationError handling

TimingSpeed matchingSequencing

3

SERVER

RFLINK

PC

Page 4: DATA COMMUNICATION (ELA…)

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

three agents:`

4

Page 5: DATA COMMUNICATION (ELA…)

EXAMPLE: THREE-LAYER MODEL Makes sense to organize the

communication task into three, relatively independent layers

5

CommTask

Page 6: DATA COMMUNICATION (ELA…)

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

Page 7: DATA COMMUNICATION (ELA…)

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

Page 8: DATA COMMUNICATION (ELA…)

EXAMPLE: THREE-LAYER MODEL Application Layer Functions

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

8

Page 9: DATA COMMUNICATION (ELA…)

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

Page 10: DATA COMMUNICATION (ELA…)

PROTOCOL ARCHITECTURES AND NETWORKS

10

Page 11: DATA COMMUNICATION (ELA…)

PROTOCOL DATA UNITS

11

Page 12: DATA COMMUNICATION (ELA…)

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

Page 13: DATA COMMUNICATION (ELA…)

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

Page 14: DATA COMMUNICATION (ELA…)

THE OSI ENVIRONMENT

14

Page 15: DATA COMMUNICATION (ELA…)

STANDARDIZATION WITHIN THE OSI FRAMEWORK

15

Page 16: DATA COMMUNICATION (ELA…)

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

Page 17: DATA COMMUNICATION (ELA…)

LAYER SPECIFIC STANDARDS

17

Page 18: DATA COMMUNICATION (ELA…)

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

Page 19: DATA COMMUNICATION (ELA…)

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

Page 20: DATA COMMUNICATION (ELA…)

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

Page 21: DATA COMMUNICATION (ELA…)

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

Page 22: DATA COMMUNICATION (ELA…)

USE OF A RELAY

22* *

Page 23: DATA COMMUNICATION (ELA…)

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

Page 24: DATA COMMUNICATION (ELA…)

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

Page 25: DATA COMMUNICATION (ELA…)

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

Page 26: DATA COMMUNICATION (ELA…)

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

Page 27: DATA COMMUNICATION (ELA…)

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

Page 28: DATA COMMUNICATION (ELA…)

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

28

Page 29: DATA COMMUNICATION (ELA…)

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

Page 30: DATA COMMUNICATION (ELA…)

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

Page 31: DATA COMMUNICATION (ELA…)

INTERNET LAYER (IP) Systems may be attached to different

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

31

Page 32: DATA COMMUNICATION (ELA…)

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

32

Page 33: DATA COMMUNICATION (ELA…)

APPLICATION LAYER Support for user applications

HTTP Simple Mail Transfer Protocol (SMTP) Telnet FTP

33

Page 34: DATA COMMUNICATION (ELA…)

OPERATION OF TCP AND IP

34

Page 35: DATA COMMUNICATION (ELA…)

PDUS IN TCP/IP

35

Page 36: DATA COMMUNICATION (ELA…)

SOME PROTOCOLS IN TCP/IP SUITE

36

Page 37: DATA COMMUNICATION (ELA…)

OSI VS. TCP/IP

37

Page 38: DATA COMMUNICATION (ELA…)

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

Page 39: DATA COMMUNICATION (ELA…)

STANDARDS ORGANIZATIONS

Internet Society ISO International Telecommunications Union –

Telecommunications Sector (ITU-T) ATM forum

39