文档介绍:嵌入式LINUX系统中HTTP协议的实现方法研究-嵌入式论文
论文题目:嵌入式LINUX系统中HTTP协议的实现方法研究
学 生 姓 名:
指 导 老 师:
所 在 学 院:
时 间: 2017 年 6 月
摘要
随着计算机技术的发展,嵌入式系统已成为计算机应用领域的一个重要组成部分。随着网络技术与嵌入式技术的结合,Internet 网络体系结构中应用层的各种协议,在嵌入式系统设备中有了实现的可能。本文就是在嵌入式系统设备上实现 协议的部分功能。本论文从嵌入式系统的设计与开发入手,到在嵌入式系统硬件设备上,实现基于Linux 操作系统上实现 HTTP 协议的服务端功能程序。整个发生过程如下: 首先,嵌入式系统的硬件设备的选择与实现。在众多的嵌入式CPU中,考虑到实现HTTP协议的服务端功能程序,对CPU的性能要求不是很高,最终选择了性价比较高的SAMSUNG公司的基于ARM7TDMI的S3C44B0X一款CPU芯片。以太网控制芯片为RTL8019AS。博创科技公司开发的一款实验箱恰好恰符合这种要求。
其次,嵌入式软件系统的实现。对于嵌入式系统操作系统的选择,由于硬件功能的限制,通过比较几个常用的嵌入式操作系统,最后选择了 linux 操作系统。在该系统下,选用 C 程序设计语言,利用 linux 操作系统地系统函数库和SOCKET 编程技术,实现 http 服务端的功能。
最后,该项目的实际意义主要在于两个方面的应用,一个是监视功能,用于在服务器端进行某项监视任务,使在客户端的浏览器中的显示监视的信息,这样
能帮助用户主动获取信息。另一个是控制仪器设备。用户可以通过执行 CGI 程序或脚本语言,通过 Internet 获得交互式信息,对其进行远程控制。
关键词:嵌入式系统; 超文本传输协议; Linux;
Abstract
With the development of the computer technology, embedded system technology has become an important part of the computer application. After the computer network technology and the embedded system technology combines, some protocols of the application layer in the internet network architecture can be translated into programs that run on the embedded devices. The thesis presents the design and implementation of part of the protocol based on embedded hardware and operation system. The server processes the request, returns a header containing a status code and either a file or an HTML document attached after the header. The thesis introduces the procedure of the design and development of the embedded system, which the server function program of the HTTP protocol realizes based on embedded devices system and µCLinux OS platforms .The entire process goes as follows.
First, the thesis introduces the choice and the realization of the embedded system hardware. Because the perfor