Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Network flow packet capturing, flow limiting and packet loss method based on PID control algorithm

A control algorithm and network flow technology, applied in the field of information technology processing, can solve the problems of not checking the consumption of hardware resources, insufficient real-time response capability, and discarding data packets, so as to save on-site maintenance costs, save costs, and high The effect of quality of service

Active Publication Date: 2021-10-29
COLASOFT
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The overrun control method with a fixed threshold is simple and reliable, but there are also the following problems: Since different thresholds need to be maintained for different hardware, new hardware needs to test the threshold value, which increases the complexity of maintenance, and may be premature or If the action is too late, data packets that should not be discarded will be discarded or no action will be taken when the resources are exhausted. Furthermore, since the hard threshold does not examine the real-time hardware resource consumption and only uses the threshold as the only control indicator, so in real-time Insufficient responsiveness

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 flow packet capturing, flow limiting and packet loss method based on PID control algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0032] Refer to the attached figure 1 , the present embodiment discloses a method for packet capture, current limiting, and packet loss of network traffic based on a PID control algorithm, which specifically includes the following steps:

[0033] S1, the CPU utilization rate of the acquisition system, Utilization and memory usage;

[0034] The CPU usage collection method is as follows:

[0035] Read the cpu usage field in the operating system / proc / self / stat file to get the percentage ratio of CPU consumption;

[0036] The utilization rate collection method is as follows:

[0037] Call the command iostat to get the %util field of the data disk partition, you can get Consumption percentage ratio;

[0038] The memory usage collection method is as follows:

[0039] Read the value of the "VmRSS" field in the operating system / proc / self / status file to obtain the actual physical memory usage value Mrss of the current program; then read the value of the MemTotal field in th...

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 relates to the field of information technology processing, and discloses a network flow packet capturing, flow limiting and packet loss method based on a PID control algorithm, and the method comprises the steps: collecting three system load index quantities: a CPU utilization rate, an IO utilization rate and a memory utilization rate of a system where NTA applications are located; carrying out normalization, mean filtering and weighted fusion processing on the three index quantities to obtain a single characterization quantity; then taking the difference between the characterization quantity and a PID expected value as the input of a PID control system; finally, obtaining the packet loss control proportion, and discarding the overload data packets according to the proportion, so the stable operation of the system is maintained. Compared with a traditional fixed threshold control method, the method has higher flexibility, the load change of the system can be tracked in real time, the dynamic packet loss capability of different packet loss proportions according to different loads is realized, and higher service quality can be provided with less packet loss.

Description

technical field [0001] The invention relates to the field of information technology processing, in particular to a PID control algorithm-based method for packet capture, current limiting, and packet loss in a network. Background technique [0002] In the NTA system, in order to ensure the stable operation of the system, when the burst traffic arrives, it will consume excessive system hardware resources, resulting in overloaded operation. If the system works under overload for a long time, the probability of crash will increase. In order to ensure the smooth transition of the system when burst traffic occurs in the user network, the overloaded data packets are usually discarded. Dropping data packets is the most important technical response method in QOS. The most commonly used strategy in NTA's QOS is fixed-threshold overrun control. When the system hardware is determined, the upper limit of the total number of data packets that can be processed per time unit can be determ...

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): G05B11/42
CPCG05B11/42
Inventor 田红伟李王成徐文勇
Owner COLASOFT
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products