摘要
由于嵌入式设备的资源有限,RAM和ROM都非常小。为了在资源受限的情况下实现Web服务功能,在分析HTTP1.1的基础上,设计了一种简化的嵌入式Web服务器的软件结构。在参照Microsoft ASP技术的基础上,定义了实现嵌入式Web服务器端脚本解析的主要函数和接口,并给出了脚本引擎调用方法。结合C语言编程,成功地实现了HTTP连接和脚本解析。
The resource of embedded device is limited, and the capacity of RAM and ROM is very small. Based on the analysis of HTTP 1.1, simple software architecture for embedded web server is given for implementing web server function under the resource limited situation. Referring to the ASP technology of Microsoft Company, the main function and APIs for embedded web server script engine are defined in detail. The method of calling the server script engine is given also. Finally, the HTTP connection and script parse are successfully achieved with C language program.
出处
《计算机工程与设计》
CSCD
北大核心
2008年第15期3933-3935,共3页
Computer Engineering and Design
基金
广东省自然科学基金项目(7010116)