Data transmission method and system based on response of user request information

A technology for users to request and request information, applied in digital transmission systems, transmission systems, data exchange networks, etc., can solve problems such as explosive requests, system failure to process user requests, system downtime, etc., and achieve the effect of ensuring safety

Inactive Publication Date: 2010-06-09
北京雷霆万钧网络科技有限责任公司
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, Http Server is unstable when dealing with large-scale concurrent situations, and explosive requests may occur. If handled improperly, the impact of sudden explosive requests on the system will cause the system to be unable to process user requests, or even Cause system downtime, how to buffer the impact of explosive requests on the system is the key to solving the problem

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
  • Data transmission method and system based on response of user request information
  • Data transmission method and system based on response of user request information
  • Data transmission method and system based on response of user request information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] Embodiment 1, the present invention provides a data transmission method based on user request information response, refer to figure 1 ,include:

[0027] Step S101, the website server receives user request information and sends the user request information to a well-known channel;

[0028] Step S102, the well-known pipe sends user request information to several sub-processes;

[0029] Step S103, the sub-process will receive the user request information, convert the format of the user request information into log information and send it to the Spread loop.

[0030] In Embodiment 1 of the present invention, the well-known pipeline sends user request information to several sub-processes, and each sub-process is independent of each other, and the well-known pipeline sends user request information to multiple mutually independent sub-processes. Transmission plays the role of shunting, effectively buffering the impact of explosive requests on the system.

Embodiment 2

[0031] Embodiment two, see figure 2 , similar to the above embodiment, the difference lies in that step S103 is specifically:

[0032] Step S301, read the user request information from the FIFO Buffer of the well-known pipe, and send it to the FIFO Buffer of each sub-process;

[0033] Step S302, read the user request information from the FIFO Buffer of each sub-process, and convert the format of the user request information into log information and send it to the Spread loop;

[0034] In Embodiment 2 of the present invention, the FIFO well-known pipeline can be regarded as the first layer of buffering, and the FIFOBuffer of the child process can be regarded as the second layer of buffering. The impact of the system ensures the safety of the system.

Embodiment 3

[0035] Embodiment 3, the present invention also provides a data transmission system based on user request information response, see image 3 , including: website server 11, well-known pipeline 12, each subprocess module 13 and Spread loop 14;

[0036] Web server 11 is used for receiving user request information and sending user request information to well-known pipeline;

[0037] The well-known pipe 12 is used to send user request information to several subprocesses 13;

[0038] Subprocess 13 is used for receiving user request information, and after the user request information format is converted into log information, it is sent to Spread loop 14;

[0039] The Spread loop 14 is used to receive log information sent by the child process;

[0040] In the third embodiment of the present invention, the well-known pipeline 12 sends user request information to several sub-process modules 13, and each sub-process module 13 is independent of each other, and the well-known pipeline 1...

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 the technical field of processing website user request information and particularly discloses a data transmission method based on the response of user request information. In the method, a web server receives and sends user request information to a named pipe; the named pipe sends the user request information to a plurality of subprocesses; and the subprocesses receives the user request information, converts the format of the user request information into log information and then sends the log information to a Spread loop circuit. The invention also discloses a data transmission system based on the response of the user request information. The named pipe sends the user request information to the plurality of subprocesses which are mutually independent, and the named pipe sends the user request information to the plurality of mutually independent subprocesses, thereby playing a shunting role during the transmission of mass data when explosive request occurs and buffering the shock of the explosive request to the system.

Description

technical field [0001] The invention relates to the field of website user request information processing, in particular to a data transmission method and system based on user request information response. Background technique [0002] With the advent of the information society, people rely more and more on the Internet to obtain a huge amount of information. Large-scale websites have many servers and a large number of website visits, which makes the collection of logs a thorny problem. At present, most solutions use Http servers such as Apache or lighthttp to collect logs locally, and then copy the logs to a unified server through FTP, remote file copy, etc. for analysis. [0003] In the prior art, Http Server is unstable when dealing with large-scale concurrent situations, and explosive requests may occur. If handled improperly, the impact of sudden explosive requests on the system will cause the system to be unable to process user requests, or even Causing system downtim...

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): H04L12/56H04L47/80
Inventor 吴帅王国腾绍军左鹞飞
Owner 北京雷霆万钧网络科技有限责任公司
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