A message processing method and device

By splitting the processing process of the CAR algorithm, the problem that the existing technology is difficult to complete operations at high clock frequencies is solved, and more efficient packet rate control performance is achieved.

CN114650258BActive Publication Date: 2025-01-21HISILICON TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011478983.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-15
Publication Date
2025-01-21
Estimated Expiration
2040-12-15

AI Technical Summary

Technical Problem

The existing message rate control scheme based on CAR algorithm is difficult to complete operations within one clock cycle at high clock frequency, resulting in lower performance.

Method used

By splitting the processing process of the CAR algorithm, the first CAR instruction is obtained, the number of tokens in the token bucket is determined, the packet size and the number of tokens are compared, and the number of token buckets is updated based on the comparison result and packet color, thereby reducing Handle complexity and improve performance.

Benefits of technology

By splitting the processing process, the complexity of packet processing by the CAR algorithm is reduced, the processing performance is improved, and packet rate control can be performed more efficiently under high clock frequencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114650258B_ABST
    Figure CN114650258B_ABST
Patent Text Reader

Abstract

A message processing method and device are used to optimize the message processing process using a CAR algorithm. The method comprises: obtaining a first committed access rate CAR instruction, wherein the first CAR instruction includes the size and first color of a first message; determining the number of tokens in a current token bucket, wherein the token bucket is one or two; comparing the size of the first message and the number of tokens to obtain a comparison result; determining a second color of the first message according to the comparison result and the first color of the first message; and updating the number of tokens in the token bucket according to the second color and the size of the first message.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • Traffic supervision method, equipment and device, and computer storage medium

    CN111064676A