In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Today, I will talk to you about the key elements of the network protocol, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following for you. I hope you can gain something according to this article.
The key elements of the network protocol are: 1, syntax, that is, the structure or format of data and control information; 2, semantics, that is, what kind of control information needs to be sent, what kind of action to complete and what kind of response; 3. The timing also means "rules". That is, a detailed description of the sequence of events.
Key elements of a network protocol:
1. Syntax, the structure or format of data and control information
two。 Semantics, that is, what kind of control information needs to be sent, what actions are completed, and what responses are made.
3. Timing, that is, a detailed description of the order in which events are implemented.
Key elements of a network protocol:
The three elements of network protocols are syntax, semantics and rules (timing), among which the protocols in LAN are the most important.
Brief introduction of HTTP Protocol
HTTP is an object-oriented protocol belonging to the application layer. Because of its simple and fast way, it is suitable for distributed hypermedia information systems. It was put forward in 1990 and has been continuously improved and expanded after several years of use and development. At present, the sixth version of HTTP/1.0 is used in WWW, the standardization of HTTP/1.1 is in progress, and the proposal of HTTP-NG (Next Generation of HTTP) has been put forward.
The main features of HTTP protocol can be summarized as follows:
1. Support client / server mode.
two。 Simple and fast: when a customer requests a service from the server, it only needs to send the request method and path. The commonly used request methods are GET, HEAD, and POST. Each method specifies a different type of contact between the customer and the server.
Because the HTTP protocol is simple, the program scale of the HTTP server is small, so the communication speed is very fast.
3. Flexibility: HTTP allows the transfer of any type of data object. The type being transmitted is marked by Content-Type.
4. Connectionless: connectionless means limiting the processing of only one request per connection. After the server processes the customer's request and receives the customer's reply, it disconnects. Transmission time can be saved in this way.
5. Stateless: the HTTP protocol is stateless. Statelessness means that the protocol has no memory ability for transactions. The lack of state means that if the previous information is required for subsequent processing, it must be retransmitted, which may result in an increase in the amount of data transmitted per connection. On the other hand, the server responds faster when it does not need previous information.
After reading the above, do you have any further understanding of the key elements of the network protocol? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.