Universal gateway interface and method for obtaining data using the same

A general gateway interface, a technology for obtaining data, applied in the field of general gateway interface and using CGI to obtain data, to achieve the effect of high efficiency, low implementation cost, and avoiding the operation of reading disk media

Inactive Publication Date: 2007-09-26
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] However, FASTCGI has its own specification. In order to adapt to the FASTCGI specification, ordinary CGI needs to undergo major changes before it can be used under FASTCGI; in this way, the scope of CGI used by FASTCGI is limited.

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
  • Universal gateway interface and method for obtaining data using the same
  • Universal gateway interface and method for obtaining data using the same
  • Universal gateway interface and method for obtaining data using the same

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to make it easier for those skilled in the art to understand and realize the present invention, the embodiments of the present invention are described in conjunction with the accompanying drawings.

[0057] As shown in Fig. 2, the present invention discloses a CGI, and the CGI includes a server, a CGI control unit, a CGI process pool, and a CGI dynamic library.

[0058] The server is used to receive the CGI request from the client, and the CGI request includes environment variable parameters. Then put the CGI request in the Req queue of the CGI control unit, so that the CGI process can get the CGI request. The server is also used to obtain CGI data from the Rep queue of the CGI control unit, and send the CGI data to the client;

[0059] The CGI control unit includes a request control unit and a response control unit, and the request control unit includes a Req (request) queue and a Req signal light. When there is a CGI request in the Req queue, the Req signal li...

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 disclosed CGI comprises: a server, a CGI controller, a CGI process pond, and a CGI DL. The relative method for obtaining data from CGI comprises: server obtains CGI request; the pond obtains the data controlled by the CGI controller through the CGI DL, and the server obtains result data. This invention saves time obviously.

Description

technical field [0001] The invention relates to a communication technology, in particular to a common gateway interface (CGI) and a method for obtaining data by using the CGI. Background technique [0002] The client generally browses webpages on the Internet in two ways to obtain various information. The first way is to directly browse the content of the webpage, and the second way is to obtain information through the Common Gateway Interface (CGI), and then organize the obtained information into webpages for users to browse the obtained information. [0003] A common gateway interface (CGI) is a program, which is usually located on the server side, and is used to process the client's request and return the processing result to the client according to the client's request. As shown in FIG. 1 , the working process of the universal gateway interface will be described below with reference to FIG. 1 . [0004] Step 11, the client sends a CGI request (usually also referred to ...

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): H04L29/08G06F9/445
Inventor 王延正姚星王啸枫徐钢武梁子谦
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products