当前位置:网站首页>[Network Communication II] TCP reference model
[Network Communication II] TCP reference model
2022-07-20 20:29:00 【Kangzai】
TCP Reference model
1、 background
Recently, I am engaged in network programming , I went to know before socket signal communication , Learning from examples . So I'm lucky to revisit the network model . Use the current knowledge reserve to relearn , It is found that it is much better than the previous understanding . At least it's much better than the former self who almost failed the course . Ha ha ha , Let's get straight to the point .
2、OSI Reference model
The basic model of network model is OSI Reference model , It is divided into 7 layer . The specific contents are as follows
From the top down | Layer name | effect | give an example |
---|---|---|---|
F7 | application layer | Interface between application and network , Provide services directly to users | E-mail 、 Telnet Protocol |
F6 | The presentation layer | Responsible for data format conversion , Such as coding 、 Data format conversion and Encryption and decryption . | GBK Transcoding Utf-8 code |
F5 | The session layer | Manage and coordinate the communication between various processes on different hosts ( dialogue ), Be responsible for the establishment of 、 Manage and terminate sessions between applications | |
F4 | Transport layer | Provide reliable and transparent data transmission between communication hosts for upper layer protocol service , Including handling error control and flow control . Only on the communication host , No need to be on the road Handled by the device | |
F3 | The network layer | Transfer data over the network to the destination address , Mainly responsible for addressing and routing Selected by | Routing table routing |
F2 | Data link layer | Responsible for the communication transmission between two interconnected hosts on the physical level , Will be made by 0 、 1 The bitstream is divided into data frames and transmitted to the opposite end , That is, the generation and reception of data frames | |
F1 | The physical layer | Responsible for logic signals ( Bit stream ) And physical signals ( electric The signal 、 optical signal ) The conversion between , Provide physical connection for the data link layer through the transmission medium | wifi、 Ethernet, etc |
2、TCP/IP Model
TCP/IP It is a family of protocols developed for the use of the Internet , So the internet protocol is TCP/IP.TCP/IP There is only the difference between the four tier model and the five tier model . Specific view <2022 Graphic network > This book .
The following shows that TCP/IP How to encapsulate a data in the model , That is, how the message is generated .
边栏推荐
- Distribution and application of Internet of things technology in the industrial pattern of Internet of things
- 现在运营想要查看所有来自浙江大学的用户题目回答明细情况,请你取出相应数据
- 文献阅读十一—OpenAttack: An Open-source Textual Adversarial Attack Toolkit
- 《认知天性》这本书对我的启发,以及我在日常中的应用
- Go语言 函数
- 微信小程序的转发分享功能
- 2020亚太数学建模竞赛A题翻译
- Special description of random() random function of C (an amazing feature of random function)
- After four years of basic testing and self-taught automation (too one-sided), I suddenly received the news of being laid off
- The last technical problem baffles me: how to avoid the risk of production environment performance testing?
猜你喜欢
iNFTnews | 音樂在Web3中的未來
这才是做了5年的软件测试人员该有的样子...
Club + development process + mental process + reasons for failure + on the road again
揭开,字节跳动全链路压测的实践之路
Brain tumor segmentation using deep learning +HybridResUnet脑胶质瘤分割BraTs +论文解读
minitouch点击原理
Custom attribute operation of DOM series
Literature reading Xi - openattack: an open source textual advantageous attack Toolkit
Go语言 函数
After 10 years of summary and sharing with test engineers, an article will teach you how to quickly find bugs and write test cases
随机推荐
Web3.0应用架构设计演化
软测总监:“ 工作五年你连服务端接口测试还不知道?“
Japanese verbs + verb types + verb flexibility
Innftnews | l'avenir de la musique sur le Web 3
iNFTnews | 音乐在Web3中的未来
2D denseunet based brain glioma segmentation brats + paper translation + code implementation
The meaning of learning (I) the root cause of love problems comes from ignorance
SQL Server数据库备份和恢复措施
力扣 731. 我的日程安排表 II
Club + development process + mental process + reasons for failure + on the road again
日语动词+动词类型+动词活用
这才是做了5年的软件测试人员该有的样子...
为Halide安装opencl支持
事件循环机制 浏览器-nodejs-async/await执行顺序-promise执行顺序面试题
Custom attribute operation of DOM series
iNFTnews | 音樂在Web3中的未來
我有 7种 实现web实时消息推送的方案,7种!
[概念]凯明之作Resnet+心路历程[详细]+解决退化问题+让网络变得更深成为现实
新的抽象称为流Stream
KITS+肾脏肿瘤预处理+重采样+窗体变换+强度裁剪