节点文献

TCP/IP协议栈在嵌入式系统中的应用

An Application of TCP/IP Stack in Embedded Systems

【作者】 许海燕

【导师】 张曦煌;

【作者基本信息】 江南大学 , 计算机应用技术, 2006, 硕士

【副题名】IPP网络打印协议的研究与实现

【摘要】 因特网打印协议IPP(Internet Printing Protocol)是基于HTTP协议的应用层协议。2000年IETF组织发布了IPP版本1.1,它是网上传送和管理打印任务的国际标准。本文主要研究了IPP协议的实现原理,搭建了IPP协议的嵌入式软硬件执行环境,并对IPP协议的基本功能作了测试。实验过程主要分成硬件设计和软件设计两部分。硬件系统的核心选择了Atmel公司的RISC结构的ATmega128单片机,并对功能作了必要的扩展,附录部分给出了全部的硬件原理图。文中对以太网芯片LAN91C111硬件原理及驱动算法流程作了详细的说明,并对硬件测试的一些细节作了描述,例如测试顺序,测试过程中的难点等。软件上移植了免费的Nut/OS为操作系统,对内核作了剖析,并说明了Nut/net下LAN91C111网络驱动程序的接口机制。接着分析了Nut/net的TCP/IP协议栈的实现原理,并对网络应用程序编程接口socket作了说明。本文实验选取了IPP协议必须实现的6个操作,验证了IPP协议的网络打印服务器基本功能。本文还对IPP打印系统的网络安全问题作了分析和评估,并提出了一些解决方案。解决的关键问题包括:LAN91C111与ATmega128接口设计及其驱动程序的开发;Nut/OS内核与板级支持包的剥离;TCP/IP协议栈的定制;嵌入式环境下的IPP协议基本功能的实现。实验证明本方案切实可行,不但解决了IPP协议在嵌入式环境中的实现问题,而且也为设计通用的嵌入式网络打印接口找到了新的途径。

【Abstract】 Based on HTTP, IPP (Internet Printing Protocol) acts as an application layer protocol. The latest version 1.1 of IPP was issued by IETF in 2000. End users’ printing tasks can be distributed and managed over the Internet. In this paper, the fundament of IPP is studied, and the embedded hardware and software for IPP are constructed as well. Meanwhile, the essential function of IPP is tested.The experimental work is divided into two parts: hardware design and software design.The ATmega128 chip containing the AVR core is extended with interfaces to the LAN91C111 Ethernet chip and SPP (Standard Parallel Port). As for the software, free Nut/OS is chosen to multitask complex programmes. TCP/IP stack of Nut/net is analyzed and its API of Socket is used to implement the IPP server. Six required operations of IPP are adopted and tested. Furthermore, the network security risks of IPP are analyzed and estimated, and some suggestions on the security risks are put forward.On the basis of constrained hardware and software, the procedure to achieve IPP server is described. The resolved problems mainly include the following cases: (1)The hardware interface and its driver are designed; (2) the kernel of Nut/OS from BSP (Board Support Package) is extracted ;(3) the TCP/IP stack from Nut/net is customized and a scheme of IPP is implemented. Experiments not only show the proposed scheme is realizable, but also provide a new method for the design of the universal embedded network printing module.

  • 【网络出版投稿人】 江南大学
  • 【网络出版年期】2007年 01期
  • 【分类号】TP393.04
  • 【被引频次】2
  • 【下载频次】577
节点文献中: 

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

本文的引文网络