当前位置:网站首页>Five layer network architecture
Five layer network architecture
2022-07-06 09:09:00 【~Pompeii】
Five layer network architecture
The five layer network architecture is divided into : application layer 、 Transport layer 、 The network layer 、 Data link layer 、 The physical layer . The functions of each layer are as follows :
The fifth floor —— application layer (application layer)
(1) application layer (application layer): Is the highest in the architecture . Directly provide services for the user's application process .
(2) There are many application layer protocols in the Internet , For example, it supports World Wide Web applications HTTP agreement , Email enabled SMTP agreement , Supporting file transfer FTP Protocol, etc .
The fourth level —— Transport layer (transport layer)
(1) Transport layer (transport layer): Responsible for providing services for communication between processes in two hosts . Because a host can run multiple processes at the same time , So the transport layer has Reuse and Divide up The function of .
a. Reuse , It means that multiple application layer processes can use the services of the following transport layer at the same time .
b. Divide up , It is to deliver the received information to the corresponding processes in the above application layer .
(2) The transport layer mainly uses the following two protocols : **(1) Transmission control protocol TCP(Transmission Control Protocol):** Connection oriented , The unit of data transmission is message segment , Able to provide reliable delivery . **(2) User packet protocol UDP(User Datagram Protocol):** No connection , The unit of data transmission is user datagram , There is no guarantee of reliable delivery , Only available “ Do your best to deliver ”.
The third level —— The network layer (network layer)
The network layer (network layer) It mainly includes the following two tasks :
(1) Responsible for providing communication services for different hosts in packet switching network . When sending data , The network layer transmits the remaining message segments or user datagrams in the transport layer . stay TCP/IP In the system , Because the network layer uses IP agreement , So grouping is also called IP The datagram , Or simply datagram .
(2) Choose the right route , Group that causes the source host transport layer to be passed down , Can find the destination host through the router in the network .
The second floor —— Data link layer (data link layer)
** Data link layer (data link layer):** Often referred to as the link layer , We know , Data transfer between two hosts , It's always transmitted over a link , in other words , Data transfer between two adjacent nodes is direct ( Point to point ), At this time, we need to use a special link layer protocol .
When transferring data between two adjacent nodes , The data link layer hands over the network layer IP Datagram assembly into frame (framing), On the link between two adjacent nodes “ transparent ” To transmit data in a frame .
Each frame contains the data and the necessary control information ( Such as synchronous information 、 Address information 、 Error control, etc ). Typical frame length is hundreds of bytes to more than one thousand bytes .
Be careful :” transparent ” It's a very important term . It said , Something that actually exists appears as if it doesn't exist .” Transfer data transparently at the data link layer ” It means that any bit combination data that is unable to pass through this data link layer . therefore , For the data being transmitted , These data are “ Can't see ” Data link layer . Or say , The data link layer is transparent to this data . (1) When receiving data , The control information enables the receiver to know which bit a frame starts from and ends at . such , After receiving a frame, the data link layer , You can extract the data from it , Hand over to the network layer . (2) The control information also enables the receiver to detect whether there is any error in the received frame . If there is a mistake , The data link layer simply discards the frame in error , In order to avoid further transmission waste of network resources . If you need to correct your mistakes , It's on the transport floor TCP Agreement to complete .
first floor —— The physical layer (physical layer)
** The physical layer (physical layer):** The unit of data transmitted on the physical layer is bit . The task of the physical layer is to transparently transmit bitstreams .
边栏推荐
- [MySQL] multi table query
- LeetCode:236. The nearest common ancestor of binary tree
- [oc]- < getting started with UI> -- common controls - prompt dialog box and wait for the prompt (circle)
- 【图的三大存储方式】只会用邻接矩阵就out了
- LeetCode:剑指 Offer 42. 连续子数组的最大和
- Tdengine biweekly selection of community issues | phase III
- Booking of tourism products in Gansu quadrupled: "green horse" became popular, and one room of B & B around Gansu museum was hard to find
- LeetCode41——First Missing Positive——hashing in place & swap
- Advance Computer Network Review(1)——FatTree
- 使用标签模板解决用户恶意输入的问题
猜你喜欢
随机推荐
LeetCode:214. 最短回文串
Tdengine biweekly selection of community issues | phase III
Leetcode: Sword finger offer 48 The longest substring without repeated characters
Redis之五大基础数据结构深入、应用场景
Nacos 的安装与服务的注册
LeetCode:221. Largest Square
CUDA实现focal_loss
CUDA implementation of self defined convolution attention operator
LeetCode:39. 组合总和
Mise en œuvre de la quantification post - formation du bminf
[OC-Foundation框架]-<字符串And日期与时间>
Revit secondary development Hof method calls transaction
Guangzhou will promote the construction of a child friendly city, and will explore the establishment of a safe area 200 meters around the school
LeetCode:236. The nearest common ancestor of binary tree
Pytorch view tensor memory size
Leetcode刷题题解2.1.1
[oc]- < getting started with UI> -- common controls - prompt dialog box and wait for the prompt (circle)
requests的深入刨析及封装调用
LeetCode:673. 最长递增子序列的个数
Post training quantification of bminf