Docsity

Open Systems Interconnection Model - Lecture Slides | IST 220, Study notes of Information Technology

Partial preview of the text

Download Open Systems Interconnection Model - Lecture Slides | IST 220 and more Study notes Information Technology in PDF only on Docsity!

Chapter 1:

OSI Model

Abdullah Konak

School of Information Sciences and Technology

Penn State Berks Lehigh Valley

A. Konak (^) IST 220/Ch1: Introduction (^2)

Learning Objectives

„ Define the term protocol architecture and

explain the need and benefits of a

communication architecture.

A. Konak (^) IST 220/Ch1: Introduction (^3)

Challenge?

J’aime

bien les

lapins

Chinese & French

Professor B

Information

for the

remote

secretary Ik vind

konijnen

leuk

L: Dutch

Fax:#

Secretary

Ik vind

konijnen

leuk

L: Dutch

Fax:#

use fax

Secretary

Ik vind

konijnen

leuk

L: Dutch

Translator

use Dutch

Ik vind

konijnen

leuk

L: Dutch

Information

for the

remote

translator

Translator

I like

rabbits

Use Translator

Urdu & English

Professor A

A. Konak (^) IST 220/Ch1: Introduction (^4)

What is a Protocol?

„ Shared conventions and rules for

communicating information are called

protocols

„ Allows entities (i.e. application programs)

from different systems to communicate.

„ Includes syntax , semantics , and timing.

„ A protocol architecture consists of a layered

set of protocols.

A. Konak (^) IST 220/Ch1: Introduction (^7)

The OSI and TCP/IP (Internet)

Protocol Architecture

„ Open Systems Interconnection (OSI) Reference Model: Still an

excellent model for conceptualizing and understanding protocol

architectures

„ Transmission Control Protocol/Internet Protocol (TCP/IP)

A. Konak (^) IST 220/Ch1: Introduction (^8)

The OSI Layers

Application

Presentation

Session

Transport

Network

Data Link

Physical

  • Provides user interface
  • Initiates services
  • Transfer data into standard format

before transmission

  • Keeps data different applications’ data

separate

  • Control the data exchange
  • End-to-end data error free data

transmission

  • Logical addressing for data packets

Routing and error handling

  • Moves bits between devices
  • Specifies voltages, cables, and cables
  • NIC software function
  • How data encapsulation
  • Error detection and collision prevention

The lower levels

The upper levels

A. Konak (^) IST 220/Ch1: Introduction (^9)

OSI Protocol Architecture

Client

Application:

Web browser

Server

Application: Web Server Application

Presentation

Session

Network

Transport

Session

Data Link

Physical

A. Konak (^) IST 220/Ch1: Introduction (^10)

Application

Presentation

Session

Transport

Network

Data Link

Physical

1 Use A starts a chat program, an application layer entity

IST 220 is fun!^2 The user types “IST 220 is fun!”

01011010110101111110 S

6 A communication between hosts A and B is established. A session ID is assigned (S1).

01011 S1 1 B H (^) 0101101 S1 2 B H 01111110 S1 3 B H

9 At the data link layer, each packet is framed according to specifications of the network. Packets are now called frames.

  • (^10) At the physical layer, frames are converted into electrical pulses.

3 The message is coded into an internationally known code (ASCII)

10100101001010000011111 plaintext

Encoding

4 If necessary, the message is

ciphertext encrypted.

Encryption

(^5) If necessary, the message is compressed.

Compression

01011 S1 1 0101101 S1 2 01111110 S1 3

7 The transport layer protocols breaks the bit stream into smaller segments. Each segment is attached with a sequence number

segment

01011 S1 1 B 0101101 S1 2 B 01111110 S1 3 B

8 The network layer protocols make a decision about how to route segments through the network. The address of host B is added to segments, and they are now called packets.

packet

segment

HOST A

A. Konak (^) IST 220/Ch1: Introduction (^13)

Presentation layer

„ The presentation layer is responsible for

translation, translating data from the

computer's encoding system to some

international code.

Application Layer Data

Encoded, encrypted, and compressed data H

Presentation layer

To Session Layer

Application Layer Data

Decoded, decrypted, and decompressed data (^) H

Presentation layer

From Session Layer

To Application Layer

From Application Layer

A. Konak (^) IST 220/Ch1: Introduction (^14)

Session Layer

„ The session layer provides two-way communication

between hosts by establishing, synchronizing, and

terminating connection.

Presentation Layer Data

H

Session layer

To Transport Layer

From Presentation Layer

SYN SYN SYN

Presentation Layer Data

H

Session layer

From Transport Layer

To Presentation Layer

SYN SYN SYN

A. Konak (^) IST 220/Ch1: Introduction (^15)

Transport Layer

„ Prepares data for transmission and provides

a reliable mechanism for exchange of data

between hosts.

Session Layer Data

H

Transport layer

To Network Layer

From Session Layer

H4 H

Session Layer Data

H

Transport layer

From Network Layer

To Session Layer

H4 H

A. Konak (^) IST 220/Ch1: Introduction (^16)

Network Layer

„ Network layer provides addressing and

routing services across different types of

networks.

Transport Layer Data

H

Network layer

To Data Link Layer

From Transport Layer

Transport Layer Data

H

Network layer

From Data Link Layer

To Transport Layer