Check patentability & draft patents in minutes with Patsnap Eureka AI!

Network adaptive traffic shaping method and system

A traffic shaping and adaptive technology, applied in the information field, can solve the problems of packet loss, it is difficult to achieve low-traffic traffic shaping, and achieve the effect of reducing packet loss.

Active Publication Date: 2019-12-13
紫光云技术有限公司
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in essence, the token bucket algorithm and the leaky bucket algorithm are still the same. In the case of a fixed traffic threshold, it is difficult to achieve traffic shaping when the traffic is low, and it is easy to cause packet loss in the case of high traffic.

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
  • Network adaptive traffic shaping method and system
  • Network adaptive traffic shaping method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other if there is no conflict.

[0033] Hereinafter, the present invention will be described in detail with reference to the drawings and in conjunction with the embodiments.

[0034] Such as figure 1 , 2 As shown, the present invention proposes a network adaptive traffic shaping method. The traffic shaping method specifically includes the following steps:

[0035] a. Set the relevant configuration parameters through the user mode tc command to start the dynamic traffic shaping function;

[0036] b. Collect the entry io rate of the buffer queue, and calculate the rate based on the packet receiving capacity within a period of time (configurable);

[0037] c. Calculate the new token issuance rate based on the current entry io rate, token issuance rate, cache queue length, and the delay of packets in the cache queue;

[0038] d According to the new token issu...

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 provides a network adaptive traffic shaping method and a device, and the method comprises the steps: S1, setting related configuration parameters through a user state tc command, and starting a dynamic traffic shaping function; S2, acquiring an io rate of an entrance of the cache queue, and calculating the rate according to the packet receiving capacity within a period of time; S3, calculating a new token issuing rate according to the current entrance io rate, the token issuing rate, the cache queue length and the delay information of the packets in the cache queue; and S4, judging whether rate adjustment needs to be carried out according to the new token issuing rate and the existing rate, and adjusting in real time to take effect under the condition that adjustment needs tobe carried out. According to the method, by acquiring the rate of the network card entry flow in real time, counting the change trend of the rate of the network card entry and dynamically adjusting the issuing rate of the token, self-adaption can be realized according to the flow, the burst network io can be smoothened, the packet loss condition can be monitored, and a shaping scheme of reducingpacket loss and dynamically adjusting according to the real-time flow is realized.

Description

Technical field [0001] The invention belongs to the field of information technology, and particularly relates to a network adaptive traffic shaping method and system. Background technique [0002] Traffic shaping is a network traffic management technology that sends jittery traffic packets at a relatively uniform rate. There are currently two core traffic shaping algorithms: [0003] Leaky bucket algorithm: [0004] The leaky bucket algorithm is an algorithm often used in traffic shaping (Traffic Shaping) or rate limiting (Rate Limiting). Its main purpose is to control the rate of data injection into the network to smooth out burst traffic on the network. The leaky bucket algorithm provides a mechanism through which burst traffic can be shaped to provide a stable traffic to the network. [0005] The leaky bucket can be regarded as a single server queue with constant service time. If the leaky bucket (packet buffer) overflows, the data packet will be discarded. In the network, the le...

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 Applications(China)
IPC IPC(8): H04L12/801H04L12/815H04L12/819H04L47/21H04L47/22
CPCH04L47/215H04L47/22H04L47/29
Inventor 李艳厚
Owner 紫光云技术有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More