Layer-5 TCP/IP Protocol application layer ----> transport layer -----> network layer -----> data link layer -------> Physical Layer
Layer-7 OSI Network Protocol application layer ---> presentation layer ---> Session Layer-> transport layer ----> network layer --> data link layer ----> Physical Layer
Transport Layer through Gateway
Network Layer through vro
The data link layer uses bridges and switches
Physical Layer through hubs and relay
Layer-7 protocol:
The layer-7 model is embodied in a Windows program:
Physical Layer-the network card we can see. The function of the NIC is to transfer the high-frequency current conversion data packets sent from the line to the NIC Driver, which also converts the data packets sent from the NIC driver into electrical signals. Defines the physical method for sending data through network devices: interfaces between network media and devices.
The data link layer is the NIC Driver. Define programs for controlling communication connections; packages; monitor and correct packet transmission errors.
Network Layer-NDIS, which provides network interfaces. It determines how data is transmitted between network devices. It selects packets based on the unique network device address. It provides flow and congestion control to prevent the loss of network resources at the same time.
Transport Layer-that is, the packet processing of TCP is carried out at this layer. Manage Information Transmission of the first and last connections in the network; provide reliable and ordered packet transmission through error recovery and flow control devices; provide connectionless packet-oriented transmission.
Session Layer-that is, SPI. SPI is a service provider interface that manages sessions and conversations between users. It controls connections and hangs up connections between users and reports upper-layer errors.
Presentation Layer-API, which provides interfaces for applications. The API is responsible for communication between SPI and applications, defining different data formats between different systems, specifying data transmission formats with independent structures, encoding and decoding data, and encrypting and decrypting data; compress and decompress data.
Application layer ---- EXE is a common application. Defines user interface programs for network communication and data transmission; provides standard services, such as virtual terminals, documents, and task transmission and operations.
The productivity ing between layer-7 protocol and Windows structure is as follows:
7 Application Layer 7 Application (exe)
6 presentation layer 6 Winsock API (dll)
5 Session Layer 5 SPI (dll)
4 Transport Layer 4 TDI (vxd, sys)
3 network layer 3 NDIS (vxd, sys)
2 Data Link Layer 2 NIC Driver (vxd, sys)
1 Physical Layer 1 Nic
Five-layer protocol:
Application layer application gateway
Protocol:
Telnet: Remote Logon
FTP (File Transfer Protocol): File Transfer Protocol
HTTP (Hyper Text Transfer Protocol): Hypertext Transfer Protocol
SMTP (Simple Mail Transter Protocol): Simple Mail Transfer Protocol
POP3 (Post Office Ptotocol): Post Office Protocol
SNMP (Simple Network Mangement Protocol): Simple Network Management Protocol
DNS (Domain Name System): Domain Name System
Details:
Http://baike.baidu.com/view/239619.htm
Http://www.hudong.com/wiki/%E5%BA%94%E7%94%A8%E5%B1%82
Http://zh.wikipedia.org/wiki/%E5%BA%94%E7%94%A8%E5%B1%82
Http://blog.csdn.net/phunxm/article/details/5086080
Http://www.gdou.edu.cn/te/net/net54.htm
Http://weiwuhui.com/4070.html
Transport Layer:
Protocol:
TCP (Transmission Control Potocol): Transmission Control Protocol (reliable Transmission)
UDP (User Data Potocol): User Data Protocol (unreliable transmission)
Details:
Http://baike.baidu.com/view/239605.htm
Http://zh.wikipedia.org/wiki/%E4%BC%A0%E8%BE%93%E5%B1%82
Http://blog.163.com/maliqiong3@126/blog/static/17124402520101017577180/
Http://bbs.chinaunix.net/thread-1617989-1-1.html
Http://www.hudong.com/wiki/%E4%BC%A0%E8%BE%93%E5%B1%82
Http://sec.chinabyte.com/170/11012670.shtml
Http://book.51cto.com/art/200807/81191.htm
Http://www.2cto.com/net/201112/112743.html
Network Layer:
Protocol:
IP (Internet Protocol): network Protocol
ARP (Address Resolution Protocol): Address Resolution Protocol
RARP (Reverse Address Resolution Protocol): Reverse Address Resolution Protocol
ICMP (Internet Control Message Protocol): Internet Control Message Protocol
IGMP (Internet Group Manage Protocol): Internet Group Management Protocol
BOOTP (Bootstrap): Optional secure startup Protocol
Details:
Http://baike.baidu.com/view/239600.htm
Http://baike.baidu.com/view/1868389.htm
Http://zh.wikipedia.org/wiki/%E7%BD%91%E7%BB%9C%E5%B1%82
Http://www.chinaitlab.com/www/techspecial/osi/
Http://www.ntsc.edu.cn/xinxixi/yxkc/network/chapter6/chapter6-1.htm
Http://forum.h3c.com/forum-106-1.html
Http://baike.eepw.com.cn/baike/show/word/%E7%BD%91%E7%BB%9C%E5%B1%82%E5%8D%8F%E8% AE % AE
Http://www.net130.com/netbass/atm/atm4.htm
Data link layer:
Protocol:
HDLC (High Data Link Control): Advanced Data Link Control
SLIP (Serial Line IP): Serial Line IP
PPP (Point-to-Point Protocol): Point-to-Point Protocol
802.2
Details:
Http://baike.baidu.com/view/239592.htm
Http://www.vlan9.com/network/1d648/index.html
Http://www.eefocus.com/html/08-07/47275s.shtml
Http://www.ntsc.edu.cn/xinxixi/yxkc/network/chapter4/chapter4-sector1-1.htm
Http://zh.wikipedia.org/wiki/%E6%95%B0%E6%8D% AE %E9%93%BE%E8%B7%AF%E5%B1%82
Http://www.hudong.com/wiki/%E6%95%B0%E6%8D% AE %E9%93%BE%E8%B7%AF%E5%B1%82
Http://www.cnblogs.com/kzloser/archive/2012/07/08/2581644.html
Http://baike.soso.com/v16970.htm
Http://blog.csdn.net/lycb_gz/article/details/1420735
Physical Layer:
There is no protocol, just the most basic circuit signal conversion
For more information, see:
Http://baike.baidu.com/view/239585.htm
Http://www.hudong.com/wiki/%E7%89%A9%E7%90%86%E5%B1%82
Http://zh.wikipedia.org/zh-cn/%E7%89%A9%E7%90%86%E5%B1%82