当前位置:网站首页>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


边栏推荐
- SCM learning notes 1 -- data download and environment construction (based on Baiwen STM32F103 series tutorials)
- HCIP第八天笔记
- Matlab提取论文插图中原始数据—Fig2Data工具
- 数字化转型时代的企业数据新基建 | 爱分析报告
- High voltage technology learning summary
- Good doctor consultation - Yu Chi - oral information
- High voltage technology test questions and answers
- SCM learning notes 5--stm32 clock system (based on Baiwen STM32F103 series tutorials)
- Matlab extracts the original data in the illustrations of the paper - fig2data tool
- 网络 类型
猜你喜欢

Deep understanding of collaborative process

Matlab extracts the original data in the illustrations of the paper - fig2data tool

HCIP第十天笔记

Axure implements addition, deletion, modification and query

HCIP中的MGRE GRE OSPF过程

Arm architecture and programming 6 -- Relocation (based on Baiwen arm architecture and programming tutorial video)

Polymer synthesis technology

128. 最长连续序列

Measurement and acquisition of permanent magnet motor parameters (inductance, resistance, pole number, flux linkage constant)

SCM learning notes 4--gpio (based on Baiwen STM32F103 series tutorials)
随机推荐
HCIP第十一天笔记
2022全球开发者薪资曝光:中国排第19名,平均年薪23,790美元
HCIP第六天笔记
面试题之:ArrayList和LinkedList有哪些区别
Skywalking distributed system application performance monitoring tool - upper
Matlab extracts the original data in the illustrations of the paper - fig2data tool
OSPF(第六天笔记)
Sublime text 3 Chinese + add common plug-ins
Arm architecture and programming 6 -- Relocation (based on Baiwen arm architecture and programming tutorial video)
Hcip, OSPF comprehensive experiment
J'ai choisi la mauvaise technologie au mauvais moment.
Broadcast, multicast, unicast
为什么博途V17及以下的HMI面板不能与1500固件版本2.9或1200版本4.5 的CPU建立连接?
C语言力扣第53题之最大子数组和。动态规划与分治
2022 global developer salary exposure: China ranks 19th, with an average annual salary of $23790
[cloud native kubernetes] deployment advanced resource object management under kubernetes cluster
HCIP第五天笔记
Polymer synthesis technology
Arm architecture and programming 3 -- key control LED (based on Baiwen arm architecture and programming tutorial video)
Create database table db.create in flask project_ all()