节点文献

TCP/IP协议的嵌入式实现

The Embedded Implementation of TCP/IP Protocol

【作者】 王明江

【导师】 付兴武;

【作者基本信息】 辽宁工程技术大学 , 控制理论与控制工程, 2004, 硕士

【摘要】 TCP/IP协议族是目前应用最为广泛的网络协议,可运行于不同的网络上,但应用最多的局域网技术是以太网技术。本文研究的是如何在嵌入式系统中基于以太网技术有效实现TCP/IP协议族。首先分层介绍了该协议族中的各个协议的责任及其相互关系。然后同协议的分层开发一样,我们也是分层实现了各个层的主要的必须的协议。在链路层,详细描述了主控芯片和接口芯片的数据传输过程,同时对ARP的工作过程原理透彻的介绍并给出了翔实的实现流程图。在网络层,IP协议相对实现得较简单,仅仅实现了封装和分用。阐述了校验和算法的原理,附属协议ICMP,只是实现了回显请求/应答功能。使用了较大的篇幅,描述了TCP的原理,特别是连接的建立和终止的过程,给出了一个完整的状态转换图。应用层的协议较多,与特定的应用相关,本设计中简单的实现了两个应用层协议HTTP协议和MODBUS规约。

【Abstract】 At present, TCP/IP protocols are network protocols, which are used most extensively and can run on different network. But Ethernet technology is a LAN technology, which is used most extensively. This paper is about how to effectively implement TCP/IP protocols on embedded systems on base of Ethernet technology.At first, the responsibility and mutual relation of these protocols in TCP/IP protocols are introduced hierarchically.Then the chief protocols in each layer are implemented hierarchically just like those protocols are developed hierarchically. In link layer, the procedure of data transmission between the chief chip and interface chip is described at large. At the same time, the operational principle of ARP is exposed very clear and the flow diagram for implement is provided thoroughly. In network layer, IP is simply implemented comparatively, only encapsulation and demultiplexing are implemented. The principle of algorithm for checksum is exhausted . The function of echo request and reply is implemented only for the adjective ICMP. On the other hand, emphasis is placed on the description of the principle of TCP, especially on the procedure of establishment and termination of linking, what’s more, the diagram of status of a link is provided. There are many protocols in application layer, which is related with especially application. Here, two protocols, HTTP and modbus specification, are implemented.

【关键词】 TCP/IP协议族以太网IPARPICMPTCP 封装分用HTTP MODBUS
【Key words】 TCP/IP protocolsEthernetIPARPICMPTCPencapsulationdemupltiplexingHTTP MODBUS
  • 【分类号】TP393.02
  • 【被引频次】4
  • 【下载频次】356
节点文献中: 

本文链接的文献网络图示:

本文的引文网络