The transport layer in the TCP/IP reference model corresponds to the transport layer in the OSI reference model. The OSI architecture standard defines a seven-layer framework for network interconnection, including the physical layer, data link layer, network layer, transport layer, session layer, presentation layer and application layer.
The transport layer in the TCP/IP reference model corresponds to the transport layer in the OSI reference model.
Related introduction:
OSI (Open System Interconnect), that is, open system interconnection. Generally called the OSI reference model, it is a network interconnection model studied by the ISO organization in 1985.
This architecture standard defines the seven-layer framework of network interconnection (physical layer, data link layer, network layer, transport layer, session layer, presentation layer and application layer), which is the OSI Open System Interconnection Reference Model.
Advantages of the OSI reference model:
1. Division of labor and cooperation, clear responsibilities
Work of similar nature is divided into the same layer, and work of different nature is divided into different layers. . In this way, the scope of work responsible for each layer is clearly distinguished and will not overlap with each other. If a problem occurs, it is easy to determine which layer is not done well, and you should improve the work of that layer first, so as not to be unable to start.
2. Peer-to-peer conversation
Peer-to-peer conversation means that they are at the same level. Peer-to-peer conversation means that the same layer talks to the same layer. For example: the 3rd layer talks to the 3rd layer. The 4th floor talks to the 4th floor... and so on.
So the Nth layer of one party only talks to the Nth layer of the other party. It only needs to receive and interpret the information it sends. There is no need to care about the N-1st or N1th layer of the other party. How to do it, because that is handled by the N-1th layer and N1th layer of one party.
In fact, it is a common rule for both parties to talk as equals. The biggest advantage of this is that it simplifies the things that each layer is responsible for. Therefore, communication protocols are all agreements between peer individuals when communicating.
3. Deal with it layer by layer and take responsibility at every level
Since the levels are clearly divided, of course you should handle things step by step and handle them layer by layer. You are never allowed to go over the previous layer or overstep. Next level. Therefore, after the Nth layer receives the data, it must process the data first before transmitting the data upward to the N1th layer. If it receives the data from the N1th layer, it must process it correctly before transmitting it downwards. Layer N-1.
When any layer receives data, it can believe that the previous layer or the next layer has done what they should do. The number of layers depends on efficiency and actual operation difficulty, not the number of layers. The more the better.
The above is the detailed content of Which layer in the OSI reference model does the transport layer in the TCP/IP reference model correspond to?. For more information, please follow other related articles on the PHP Chinese website!