Performance verification method and device of speed limiting module, electronic equipment and storage medium
The invention discloses a performance verification method and device of a speed limiting module, electronic equipment and a storage medium. When it is detected that a token bucket in a speed limiting module is switched from a deficit state to a non-deficit state for the first time, a first current t...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
11.11.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a performance verification method and device of a speed limiting module, electronic equipment and a storage medium. When it is detected that a token bucket in a speed limiting module is switched from a deficit state to a non-deficit state for the first time, a first current time point is obtained; whenever it is detected that the token bucket in the speed limiting module is switched from the deficit state to the non-deficit state again, a second current time point is obtained, and the token deduction total number of the token bucket in a time interval determined by the first current time point and the second current time point is obtained; and calculating a current rate according to the first current time point, the second current time point and the token deduction total number, and performing performance verification on the speed limiting module according to the current rate and a preset rate configuration value. According to the invention, the problem that the verification of the spe |
---|---|
Bibliography: | Application Number: CN202211139299 |