Principles of Communication Note 2
Principles of Communication Note 2
Layered Tasks:
We use the concept of layers in our daily life. As an example, let us consider two
friends who communicate through postal mail. The process of sending a letter to
a friend would be complex if there were no services available from the post office.
Figure 2.1 shows the steps in this task.
In Figure 2.1 we have a sender, a receiver, and a carrier that transports the letter.
There is a hierarchy of tasks.
At the Sender Site
Let us first describe, in order, the activities that take place at the sender site.
o Higher layer. The sender writes the letter, inserts the letter in an envelope,
writes the sender and receiver addresses, and drops the letter in a mailbox.
o Middle layer. The letter is picked up by a letter carrier and delivered to the post
office.
o Lower layer. The letter is sorted at the post office; a carrier transports the letter.
On the Way
The letter is then on its way to the recipient. On the way to the recipient's local
post office, the letter may actually go through a central office. In addition, it
may be transported by truck, train, airplane, boat, or a combination of these.
At the Receiver Site
o Lower layer. The carrier transports the letter to the post office.
o Middle layer. The letter is sorted and delivered to the recipient's mailbox.
o Higher layer. The receiver picks up the letter, opens the envelope, and reads
it.
There are three different activities at the sender site and another three activities
at the receiver site. The task of transporting the letter between the sender and the
receiver is done by the carrier. Something that is not obvious immediately is that
the tasks must be done in the order given in the hierarchy. At the sender site, the
letter must be written and dropped in the mailbox before being picked up by the
letter carrier and delivered to the post office. At the receiver site, the letter must
be dropped in the recipient mailbox before being picked up and read by the
recipient.
Each layer at the sending site uses the services of the layer immediately below it.
The sender at the higher layer uses the services of the middle layer. The middle
layer uses the services of the lower layer. The lower layer uses the services of the
carrier.
This OSI layered model that dominated data communications and networking
literature before 1990 was the Open Systems Interconnection (OSI) model.
Everyone believed that the OSI model would become the ultimate standard
for data communications, but this did not happen. The TCPIIP protocol suite
became the dominant commercial architecture because it was used and tested
extensively in the Internet; the OSI model was never fully implemented.
Figure 2.3: Summary of each layers
3. Introduction to TCP/IP Model:
The TCPIIP protocol suite was developed prior to the OSI model. Therefore, the
layers in the TCP/IP protocol suite do not exactly match those in the OSI model.
The original TCP/IP protocol suite was defined as having four layers: host-to-
network (Network Interface), internet, transport, and application. However, when
TCP/IP is compared to OSI, it can say that the host-to-network layer is equivalent
to the combination of the physical and data link layers. The internet layer is
equivalent to the network layer, and the application layer is roughly doing the job
of the session, presentation, and
application layers with the transport layer
in TCP/IP taking care of part of the duties
of the transport layer.
Note that since the top three layers have similar functionality, we can typically
combine all of the data in those layers and simply refer to it as the Protocol Data
Unit (PDU). In this instance, we can substitute the term PDU for the term
message.
Decapsulation process: Decapsulation is the inverse of the encapsulation
process. Encapsulation is the process of wrapping the data while the
Decapsulation process is a process of opening packs. The process was reversed
from the encapsulation process. Encapsulation process starts from the uppermost
layer (Application Layer) to the lowest layer (Physical layer) while the
Decapsulation process starts from the lowest layer (Physical Layer) to the
uppermost layer (Application Layer)
Figure 2.6: Encapsulation and decapsulation process.
References:
1. Forouzan, B. A. "Data Communication and Networking. Tata McGraw."
(2005).
2. http://www.exa.unicen.edu.ar/catedras/comdat1/material/TP1-Ejercicio5-
ingles.pdf