Académique Documents
Professionnel Documents
Culture Documents
Figure 2.1
Sending a letter
An open system is a set of protocols that allows any two different systems to communicate regardless of their underlying architecture. The OSI model is not a protocol. The purpose of the OSI model is to show how to facilitate communications between different systems without requiring changes to the logic of the underlying hardware and software. OSI consists of seven layers.
Physical Data link Network Transport Session presentation Application
Layered Architecture
Within a single machine, each layer calls upon the services of the layer just below it. E.g. layer 3, uses the services provided by layer 2 and provides services to layer 4. communications is governed by protocols.
Peer-to-peer-processes
The processes on each machine that communicate at a given layer. At higher layer, communication must move down through layers on device A, over device B, and then back up through the layers. Each layer adds its own information. At physical layer, communication is direct: device A sends stream of bits to device B (through intermediate nodes). In the receiving device, the message is unwrapped layer by layer with each process receiving and removing data meant for it.
8
Passing data and information between each pair of adjacent layers is made possible by an interface (defines the information and services a layer must provide for the layer above it). Organization of the layers is shown in the next slide.
Layer 1,2, 3 : the network support layers, they deal with the physical aspects of moving data from one device to another. Layer 5, 6, 7 : the user support layers, they allow interoperability among unrelated software systems. Layer 4, ensures end-to-end reliable data transmission
10
11
Figure 2.1
12
Figure 2.2
OSI layers
13
Figure 2.3
14
15
Physical layer
16
Figure 2.4
Physical layer
17
Note: The physical layer is responsible for the movement of individual bits from one hop (node) to the next.
18
defines the characteristics of the interface between devices and the transmission medium. defines the type of encoding (how 0s and 1s are changed to signals)
(The number of bits
Defines the duration of a bit.
2.
3.
4.
Synchronization of bits.
The sender and the receiver use the same bit rate this rate must be synchronized The sender and the receiver clocks must be synchronized.
19
connection of devices to the medium. In point-to-point, line is dedicated. In multipoint, line is shared.
6.
Physical topology.
The physical topology defines how devices are connected to make a network (mesh, star, bus, ring, hybrid).
7.
Transmission mode.
defines the direction of transmission between two devices: simple, half duplex, full duplex.
20
21
Figure 2.5
22
Note: The data link layer is responsible for moving frames from one hop (node) to the next.
23
Figure 2.6
Hop-to-hop delivery
24
DLL divides the stream of bits received from the network layer into manageable data units called frames. DLL adds a header to the frame to define the physical address of the sender (source address) and/or receiver (destination address) of the frame. If the rate at which the data are absorbed by the receiver is less than the rate produced in the sender, the data link layer impose a flow control mechanism to prevent overwhelming the receiver
25
2.
Physical addressing.
3.
Flow control:
5. Access control
When two or more devices are connected to the same link, data link layer protocols are necessary to determine which device has control over the link at any given time.
26
Network layer
27
Figure 2.7
Network layer
28
Note: The network layer is responsible for the delivery of individual packets from the source host to the destination host.
29
Figure 2.8
Source-to-destination delivery
30
2.
Routing.
The network layer adds a header to the packet coming from the upper layer, includes the logical addresses of the sender and receiver. When independent networks or link are connected together to create an internetwork ( a network of networks) or a large network, the connecting devices (router or gateways) route or switch the packet to their final destination. The network layer provide this mechanism.
31
Transport layer
32
Figure 2.9
Transport layer
33
Note: The transport layer is responsible for the delivery of a message from one process to another.
34
Figure 2.10
35
2.
Other responsibilities of the Transport layer : 3. Connection control, TL can either be:
Connectionless : treats each segment is an independent packet. Connection-oriented: make a connection with the transport layer on the receiving machine before delivering the packets. Flow control: end-to-end flow control, Error control: process-to-process , the sending transport layer makes sure that the entire message arrives at the receiving transport layer without error.
37
4. 5.
Session layer
38
39
Dialog control:
The Session layer allows two systems to enter into dialog. Allows the communication between two processes to take place either in halfduplex or full-duplex.
2.
Synchronization:
Session layer allows a process to add checkpoints (synchronization points) into a stream of data.
e.g: sending a file of 2000 pages, insert checkpoint every
100 pages to insure each 100 page unit is received and acknowledged independently. If a crash occurs during transmission of page 522, then, pages 501-522 need to be resent after recovery.
40
Presentation layer
41
Figure 2.12
Presentation layer
42
2.
3.
Encryption: to assure privacy, the sender transforms the original information to another form and sends the resulting MSG out over the network. Decryption, transforms the encrypted MSG back to its original form Compression: compression reduces the number of bits to be transmitted.
43
Application layer
44
Figure 2.13
Application layer
45
2.
3.
Mail Services.
This application provides the basis for e-mail forwarding and storage.
4.
Directory services
This application provides distributed database sources and access for global information about various objects and services.
46
Figure 2.14
Summary of layers
47