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

Multi-level load balancing data packet processing method

A technology of load balancing and processing methods, applied in the information field, can solve problems such as packet loss and large data packet delay, and achieve the effect of low forwarding delay, avoiding high delay and packet loss

Active Publication Date: 2020-12-01
ZHEJIANG YUANWANG INFORMATION CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to solve the problems in the prior art, and propose a multi-level load balancing data packet processing method, which can perform hierarchical processing on multiple services according to the longest single data packet processing time, and the services of different levels do not affect each other. Can effectively solve the problem of large packet delay and packet loss

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
  • Multi-level load balancing data packet processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail through the following examples. However, it should be understood that the specific embodiments described here are only used to explain the present invention, and are not intended to limit the scope of the present invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present invention.

[0025] The present invention can be used for multi-level services. In order to facilitate understanding, the second-level business is taken as an example. The business with a short processing time is called a first-level business, and the business with a long processing time is called a second-level business. The corresponding first-level business corresponds to The processing unit of the business is called the first-level b...

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 multi-level load balancing data packet processing method. The method sequentially comprises the following steps: S1, setting a quintuple range list; S2, creating m first-level queues and m * n second-level queues; S3, reading the data packet from the network card, and obtaining quintuple information of the data packet; S4, if the data packet needs first-level service processing, executing the step S5, and otherwise, executing the step S11; S5, enabling the data packet to enter a first-level queue Q1 [x], wherein x is a remainder obtained by dividing the hash value bym; S6, taking out the data packet, and carrying out first-level service processing; S7, if the data packet needs to be subjected to secondary service processing, executing the step S8, and otherwise,executing the step S11; S8, extracting information required to be used in the data packet, constructing a custom data structure, and sending the data packet; S9, enabling the data packet to enter a second-level queue Q2 [x] [y], wherein y is a remainder obtained by dividing the hash value by n; S10, taking out the data for processing, and ending the process; and S11, sending the data packet, and ending the process. According to the method, grading processing can be carried out on multiple services according to the longest time of single data packet processing, and the problems of large data packet time delay and packet loss can be effectively solved.

Description

【Technical field】 [0001] The invention relates to the technical field of information technology, in particular to a multi-level load balancing data packet processing method. 【Background technique】 [0002] With the rapid development of the Internet, the business complexity involved in information security is also increasing, and there are many businesses with long processing time, such as application layer protocol identification and user behavior audit. The existing data packet processing mainly uses serial processing. Different data packets require different business processing, and some services require a long processing time. When a large number of data packets require time-consuming business processing, a large amount of CPU will be occupied. As a result, other data packets are not processed in time, which leads to the problem of large data packet delay. Under high load conditions, the CPU will be fully occupied in a short time, causing a large number of packet loss on ...

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): H04L29/08
CPCH04L67/1014H04L67/1001Y02D30/50
Inventor 邵森龙颜瑞琮傅如毅王行奇
Owner ZHEJIANG YUANWANG INFORMATION CO LTD