What are the main elements of network protocols?
The main elements of the network protocol are: 1. Semantics; explaining the meaning of each part of the control information. 2. Grammar; the structure and format of user data and control information, and the order in which data appears. 3. Timing; a detailed description of the sequence of events.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
Network protocol is a collection of rules, standards or conventions established for data exchange in computer networks.
Peer entities usually refer to information units at the same level in the computer network architecture. The general system network protocol includes five parts: communication environment, transmission service, vocabulary, information encoding format, timing, rules and procedures. In 1969, when the U.S. Department of Defense established the ARPA Computer Network, the earliest network, it issued a set of military standards for computer communication protocols. It included five protocols. It is customary to use TCP and IP as this set of protocols. general name.
Main elements of network protocols
(1) Semantics. Semantics is the interpretation of the meaning of each part of the control information. It specifies what control information needs to be sent, as well as the completed actions and responses.
(2) Grammar. Syntax is the structure and format of user data and control information, as well as the order in which the data appears.
(3) Timing. Chronology is a detailed description of the order in which events occur. (Also known as "synchronization").
People vividly describe these three elements as: semantics represents what to do, syntax represents how to do it, and timing represents the order of doing it.
Hierarchical structure
Due to the complexity of the connections between network nodes, when formulating a protocol, complex components are usually decomposed into some simple components and then combined stand up. The most commonly used composite technology is the hierarchical approach. The hierarchical structure of the network protocol is as follows:
(1) Each layer in the structure stipulates clear service and interface standards.
(2) Treat the user’s application as the highest layer
(3) Except for the highest layer, each layer in the middle provides services to the upper layer and at the same time to the lower layer user.
(4) The physical communication line is regarded as the lowest layer. It uses parameters transmitted from the highest layer and is the basis for providing services.
Commonly used protocols
TCP/IP protocol:
TCP/IP (Transport Control Protocol/Internet Protocol, Transmission Control Protocol/Internet Protocol) The history should be traced back to the predecessor of the Internet - the ARPAnet era. In order to realize the interconnection between different networks, the U.S. Department of Defense developed the TCP/IP architecture and protocols from 1977 to 1979. TCP/IP is composed of a set of multiple sub-protocols with professional purposes, including TCP, IP, UDP, ARP, ICMP, etc. TCP/IP has developed rapidly due to its advantages such as low implementation cost, secure and reliable communication between multiple platforms, and routability, and has become a standard protocol in the Internet. In the 1990s, TCP/IP has become the preferred protocol in local area networks. In the latest operating systems (such as Windows 7, Windows XP, Windows Server 2003, etc.), TCP/IP has been installed as the default communication protocol.
NetBEUI:
That is NetBios Enhanced User Interface, or NetBios Enhanced User Interface. It is an enhanced version of the NetBIOS protocol and has been adopted by many operating systems, such as Windows for Workgroup, Win 9x series, Windows NT, etc. The NETBEUI protocol is useful in many situations and is the default protocol for operating systems before WINDOWS98. The NetBEUI protocol is a short and concise broadcast protocol with high communication efficiency. It does not require any settings after installation and is particularly suitable for transmitting data in "Network Neighborhoods". Therefore, it is recommended that in addition to the TCP/IP protocol, computers in small LANs can also be equipped with the NetBEUI protocol. Another thing to note is that if a WINDOWS98 machine with only the TCP/IP protocol installed wants to join the WINNT domain, the NetBEUI protocol must also be installed.
IPX/SPX protocol:
It is originally a protocol developed by Novell specifically for use in NetWare networks, but it is also very commonly used - most online games support the IPX/SPX protocol, such as StarCraft, Counter-Strike, etc. Although these games can also be connected through the TCP/IP protocol, it is obviously more troublesome to use the IPX/SPX protocol because no settings are required at all. Apart from this, the IPX/SPX protocol does not seem to be very useful in non-LAN networks. If you are determined not to play games online in a local area network, then this agreement is dispensable.
Related recommendations: "Programming Video Course"
The above is the detailed content of What are the main elements of network protocols?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

In recent years, Go language, as an efficient, lightweight, and excellent concurrency programming language, has attracted more and more people's attention and love. In terms of network programming, the Go language has rich network protocol support and can help developers build network applications quickly and conveniently. Let's take a look at the network protocols in Go language. 1.TCPTCP (TransmissionControlProtocol, Transmission Control Protocol) is a transmission protocol commonly used in computer networks.

Commonly used protocols in Java network programming include: TCP/IP: used for reliable data transmission and connection management. HTTP: used for web data transmission. HTTPS: A secure version of HTTP that uses encryption to transmit data. UDP: For fast but unstable data transfer. JDBC: used to interact with relational databases.

The three elements of the network protocol: 1. Semantics, which explains the meaning of each part of the control information; it stipulates what kind of control information needs to be sent, as well as the completed actions and what kind of responses should be made. 2. Grammar, that is, the structure and format of user data and control information, and the order in which data appears. 3. Timing, that is, a detailed description of the sequence of events.

Commonly used protocols and libraries for Java network programming: Protocols: TCP, UDP, HTTP, HTTPS, FTP Libraries: java.net, java.nio, ApacheHttpClient, Netty, OkHttp

Python language is a high-level programming language, and developers usually do not need to pay too much attention to its underlying technical implementation. However, when it comes to implementing network protocols, we need to have a deep understanding of its underlying technology in order to properly implement and optimize network applications. This article will delve into the underlying technology of Python, taking the implementation of a simple network protocol as an example, and provide specific code examples. 1. Introduction to network protocols Network protocols are communication rules and standards in computer networks, used to ensure that data communication between different computers is safe, effective and error-free. net

How to set up a CentOS system to disable unnecessary network protocols and services Introduction: CentOS is a popular Linux operating system that is widely used in server environments. To improve system security and performance, unnecessary network protocols and services need to be disabled. This article will introduce how to set up a CentOS system to disable unnecessary network protocols and services. Steps: Log in to the CentOS system. Open a terminal and execute the following command with root user rights to edit the network configuration file. sudovi

The main elements of the network protocol are: 1. Semantics; explaining the meaning of each part of the control information. 2. Grammar; the structure and format of user data and control information, and the order in which data appears. 3. Timing; a detailed description of the sequence of events.

The network protocol used by the Internet is "TCP/IP protocol". TCP/IP refers to Transmission Control Protocol/Internet Protocol, also known as network communication protocol. It is a protocol suite that can realize information transmission between multiple different networks. The TCP/IP transmission protocol stipulates the standards and methods for communication between various parts of the Internet; and, the TCP/IP transmission protocol is two important protocols that ensure the timely and complete transmission of network data information.