1.OSI, TCP/IP, and five- tier architecture
Speaking of network architecture, there are two classic partitioning methods, namely OSI seven layer and TCP/IP four layer.
1) OSI
OSI's seven layer protocol architecture, clarity, integrity. But the complexity is high, but not practical.
2) TCP/IP
Compared to the OSI seven layer complex, TCP/IP four-layer structure has been widely used.
However, from a practical point of view, TCP/IP only uses three layers in practical applications.
3) Five-tier architecture.
TCP/IP the lowest layer of the network interface, there is nothing particularly new specific content, and the general communication link is not much different.
Therefore, in the study of the use of a moderate approach, is the TCP/IP system, and the OSI system combined
Form a five-tier architecture from the physical layer, the data link layer, the internetwork layer, the transport layer, and the application layer.
2. For the five layer protocol, the description of each layer
1) Physical Layer
The mechanical, electrical and functional return journey characteristics of communication equipment are defined. (That was so, I understand that is the case, "square plug, plug not in the round mouth. is to define such a standard? ")
Devices: Hubs (forming a collision domain)
2) Data Link layer
Establish, maintain, and release data links between network entities, a data link that turns the network into an error-free channel. (Mac Media Access Layer, LLC Logic link layer)
Key features Remember three O ' 1. Encapsulating into frames
2. Transparent transmission
3. Error detection
Devices: Bridge, cache, accept Mac frames.
3) Network layer:
belongs to the communication subnet, exchanging the data emitted by the transport layer entity through the network connection. It solves the problem of routing, network congestion and heterogeneous network interconnection. (Sending a message)
IP Internetwork Protocol
ARP Address Resolution Protocol
RARP Reverse Address Resolution Protocol
ICMP Inter-network Control Message Protocol
IGMP Internetwork Group Management Protocol
4) Transport Layer
The end-to-end data packet transmission is implemented by the sending and receiving end, which is responsible for ensuring the error-free, loss-free and non-redundant transmission of packets. (Access point for the service is port)
TCP (Transmission Control Protocol) reliable, connection-oriented, responsive mechanism
UDP (User Datagram Protocol) unreliable, no connection, no response mechanism
5) Application Layer
Although we are program developers, what does the above-mentioned protocol say? To be honest, we don't have much contact with us. To the application layer is closely related to our work.
HTTP Hypertext Transfer Protocol This is what we need to know.
FTP File Transfer Protocol
DHCP Dynamic Host Configuration Protocol
NFS Network File System
Telnet Remote Login Protocol
DNS Domain Name System
SNMP Simple Network Management Protocol
The scientific name of this thing: Uniform Resource Locator. Represents a way to find the resource location of a resource in the Internet and access resources.
The usual structure is this.
That's it under HTTP.
Network fundamentals, ASP. NET Core Knowledge (1)--Reprint