Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Which layers are the network protocols divided into

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Which layers are the network protocols divided into? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.

Network layer 7 protocol

OSI is an open reference model for communication system interconnection, and it is a very well-defined protocol specification. The OSI model has a seven-tier structure, and each layer can have several sublayers. The 7 layers of OSI from top to bottom are: 7 application layer, 6 presentation layer, 5 session layer, 4 transport layer, 3 network layer, 2 data link layer, 1 physical layer; the high layer (i.e. 7, 6, 5, 4) defines the function of the application, and the lower 3 layers (3, 2, 1) are mainly oriented to the end-to-end, point-to-point data flow through the network.

Application layer

An application that communicates with other computers that corresponds to the communication service of the application. For example, a word processor without a communication function cannot execute communication code, and programmers engaged in word processing do not care about layer 7 of OSI. However, if you add an option to transfer files, then the word processor's program needs to implement layer 7 of OSI. Example: TELNET,HTTP,FTP,NFS,SMTP and so on.

Presentation layer

The main function of this layer is to define data format and encryption. For example, FTP allows you to choose to transmit in binary or ASCII format. If binary is selected, the sender and receiver do not change the contents of the file. If you choose ASCII format, the sender will convert the text from the sender's character set to standard ASCII and send the data. Convert the standard ASCII to the character set of the receiver computer at the receiver. Example: encryption, ASCII, etc.

Session layer

It defines how to start, control, and end a session, including the control and management of multiple two-way messages, so that the application can be notified when only part of the continuous message is completed, so that the data seen by the presentation layer is continuous. In some cases, if all the data is received by the presentation layer, the data is represented by the presentation layer. Example: RPC,SQL and so on.

Transport layer

The functions of this layer include whether to choose an error recovery protocol or an error-free recovery protocol, and to reuse the input of data streams from different applications on the same host, as well as the function of reordering packets received in the wrong order. Example: TCP,UDP,SPX.

Network layer

This layer defines end-to-end packet transmission, which defines logical addresses that can identify all nodes, as well as how routing is implemented and how to learn. In order to adapt to the transmission medium where the maximum transmission unit length is less than the packet length, the network layer also defines a segmentation method of how to decompose a packet into smaller packets. Example: IP,IPX and so on.

Data link layer

It defines how data is transmitted on a single link. These protocols are related to the various media under discussion. Example: ATM,FDDI and so on.

Physical layer

OSI's physical layer specifications are about the characteristics of transport media, and these specifications usually refer to standards developed by other organizations. Connectors, frames, the use of frames, current, coding and optical modulation all belong to various physical layer specifications. Multiple specifications are commonly used in the physical layer to define all the details. Example: Rj45802.3 and so on.

This is the answer to the question about which layers the network protocol is divided into. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report