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

A Method of Dynamically Matching Messages Through Prejudgment

A dynamic matching and pre-judgment technology, applied in the field of computer networks, can solve problems such as packet loss and high CPU usage

Inactive Publication Date: 2016-03-02
OPZOON TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When performing a stability test and a maximum number of connections test on a network device, the tester usually creates at least 1 million connections, and then keeps alive each connection, and continuously creates connections. Whether the message is a new connection message or a keep-alive connection message, resulting in high CPU usage 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
  • A Method of Dynamically Matching Messages Through Prejudgment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] A method for dynamically matching messages through pre-judgment proposed by the present invention will be described in detail below with reference to the drawings and embodiments.

[0016] Such as figure 1 As shown, this embodiment provides a method for dynamically matching packets through pre-judgment, including the following steps:

[0017] S1. The CPU receives the message, and judges whether the message matches the first entry in the connection table, if it matches, then executes step S2, and if not, then executes step S3;

[0018] S2. The message is a keep-alive connection message, and the entry is placed at the end of the link table;

[0019] S3. The message is a new connection message, and a new entry is created in the connection table, and the entry is placed at the end of the link table.

[0020] Preferably, before the CPU receives the message, a step S0 is further included: the tester keeps alive the existing connection and creates a new connection.

[0021]...

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 present invention provides a method for dynamically matching messages through pre-judgment, which includes the following steps: CPU receives the message, and judges whether the message matches the first entry of the connection table, and if it matches, the The above-mentioned message is a keep-alive connection message, and the table item is placed at the end of the chain of the connection table; the present invention is used to improve the speed of message matching and solve the problem of packet loss caused by excessive CPU usage .

Description

technical field [0001] The invention relates to the field of computer networks, in particular to a method for dynamically matching messages through pre-judgment. Background technique [0002] Current network devices, especially multi-core architecture network devices, mostly use connection tables to forward packets. Compared with packet-by-packet processing, packet-by-flow processing can greatly improve the processing and forwarding speed of packets. An IP quintuple forms a table entry. The IP quintuple is the original IP address, destination IP address, protocol number, original port number, and destination port number. Packets with the same IP quintuple will be matched to the same table. item, and perform the same processing on the message. [0003] When performing a stability test and a maximum number of connections test on a network device, the tester usually creates at least 1 million connections, and then keeps alive each connection, and continuously creates connectio...

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): H04L29/12H04L12/883H04L49/9015
Inventor 陈海滨
Owner OPZOON TECH