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

Token bucket flow limiting method based on priority

A technology of traffic limitation and token bucket, applied in the field of data network, can solve the problems of lack of flexibility, occupation, increase of hardware cost, etc., and achieve the effect of improving service quality and saving network resources

Pending Publication Date: 2022-05-24
福州慧美丰科技有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the token generation rate and the token bucket depth cannot be changed, there is a lack of flexibility. Therefore, there are corresponding algorithms for modifying the token bucket algorithm. In some algorithms, the token generation rate changes according to changes in the specific environment, and some The token bucket bucket depth in the algorithm can also be changed
This takes up a lot of on-chip memory resources and increases the hardware cost

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
  • Token bucket flow limiting method based on priority

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The main idea of ​​the present invention is to set the token bucket depths of different speed limit stages. When the stage number of the received current message is the same as the stage number to be speed limited, the token corresponding to the speed limit stage is used. The bucket performs rate-limiting processing on the current packet; when the number of levels of the received current packet is different from the number of levels to be rate-limited, the highest-level token bucket is used to perform rate-limiting processing on the current packet. Specifically, the following steps are included:

[0017] Configure the rate limit parameters of packets, including the rate limit value, decrement the depth of each level of token buckets one by one, and ensure that the number of tokens in the highest level token bucket is greater than or equal to the sum of the number of tokens in the other levels of token buckets ;

[0018] After receiving the message, calculate the number...

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 priority-based token bucket flow limiting method. The invention discloses a priority-based token bucket speed limit method and system, and the method comprises the steps: setting token bucket depths of different speed limit levels, and carrying out the speed limit processing of a current message through a token bucket corresponding to the speed limit level when the level of the received current message is the same as the level to be subjected to speed limit; and when the stage number of the received current message is different from the stage number of which the speed is to be limited, carrying out speed limiting processing on the current message by utilizing the token bucket at the highest stage. The invention provides a token bucket speed limiting method based on priority, aiming at solving the problem and the defect that high and low priorities are not different when a token bucket method is used for limiting speed in the prior art.

Description

technical field [0001] The present invention relates to the field of data networks, in particular to a flow rate limiting technology in a network. Background technique [0002] In the classic token bucket algorithm, there is a token bucket for holding tokens. Every unit of time, a token is generated and placed in the bucket. After the token bucket is full, the newly generated token will be discarded. . A certain number of tokens is defined as a packet. Whether a packet can be sent out is determined by the number of tokens in the token bucket. When the number of tokens in the bucket is greater than the length of the packet, the packet can be sent. Suppose The length of the packet is L, and each time a packet is sent, the number of tokens in the token bucket will decrease by L. When the number of tokens in the token bucket decreases to 0, stop sending data, at this time newly arrived packets will wait in the buffer or be overflowed. Usually, in the token bucket algorithm, t...

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): H04L47/215H04L47/24
CPCH04L47/215H04L47/2458Y02D30/50
Inventor 孙明聪刘锋
Owner 福州慧美丰科技有限公司
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