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

Method and device for adding token in traffic shaping

A technology of traffic shaping and token, applied in digital transmission system, data exchange network, mixed transportation, etc., can solve the problem of insufficient quantity and achieve the effect of improving utilization rate

Active Publication Date: 2019-04-02
SANECHIPS TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the above-mentioned WFQ method adds tokens to a large number of data flows with a smaller rate and the same rate, there is a situation where the tokens are added to the spare flows for a period of time, and no data flow obtains the token; in addition, the WFQ The method can only allocate bandwidth in proportion. When the rate of data flow shaping is greater than the maximum weight set, there is no free flow, and the data flow can only obtain tokens in proportion to the weight. The number of tokens that can be obtained for each data flow is Not reaching the expected amount of configured weights

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
  • Method and device for adding token in traffic shaping
  • Method and device for adding token in traffic shaping
  • Method and device for adding token in traffic shaping

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] The embodiment of the present invention provides a method for adding tokens in traffic shaping, such as figure 1 As shown, the method includes:

[0030] Step 101: Configure the weight of each data flow, and add each data flow to a corresponding token scheduler according to the weight of each data flow.

[0031] Step 102: Add each token scheduler to a corresponding token scheduler group sequentially according to the weight of each token scheduler, and aggregate all token scheduler groups into a token scheduler for the total data flow.

[0032] Step 103: Add the token scheduler of the total data flow to the top-level token scheduler.

[0033] Step 104: Allocate tokens to the token scheduler of the total data flow in the top-level token scheduler according to a preset cycle, and the top-level token scheduler issues the allocated tokens to each token scheduler group, or issue tokens to individual data streams.

[0034] Wherein, the configuring the weight of each data flo...

Embodiment 2

[0066] image 3 It is a flowchart of a method for distributing shaping tokens to each data stream in the present invention, wherein the main implementation process is:

[0067] Step 300: Initialize the WFQ of each layer, and set the weight of each WFQ and the total data flow to 0.

[0068] Step 301: Configure the shaping rate of the spare flow as the maximum value, and after converting the shaping rate of the spare flow into a weight, add the spare flow to the top-level token scheduler.

[0069] Step 302: Judging whether all current data streams have been configured, if so, go to step 307; otherwise, go to step 303.

[0070] Step 303: Select any data stream from the data streams with unconfigured shaping rates as the current data stream, configure the shaping rate of the current data stream, and convert the shaping rate of the current data stream into the shaping rate of the current data stream Weights.

[0071] Step 304: According to the weight of the current data flow, ad...

Embodiment 3

[0094] Corresponding to the method described in Embodiment 2, the embodiment of the present invention further proposes a device for implementing traffic shaping tokens, such as Figure 4 As shown, the device includes: a configuration module 401, a bandwidth allocation module 402, a distribution module 403, and an information storage module 404; wherein,

[0095] The configuration module 401 is configured to configure the weight of each data flow, and add each data flow to a corresponding token scheduler according to the weight of each data flow; Each token scheduler described above is added to the corresponding token scheduler group, and all token scheduler groups are aggregated into the token scheduler of the total data flow; the token scheduler of the total data flow is added to the top-level token a scheduler; and saving the weights of the respective data streams to the information storage module 404;

[0096]The bandwidth allocation module 402 is configured to allocate to...

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

The invention discloses a method and device for adding a token in traffic shaping, wherein the method is: configuring the weight of each data flow, and adding each data flow to a corresponding token scheduler according to the weight of each data flow ; According to the weight of each token scheduler, each token scheduler is added to the corresponding token scheduler group in turn, and all token scheduler groups are aggregated into the token scheduler of the total data flow; the described The token scheduler of the total data flow is added to the top-level token scheduler; the token scheduler of the total data flow in the top-level token scheduler is allocated tokens according to the preset period, and the allocated token Issue tokens to each token scheduler group, or issue tokens to each data flow.

Description

technical field [0001] The invention relates to the field of mobile communication, in particular to a method and device for adding a token in traffic shaping. Background technique [0002] With the development of the network, the transmission mode of the shared medium has become the mainstream of the network. The service level of a connection can be defined from three aspects: the validity of the connection, the delay of the connection, and the bandwidth of the connection; these three aspects determine the quality of service. The traffic management system plays an important role in controlling the delay and bandwidth of the connection, thereby affecting the quality of service (QoS) of the connection. An important way to ensure quality of service is traffic management through a traffic management system. The functions of the traffic management system mainly include: classification, traffic supervision, traffic shaping, scheduling, and statistics. Wherein, the traffic shapi...

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): H04L12/815H04L47/22H04L47/52H04L47/629
CPCH04L12/6418H04L47/22H04L47/629H04L47/24H04L47/527
Inventor 蔡学全曾敏夏刚袁开心
Owner SANECHIPS TECH CO LTD