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

A current limiting method and device

A current limiting method and a technology for the number of tokens, which are applied in the computer field and can solve problems such as the inability to adapt to the dynamic changes of the system.

Active Publication Date: 2021-09-28
CHINA UNIONPAY
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention provides a method and device for establishing a current limiter to solve the problem in the prior art that it cannot adapt to the dynamic changes of the system

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
  • A current limiting method and device
  • A current limiting method and device
  • A current limiting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0047] figure 1 A schematic flow chart of a current limiting method provided by an embodiment of the present invention, such as figure 1 shown, including the following steps:

[0048] S101: When the system state changes, obtain the service response delay; the service response delay is the average delay used by the system to respond to a service request within a set time period.

[0049] S102: When the service response delay exceeds the p...

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 discloses a current limiting method and device, which can adapt to the dynamic changes of the system, including: when the system state changes, obtaining the service response time delay; the service response time delay is used by the system to respond to a service request within a set time period The average delay; when the service response delay exceeds the preset delay, adjust the number of periodic distribution tokens according to the preset rules until the service response delay reaches the preset delay; the number of periodic distribution tokens is used to indicate the system in a cycle The number of service requests processed within the period; the default rule is to adjust the number of periodic distribution tokens in waves and the decrease in the number of periodic distribution tokens in each band is greater than the increase in the number of periodic distribution tokens. Dynamically adjusting the number of tokens through the service response delay can better adapt to the system's current limiting of service requests in different system states, and the number of tokens distributed in a wave-like adjustment period is more stable and efficient.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a current limiting method and device. Background technique [0002] Current limiting is a common system protection measure. When the system responds to user business requests, a certain amount of access traffic will be generated. Usually, the system is equipped with a current limiter function to control the business traffic in the system to prevent the business traffic from being too large and exceeding the system processing capacity, causing the system to go down. machine. The system with the current limiter function contains the token bucket module of the current limiter. A certain number of tokens are stored in the token bucket of the current limiter. Every time the system responds to a business request, it deducts from the token bucket of the current limiter. A certain number of tokens, when the number of tokens in the token bucket of the current limiter is insufficient, ...

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 Patents(China)
IPC IPC(8): H04L12/801H04L12/819H04L12/841H04L47/21
CPCH04L47/12H04L47/215H04L47/283
Inventor 唐伟孙逸凡贾冠宇陈卓
Owner CHINA UNIONPAY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products