支持双协议栈的嵌入式Web Server研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
嵌入式Internet技术在家电、工业控制等领域得到了广泛的应用,尤其是嵌入式Web服务器技术近年来发展迅速。本文以嵌入式家庭网关为背景,研究在资源有限的低速普通处理器上如何实现支持IPv4和IPv6的嵌入式Web Server及其支撑技术。
     论文首先分析了嵌入式Web Server的研究状况。在综合比较了现有各种嵌入式Web Server技术的基础上,从网络接入、发送数据的封装、接收数据的分析等方面分析了在低速普通处理器上构建嵌入式Web Server的可行性。构建了基于支持双协议栈嵌入式Web Server的家庭网关的体系结构。结合低速普通处理器的特点,根据针对嵌入式系统的TCP/IP协议子集划分和协议优化的思想,设计了一套专门用于嵌入式Web Server的网络协议栈。将IPv6协议引入到嵌入式系统,使得嵌入式Web Server可以运行在IPv4和IPv6两个协议栈上。根据嵌入式系统的特点,对嵌入式Web Server的服务器/客户端交互进行了研究,分析了http协议以及公共网关接口在嵌入式Web Server中的构建。同时,对系统的安全性进行了探讨。最后,结合以上研究内容,给出了一个基于双协议栈嵌入式Web Server的应用模型。
