Design and implementation of lightweight Web server -based cross - platform

Author
HuangJinHui
Advisor
XuJun , RenFaQuan
School
University of Electronic Science and Technology
Major
Software Engineering
Classification
TP393.05 Network equipment
Degree
Master's thesis
Year
2011
Downloads
40
Citations
0

Request the full text

Abstract

After decades of development, the Internet has already become the infrastructure of the information society. As one of the most important applications of the Internet, the web is unique. With the emergence of XML, Web Serveice, but also triggered a new revolution of Web applications. Due to the fierce competition in the desktop application, resulting in only few companies to develop applications for specific platforms. Corresponding server-side software may have to be relocated to a different platform to meet the needs of the commercial. Especially for SMEs, due to limited personnel and financial resources, it is impossible for different platforms corresponding development. The same for the server-side software developers, in-depth master a particular platform requires a lot of time and experience in project development. Therefore put the cross-platform software development in the beginning as the target for the design, so that not only can save development time and the future maintenance of the same favorable user at the same time the same operator interface on different platforms, savings for training a large number of costs. Taking into account the strong demand, the paper by network theory and protocol set forth by means of standard software development, emphasis on cross-platform features to achieve a clear structure, platform-independent, lightweight and highly scalable for small and medium-sized HTTP server of the enterprise application. This system is mainly to highlight the lightweight server burden of calm and high scalability. Encapsulate the operating system interface, abstract system interface layer, which only need to be on a different operating system API package, you can easily achieve cross-platform functionality. In order to achieve cross-platform, system architecture design, modular design, each module functions are clearly defined, clear dependency. Adaptive methods in solving the problem of the heavy load, heavy load may burst, so before the server is running manually configure and run automatically change. Another advantage of modular development methodology is easily extended, ASP or other scripts supports only develop to the corresponding script parsing module will be able to achieve expansion. In order to achieve the latter part of the software maintenance process specifications in strict compliance with the standard software development process, from the preparation to the late encoding the entire process to take documentation. Firstly a detailed analysis of the HTTP protocol, as preparatory work, sorting out the essence of the agreement; then were analyzed according to the client and server interaction processes, derived demand of the system; needs analysis modeling in system model, the whole system is divided into six modules, and describes the dependence between the various modules; final division of the interior of the individual modules, the corresponding data structures are defined and encoded according to the defined interface; eventually achieve a suitable SME cross-platform lightweight HTTP server.

Table of contents

