service primitives six service primitives that provide a simple connection-oriented service...
TRANSCRIPT
![Page 1: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/1.jpg)
Service Primitives
Six service primitives that provide a simple connection-oriented service
04/21/23 www.noteshit.com
![Page 2: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/2.jpg)
Service Primitives
A simple client-server interaction using acknowledged datagrams.
04/21/23 www.noteshit.com
![Page 3: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/3.jpg)
OSI Model
04/21/23 www.noteshit.com
![Page 4: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/4.jpg)
2-1 LAYERED TASKS2-1 LAYERED TASKS
A network model is a layered architecture•Task broken into subtasks•Implemented separately in layers in stack•Functions need in both systems•Peer layers communicate
Protocol: •A set of rules that governs data communication•It represents an agreement between the communicating devices
04/21/23 www.noteshit.com
![Page 5: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/5.jpg)
Layered Architecture
A layered modelEach layer performs a subset of the required
communication functionsEach layer relies on the next lower layer to perform
more primitive functionsEach layer provides services to the next higher layer.Each layer provides services to the next higher layerChanges in one layer should not require changes in
other layersThe processes on each machine at a given layer arecalled peer-to-peer process
04/21/23 www.noteshit.com
![Page 6: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/6.jpg)
Tasks involved in sending a letter
04/21/23 www.noteshit.com
![Page 7: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/7.jpg)
2-2 THE OSI MODEL2-2 THE OSI MODEL
Established in 1947, the International Standards Established in 1947, the International Standards Organization (Organization (ISOISO) is a multinational body dedicated to ) is a multinational body dedicated to worldwide agreement on international standards.worldwide agreement on international standards.
An ISO standard that covers all aspects of network An ISO standard that covers all aspects of network communications is the Open Systems Interconnection communications is the Open Systems Interconnection ((OSIOSI) model. It was first introduced in the late 1970s. ) model. It was first introduced in the late 1970s.
04/21/23 www.noteshit.com
![Page 8: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/8.jpg)
ISO is the organization.OSI is the model.
Note
04/21/23 www.noteshit.com
![Page 9: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/9.jpg)
Seven layers of the OSI model
04/21/23 www.noteshit.com
![Page 10: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/10.jpg)
The interaction between layers in the OSI model
04/21/23 www.noteshit.com
![Page 11: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/11.jpg)
An exchange using the OSI model
04/21/23 www.noteshit.com
![Page 12: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/12.jpg)
The physical layer is responsible for movements ofindividual bits from one hop (node) to the next.
Note
04/21/23 www.noteshit.com
![Page 13: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/13.jpg)
Function of Physical layer
• Physical characteristics of interfaces and media• Representation of bits• Data rate• Synchronization of bits• Line configuration (point-to-point or multipoint)• Physical topology (mesh, star, ring or bus)• Transmission mode ( simplex, half-duplex or duplex
04/21/23 www.noteshit.com
![Page 14: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/14.jpg)
Physical layer
04/21/23 www.noteshit.com
![Page 15: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/15.jpg)
The data link layer is responsible for moving frames from one hop (node) to the next.
Note
04/21/23 www.noteshit.com
![Page 16: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/16.jpg)
Data link layer
04/21/23 www.noteshit.com
![Page 17: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/17.jpg)
Hop-to-hop delivery
04/21/23 www.noteshit.com
![Page 18: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/18.jpg)
Function of data link layer
• Framing• Physical addressing• Flow control• Error control• Access control
04/21/23 www.noteshit.com
![Page 19: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/19.jpg)
The network layer is responsible for the delivery of individual packets from
the source host to the destination host.
Note
04/21/23 www.noteshit.com
![Page 20: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/20.jpg)
Network layer
04/21/23 www.noteshit.com
![Page 21: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/21.jpg)
Source-to-destination delivery
04/21/23 www.noteshit.com
![Page 22: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/22.jpg)
Function of network layer
• Source-to-destination delivery• Responsible from the delivery of packets from
the original • source to the final destination• Functions
– Logical addressing– routing
04/21/23 www.noteshit.com
![Page 23: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/23.jpg)
Transport layer
04/21/23 www.noteshit.com
![Page 24: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/24.jpg)
The transport layer is responsible for the delivery of a message from one process to another.
Note
04/21/23 www.noteshit.com
![Page 25: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/25.jpg)
Function of transport layer
• Port addressing• Segmentation and reassembly• Connection control ( Connection-oriented or
connection-less)• Flow control• Error control
04/21/23 www.noteshit.com
![Page 26: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/26.jpg)
Reliable process-to-process delivery of a message
04/21/23 www.noteshit.com
![Page 27: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/27.jpg)
Session layer
04/21/23 www.noteshit.com
![Page 28: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/28.jpg)
The session layer is responsible for dialog control and synchronization.
Note
04/21/23 www.noteshit.com
![Page 29: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/29.jpg)
Function of session layer
• It establishes, maintains and synchronize the interaction between communicating system
• Dialog control• Synchronization (checkpoints)
04/21/23 www.noteshit.com
![Page 30: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/30.jpg)
Presentation layer
04/21/23 www.noteshit.com
![Page 31: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/31.jpg)
The presentation layer is responsible for translation, compression, and encryption.
Note
04/21/23 www.noteshit.com
![Page 32: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/32.jpg)
Function of presentation layer
• Concerned with the syntax and semantics of the information exchanged between two system
• Translation ( EBCDIC-coded text file ASCII-coded file)
• Encryption and Decryption• Compression
04/21/23 www.noteshit.com
![Page 33: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/33.jpg)
Application layer
04/21/23 www.noteshit.com
![Page 34: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/34.jpg)
The application layer is responsible for providing services to the user.
Note
04/21/23 www.noteshit.com
![Page 35: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/35.jpg)
Function of application layer
• Network virtual terminal (Remote log-in)• File transfer and access• Mail services• Directory services (Distributed Database)• Accessing the World Wide Web
04/21/23 www.noteshit.com
![Page 36: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/36.jpg)
Summary of layers
04/21/23 www.noteshit.com
![Page 37: Service Primitives Six service primitives that provide a simple connection-oriented service 10/6/2015](https://reader035.vdocuments.site/reader035/viewer/2022062309/56649e8f5503460f94b939de/html5/thumbnails/37.jpg)
OSI layer-Summary
04/21/23 www.noteshit.com