发明名称 |
Method and apparatus for limiting rate by means of token bucket, and computer storage medium |
摘要 |
Provided is a token-bucket-based rate limiting method and apparatus, and a computer storage medium. The method includes that: network node equipment acquires a token bucket parameter according to an attribute of a message, then obtains a current token amount according to a time threshold and the token bucket parameter, compares the current token amount with a current message length, and processes the message according to a comparison result. |
申请公布号 |
US2017026295(A1) |
申请公布日期 |
2017.01.26 |
申请号 |
US201415301323 |
申请日期 |
2014.09.22 |
申请人 |
ZHONGXING MICROELECTRONICS TECHNOLOGY CO. LTD |
发明人 |
Yin Junjie;Pang Hongguang |
分类号 |
H04L12/819;H04L12/801;H04L12/26 |
主分类号 |
H04L12/819 |
代理机构 |
|
代理人 |
|
主权项 |
1. A token-bucket-based rate limiting method, comprising:
acquiring, by network node equipment, a token bucket parameter according to an attribute of a message; determining a current token amount according to a time threshold and the token bucket parameter; and comparing the current token amount with a current message length to obtain a comparison result, and processing the message according to the comparison result. |
地址 |
Shenzhen, Guangdong CN |