当前位置:网站首页>OSI、TCP/IP(A1)
OSI、TCP/IP(A1)
2022-07-24 01:24:00 【Is it a wolf or a fox】
1、 How computers work
Abstract language ( Such as the language we often use )--- convert to --- code
code --- convert to --- Binary system
Binary system --- convert to --- Electrical signals >> The essence is to deal with high and low levels
Then process the electrical signal
( Its operation mode generally follows certain methods >> agreement )
In some scenes on the network :
application = service = agreement = standard
OSI Reference model >> Open system interconnection reference model
Seven layer model , Also known as OSI(Open System Interconnection) Reference model , The reference model is the international organization for standardization (ISO) A standard system for interconnection between computers or communication systems . It's a seven story 、 Abstract model body , Not only a series of abstract terms or concepts , It also includes specific agreements .
From top to bottom, the seven layer model is :
application layer : The agreement has :HTTP、 FTP、 TFTP、 SMTP、 SNMP、 DNS、TELNET、 HTTPS、 POP3 DHCP( Provide various application services , Convert abstract language into code , Provide human-computer interaction interface )
The presentation layer : Presentation of data 、 Security 、 Compress . The format is ,JPEG、ASCll、DECOIC、 Encryption format, etc ( Convert the encoding to binary )
The session layer : establish 、 management 、 Terminate the conversation . Corresponding host process , Refers to the ongoing session between the local host and the remote host ( Maintain session links between web applications and web servers )
Transport layer : Define the protocol port number of data transmission , And flow control and error checking . The agreement has :TCP UDP, Once the packet leaves the network card, it will enter the network transmission layer ( Realize end-to-end communication )
The network layer : Logical address addressing , Realize path selection between different networks . The agreement has :ICMP、 IGMP、 IP(IPV4 IPV6) ARP、 RARP( Use IP Address realizes logical addressing between hosts )
obtain DIP Address method :
1、 Know the address of the server directly
2、 Access the service area through the domain name
3、 Access the server through the application
4、 radio broadcast
Data link layer : Establish logical connections 、 Address the hardware 、 Error checking and other functions . Combining bits into bytes and then into frames , use MAC Address access media , To discover but not correct ( Control physical hardware , Convert binary to electrical signal )
MAC Address :48 Bit binary structure >>1、 The only global 2、 use the same pattern
obtain DMAC Methods ——ARP agreement —— Address resolution protocol
positive ARP:
First , The host sends... In the form of broadcast ARP request , Based on the known IP Address , request MAC Address . All devices in the broadcast domain can receive request packets , All devices that receive packets will record the source in the packet IP Address and source MAC The correspondence of the address is related to the local ARP The cache table . after , Look at the request IP Address , If it's local IP Address , Will be performed ARP The reply , Local MAC Address inform . If it's not local IP Address , The packet will be discarded directly . after , When sending data again , Give priority to local ARP Cache table , If there are records in the table , Then the information will be sent directly according to the record , If there is no record , Then send ARP Request package acquisition MAC Address .
reverse ARP :
adopt MAC The address for IP Address
free ARP:
1 Small self introduction 2、 Detect address conflicts
The physical layer : establish 、 maintain 、 Disconnect the physical connection ( Handle the transmission of electrical signals )

TCP/IP Model
TCP/IP Protocol cluster

TCP/IP The standard model --- Four layer model TCP/IP peer model --- Five layer model
PDU--- Protocol data unit

TCP/IP The model supports cross layer encapsulation , And in the OSI Not in the middle ( Cross layer encapsulation is generally used to send information between short-range direct connected devices , It can improve the forwarding efficiency )
1、 Cross four layer packaging --- OSPF---89
2、 Span three , Four layer package --- STP


边栏推荐
- Notes: binary tree pruning (recursion, iteration)
- 为什么博途V17及以下的HMI面板不能与1500固件版本2.9或1200版本4.5 的CPU建立连接?
- C language force deduction question 53 of the largest subarray sum. Dynamic programming and divide and conquer
- Kubernetes deployment dashboard (visual interface)
- Free learning machine learning transaction resources
- New infrastructure of enterprise data in the era of digital transformation | love Analysis Report
- Vessel Segmentation in Retinal Image Based on Retina-GAN
- Kubernets déploiement du tableau de bord (interface visuelle)
- IDEA设置 自动导包删无用包
- 128. Longest continuous sequence
猜你喜欢

Hypothesis test of Pearson correlation coefficient

Concept, key points and summary of postgraduate entrance examination in Polymer Physics

Research on retinal vascular segmentation based on GAN using few samples

Idea setting automatic package import and useless package deletion

SCM learning notes 6 -- interrupt system (based on Baiwen STM32F103 series tutorials)

基于强化空间注意力的视网膜网络(ESA-Unet)

Why can't HMI panels of botu V17 and below connect with CPUs of 1500 firmware version 2.9 or 1200 firmware version 4.5?

SCM learning notes 9 -- Serial Communication (based on Baiwen STM32F103 series tutorials)

Kotlin foundation from introduction to advanced series explanation (basic chapter) keyword: suspend

Detailed explanation of OSPF in hcip
随机推荐
EFCore高级Saas系统下一个DbContext如何支持多数据库迁移
Explanation and induction of polymer physics terms
Use of crawler request library 2
Good doctor consultation - Yu Chi - oral information
OSPF(第四天笔记)
沃尔沃xc90的安全性如何?提供5座和7座可选
Idea setting automatic package import and useless package deletion
SCM learning notes 4--gpio (based on Baiwen STM32F103 series tutorials)
Prometheus operator user guide notes
Description of TCP packet sticking problem code
Kotlin基础从入门到进阶系列讲解(基础篇)关键字:suspend
C language: student management system based on sequence table, super detailed, all with notes, if you don't understand it after reading, please slap me.
Interview question: what are the differences between ArrayList and LinkedList
SCM learning notes 9 -- common communication methods (based on Baiwen STM32F103 series tutorials)
网络类型(第三天笔记)
C language force deduction question 53 of the largest subarray sum. Dynamic programming and divide and conquer
SCM learning notes 6 -- interrupt system (based on Baiwen STM32F103 series tutorials)
Matlab extracts the original data in the illustrations of the paper - fig2data tool
2022全球开发者薪资曝光:中国排第19名,平均年薪23,790美元
Group chat room based on UDP