当前位置:网站首页>Design and implementation of tcp/ip series overview
Design and implementation of tcp/ip series overview
2022-07-04 05:40:00 【Shadow kill God】
1、 layered
1.1. Concept of layering
Network layering is the sending or forwarding of data to be completed by network nodes 、 Pack or unpack , Control the loading or removal of information , It is completed by different hardware and software modules . In this way, the complex problem of communication and network interconnection can be simplified .
Layered design allows developers to implement different parts of the system separately , It is usually done by professionals in different fields , The most commonly mentioned concept of protocol layering is based on an international organization for standardization (ISO) Open systems interconnection standards defined ( Referred to as OSI) Model .
OSI The model mainly includes seven logical layers , Namely : The physical layer 、 The link layer 、 The network layer 、 Transport layer 、 The session layer 、 The presentation layer 、 application layer .
(1) The physical layer : It mainly involves physical entities , Specify connector 、 Data rate and how to encode bits on some media . It also describes low-level error detection and correction and frequency allocation .
(2) The link layer : Specify the method of communication over a single link ,
(3) The network layer : Specify the method of multi hop communication through potentially different types of link layer networks . For packet networks , It describes Abstract packet format and standard addressing structure .
(4) Transport layer : Specify the method of connection or association between multiple programs running in the same computer system . If not achieved elsewhere , This layer can realize reliable transmission .
(5) The session layer : Specify the method of a communication session consisting of multiple connections , It may involve closing the connection 、 Restart the connection and checkpoint process . for example ISO X.255 Is a session layer protocol .
(6) The presentation layer : Methods for data representation formats and conversion rules for applications . Typical examples are characters from EBCDIC Convert to ASCII code . Encryption is sometimes related to this layer , It may also be on other layers .
(7) application layer : Methods to complete some user initialization tasks . The application layer is usually designed and implemented by application developers .
2. Reuse in layered implementation 、 Decompose and encapsulate
A major advantage of layering is the ability to reuse protocols , This form of reuse allows multiple protocols to coexist in the same infrastructure , It also allows multiple instances of the same protocol object to exist at the same time , And will not be confused .
Multiplexing can happen at different layers , And there are different types of identifiers in each layer , Used to determine which protocol or flow information belongs to , When a protocol data unit of a layer (PDU) When the object of is carried by the lower level , This process is called encapsulation at adjacent lower layers . Encapsulation is often used with layering .
边栏推荐
- What are the reasons for the frequent high CPU of ECS?
- Signification des lettres du module optique et abréviation des paramètres Daquan
- LM小型可编程控制器软件(基于CoDeSys)笔记二十二:错误4268/4052
- C语言简易学生管理系统(含源码)
- Integer type of C language
- 如何使用postman实现简单的接口关联【增删改查】
- [MySQL practice of massive data with high concurrency, high performance and high availability -8] - transaction isolation mechanism of InnoDB
- Li Kou's 300th weekly match
- Notepad++--显示相关的配置
- Leetcode 184 Employees with the highest wages in the Department (July 3, 2022)
猜你喜欢
Signification des lettres du module optique et abréviation des paramètres Daquan
数据标注是一块肥肉,盯上这块肉的不止中国丨曼孚科技
Supplement the JS of a video website to decrypt the video
TCP state transition diagram
Ping port artifact psping
LM small programmable controller software (based on CoDeSys) note XXI: error 3703
ETCD数据库源码分析——初始化总览
检漏继电器JY82-2P
Introduction to AMBA
[high concurrency, high performance and high availability of massive data MySQL practice-7] - memory data drop disk
随机推荐
VB. Net simple processing pictures, black and white (class library - 7)
[technology development -25]: integration technology of radio and television network, Internet, telecommunication network and power grid
Basic concept of bus
ansys命令
el-select如何实现懒加载(带搜索功能)
Flask
基于单片机的太阳能杀虫系统
left_ and_ right_ Net normal version
Penetration tool - sqlmap
How much computing power does transformer have
Simulated small root pile
ETCD数据库源码分析——初始化总览
Halcon image calibration enables subsequent image processing to become the same as the template image
VB. Net GIF (making and disassembling - optimizing code, class library - 5)
Void convolution, deformable convolution, deformable ROI pooling
Thread pool: use thread pool to optimize query speed
Talk about the SQL server version of DTM sub transaction barrier function
卸载Google Drive 硬盘-必须退出程序才能卸载
The data mark is a piece of fat meat, and it is not only China Manfu technology that focuses on this meat
C language simple student management system (including source code)