Currently, the science and technology of computer,information and communication has been quickly developed, and the 3C (computer, communications, consumer electronics) technology has been quickly tuned into one, so the embedded system is widely used in all aspects of the manufacture and life. With the further development of embedded applications, the traditional single chip can not meeting current needs of technology and users, and 32-bit embedded microprocessors gradually occupy the market. In the market,32-bit RISC-based ARM (Advanced RISC Machine) processor core is in the leading position, it can provide Thumb and ARM instructions for users to choose, so that the users are able to strike a balance between a smaller storage space and faster processing speed. With the continued increasing in the amount of the embedded applications, embedded systems increasingly need the support of the operating system, which is conducive to the user's details of the operation and the continuous development of new features.The development of embedded remote monitoring system can not depart the advancement of the information from the field of industrial control technology and technological progress, through a variety of network infrastructure we can link remote control devices, from that we can not only get the information sent from the remote devices, but also the necessary control information sent to the remote devices to achieve the remote monitoring purpose. The development of embedded system can not live without the Internet technology, today the Internet around every corner of the world and widely used in various fields, the embedded remote monitoring technology need to be combined with Web technology, so building Web-based embedded server is inevitable line for us.This paper focus on building Web-based embedded server, and realizing simple remote monitoring capabilities.The very popular open-source Linux operating system is completely free used, with its small kernel space and to support more hardware resources, so they are widely used in the study and application of embedded systems. Even so, to adapt to the characteristic of limited resources in the embedded systems, we still need to configurate the embedded Linux operating system. The development process of embedded system is different from traditional software's, because the software development process of embedded systems needs the cross compiling environment.Then, this thesis focusing on the characteristics of embedded Web servers, and choosing the Boa web server which applies to the embedded Web-based remote monitoring system by comparing between them.After that, completed the migration and configuration of Boa web server on the ARM-Linux platform with the MMU function. The technology of CGI is widely used in Web management, by using its dynamic interaction function, users can achieve the purpose of monitoring to the remote devices on the popular web browser.Finally, tried to analyse the entire system on source-level to get more effective application, and analyzed CGI program's leak, discussed the cutting problem of the Linux operating system kernel. And we improved Web server, discussed load-balancing technique of embedded web server cluster, and finally used the algorithm of processing capacity scheduling on waiting time to requesting services. |