节点文献
嵌入式TCP/IP协议栈研究与实现
The Research and Implementation of the Embedded TCP/IP Stack
【作者】 胡海;
【导师】 李成忠;
【作者基本信息】 西南交通大学 , 计算机应用技术, 2005, 硕士
【摘要】 Internet的应用已经越来越广泛,接入Internet的主体也开始变化,越来越多的小型嵌入式设备需要Internet接入功能。嵌入式Internet技术就是为小型设备接入Internet提出来的,它主要有直接嵌入式和网关式两种方式。直接嵌入式一般采用8位和16位单片机,在成本及开放性方面具有优势。直接嵌入式系统通常没有操作系统,或者只微内核操作系统。但可能支持简化的TCP/IP协议及其他一些相关协议。尽管它们所实现的TCP/IP协议栈不够完整,但是它们在系统成本,移动性方面具有较大的优势,因而更有应用前景。 笔者在相关工作中完成了基本的嵌入式TCP/IP协议栈的设计,实现了一个不需要操作系统的小型嵌入式TCP/IP协议栈。在项目中设计实现了PPP协议以及底层硬件驱动,简化实现了一个不需要操作系统的小型嵌入式TCP/IP协议栈,并设计了协议栈和应用程序之间的接口。在此基础上,通过SMTP协议将数据发往远端邮件服务器。本论文对嵌入式Internet技术进行了介绍与比较,分析嵌入式TCP/IP协议的特点和实现要求;针对具体的应用对象,提出嵌入式TCP/IP协议设计方案;对各个模块的输入输出流程、协议栈的实际调用过程等方面的技术问题进行了详略不同的介绍。本论文最后对笔者完成的工作进行了总结;对本论文中完成的协议栈存在的问题进行了分析;对今后有待进一步研究和改进的工作进行了简要的讨论,对相关技术的发展和应用进行了展望。
【Abstract】 With the fast development of Internet application, more and more embedded equipments need to have Internet access capabilities, which have stimulated implementation of embedded Internet protocol stacks. Embedded Internet devices can have two architectures: Gateway-based architecture and Direct-connection architecture. The later are without OS, supporting simplified TCP/IP protocol and other ralated protocol. Although the TCP/IP stack in these applications is not perfect, these equipments can work pretty well with high reliability and low cost, and has some characters of configurable and simple interface specitication. It has been becoming an important part in the development of network technology.Design and realization of the embedded TCP/IP stack without support of OS are accomplished in this paper. It uses PPP data link layer and connects to Internet by dialing Modem.In this project, PPP protocol and hardware driver, a simplified small TCP/IP stack without support of OS and interface between stack and application program are all completed, under which data can be transfered to remote email server using SMTP protocol. Intrduction and comparation of the embedded Internet are given in this paper. And study the methods of simplifying full TCP/IP stack according to the real evironment; Next, implementation of all modules is discussed in some detail, including the process of input and output. Further more, the testing of TCP/IP stack is introduced. In the end, the problems of the stack are discussed briefly and some idea to solve them are given.
【Key words】 TCP/IP protocol; Embedded Internet; Protocol stack; SCM;
- 【网络出版投稿人】 西南交通大学 【网络出版年期】2005年 07期
- 【分类号】TP393.04
- 【被引频次】49
- 【下载频次】1825