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

Current limiting method and device

A current limiting method and a technology of the number of tokens, applied in the computer field, can solve problems such as the inability to adapt to the dynamic changes of the system, and achieve the effect of a stable adjustment method

Active Publication Date: 2017-12-15
CHINA UNIONPAY
View PDF6 Cites 17 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
  • Current limiting method and device
  • Current limiting method and device
  • 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 pr...

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 capable of adapting to the dynamic change of a system. The method comprises the following steps: acquiring service response delay when a system state is changed, wherein the service response delay is the average delay used by the system in response to once service request within a set time period; when the service response delay exceeds the preset delay, adjusting periodically distributed token number according to a preset rule until the service response delay achieves the preset delay, wherein the periodically distributed token number is used for indicating the number of the service request processed by the system within one period, and the preset rule comprises adjusting the periodically distributed token number in a wave mode and enabling the decrement of the periodically distributed token number in each waveband to be less than the increment of the periodically distributed token number. The current-limiting on the service request by the system under different system states can be well adapted by dynamically adjusting the token number through the service response delay.

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 Applications(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