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

Sliding window current limiting method and device based on double pointers, equipment and storage medium

A technology of sliding window and current limiting method, which is applied in the direction of program control device, input/output process of data processing, transmission system, etc., and can solve the problem of high calculation cost

Pending Publication Date: 2021-02-12
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If you need to do more accurate current limiting, because each time a fixed number of grids are pushed forward to calculate whether the limit is exceeded, when the accuracy requirement is high, the calculation cost required is too high

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
  • Sliding window current limiting method and device based on double pointers, equipment and storage medium
  • Sliding window current limiting method and device based on double pointers, equipment and storage medium
  • Sliding window current limiting method and device based on double pointers, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the specification of the application are only for the purpose of describing specific embodiments, and are not intended to limit the application.

[0039]It should be noted that the terms "comprising", "comprising" and "having" in the specification and claims of the present application and the above drawings and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or devices. In the claims, description and drawings of this application, rel...

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 discloses a sliding window current limiting method, device and equipment based on double pointers and a storage medium, and relates to the technical field of server data monitoring. The method comprises the following steps: determining a time interval length and a request quantity threshold; creating a sliding window; carrying out flow monitoring on the user request; pausing sliding of the sliding window, starting a flow interception program, and intercepting the user request; setting a double-pointer time window; calculating a double-pointer time window requestthreshold, and comparing the first request frequency with the double-pointer time window request threshold; and averagely distributing at most the user requests matched with the double-pointer time window request threshold number in the double-pointer time window. According to the method, after the sliding window is used for limiting the current, the double-pointer time window mode is used for limiting the current, the comparison frequency of the sliding window can be effectively reduced, and when the request quantity reaches the current upper limit, finer and more accurate current control can be achieved.

Description

technical field [0001] The present application relates to the technical field of server data monitoring, in particular to a double pointer-based sliding window current limiting method, device, equipment and storage medium. Background technique [0002] In the case of a cloud environment, heavy traffic is unavoidable. In order to ensure the stability and performance of the system in the case of large traffic requests, some measures must be taken. At present, there are generally three common methods to deal with large traffic: caching, downgrading, and current limiting. Among the processing methods of current limiting, there are several ways of using counters, sliding windows, leaky buckets, and tokens. [0003] Through the counter current limiting means, within a period of time, the count is compared with the threshold value, and the counter is cleared to 0 when the time critical point is reached. But counters have a borderline problem. For example, we limit the call inte...

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
IPC IPC(8): H04L12/815G06F9/451G06F3/0485G06F3/0481H04L47/22
CPCH04L47/225G06F3/0485G06F3/0481G06F9/451
Inventor 刘宏亚
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
Features
  • Generate Ideas
  • 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