Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for implementing token processing

A token and network processor technology, applied in transmission systems, electrical components, etc., can solve the problems of slow effective time, low adaptability, and difficulty in meeting user service quality, and achieve the effect of reducing errors

Active Publication Date: 2022-01-11
SANECHIPS TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At present, the network processor in the chip adds tokens through internal incentives; that is, triggers the addition and update of tokens based on the chip's reference clock. In the case of an increasingly high internal clock frequency of the chip, in order to ensure that tokens can be added Completed in a single clock cycle (nanosecond level), the division operation must be used in the supervision process, the chip is multiplied by a constant, and then shifted to the right to obtain an approximate value; therefore, update the token (especially when the expected egress traffic is small) error will occur
In addition, currently changing the traffic size of the business outflow outlet can only change the binding supervision attribute of the target business flow through the command line, and the effective time is relatively slow, and the adaptability to some scenarios of rapidly changing the supervision traffic is not high; in addition, considering resource constraints According to the current business application scenario, the network processor will set a regulatory indicator that meets the needs of the current application scenario, and the regulatory indicator is difficult to meet the user's later higher quality of service (QOS) requirements

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for implementing token processing
  • A method and device for implementing token processing
  • A method and device for implementing token processing

Examples

Experimental program
Comparison scheme
Effect test

application example 1

[0153] Figure 5 It is the method flowchart of the first application example of the present invention, as Figure 5 shown, including:

[0154] Step 500, setting the format and sending cycle of the external message;

[0155] Step 501, determining a single token addition value according to the expected rate of service flow;

[0156] Wherein, the expected rate includes: Committed Information Rate (CIR).

[0157] Step 502, adding the value of one-time token addition to the preset external message;

[0158] Optionally, adding a single token value to the preset external message includes:

[0159] Add the one-time token addition value to the preset external message through the preset interactive interface.

[0160] Step 503, sending the external message to the network processor; in the embodiment of the present invention, the external message and the service message can be sent to the network processor at the same time, and the external message can be transmitted through a high-...

application example 2

[0173] The committed information rate of the business flow is Cir, and the unit is bit per second (bps), and the time interval for inputting external messages is agreed to be Clk, and the unit is s);

[0174] First, calculate a single token addition value, namely Cir / Clk, and configure the single token addition value and the maximum token depth Cbs with a preset interactive interface (for example, a command line interface);

[0175] In this application example, external messages can be used for updating the token, and regular messages generated inside the chip can also be used, both of which can be configured through the channel selection register. When selecting the user input path, it is necessary to agree on the message format. At the chip entrance, the format of the incoming message will be compared to identify the external message input by the user, and the message will be sent to the token update process; When timing packets, you need to control the packet sending interv...

application example 3

[0179] This application example applies to the scenario of allocating users' committed bandwidth and non-committed bandwidth.

[0180] Assuming two users, the committed bandwidth and uncommitted bandwidth of user 1 are CIR1 and EIR1 respectively, and the committed bandwidth and uncommitted bandwidth of user 2 are CIR2 and EIR2 respectively.

[0181] Figure 6 It is a schematic flow chart of the third application example of the present invention, such as Figure 6 As shown, the committed bandwidth token bucket of user 1 and the committed bandwidth token bucket of user 2 are updated through external messages; the uncommitted bandwidth token bucket of user 1 and the uncommitted bandwidth token bucket of user 2 are set through external The competitive decision of the token bucket to achieve token renewal; the service flow of user 1 and the service flow of user 2 are respectively colored through the corresponding committed bandwidth token bucket. When the color is green, the servi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A method and device for implementing token processing, including: adding a single token addition value to a preset external message; sending the external message to a network processor for token renewal. The embodiments of the present invention can be configured in multiple dimensions and have greater flexibility.

Description

technical field [0001] This article involves but is not limited to traffic monitoring technology, especially a method and device for implementing token processing. Background technique [0002] With the rapid development of the Internet, users are constantly putting forward new service requirements for the network. Network service providers need to supervise and control the traffic in the network. Traffic supervision is to supervise the traffic and limit it to the preset Within a certain range, mark the excess traffic for subsequent processing, so as to ensure the rational use of network resources. [0003] Traffic policing usually uses committed access rate (CAR, Committed Access Rate) to limit the traffic and burst data entering or exiting a certain connection. At present, token buckets are generally used to evaluate traffic specifications. Token buckets are containers for storing tokens. Each token represents a certain amount of business traffic value. The capacity of to...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L47/215H04L47/24H04L47/21
CPCH04L47/215H04L47/24
Inventor 刘硕许建文潘静
Owner SANECHIPS TECH CO LTD