IT-5301-3 Data Communications and Computer Networks University of Education, Pakistan. –Layered Architecture By: Abid Shahzad Aslam
IT-5301-3Data Communications and Computer Networks
University of Education, Pakistan.
–Layered Architecture By: Abid Shahzad Aslam
2University of Education
Lecture–Roadmap
• Need of a Layered Architecture• OSI Model
– 7 Layers of OSI Model– Functional Details of OSI Layers
• Physical Layer• Data Link Layer• Network Layer• Transport Layer• Session Layer• Presentation Layer• Application Layer
3University of Education
Layered Architecture
• Design Philosophy of Layered Architecture– The complex task of communication is broken into
simpler sub-tasks or modules– 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– Helps in troubleshooting and identifying the problem
4University of Education
An example Sending a letter
5University of Education
OSI Model
• To standardize the design of communication system, the ISO created the OSI model.• Open Systems Interconnection• Developed by the International Organization for Standardization (ISO)• Contains Seven layers• It describes the functions to be performed at each layer
6University of Education
OSI Model
• ISO Established in 1947ISO Established in 1947• ISO standard that covers all aspects of network ISO standard that covers all aspects of network
communications is the Open Systems Interconnection communications is the Open Systems Interconnection ((OSIOSI) model. ) model.
• First introduced in the late 1970s.First introduced in the late 1970s.• A layer model• 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
7University of Education
ISO is the organization.OSI is the model.
Note
8University of Education
OSI Model
Application
Presentation
Session
Transport
Network
Data Link
Physical
9University of Education
Peer-to-Peer Process
10University of Education
An exchange using the OSI model
11University of Education
OSI Model – Physical Layer
• Physical– Physical interface between devices– handles the transmission of bits over a
communications channel– Choice of Wired / wireless medium– Data is converted into signals– Includes voltage levels, connectors, media
choice– modulation techniques– EIA/TIA-232, RJ45, NRZ.
12University of Education
Physical Layer
13University of Education
The physical layer is responsible for movements ofindividual bits from one hop (node) to the next.
Note
14University of Education
OSI Model – Data Link Layer
• Data Link– Transforms data into a frame– Means of activating, maintaining and deactivating a reliable link– Error detection and control– Flow Control– Higher layers may assume error free
transmission– Examples :- Ethernet, Frame Relay, FDDI.
15University of Education
Data Link Layer
16University of Education
The data link layer is responsible for moving frames from one hop (node) to the next.
Note
17University of Education
OSI Model – Network Layer
• Network– Transport of information– Higher layers do not need to know
about underlying technology– Responsible for creating, maintaining
and ending network connections– Transfers a data packet from node to
node within the network.– Routing– Not needed on direct links– Examples :- IP, IPX, AppleTalk.
18University of Education
Network Layer
19University of Education
The network layer is responsible for the delivery of individual packets from the source host to the destination host.
Note
20University of Education
Transport Layer
• Transport– Exchange of data between end
systems (end to end flow control) – Error free – In sequence – Quality of service• Layer 4 protocols include TCP
(Transmission Control Protocol) and UDP (User Datagram Protocol).
21University of Education
Transport Layer
22University of Education
The transport layer is responsible for the delivery of a message from one process to another.
Note
23University of Education
OSI Model – Session Layer
• Session– Control of dialogues between applications
• Half Duplex• Full Duplex
– Synchronization Points (backup points)– Grouping– Examples :- SQL, ASP(AppleTalk Session
Protocol).
24University of Education
The session layer is responsible for dialog control and synchronization.
Note
25University of Education
OSI Model – Presentation Layer
• Presentation– Data formats and coding– Data compression– Encryption– Examples :- JPEG, MPEG, ASCII,
EBCDIC, HTML.
26University of Education
The presentation layer is responsible for translation, compression, and encryption.
Note
27University of Education
OSI Model – Application Layer
• Application– Layer where the application using the
network resides.– Common network applications include
• remote login• file transfer• e-mail• web page browsing etc.
– Means for applications to access OSI environment
28University of Education
The application layer is responsible for providing services to the user.
Note
29University of Education
Summary of layers
30University of Education
OSI Layers
31University of Education
OSI Layers
32University of Education
The OSI Environment
33University of Education
The OSI Environment