由于嵌入式系统自身的特点,在实际应用中需要实现人机交互的功能,而通过网页可以直观方便地对应用系统进行操作与管理,所以文中探讨了基于一种Web服务器BOA及CGI外部扩展程序构建Web Server的方法。在嵌入式uCLinux系统基础之上介绍了BOA的移植配置过程及CGI程序的扩展开发。对BOA及CGI程序进行交叉编译并移植到开发板上,通过主机的浏览器访问Web Server来测试服务器的运行及CGI的执行结果。测试结果表明其运行稳定、控制方便、响应迅速,适合在嵌入式系统中做Web Server。
In practical applications,the embedded system needs to achieve the function of human-computer interaction,as of the characteristics of itself.Proposed the way to construct the Web Server based on BOA and CGI program in order to resolve the control of the remote central office and terminal equipment.Porting BOA and CGI extension development are based on uCLinux.The BOA and CGI programs are cross-compiled and transplanted into the development board.Through the browser of the host server testing the operation of Web Server,the results of the test show that the BOA running stable,easy to control,quick to answer,reaching to the anticipated design purpose.