基于低端处理器的嵌入式Internet技术研究
发布时间:2018-03-05 12:38
本文选题:嵌入式Web服务器 切入点:TCP/IP协议栈 出处:《电子科技大学》2013年硕士论文 论文类型:学位论文
【摘要】:随着微处理器技术的不断发展,嵌入式技术在计算机行业中得到不断的增强。对嵌入式系统而言,由于其体积小、功耗低、性能高等主要特征,嵌入式系统在现今的军事国防、网络通信、消费电子以及工业控制方面都得到了广泛的应用,并且成为当今发展火热的物联网的基础。由于嵌入式系统的广泛应用和物联网技术的发展,如何将低端的嵌入式设备接入Internet成为当前研究的热门话题。本文以低端处理器为主要研究对象,介绍了基于低端处理器的Web服务器的设计过程。根据低端处理器的资源有限的设备特点,对标准的TCP/IP协议栈进行裁剪,力求做到精简。在裁剪过程中,仍采用层次化的体系结构,每一个协议作为一个模块,结构清晰,便于扩充,最终裁剪成符合低端处理器的嵌入式TCP/IP协议栈。嵌入式TCP/IP协议栈是在Keil编译器中用C语言编程实现的,协议栈中实现的主要协议包括:IP(网际协议)、TCP(传输控制协议)、ICMP (Internet控制报文协议)、ARP(地址解析协议)等,各协议采用了模块化的设计方法。在此协议栈的基础上,设计了嵌入式Web服务器。文中介绍了服务器的具体的实现过程。Web服务器的硬件核心部分是基于ARM Cortex-M3的STM32F107VC微控制器,采用DM9161A作为10M/100M以太网PHY芯片。为了验证Web服务器的功能,设计了一个静态网页和一个动态网页,通过任何一个与服务器相连的具有浏览器功能的客户机,输入服务器的地址后,就可以访问嵌入式Web服务器中的资源,另外,通过访问服务器中的动态页面,还可以实现对硬件资源的简单控制。通过实验验证,精简的协议栈具备代码尺寸小,运行时占用内存空间小等适合低端嵌入式设备的特点,具备很好的移植性和扩展性。在此精简协议栈的基础上运行的web服务器运行稳定,运行效果良好。嵌入式web服务器的研究对于将低端嵌入式设备接入到Internet打下了很好的基础,具有一定的研究意义。
[Abstract]:With the continuous development of microprocessor technology, embedded technology has been continuously enhanced in the computer industry. For embedded systems, because of its small size, low power consumption, high performance and other main characteristics, embedded systems in today's military defense, Network communication, consumer electronics and industrial control have been widely used, and become the basis of the hot Internet of things. Because of the wide application of embedded system and the development of Internet of things technology, How to connect low-end embedded devices to Internet has become a hot topic. This paper introduces the design process of Web server based on low-end processor. According to the characteristics of equipment with limited resource of low-end processor, the standard TCP/IP protocol stack is clipped to be concise. Still adopt hierarchical architecture, each protocol as a module, the structure is clear, easy to expand, Finally, the embedded TCP/IP protocol stack is clipped to conform to the low-end processor. The embedded TCP/IP protocol stack is programmed in C language in the Keil compiler. The main protocols implemented in the protocol stack include: IP (Transmission Control Protocol), ICMP (Internet Control message Protocol), ARP (address Resolution Protocol) and so on. An embedded Web server is designed. The hardware core part of the server is STM32F107VC microcontroller based on ARM Cortex-M3. DM9161A is used as a 10m / 100M Ethernet PHY chip to verify the function of Web server. A static web page and a dynamic web page are designed. By any client with browser function connected to the server, the resource in the embedded Web server can be accessed after entering the address of the server. By accessing the dynamic pages in the server, we can also realize the simple control of the hardware resources. Through the experimental verification, the simplified protocol stack has the characteristics of small code size, small memory space and so on, which is suitable for the low-end embedded devices. It has good portability and extensibility. The web server running on the basis of this simplified protocol stack runs stably and works well. The research of embedded web server has laid a good foundation for connecting low-end embedded devices to Internet. Has certain research significance.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP332;TP368.1
,
本文编号:1570264
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1570264.html