机构地区: 广东海洋大学信息学院
出 处: 《计算机工程与设计》 2007年第7期1598-1600,共3页
摘 要: 由于嵌入式设备的资源有限,RAM和ROM都非常小,在资源受限的情况下实现Web服务功能是非常困难的。在分析HTTP1.1的基础上,讨论了嵌入式Web服务器的特点及设计思想,提出了一种简化的嵌入式Web服务器的软件结构。重点描述了嵌入式Web服务器中CGI的实现方法。最后,结合C语言编程成功地实现了HTTP连接。 The resource of embedded device is limited, and the capacity of RAM and ROM is very small, so it is difficult to implement the web server function under the resource limited situation. Based on the analysis of HTTP1, 1, the features of the embedded web server and its designing idea are given, and simplified software architecture for embedded web server is also introduced. The implement strategy of CGI for embedded web server is described in detail. Finally, the HTTP connection is successfully achieved with C language program.
关 键 词: 嵌入式系统 网络服务器 通用网关接口 超文本传输协议 回调函数
领 域: [自动化与计算机技术] [自动化与计算机技术]