Different type of encryption techniques are used to protect the data or any other information from leaking and from illegal use. So another important technique is used to protect the data during transmission is called as data encapsulation. Literally encapsulation means to wrap up or hide so in data encapsulation different type of protocol layers are used to hide the specifications and the personal information is called as data encapsulation. It is also called as the data hiding because in this data is hiding and then transfer from one device to another with the help of protocols layers.
How Data Encapsulation Works?
Data encapsulation use then similar fashion like other forms odd at encryption while working and transmitting data. All the data has been encapsulated and deliver from one location to another in the form of different type pf layers. Different type pf protocols are used in the working of the data encapsulation but the major protocol that build up the connection between all the layers of OSI model and provide them an opportunity to communicate with each other while encapsulation is Protocol Data Unit or PDU. During encapsulation these protocols are attached at the start called as header and t the end called as trailer to control the activity performance. Different names are use for different PDU relevant to the information present in the header.
Data Encapsulation Process:
The process of the data encapsulation has different steps at different layers of OSI model. These steps of process of data encapsulation are as follows
- Encapsulate TCP Header
- Encapsulate IP Header
- MAC Header Encapsulation
- Physical Layer Encapsulation
TCP Header (Application Layer):
The process of the data encapsulation initiates from the application layer of the OSI model and in this layer it encapsulates the TCP header and then with the help of PDU communicates it with the neighboring part. First of all the data present in the layer is converted for the transferring on the network. The data is transfer to the transport layer for the sake of circuits that decides the destination, it is called stream. After this stream broken and transport layer header in came into being that take responsibility of controlling the attached data called as segment.
IP Header Encapsulation (Network Layer):
After the formation of the segment, all the responsibility is move onto the shoulders of the networking layer that deals with the routing protocols of the OSI layer model such as IP. The networking protocol layer attached its header to the segment and then transfers it to the DLL. In the data link layer streams are built again and representing the host destination.
MAC Header (DLL):
The role of the data link layer is that it receives the data packets from the networking layer protocol and then place them on the communicational medium and another important job of DLL is that it has to convert packets into frames, then MAC headers come in contact to assigning the MAC address to the information and decides the destination, if the devices are not similar then it will routed again.
Role of Physical Layer:
Before placing the frames on the network, place them in the digital signals. Here physical layer of the OSI model play its role to convert the 1s and 0s of the frame into the digital signals then it is read by the local networking media.
Reasons of Data Encapsulation:
Every programming has to be done on the basis of some reasons so, data encapsulation also have some reasons which are listed below
- trying to use the object again
- for the sake of independent message or information
- Keep the architecture legal of object.