Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for dividing filling rate interval based on token bucket algorithm

A token bucket algorithm and filling time technology, applied in the field of data communication, can solve the problems of multi-cost flow control, and achieve the effect of reducing costs and circuit resources

Inactive Publication Date: 2010-07-14
趣无忧人力资源(上海)有限公司
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Since both Tc(tn) and Tp(tn) are stored in external flash memory (Memory), Tc(tn) and Tp(tn) with a large data bit width require large-capacity Memory to support them; in addition, for traffic In the circuit for specific implementation of the control, since it involves many arithmetic operation logics, Tc(tn) and Tp(tn) with a large data bit width will consume more circuit resources
In general, Tc(tn) and Tp(tn) with a large data bit width lead to more costly implementation of flow control

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
  • Method and device for dividing filling rate interval based on token bucket algorithm
  • Method and device for dividing filling rate interval based on token bucket algorithm
  • Method and device for dividing filling rate interval based on token bucket algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0019] Such as figure 1 A schematic flowchart of a method for dividing a filling rate interval based on a token bucket algorithm provided by an embodiment of the present invention, the method includes the following steps:

[0020] S101: Obtain the decimal bit data bit width M corresponding to the minimum number of tokens in the current token bucket in the filling rate interval, and the corresponding integer bit data bit width N when the number of tokens is the maxi...

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 provides a method and a device for dividing a filling rate interval based on token bucket algorithm. The method comprises the following steps: acquiring a corresponding decimal data bit width M when the number of tokens in a token bucket is minimum and a corresponding integral data bit width N when the number of the tokens is maximum in the filling rate interval, wherein the M and the N are positive integers; selecting a larger data bit width in the data bit width M and the data bit width N; and dividing the filling rate interval into a plurality of subintervals according to the larger data bit width, wherein the data bit width corresponding to the number of the tokens in the token bucket in the subintervals is the larger data bit width. By dividing the filling rate interval into the plurality of subintervals, the packet processing time interval for network equipment is smaller; and when the filling rate range is larger, the requirement of flow control can be met by a Memory with smaller data bit width; therefore, the embodiment of the invention reduces circuit resources for realizing the flow control so as to greatly reduce the cost.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a method and device for dividing a filling rate interval based on a token bucket algorithm. Background technique [0002] In data communication technology, flow control is a key technology to realize Quality of Service (QOS), through flow control, users can be provided with different access rates and burst bandwidths. At present, the flow control in the data communication system is basically realized based on the RFC2697 / RFC2698 token bucket algorithm. [0003] Taking the tcTCM token bucket algorithm specified in RFC2698 as an example, the parameters to implement the algorithm include: Committed Information Rate (CIR), Committed Burst Size (CBS), Peak Information Rate (Peak Information Rate, PIR) and Peak Burst Size (Peak Burst Size, PBS), where CBS represents the maximum depth of the C bucket, PBS represents the maximum depth of the P bucket, CIR is the speed of adding tokens ...

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/56H04L12/811
Inventor 白玉晶黄天强彭晓澎
Owner 趣无忧人力资源(上海)有限公司