Delay
Delay
Layered Architecture
• The main aim of the layered architecture is to divide the design into small pieces.
• Each lower layer adds its services to the higher layer to provide a full set of services
to manage communications and run the applications.
• It provides modularity and clear interfaces, i.e., provides interaction between
subsystems.
• It ensures the independence between layers by providing the services from lower to
higher layer without defining how the services are implemented.
• Therefore, any modification in a layer will not affect the other layers.
• The number of layers, functions, contents of each layer will vary from network to
network. However, the purpose of each layer is to provide the service from lower to
a higher layer and hiding the details from the layers of how the services are
implemented.
• The basic elements of layered architecture are services, protocols, and interfaces.
o Service: It is a set of actions that a layer provides to the higher layer.
o Protocol: It defines a set of rules that a layer uses to exchange the information with
peer entity. These rules mainly concern about both the contents and order of the
messages used.
o Interface: It is a way through which the message is transferred from one layer to
another layer. o In a layer n architecture, layer n on one machine will have a
communication with the layer n on another machine and the rules used in a
conversation are known as a layer-n protocol.
Let's take an example of the five-layered architecture.(refer class work)
OSI Model
o OSI stands for Open System Interconnection is a reference model that describes how
information from a software application in one computer moves through a physical
medium to the software application in another computer.
o OSI consists of seven layers, and each layer performs a particular network function.
o OSI model was developed by the International Organization for Standardization (ISO)
in 1984, and it is now considered as an architectural model for the inter-computer
communications.
o OSI model divides the whole task into seven smaller and manageable tasks. Each layer
is assigned a particular task.
o Each layer is self-contained, so that task assigned to each layer can be performed
independently.
o The OSI model is divided into two layers: upper layers and lower layers.
o The upper layer of the OSI model mainly deals with the application related issues,
and they are implemented only in the software. The application layer is closest to
the end user. Both the end user and the application layer interact with the software
applications. An upper layer refers to the layer just above another layer.
o The lower layer of the OSI model deals with the data transport issues. The data link
layer and the physical layer are implemented in hardware and software. The physical
layer is the lowest layer of the OSI model and is closest to the physical medium. The
physical layer is mainly responsible for placing the information on the physical
medium.
Functions of the OSI Layers
There are the seven OSI layers. Each layer has different functions. A list of seven
layers are given below:
1. Physical Layer 2.Data-Link Layer 3.Network Layer 4.Transport Layer 5.Session
Layer 6.Presentation Layer 7.Application Layer
Physical layer:
o The main functionality of the physical layer is to transmit the individual bits from
one node to another node.
o It is the lowest layer of the OSI model. o It establishes, maintains and deactivates
the physical connection.
o Signals: It determines the type of the signal used for transmitting the
information.
Data-Link Layer
o This layer is responsible for the error-free transfer of data frames.
o It defines the format of the data on the network.
o It provides a reliable and efficient communication between two or more devices.
o It is mainly responsible for the unique identification of each device that resides on
a local network.
o Flow Control: Flow control is the main functionality of the Data-link layer. It is
the technique through which the constant data rate is maintained on both the sides
so that no data get corrupted. It ensures that the transmitting station such as a
server with higher processing speed does not exceed the receiving station, with
lower processing speed.
o Error Control: Error control is achieved by adding a calculated value CRC (Cyclic
Redundancy Check) that is placed to the Data link layer's trailer which is added to
the message frame before it is sent to the physical layer. If any error seems to
occurr, then the receiver sends the acknowledgment the retransmission of the
corrupted frames.
o Access Control: When two or more devices are connected to the same
communication channel, then the data link layer protocols are used to determine
which device has control over the link at a given time.
Network Layer
o It is a layer 3 that manages device addressing, tracks the location of devices on
the network.
o It determines the best path to move data from source to the destination based on
the network conditions, the priority of service, and other factors.
o The Data link layer is responsible for routing and forwarding the packets.
o Routers are the layer 3 devices, they are specified in this layer and used to provide
the routing services within an internetwork.
The protocols used to route the network traffic are known as Network layer
protocols. Examples of protocols are IP and Ipv6.
o Addressing: A Network layer adds the source and destination address to the
header of the frame. Addressing is used to identify the device on the internet.
Transport Layer:
o The Transport layer is a Layer 4 ensures that messages are transmitted in the
order in which they are sent and there is no duplication of data.
o The main responsibility of the transport layer is to transfer the data completely.
o It receives the data from the upper layer and converts them into smaller units
known as segments.
o When data is sent over the TCP connection, then the TCP protocol divides the
data into smaller units known as segments. Each segment travels over the internet
using multiple routes, and they arrive in different orders at the destination. The
transmission control protocol reorders the packets in the correct order at the
receiving end.
o Flow control: The transport layer also responsible for flow control
but it is performed end-to-end rather than across a single link.
Session Layer:
It is a layer 3 in the OSI model.
o The Session layer is used to establish, maintain and synchronizes the interaction
between communicating devices.
o It acts as a data translator for a network. This layer is a part of the operating
system that converts the data from one presentation format to another format.
Application Layer:
An application layer serves as a window for users and application
processes to access network service.It handles issues such as network transparency,
resource allocation, etc. An application layer is not an application, but it performs
the application layer functions. This layer provides the network services to the end-
users.
Mail services: An application layer provides the facility for email forwarding
and storage.
Directory services: An application provides the distributed
database sources and is used to provide that global information about
various objects.
TCP/IP model:
o The TCP/IP model was developed prior to the OSI model.The TCP/IP
model is not exactly similar to the OSI model. The TCP/IP model consists
of five layers: the application layer, transport layer, network layer,
datalink layer and physical layer. The first four layers provide physical
standards, network interface, internetworking, and transport functions
that correspond to the first four layers of the OSI model.
Internet Layer:
o An internet layer is the second layer of the TCP/IP model. An internet layer is also known
as the network layer. The main responsibility of the internet layer is to send the packets from
any network, and they arrive at the destination irrespective of the route they take.
Transport Layer: The transport layer is responsible for the reliability, flow control,
and correction of data which is being sent over the network. The two protocols used in the
transport layer are User Datagram protocol and Transmission control protocol.
Application Layer:
o An application layer is the topmost layer in the TCP/IP model. It is responsible for handling
high-level protocols, issues of representation.
o There is an ambiguity occurs in the application layer. Every application cannot be placed
inside the application layer except those who interact with the communication system. For
example: text editor cannot be considered in application layer while web browser using
HTTP protocol to interact with the network where HTTP protocol is an application layer
protocol.
Transmission media :
Transmission media is a communication channel that carries the information from
the sender to the receiver. Data is transmitted through the electromagnetic signals.
o The main functionality of the transmission media is to carry the information in the form of
bits through LAN(Local Area Network).
o Attenuation: Attenuation means the loss of energy, i.e., the strength of the
signal decreases with increasing the distance which causes the loss of energy.
o Distortion: Distortion occurs when there is a change in the shape of the signal.
This type of distortion is examined from different signals having different frequencies.
Each frequency component has its own propagation speed, so they reach at a different
time which leads to the delay distortion.
o Noise: When data is travelled over a transmission medium, some unwanted signal is
added to it which creates the noise.
• Unguided − In unguided media, transmitted data travels through free space in form
of electromagnetic signal. For example, radio waves, lasers, etc.
Guided media:
Twisted Pair Cable:
Copper wires are the most common wires used for transmitting
signals because of good performance at low costs. They are most commonly used in
telephone lines. However, if two or more wires are lying together, they can interfere with
each other’s signals. To reduce this electromagnetic interference, pair of copper wires
are twisted together in helical shape like a DNA molecule.
• Such twisted copper wires are called twisted pair. To reduce interference between
nearby twisted pairs, the twist rates are different for each pair. Up to 25 twisted pair are
put together in a protective covering to form twisted pair cables that are the backbone
of telephone systems.
• Performance is adequate
Coaxial Cable:
o Coaxial cable is very commonly used transmission media, for example, TV wire is
usually a coaxial cable.
o The name of the cable is coaxial as it contains two conductors parallel to each other.
o It has a higher frequency as compared to Twisted pair cable.
o The inner conductor of the coaxial cable is made up of copper, and the outer conductor
is made up of copper mesh. The middle core is made up of non-conductive cover that
separates the inner-conductor from the outer conductor.
o The middle core is responsible for the data transferring whereas the copper mesh
prevents from the EMI(Electromagnetic interference).
Fibre Optic:
Fibre optic cable is a cable that uses electrical signals for communication.
Fibre optic is a cable that holds the optical fibres coated in plastic that are used to send
the data by pulses of light.
o The plastic coating protects the optical fibres from heat, cold, electromagnetic
interference from other types of wiring.
o Fibre optics provide faster data transmission than copper wires.
o Cladding: The concentric layer of glass is known as cladding. The main functionality
of the cladding is to provide the lower refractive index at the core interface as to cause
the reflection within the core so that the light waves are transmitted through the fibre.
o Jacket: The protective coating consisting of plastic is known as a jacket. The main
purpose of a jacket is to preserve the fibre strength, absorb shock and extra fibre
protection.
o Faster speed: Fibre optic cable carries the data in the form of light. This allows
the fibre optic cable to carry the signals at a higher speed.
o Longer distances: The fibre optic cable carries the data at a longer distance as
compared to copper cable.
o Better reliability: The fibre optic cable is more reliable than the copper cable as
it is immune to any temperature changes while it can cause obstruct in the connectivity
of copper cable.
o Thinner and Sturdier: Fibre optic cable is thinner and lighter in weight so it can
withstand more pull pressure than copper cable.
UnGuided Transmission:
An unguided transmission transmits the electromagnetic waves
without using any physical medium. Therefore it is also known as wireless transmission.
In unguided media, air is the media through which the electromagnetic energy can flow
easily.
Microwaves:
o Terrestrial microwave
o Satellite microwave communication.
Characteristics of Microwave:
o Frequency range: The frequency range of terrestrial microwave is from 4-6 GHz
to 21-23 GHz.
Infrared:
o An infrared transmission is a wireless technology used for communication over short
ranges.
o The frequency of the infrared in the range from 300 GHz to 400 THz.
o It is used for short-range communication such as data transfer between two cell
phones, TV remote operation, data transfer between a computer and cell phone resides
in the same closed area.
Characteristics Of Infrared:
o It supports high bandwidth, and hence the data rate will be very high.
o Infrared waves cannot penetrate the walls. Therefore, the infrared communication in
one room cannot be interrupted by the nearby rooms. Infrared communication is
unreliable outside the building because the sun rays will interfere with the infrared
waves.