当前位置:网站首页>Communication standard -- communication protocol
Communication standard -- communication protocol
2022-07-05 07:54:00 【Soy sauce;】
1. What is an agreement
From the perspective of application , The agreement can be understood as “ The rules ”, It's the rules of data transmission and data interpretation .
hypothesis ,A、B Both parties want to transfer documents . Regulations :
for the first time , Transfer file name , The receiver received the file name , The reply OK To the sender ;
The second time , The size of the sent file , After receiving the data, the receiver replies again OK;
third time , Transfer file content . Again , After receiving the data, the receiver will reply OK Indicates that the file content was received successfully .
thus , No matter what A、B What kind of files are passed between , It is completed through three data transmissions .A、B The simplest data transmission rule is formed between . Both parties send... According to this rule 、 receive data .A、B The mutual rule reached between them is the agreement .
This is only in A、B The agreement to be observed between them is called the original agreement . When this agreement is adopted by more people , Constantly increasing 、 improvement 、 maintain 、 perfect . Eventually form a stable 、 Complete file transfer protocol , It is widely used in various file transmission processes . The protocol becomes a standard protocol . One of the earliest ftp The agreement is derived from this .
TCP The protocol focuses on data transmission .http The protocol focuses on the interpretation of data .
Typical protocol
Transport layer Common protocols are TCP/UDP agreement .
application layer Common protocols are HTTP agreement ,FTP agreement .
The network layer Common protocols are IP agreement 、ICMP agreement 、IGMP agreement .
Network interface layer Common protocols are ARP agreement 、RARP agreement .
TCP Transmission control protocol (Transmission Control Protocol) It's a connection oriented 、 reliable 、 Transport layer communication protocol based on byte stream .
UDP User datagram protocol (User Datagram Protocol) yes OSI A connectionless transport layer protocol in the reference model , Provide simple and unreliable transaction oriented information transfer services .
HTTP Hypertext transfer protocol (Hyper Text Transfer Protocol) It is the most widely used network protocol on the Internet .
FTP File transfer protocol (File Transfer Protocol)
IP Protocol is internet protocol (Internet Protocol)
ICMP Agreement is Internet Control message protocol (Internet Control Message Protocol) It is TCP/IP A sub protocol of the protocol family , Used in IP host 、 Routing control messages between routers .
IGMP Agreement is Internet Group management protocol (Internet Group Management Protocol), It is a multicast protocol in the internet protocol family . The protocol runs between the host and the multicast router .
ARP The protocol is a forward address resolution protocol (Address Resolution Protocol), Through what is known IP, Find the corresponding host MAC Address .
RARP It's reverse address translation protocol , adopt MAC Address determination IP Address .
ttl Through a router minus 1, Default 64 perhaps 128
边栏推荐
- From then on, I understand convolutional neural network (CNN)
- Development tools -- gcc compiler usage
- Gradle复合构建
- Use stm32cubemx tool to write the demo program of FreeRTOS
- Software designer: 03 database system
- static的作用
- Altium designer 19.1.18 - change the transparency of copper laying
- Calibre garbled
- UEFI development learning 6 - creation of protocol
- UEFI development learning 5 - simple use of protocol
猜你喜欢
Can't find real-time chat software? Recommend to you what e-commerce enterprises are using!
[untitled] record the visual shock of the Winter Olympics and the introduction of the display screen
Beijing Winter Olympics opening ceremony display equipment record 3
Numpy——1.數組的創建
Cadence simulation encountered "input.scs": can not open input file change path problem
Consul安装
How to migrate the device data accessed by the RTSP of the easycvr platform to easynvr?
What is Bezier curve? How to draw third-order Bezier curve with canvas?
1-stm32 operation environment construction
C language enhancement -- pointer
随机推荐
Let me teach you how to develop a graphic editor
Consul安装
About yolov3, conduct map test directly
msys2
GPIO circuit principle of stm32
Query the table name used by kettle in Oracle
. Net service governance flow limiting middleware -fireflysoft RateLimit
Charles- unable to grab bags and surf the Internet
Improve lighting C program
How to define guid in AMI code
UEFI development learning series
The global and Chinese market of lithographic labels 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market of resistivity meter 2022-2028: Research Report on technology, participants, trends, market size and share
From then on, I understand convolutional neural network (CNN)
mysql 盲注常见函数
Altium designer 19.1.18 - hide the fly line of a network
UEFI development learning 5 - simple use of protocol
Global and Chinese markets for recycled boilers 2022-2028: Research Report on technology, participants, trends, market size and share
SQL JOINS
Global and Chinese markets for waste treatment air switches 2022-2028: Research Report on technology, participants, trends, market size and share