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

A data packet classification method

A classification method and data packet technology, applied in data exchange networks, digital transmission systems, electrical components, etc., can solve the problems of not supporting dynamic update of rule sets, not suitable for large-scale rule sets, etc., and achieve scalable data packet classification Effect

Active Publication Date: 2018-11-09
HUNAN UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this method is not suitable for large-scale rule sets and does not support dynamic update of rule sets

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 data packet classification method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The method of the present invention is mainly composed of two parts: (1) CPU preprocessing rule set; (2) GPU executing data packet classification. Taking the common 5-tuple packet classification (data packets are classified according to source IP address, destination IP address, source port number, destination port number, and protocol type) as an example, the overall process of this method is introduced.

[0032] 1. CPU preprocessing rule set

[0033] Overview: The algorithm preprocesses different domains in the rule set separately. Its purpose is to establish an index table for each domain separately, so that for all domains, given any legal input I, a bit string (a string consisting of 0 or 1) of the size of the rule set can be queried in constant time. ). The position number of 0 in the bit string corresponds to the rule number that the legal input I does not match, and the position number of 1 corresponds to the rule number that the legal input I matches.

[003...

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 data packet classification method, which includes CPU preprocessing rule set and GPU execution data packet classification. run. Preprocessing operations are done on the CPU. The packet classification operation is the core part of the algorithm, which classifies the input data packets and outputs the rule number with the highest priority matched by the data packets. Packet classification operations are done on the GPU. The invention makes full use of the hardware characteristics and advantages of the GPU, and has greater performance advantages than conventional data packet classification algorithms.

Description

technical field [0001] The invention relates to a method for classifying data packets. Background technique [0002] In modern routers, switches and firewalls, in order to achieve priority routing or data packet filtering, data packets transmitted on the network need to be classified according to certain rules according to the header information, and different operations are performed. Such a problem is known as a packet classification problem. [0003] In the network layered model, the data to be transmitted is encapsulated sequentially by the packet headers of each layer protocol, and the data packet header of each layer contains several fields, which respectively represent the characteristic data of the layer protocol. A rule set contains N rules, and each rule consists of three parts: (1) An expression related to the domain, the expression is generally a d-tuple (f 1 ,f 2 ,..., f d ), where f i It may be a prefix (the IP address in the data packet needs to be matche...

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): H04L12/741H04L29/06H04L45/74
CPCH04L45/74H04L63/0227
Inventor 张大方郑锦涛李彦彪李果何大成
Owner HUNAN UNIV
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