Research and Implementation of Embedded WEB Server
- Author
- ZhangJin
- Advisor
- WeiQuanLi
- School
- Qingdao University of Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 112
- Citations
- 1
Abstract
With the rapid development of information technology and the Internet’s widespread popularity, it has become a hot application in information technology to connect varieties of smart devices based on embedded systems to the Internet for data exchange and remote control. In this topic, a scheme used by embedded systems for information exchange and remote control based on B/S structure has been proposed, and the embedded Web server construction method was mainly researched. Compared with the traditional C/S structure systems, this scheme gets the advantage of not requiring special client software, simple intuitive operation method and so on.The article first describes the development and application status of the embedded network systems, and then analyzes normal schemes to construct embedded network systems, as well as the characteristics of related software resources, which include varieties of embedded operating systems, network protocol stacks, etc. In this topic, the hardware system was based on AT91SAM7x256 processor, and the open source FreeRTOS was chose as the embedded operating system. The method of transplanting FreeRTOS to the hardware system was also studied. The widely used LWIP was used as the embedded network protocol stack. Through analyzing LWIP’s working principle, process model, memory management mechanism and so on, the transplantation of LWIP to FreeRTOS, design method of NIC driver, interface between protocol stack and NIC driver as well as protocol stack start and initialization problems was further studied.In the topic’s key technology aspect, through analyzing the CGI technology, which commonly used for dynamic Web server, the ideas of implementing CGI in FreeRTOS system and the design method of embedded Web server was deeply studied, including HTTP packet analysis, different treatment techniques for GET and POST requests, etc. Finally the B/S structure system has been realized, which uses the embedded system as the server, and uses the PC browser to exchange data and remote control. An application example based on this system was also designed.
Table of contents
Abstract 4-5
ABSTRACT 5-8
1 Introduction 8-14
1.1 research background 8-9
The the
the 1.2 embedded network system application status 9-12
1.3 This paper studies the content and meaning of 12
1.4 chapters arranged 12-14
2 embedded network system design overview 14-21
2.1 overall system design 14-17
2.1.1 Overview 14-15
2.1.2 embedded network system using a common hardware and software resources to build general program 15-17
2.2 software resources introduced 17-19
the
the 2.2.1 embedded operating system 17-18
2.2.2 embedded TCP / IP protocol stack 18-19
system design
2.3 This topic 19-20
2.4 This chapter Summary 20-21
3 hardware system design and operating system migration 21-35
3.1 hardware system design 21-26
3.1.1 Minimum system design 21-23
3.1.2 Ethernet Interface Design 23-26
3.2 FreeRTOS analysis and transplantation 26-34
3.2.1 FreeRTOS About 27
3.2.2 FreeRTOS transplant 27-34
3.3 This chapter Summary 34-35
4 LWIP protocol stack analysis and transplantation 35-54
4.1 LWIP About 35-36
4.2 LWIP works with key technical analysis 36-40
a 4.2.1 LWIP the work process 36-37
4.2.2 LWIP process model 37-38
4.2.3 Buffer memory management 38-40
4.3 LWIP the transplant 40-47
4.3.1 header files content modification 41-42
4.3.2 semaphores and mailboxes achieve 42-46
4.3.3 thread creation function to achieve 46
4.3.4 Network Tasks timeout attribute 46-47
4.3.5 achieve critical protection function 47
4.4 network card driver, and LWIP driver interface layer implementation 47-51
4.4.1 EMAC initialization 48-50
4.4.2 EMAC interrupt handler function 50
4.4.3 EMAC send 50
4.4.4 EMAC receiving 50-51
4.5 LWIP the startup and initialization 51-53
4.5.1 protocol stack initialization 52
4.5.2 Network interface configuration 52-53
4.6 This chapter Summary 53-54
Implementation and Application of Embedded Web Server 54-73
5.1 HTTP protocol 54-57
5.1.1 Overview 54
5.1.2 HTTP requests and responses 54-56
5.1.3 URL encoding and decoding 56
5.1.4 HTML form 56-57
5.2 dynamic Web technology and CGI 57-59
5.2.1 the CGI the work process 57-58
5.2.2 CGI parameters passed 58-59
the 5.3 CGI technology in embedded systems, the realization of ideas 59-60
5.4 Web server's overall design and analysis 60-61
5.5 specific realization 61-69
5.5.1 HTTP parser 62-64
5.5.2 static Web server build 64
5.5.3 dynamic Web server build 64-69
5.6 application examples 69-72
5.7 This chapter Summary 72-73
Summary and Outlook The 73-75
work summarizes 73
Outlook 73-75
the
References 75-77
Acknowledgements 77-78
to
pursuing degree during the academic 78-79
Related dissertations
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Embedded Network Monitoring System Based on ZIGBEE
- Embedded Web-based Online Greenhouse Environmental Monitoring and Control System
- The Design of Mobile Robot Network Embedded Monitoring System Server
- Study and Realization of Web Service Gateway of Embedded Linux
- The Research and Application of Embedded Web Server GoAhead
- Design and Implementation of Smart-Home Gateway
- Research and Design of Embedded Smart Home Server Based on Linux
- Design and Implementation of the Convergence Device Based on Different Communication Interfaces
- Design of Solar Automatic Tracking Control System
- Design of Smart Home System Based on Wireless Sensor Networks
- A Tobacco Warehouse Intelligent Monitoring System Based on Embedded Web Server
- Design of Ecg Tele-monitoring System Sofeware Based on Android Smartphone
- The Development of Medical Remote Monitoring System Based on Embedded Web Server
- The Application of Web Service Technology in Embedded Monitor System
- Research of Embedded Home Video Surveillance System Based on S3C2440
- The Study of Network Monitoring System on Smart Home Which Is Based on Arm and Linux
- Research and Realization of Multi-protocol Building Automation Communication Platform
- The Design and Research of Stand-alone Embedded Motion Controller Based on STM32and FreeRTOS
- Network Digital Water Level Sensor Based on ARM9