Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for web server

A server and server-side technology, applied in the field of web servers, can solve the problems of lack of global access control mechanism, too much dependence, poor security, etc., and achieve the effect of strong debugging tools and development environment, easy to use, and good security

Inactive Publication Date: 2011-08-03
钟巨航
View PDF1 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] 1. The system is too complex and huge, such as jsp and asp.net, which consume resources and complexity that may be many times larger than the web application itself;
[0015] 2. Low efficiency, such as asp and php are interpreted scripting languages, and jsp is a pseudo-compiled virtual machine language, whose running speed is several times or even greater than that of c / c++
Although asp.net claims to be able to compile, the code it prepares for the object-oriented operating environment itself far exceeds the code of the application itself.
[0016] 3. Poor compatibility, such as asp.net on platforms other than windows, the use is very limited
[0017] 4. The independence of the system is very poor, relying too much on too many components, such as asp.net
[0018] 5. For technical personnel, there are too many things that require extra attention and learning, and the changes are too fast, such as asp.net
[0019] 6. Poor security, mainly due to: 1. Due to the complexity of the system, such as asp.net; 2. Different attacks due to the code is plain code, such as php and asp;
[0020] 7. Lack of a global access control mechanism, the logical relationship between each page is difficult to control, or requires a relatively high price, such as the use of sessions in php;

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for web server
  • Method and system for web server
  • Method and system for web server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] The method and system of the present invention can be implemented as follows:

[0070] 1. Define the programming language tag identifier,

[0071] start tag <%

[0072] Closing tag %>

[0073] Global function / variable start tag: <% static

[0074] Global function / variable start tag: %>

[0075] (It happens to be the same as asp, just convenient for web editor editing, this tag can be changed / set arbitrarily, as long as the dynamic page is consistent with the compiler)

[0076] 2. Define the web server and the dynamic page generation call function interface, which is defined in this embodiment as:

[0077] int HttpMain(pHTTPREQ pHttpReq), this function is dynamically called by the web server and returns 1 for success and 0 for failure

[0078] Among them, pHttpReq is a group of function call pointers related to the input and output of the web server and management, such as:

[0079] pHttpReq->HttpGetCookieStr(char *name, int *cLen); get cookie string value

[0080...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method and system for a web server. The method and system provided by the invention are used for better control the performance and efficiency of the web server and comprise a dynamic webpage generating method. In the dynamic webpage generating method, c or c++ codes are used as the programming language for embedding web pages; the c / c++ codes are compiled in the server into binary machine codes which are directly operated in a CPU (Central Processing Unit); and the c / c++ codes are compiled in the first operation. The invention simultaneously provides a method used for compiling dynamic pages and an optimization method for enhancing the server based on the dynamic pages, and the methods comprise the following steps: setting a temporary storage space in the server, packing static pages or the dynamic pages and the like.

Description

Technical field [0001] The present invention relates to web server technology, specifically, the present invention provides a novel web server system and a dynamic webpage generating method at the server end. Background technique [0002] The web server is the main device for obtaining information based on the Internet. It accepts the user's information request and sends the result of the user's request to the user in the form of a web page, thereby forming an information exchange. At present, web servers generally use the http protocol, and web pages generally use codes based on html or xml tags, which are interpreted and displayed by the browser (such as ie, firefox, opera, etc.) located at the client. At present, the main web server systems include Apache, IIS and so on. [0003] In the initial stage of web server development, static html pages were mainly used, and CGI was used for requests requiring interactivity. [0004] With the rapid development of the Internet, t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 钟巨航
Owner 钟巨航
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products