Embedded Internet is abroad applied to such home electric and industry control field. Especially, the embedded Web Server is developing quikly. On the background of the embedded home gateway, the embedded Web Server which can support IPv4 and IPv6 dual stacks on the low speed CPU with limited resources has been studied. The main contributions of the paper are as follow.At first, the research actuality of embedded Web Server is introduced. Compared with the variety of embedded Web Server technology, the feasibility of constructing Web Server on low-speed CPU is analysis from network access, encapsulation of sending data and analysis of receiving data. The architecture of the home gateway based on the embedded Web Server with dual stacks is structured. The thinking of subset partition and protocol optimization of TCP/IP is given. The IPv6 protocol is introduced into embedded system. So the system can run on IPv4 and IPv6 dual stacks and it will have aboard development foreground. The interactive processing of client/server in embedded Web Server has been studied .The constructing of http protocol and common gateway interface is discussed. Also, the safety of the system is illustrated in brief. At last, an example based on dual stacks embedded Web Server is given combined with the above-mentioned research content.
引文
[1] 赵海.嵌入式Intemet[M].北京:清华大学出版社,2001:8-22.
    [2] 肖海桥,吕京建.面向21世纪的嵌入式系统[J].半导体技术,2001,26(01):1-3.
    [3] 魏忠.嵌入式开发详解[M].北京:电子工业出版社,2003:8-11
    [4] DL Estrin. Embedded Everywhere: A Research Agenda for Networked Systems of Embedded Computers[M]. National Academy Press, 2001: 11-60
    [5] 王勇,陈扛生.一种嵌入式系统接入Intemet的方法与实现[J].电子技术,2000.9,27:12-15.
    [6] 吴晓蓉,涂时亮.互连网技术在嵌入式系统中的实现[J].计算机工程,2001,(4):1-3.
    [7] 姚亦峰.嵌入式系统接入intemet的技术研究[J].计算机工程与应用,2001,37(4):29-31.
    [8] E Fil. man Robert. Embedded Internet systems come home[J]. IEEE Internet Computers, 2001, 40(14): 52-53.
    [9] 牟英峰,徐殿国,张东来.基于嵌入式TCP/IP协议栈的信息家电连接Internet单芯片解决方案[J].电子技术应用,2002,(6):16-19
    [10] Engineering Web Technologies for Embedded Applications. http://www.computer.org/
    [11] 李恒超,张家树.基于嵌入式Web的远程监控研究[J].西南交通大学学报,2003,38(3):263-266
    [12] 杨宇清,施仁基.基于因特网的工业控制网络体系结构研究[J].信息与控制,2002,31(5):466-472.
    [13] Rose Bill. Home Networks: a Standards Perspective[J]. Communications Magazine, IEEE, 2001, (12): 78-85.
    [14] Huhns M N. Networking embedded agents[J]. Intemet Computing, IEEE, 1999, 3(1): 91-93.
    [15] Dutta-Roy Amitava. Network for Homes [J]. IEEE SPEC-TRUM, 1999, 12: 26-33.
    [16] 叶朝辉,杨士元.智能家庭网络研究综述[J].计算机应用研究,2001,9:1-6.
    [17] EmWare Inc. EMIT 4 spec sheet. pdf www.emware.com.
    [18] Rompager http server, wwwallegrosoft.com: www.allegrosoft.com.
    [19] River Wind. Tornado用户指南[M].北京:清华大学出版社,2004:5-7.
    [20] TI Inc. TI TCP/IP stack..www.ti.com.
    [21] Ubicom Inc. Ubicom TCP/IP stack. In: wwwubicomcom: www.ubicom.com.
    [22] Davies Joseph.理解IPv6[M].北京:清华大学出版社,2004.
    [23] 历鲁卫,包建荣.基于ARM嵌入式Web服务器的设计与研究[J].计算机工程与设计,2004,25(5):757-760.
    [24] J.Bentham.陈向群等译.嵌入式系统Web服务器—TCP/IP Lean[M].北京:机械工业出版社,2003.
    [25] 王勇.嵌入式Internet的技术实现及其安全问题的研究:[博士学位论文],杭州:浙江大学.2002.5.
    [26] Wright. Jeff. An Embedded Web Server Using a 16-bit Microcontroller. In: http://microcontroller.com.
    [27] Comer Douglas E.用TCP/IP进行网际互连[M].北京:电子工业出版社,2001.
    [28] JW Szymanski. Embedded Intemet Technology in Process Control Device. IEEE2000. 9(3).
    [29] James Noble Charles Weir.候捷,王飞,罗伟译.内存受限系统之软件开发[M].武汉:华中科技大学出版社,2003.1.
    [30] I. Frankov D. Valtchev and. Service gateway architecture for a smart home[J]. IEEE communications magzine, 2002, 40(4): 126-132.
    [31] Comer Douglas E. Internet working with TCP/IP [M]. Prentice-Hill, 1995.
    [32] J Bentham. TCP/IP Lean Web Servers for Embedded Systems [J]. CMP Books, 2003. 9.
    [33] 郭士秋.IP协议体系[M].北京:电子业出版社,2002.
    [34] Robert Braden. Communication Layers, RFC1122. In: USC/Information Sciences Institute: USC/Information Sciences Institute, October 1989.
    [35] Postel. Internet Protocol, RFC 791. USC/Information Sciences. September, 1981.
    [36] Postel. J. Transmission Control Protocol, RFC 793. In: USC/Information Sciences Institute,;September 1981.
    [37] Hagen S.技桥译.IPv6精髓[M].北京:清华大学出版社,2004.5.
    [38] S. Deering R. Hinden. Internet Protocol, Version 6 (IPv6) Specification, RFC 2460,. In;December 1998.
    [39] S. Thomson, T. Narten. IPv6 Address Autoconfiguration. RFC2462, December 1998.
    [40] 林涛,王济勇,韩光洁等.EI内核中TCP状态机约简的研究[J].计算机科学,2004,31(1):31-34.
    [4l] 刘敏,嵌入式web server中TCP/IP的设计与实现:[硕士学位论文],沈阳:东北大学.2004.2.
    [42] Jun Tian Zhongcheng Li. The next generation intemet protocol and its test[J]. IEEE International Communication Conference,, 2001.
    [43] 李晓艳,刘守义.IPv4与IPv6结构比较[J].微机发展,2003,(2):42-45.
    [44] Internet Control Message Protocol (ICMPv6) for the Internet Protocol Version 6 (IPv6) Specification. RFC 2463, December 1998.
    [45] 李新,李英壮.嵌入式精简IPv6协议栈的设计[J].通信学报,2005,1(26):255-258.
    [46] T. Narten E. Nordmark, W. Simpson. Neighbor Discovery for IP Version 6 (IPv6) RFC2461. December 1998.
    [47] 路晓村、徐宏译。嵌入式系统TCP/IP应用层协议[M].北京:电子工业出版社,2002.
    [48] DOUGALS E. COMER DAVID L. STEVENS.用TCP/IP进行网际互连第二卷:客户机一 服务器编程和应用[M].北京:电子工业出版社,1998.
    [49] 关胜晓.公共网关接口CGI机理浅析[J].微电子学与计算机,1998,4:15-19.
    [50] 黄东军.CGI程序设计中的URL编码与解码[J].微型机与应用,2000,(9):18-19.
    [51] 黄健泉,徐凯声.CGI程序中Form数据的获取与中文解码的实现[J].交通与计算机,1998,16(5):17-21.
    [52] Gregory Kate.CGI程序设计[M].北京:机械工业出版社,1998.
    [53] 张曦煌,柴志雷.嵌入式web服务器中CGI的特点及实现[J].小型微型计算机系统,2003,24(11):2046-2048.
    [54] 李海泉等.计算机网络安全与加密技术[M].北京:科学出版社,2001.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700