401. A Study on Cgi of Embedded Webserver
- Author
-
Ren Xian-yi and Wang ZhenXing
- Subjects
Web server ,business.industry ,Computer science ,Interface (computing) ,JavaScript ,computer.software_genre ,GeneralLiterature_MISCELLANEOUS ,Workflow ,File server ,Web page ,ComputingMethodologies_DOCUMENTANDTEXTPROCESSING ,Operating system ,Business logic ,The Internet ,business ,computer ,computer.programming_language - Abstract
On dynamic embedded Web server, cgi program is adopted to complete the required workflow. Due to the resource limitation of embedded systems, the performance of embedded Web server is an important issue. To address this problem, we combine cgi with Javascript and make them collaboratively running to satisfy the requirement of embedded application. On embedded server, cgi processes the parameters submitted by client pc and appends the results to the end of HTML page. On client IE, the Javascript embedded in HTML page will parse the results and displayed on the right place of Web page. We also designed a method that detach cgi with business logic and driver interface. In this way cgi can send parameter to driver application indirectly by exchanging parameters through Linux shellt. This enables cgi and driver application to be debugged separately.
- Published
- 2008