Abstract 4-6 ABSTRACT 6-12 Chapter 1 Overview 12-19 1.1 Background <br / > 1.2 Overview of research 12-13 1.3 concept introduced 13-16 1.3.1 the WWW 1.3.2 HTML nbsp 14 ; 14-15 1.3.3 HTTP 15-16 1.3.4 portability 16 1.3.5 lightweight server Past and Present 16 1.4 an HTTP server the 16-17 1.5 HTTP server impact 17-19 1.5.1 enhance business adaptability 17-18 1.5.2 reduce IT costs 18-19 second chapter of the HTTP protocol 19-29 2.1 protocol parameters 20 - 21 2.1.1 HTTP version 20 2.1.2 Uniform Resource Identifier 20-21 2.2 HTTP messages 21-24 <br / > the 2.2.1 message is head line 21-22 the 2.2.2 messages domains the 2.2.3 message body 22-23 23 2.2. the 4 message length 23-24 2.3 request 24-26 2.3.1 the OPTIONS square 24-25 2.3.2 GET 25 2.3.3 HEAD method 25 2.3.4 POST method the 25-26 2.3.5 the PUT methods 26 <br / > 2.3.6 DELETE methods the 2.3.7 the TRACE method 26 26 2.3.8 CONNECT method 26 2.4 Response 26 -27 2.5 connection 27-28 2.6 cache 28-29 Chapter feasibility and needs analysis 29-32 <br / > 3.1 Development of intent 29 3.2 software features. 29-30 3.2.1 cross-platform software architecture 29 3.2.2 Basic HTTP service is the 29-30 3.2.3 Parameter setting function 30 3.2.4 support module load are found; 30 3.2.5 static web services 30 3.3 general requirements for performance the 30-31 3.4 operating environment provisions the 31-32 3.4.1 Equipment 31 3.4.2 support software 31-32 Chapter outline design 32-39 4.1 demand provisions 32 4.2 running to 4.3 overall structure of the 32-33 between 33 4.4 module the 33-36 4.4.1 API package Interface Layer 34 4.4.2 master module 34-35 4.4.3 configuration module the concurrent processing module 35 4.4.4 35 4.4.5 connection processing module 35 4.4.6 request processing module the 4.4.7 protocol processing module 35 35-36 4.5 basic design concepts and processes; nbsp 36 4.6 system startup process 36-39 4.6.1 initialization 37 4.6.2 connection processing 37 4.6.3 read request 37 4.6.4 request processing the 37-38 4.6.5 generate a response 38-39 Chapter detailed design 39-48 5.1 Introduction 39 5.2 cross-platform library package 39 5.3 main The control module 39-40 5.4 configuration module 40-41 5.5 concurrent processing module nbsp the; 41-44 5.6 connection handling 44 -46 5.7 request processing 46 5.8 protocol processing 46-48 Chapter encoding 48-60 6.1 defined coding specification 48-49 6.2 directory arrange a 49 6.3 of each module code 49-60 6.3.1 cross-platform library package 49-50 6.3.2 master module 50-51 6.3.3 configuration processing module are found; the 51-52 6.3.4 concurrent processing module 52-55 6.3.5 connection handling 55-56 6.3.6 connection processing 56 6.3.7 protocol processing 56 - 60 Chapter VII ASP the JSP PHP 60-62 7.1 ASP 60 7.2 JSP 60-61 7.3 PHP 61-62 Acknowledgements 62-63 Reference 63-64 attack Shuo obtained during the research 64-65 Accessories 65-89

Related dissertations

  1. Design and Implementation of Cross-Platform Substation Supervisory Control Information Publishing System
  2. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  3. Engine Room Monitoring System Based on the Embedded Web Server
  4. Design of Embedded Construction Safety Video Monitoring System Based on S3C6410
    LiuZhengPing ·Hunan University ·2013 ·Master's thesis
  5. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  6. Data Acquisition System of Cavern Based on Embedded Web Server
  7. Decentralized Self-tuning Relative Delay Guarantee Scheme for Web Server
    GuoGuang ·Beijing Jiaotong University ·2014 ·Master's thesis
  8. Research and Realization of Embedded Wireless Sensor Networks
    ZhangJiPing ·Dalian Polytechnic University ·2013 ·Master's thesis
  9. Based on the DSP Web Server Design and Research
  10. Design and Implementation of Embedded Network Control System Based on Linux
    WangZhiJia ·Xiamen University ·2014 ·Master's thesis
  11. The Design and Implementation of Hr System for Company
    ZhouQingHua ·Shandong University ·2013 ·Master's thesis
  12. A Research of a Development Framework Based on Cross-platform for Mobile Applications
    LiuYu ·Beijing Jiaotong University ·2014 ·Master's thesis
  13. Design and Implementation of the Motion Control System Based on USB Interface
  14. The Research of Video-Audio Technology and Its Application in Intelligent Community
    YuBaoZhu ·Zhejiang University of Technology ·2013 ·Master's thesis
  15. The Design and Implementation of Smart Pots Base on the Internet of Things Technology
  16. The Design and Implementation of Cross-platform Video Surveillance Transmission System on Chaos
  17. Design and Implementation of Gateway Based on ARM9and Zigbee
    LiuHongBo ·Hubei University ·2013 ·Master's thesis
  18. Design of Traffic Information Query System Based on Android
  19. The Design and Implementation of Puzzle Game for Children
    TanLei ·Central China Normal University ·2014 ·Master's thesis
  20. Welding Parameter Monitoring System Based on Embedded Ethernet Web Server
    WangMingJian ·Tianjin University ·2012 ·Master's thesis