Method and device for controlling update of token bucket
A technology of token bucket and number of tokens, applied in the network field, can solve the problem of token bucket occupying a lot of resources of network device processors, and achieve the effects of improving data forwarding performance, reducing occupation and reducing the number of times.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0054] The embodiment of the present invention provides a method for controlling the update of the token bucket. When the leaf channel sends a message, it includes: obtaining the number of bytes in the message to be sent, and applying the algebraic sum of the number of bytes and the accumulated value stored Update the cumulative value; compare the updated cumulative value with a preset byte length update threshold, and if the cumulative value is greater than the byte number update threshold, update the token bucket of the leaf channel , and clear the accumulated value to zero, without affecting the existing bandwidth control accuracy of the hierarchical token bucket, it is not necessary to refresh the token bucket after each message is sent, which effectively reduces the number of token updates. Therefore, the occupation of the processor of the network device is reduced, and the data forwarding performance of the data forwarding channel is improved.
[0055] The specific imple...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com