A message forwarding method and device

By reading the token granularity template from an independent register in the network processor, generating tokens, and forwarding packets, the problem of DDR bandwidth and DRAM memory overhead caused by increasing the expected rate is solved, enabling flexible traffic shaping and performance optimization.

CN120512403BActive Publication Date: 2026-07-21NEW H3C SEMICON TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NEW H3C SEMICON TECH CO LTD
Filing Date
2025-06-23
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

Existing technologies, while increasing the expected speed of network processors, lead to increased DDR bandwidth overhead and DRAM memory overhead, thus affecting the performance of network processors.

Method used

By reading parameters from the token granularity field and the representation granularity identifier from the independent register, the target token granularity template is determined, a token is generated, and the message is forwarded according to the amount of forwardable data. This avoids directly determining the token granularity based on the value of the token granularity field in the QD and utilizes the independent register to store more token granularity templates.

Benefits of technology

It achieves the goal of increasing expected speeds while reducing the impact on network processor performance, and flexibly responds to complex and diverse business scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120512403B_ABST
    Figure CN120512403B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a message forwarding method and device, and relates to the field of communication technology, which comprises the following steps: reading a first parameter from a token granularity field and reading a second parameter from an independent register; determining a target token granularity based on the second parameter and a target token granularity template bound with the first parameter recorded in the independent register; generating a token in a token bucket in response to reaching a token generation time, and accumulating a first forwardable data amount of the token bucket by a second forwardable data amount corresponding to the generated token; and in response to receiving a message, forwarding the message if a first message data amount of the message is not greater than a latest first forwardable data amount, and deducting the latest first forwardable data amount by the first message data amount. The scheme provided by the embodiment of the application can improve the expected rate while reducing the influence on the NP performance.
Need to check novelty before this filing date? Find Prior Art