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

Method for dynamic matching of message through prejudging

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: 2013-07-03
OPZOON TECH
View PDF6 Cites 3 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
  • Method for dynamic matching of message through prejudging

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 invention provides a method for dynamic matching of a message through prejudging. The method comprises the steps that a CPU (central processing unit) receives the message and judges whether the massage is matched with a first tablebody of a connection table, if so, the massage is a keep-alive connection massage, and the first tablebody is put at the last-of-chain of the connection table. The method is used for improving the matching speed of the massage, and solves the problem of packet loss caused by excessive usage frequency of the CPU.

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