当前位置:网站首页>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
边栏推荐
- Cadence simulation encountered "input.scs": can not open input file change path problem
- Opendrive arc drawing script
- MLPerf Training v2.0 榜单发布,在同等GPU配置下百度飞桨性能世界第一
- "Source code interpretation" famous programmer TJ's only library
- UEFI development learning 3 - create UEFI program
- Acwing - the collection of pet elves - (multidimensional 01 Backpack + positive and reverse order + two forms of DP for the answer)
- . Net service governance flow limiting middleware -fireflysoft RateLimit
- Acwing-宠物小精灵之收服-(多维01背包+正序倒序+两种形式dp求答案)
- II Simple NSIS installation package
- 软件设计师:03-数据库系统
猜你喜欢
Ads usage skills
Acwing - the collection of pet elves - (multidimensional 01 Backpack + positive and reverse order + two forms of DP for the answer)
生产中影响滑环质量的因素
UEFI development learning 3 - create UEFI program
Altium Designer 19.1.18 - 更改铺铜的透明度
Embedded AI intelligent technology liquid particle counter
导电滑环磨损快的原因
MySql——存储引擎
找不到实时聊天软件?给你推荐电商企业都在用的!
How to migrate the device data accessed by the RTSP of the easycvr platform to easynvr?
随机推荐
Shell脚本基本语法
Application of ultra pure water particle counter in electronic semiconductors
GPIO circuit principle of stm32
UEFI development learning 3 - create UEFI program
Global and Chinese market of digital shore durometer 2022-2028: Research Report on technology, participants, trends, market size and share
Summary of STM32 serial port sending and receiving data methods
Numpy——1.數組的創建
Screen record of the opening ceremony of the Beijing winter olympics 2
A simple method to prove 1/t Fourier transform
Global and Chinese market of core pallets 2022-2028: Research Report on technology, participants, trends, market size and share
1089 insert or merge, including test point 5
Create inf module in AMI code
Global and Chinese market for blood typing 2022-2028: Research Report on technology, participants, trends, market size and share
.NET服务治理之限流中间件-FireflySoft.RateLimit
IC software learning
RF ride side door processing of prompt box
Gradle复合构建
Altium designer learning (I)
Beijing Winter Olympics opening ceremony display equipment record 3
Some errors in configuring the environment