Token bucket fill rate configuration method and device

A configuration method and token bucket technology, applied in the field of data transmission, can solve the problems of inflexible configuration, change limitation of token filling rate and precision, etc., and achieve the effect of simple device structure and easy implementation

Inactive Publication Date: 2007-08-29
ZTE CORP
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The number of tokens for a single filling is configured by the user. The disadvantage of this configuration method is that the filling rate can only be changed by changing the number of token

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 fill rate configuration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention is further illustrated below by means of the accompanying drawings and examples.

[0026] The filling rate is actually determined by the number of filling times per unit time and the number of tokens filled in a single time. By changing the filling time interval, the number of filling times per unit time can be changed. If the number of filling times per unit time is different, you can get different The filling rate, and the smaller the filling time interval, the higher the rate control accuracy can be obtained. If the two parameters can be controlled more flexibly, the disadvantages of the prior art can be solved.

[0027] FIG. 1 is a structural block diagram of a token bucket filling rate configuration device of the present invention. Mainly include filling interval configuration register 110, single filling token configuration register 120, filling token format configuration register 130 and filling control module 140, wherein:

[0028] The fi...

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 method includes steps: the filling control module reads out the filling time interval stored in the filling interval configuration register; when filling time interval from previous token filling time reaches, reading out values deposited in one kick filling token configuration register and filling token format configuration register; calculating number of token right to be filled, outputting token filling significance tag, and filling number of token. The invention lets user possible to configure one kick filling number of token, and format of one kick filling number of token. Using change of multiple changes, combination of configuration can change magnitude and precision of filling speed flexibly. Features are: simple structure, and easy of realization.

Description

technical field [0001] The invention relates to the field of data transmission, in particular to a configuration method and device for filling rate of a token bucket. Background technique [0002] The token bucket flow control mechanism is widely used in the field of data transmission. The principle is to fill the token bucket with tokens at a certain filling rate, and then compare the length of the message to be passed with the number of tokens in the token bucket. , if the number of tokens in the token bucket is greater than or equal to the packet length, the packet is allowed to pass, otherwise the packet is prohibited to pass, so as to achieve the purpose of restricting traffic. [0003] In current devices and chips, a fixed-period filling method is used, that is, a certain number of tokens is filled into the token bucket at a fixed time interval. The number of tokens for a single filling is configured by the user. The disadvantage of this configuration method is that 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
IPC IPC(8): H04L12/56H04L47/21
CPCH04L47/10H04L47/215
Inventor 杨平
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products