节点文献

基于Linux的嵌入式WEB服务器的研究

The Research of Embedded Web Server Based on Linux

【作者】 吴迅

【导师】 卢洪武;

【作者基本信息】 山东师范大学 , 教育技术学, 2010, 硕士

【摘要】 随着计算机技术和通信技术的发展,嵌入式系统已经应用到社会的各个领域。嵌入式系统正以不同的形式影响着人们的生产、生活和学习方式。目前大多数嵌入式系统处于单独应用方式,以嵌入式微处理器为核心,与一些监测、伺服、指示设备配合实现一定的功能。在教育方面常用的电子词典、电子书、MP3、MP4等大多数数字设备处于独立应用状态,不能直接和Internet连接,不能实现实时的信息更新和信息交互。在一些工业控制和汽车电子应用中,为了实现多个微处理器之间的信息交流,利用CAN、RS-232、RS-485等总线将微处理器组网,但这种网络的范围有限,有关的通信协议也比较简单,并且一般是孤立于Internet之外的,没有实现系统的互联,这样就大大限制了其应用范围。Internet现已成为社会重要的基础信息设施之一,是信息流通的重要渠道,如果嵌入式系统能够连接到Internet上,就可以方便、低廉地将信息传送到几乎世界上的任何一个地方,并且能够实现远程控制,使其应用范围和性能大大提高,这样就能够很好的实现远程监控。本文就是基于此提出的,通过硬件平台的搭建和软件设计,构建一个嵌入式WEB服务器,实现嵌入式系统接入互联网的功能。论文主要从硬件平台的搭建和软件操作系统的移植两方面来研究嵌入式WEB服务器。在硬件平台的设计,主要通过比较各种不同的微处理器的性能,选定一种应用广泛并且性价比高的微处理器作为硬件平台的核心,设计构建所需的各种基本外围接口电路,来满足开发的需要,在软件方面,主要将开源代码,功能强大的μClinux操作系统,经过裁剪,移植到开发板上,运用TCP/IP协议实现Internet接入。论文主要开展了以下几方面的研究工作:(1)研究选定嵌入式微处理器,设计构建开发平台所需的外围接口电路,为下一步的开发提供高效、可靠的硬件平台。(2)研究嵌入式操作系统的移植方法和嵌入式WEB服务器的具体实现,利用TCP/IP协议和Socket套接字实现嵌入式WEB服务器和客户端的网络通信。利用终端机的浏览器和客户软件直接访问嵌入式WEB服务器,而不需要PC机作为交互的媒介,实现了通过Internet来对嵌入式终端系统的远程监控。(3)分析CGI原理,设计嵌入式WEB服务器应用程序。在构建好WEB服务器后,并使用动态网页技术为其研发应用程序,因为单单的静态网页是满足不了服务器和客户端交互的功能的。本论文的研究开发工作是在实践基础上完成的,对以ARM7TDMI为核心的S3C4510B嵌入式硬件平台进行了全面的设计研究,在此基础上成功的移植了Linux操作系统,通过调试,该软、硬件平台运行正常,并在该平台上实现了嵌入式WEB服务器,使得嵌入式系统成功接入Internet。在此基础上的各种各样的软件开发和使用都变得更加方便灵活。通过使用通用的浏览器,用户可以随时随地访问嵌入式WEB服务器,并维护嵌入式设备,这给系统的使用带来了极大的方便,达到了预期的效果。

【Abstract】 With the computer technology and communication technology, embedded systems have been applied to all areas of society. Embedded systems are impacting on people’s production, living and learning in different forms. Most embedded systems have been applied in a single approach to embedded microprocessor core, with some monitoring, servo, pointing device with a certain function. Commonly they are used in education, for example electronic dictionaries, e-book, MP3, MP4 and other digital devices in most of the independent application state, not directly connected with Internet ,they can not be achieved real-time information updates and information exchange. In some industrial control and automotive applications, in order to achieve the exchange of information between multiple microprocessors, we use CAN, RS-232, RS-485 bus to the microprocessor connection with networking, but scope of the network is limited, and the communication protocol is relatively simple, and generally isolated from the outside Internet, without implementation of the interconnection system, thus greatly limiting the scope of its application.Internet has become one of important social basic information infrastructure and is one important channel for the flow of information, if the embedded system can connect to the Internet, you can easily, cheaply transfer the information to virtually anywhere in the world, and may conveniently realize remote control. If you can embedded system connect to Internet, it will greatly enhance the scope of use, so that remote monitoring can be achieved. This article is based on this proposed through the hardware platform design and software design, to build an embedded WEB server and embedded systems connected to the Internet function.Papers, mainly studied the embedded WEB server from two aspects of hardware and software operating system transplantation, in the hardware platforms design side, by comparing the performance of a variety of microprocessors, the final selection of a widely used and cost-effective microprocessor as core of a hardware platform, in order to based on this platform to build a variety of peripheral circuit required to meet the development needs, in the software side, the major use of open source, powerful Linux operating system, after cutting, transplanted to the development board, using TCP/IP protocol to achieve into the Internet.Papers, mainly be studied by the following aspects:(1) Study in selected development platform for embedded microprocessor design to build the necessary peripheral interface circuit for the next stage of development to provide efficient and reliable hardware platform. (2) To study the embedded operating system migration methods and concrete realization of the embedded WEB server for embedded systems to build a WEB server. using TCP / IP protocol and Socket socket makes embedded WEB server and client side network communications.Using terminals browser and client software to directly access the embedded WEB server, without the need for PC as a medium of interaction .(3) Research Network, Communication Theory, using TCP / IP protocol and Socket socket make embedded WEB server and client side network communications.(4) To analize CGI principle, design of embedded WEB server application. To build a good WEB server, but also to use dynamic web technology for their applications, because the static page single can not satisfy interaction functions of the server and client.In this paper, research and development work is done on the basis of practice, as ARM7TDMI core, embedded hardware systems S3C4510B conducted a comprehensive study, through commissioning, the hardware system is running normally, on this basis, the successful transplant of the Linux operating system, the system operating normally, and the system implemented on embedded WEB server, enabling embedded system successfully access Internet. On this basis, a variety of software development and use have become more convenient and flexible. By using a common browser, users can anytime, anywhere access to the embedded WEB server, maintaining embedded devices, to provide the ultimate of the system convenitly, to achieve the desired results.

【关键词】 嵌入式系统μCLinuxTCP/IPWEB服务器
【Key words】 Embedded SystemμCLinuxTCP/IPWEB Server
节点文献中: 

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

本文的引文网络