Check patentability & draft patents in minutes with Patsnap Eureka AI!

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

Pending Publication Date: 2019-11-15
MIAOZHEN INFORMATION TECH CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present disclosure provide a current limiting method and device applied to a web server, so as to at least solve the problem in the related art that the server is prone to crash under the scenario of large traffic or even sudden traffic

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
  • Flow limiting method and device applied to web server
  • Flow limiting method and device applied to web server
  • Flow limiting method and device applied to web server

Examples

Experimental program
Comparison scheme
Effect test

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 ...

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 embodiment of the invention provides a flow limiting method and device applied to a web server, and the method comprises the steps that the web server receives a request message from a user, the request message carries a plurality of request parameters, and the request parameters are used for determining the priority of the request message; load state data of a back-end server is obtained, theload state data of the back-end server is stored in a gateway of the web server; and the request message is processed according to the load state data of the back-end server and the priority of the request message. The problem that the server is easy to crash in a large-flow or even burst-flow scene in related technologies is solved.

Description

technical field [0001] The present disclosure relates to the technical field of web servers, and in particular, to a method and device for current limiting and fetching applied to web servers. Background technique [0002] In the process of the rapid development of various Internet companies today, due to the continuous adjustment and improvement of operations, the entire program server is constantly facing the test of sudden traffic. Nowadays, the little-known servers such as the train ticket booking website of the Ministry of Railways run smoothly during the low traffic period. , The server traffic directly enters the peak period during holidays, which is an extremely harsh test for the daily operating server budget. Ensuring the availability (sustainable) operation of the server under extreme traffic pressure scenarios is an old-fashioned technical issue. [0003] The existing relatively common technical solution with low technical difficulty in the industry is to use the...

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/865H04L29/08H04L47/6275
CPCH04L47/6275H04L67/02H04L67/61
Inventor 吴光需徐浩吴明辉
Owner MIAOZHEN INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More