Flow limiting method and device applied to web server
A current limiting method and server technology, applied in the field of network servers, can solve problems such as server crashes easily, and achieve the effect of flow control processing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] The method embodiment provided by Embodiment 1 of the present disclosure may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking running on a mobile terminal as an example, figure 1 It is a hardware structural block diagram of a mobile terminal applied to a current limiting method of a web server according to an embodiment of the present disclosure. like figure 1 As shown, the mobile terminal 10 may include one or more ( figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the above-mentioned mobile terminal also A transmission device 106 for communication functions as well as input and output devices 108 may be included. Those of ordinary skill in the art can understand that, figure 1 The shown structure is only for illustration, and does n...
Embodiment 2
[0061] In this embodiment, a current limiting device applied to a web server is also provided, which is used to execute the steps in any one of the above method embodiments, and the content that has been described will not be repeated here. Figure 4 is a structural block diagram of a current limiting device applied to a web server according to an embodiment of the present disclosure, such as Figure 4 As shown, the device includes:
[0062] The receiving module 402 is configured to receive a request message from a user, wherein the request message carries various request parameters, and the request parameters are used to determine the priority of the request message;
[0063] The gateway health check module 404 is used to obtain the load status data of the backend server, wherein the load status data of the backend server is stored in the gateway of the web server;
[0064] The gateway policy module 406 is configured to process the request message according to the load statu...
Embodiment 3
[0072] Embodiments of the present disclosure also provide a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
[0073] Optionally, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for performing the following steps:
[0074] S1. Receive a request message from a user, wherein the request message carries various request parameters, and the request parameters are used to determine the priority of the request message;
[0075] S2, acquiring the load state data of the backend server, wherein the load state data of the backend server is stored in the gateway of the web server;
[0076] S3, process the request message according to the load status data of the backend server and the priority of the request message.
[0077] Optionally, in this embodiment, the above-mentioned storage medium may include but not ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



