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

CGI frame-based service flow control method and apparatus

A technology of business process and control method, applied in the field of business process control method and device based on CGI framework, can solve the problems of low scalability and low code reuse rate, and achieve the effect of improving scalability and reusability

Active Publication Date: 2014-11-26
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the inventor has found through research that at least the following problems exist in the traditional technology: when writing the code of the business process, different developers repeatedly define some reusable business logic codes (for example, according to the API returned by the CGI program The business logic code for exception handling of the processing status code), which makes the code reuse rate low, resulting in low scalability

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
  • CGI frame-based service flow control method and apparatus
  • CGI frame-based service flow control method and apparatus
  • CGI frame-based service flow control method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In one embodiment, such as figure 1 As shown, a business process control method based on a CGI framework, the method completely depends on a computer program based on the CGI framework, and the computer program can run on a server device based on the von Neumann system. The method includes the following steps:

[0024] Step S102, obtaining an access request, and extracting service data in the access request.

[0025] The CGI framework is an interface standard between CGI programs and web servers. The web server (such as Apache) is used to process and receive web page access requests (html requests), and extract the resource address (ie url, Uniform Resource Locator, Uniform Resource Locator) of the corresponding web resource stored on the web server according to the web page access request, Then return the network resource according to the resource address. If the webpage access request corresponds to an operation that needs to be added, deleted, modified or viewed o...

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 common gateway interface (CGI) frame-based service flow control method. The method comprises the following steps: obtaining an access request and extracting service data in the access request; obtaining a service flow execution chain; successively extracting a processing unit object of the service flow execution chain and invoking an interface function to carry out processing on the service data so as to obtain result data; and according to the result data, generating corresponding data and returning the data. In addition, the invention also provides a CGI frame-based service flow control apparatus. With the method and apparatus, expansibility is improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for controlling business processes based on a CGI frame. Background technique [0002] CGI (Common Gateway Interface, Common Gateway Interface) is an interface standard between external applications (CGI programs) and Web servers, and is a protocol for transferring information between CGI programs and Web servers. The CGI specification allows Web servers to execute external programs and send their output to Web browsers. CGI turns a set of simple static hypermedia documents on the Web into a complete new interactive media. [0003] When a traditional CGI program controls the execution of a business process, it usually realizes the control of the business process by sequentially calling the library functions of the CGI framework for adding, deleting, modifying and viewing. [0004] However, the inventor has found through research that at least the followi...

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/06
Inventor 周龄
Owner TENCENT TECH (SHENZHEN) CO LTD
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