Method and device for processing hypertext transfer protocol request
A hypertext transmission and protocol technology, applied in the network field, can solve the problems of application server crash, application client and application server information transmission interruption, etc., to achieve the effect of improving bearing capacity and reducing overhead
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] The embodiment of the present invention provides a method for processing hypertext transfer protocol requests, see figure 1 , the method flow includes:
[0046] Step 101: receiving multiple HTTP requests, the number of HTTP requests is greater than the number of opened processing threads;
[0047] Step 102: Obtain the network data flow corresponding to each HTTP request, and analyze the network data flow corresponding to each HTTP request, and obtain the analysis data corresponding to each HTTP request;
[0048] Step 103: After obtaining the parsed data, distribute the parsed data corresponding to each HTTP request to the processing queue of the corresponding processing thread, and call the corresponding processing thread to process the parsed data in the processing queue.
[0049] Further, the analysis data corresponding to each HTTP request is distributed to the processing queue of the corresponding processing thread, including:
[0050] For the analysis data corres...
Embodiment 2
[0062] The embodiment of the present invention provides a method for processing a hypertext transfer protocol request. For the convenience of description, take client A sending an HTTP request, and the device B processing the hypertext transfer protocol request receiving and processing the HTTP request as an example. The methods provided in the examples are described in detail. see figure 2 , the method flow includes:
[0063] Step 201: receiving multiple HTTP requests, the number of HTTP requests is greater than the number of opened processing threads;
[0064] Specifically, the specific implementation manner of receiving the HTTP request can be realized according to the existing receiving manner, for example, receiving multiple HTTP requests together and caching the multiple HTTP requests in the storage medium, which is not specifically limited in this embodiment. Wherein, the storage medium may specifically be a read-only register. Of course, the type of the storage medi...
Embodiment 3
[0088] An embodiment of the present invention provides a device for processing a hypertext transfer protocol request, which is used to execute the method provided in the first or second embodiment above, see image 3 , the device consists of:
[0089] Receiving module 31, is used for receiving a plurality of HTTP request, and the quantity of HTTP request is greater than the quantity of the processing thread that opens;
[0090] An acquisition module 32, configured to acquire a network data flow corresponding to each HTTP request received by the receiving module 31;
[0091] The analysis module 33 is used to analyze the network data stream corresponding to each HTTP request obtained by the acquisition module 32, and obtain the analysis data corresponding to each HTTP request;
[0092] The distribution module 34 is used to distribute the analysis data corresponding to each HTTP request analyzed by the analysis module 33 to the processing queue of the corresponding processing th...
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com