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

A network packet classification algorithm and system

A classification algorithm and network packet technology, applied in the field of network packet classification algorithm and system, can solve the problems of high computational and storage complexity, limited hardware algorithm scalability, high price, etc., and achieve the effect of reducing memory consumption

Inactive Publication Date: 2019-02-22
ZHONGXIANGBOQIAN INFORMATION TECH CO LTD
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The hardware algorithm is mainly realized by TCAM (Ternary Content Addressable Memory, tri-state content addressable register) and FPGA (Field-Programmable Gate Array, Field Programmable Gate Array), which can achieve good performance, but its price is high and power consumption The characteristics of high density and small density greatly limit the scalability of hardware algorithms; software algorithms are mainly implemented based on general-purpose memory, which makes up for the defects of hardware algorithms. Among them, the RFC algorithm is widely used because of its high classification rate, second only to hardware algorithms. Applied to the network environment requiring high-speed lookup
At the same time, because the RFC algorithm supports parallel processing, it is very suitable for combining with hardware. However, due to its high computational and storage complexity, when the size of the rule set increases, the memory consumption of the algorithm will also rise sharply, causing serious memory expansion, making the memory Facing severe performance bottlenecks

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 network packet classification algorithm and system
  • A network packet classification algorithm and system
  • A network packet classification algorithm and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other implementations obtained by persons of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.

[0054] refer to figure 1 As shown, the embodiment of the present invention provides a kind of network packet classification algorithm, comprises the following steps:

[0055] 101. Divide the existing classification rule set into: a large rule subset of source IP address and destination IP address, a large rule subset of source IP address, a large rule subset and a small rule subset of destination IP address;

[0056] 102. Dividing the large rule subset of the so...

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 a network packet classification algorithm, comprising: dividing the existing classification rule set into a large rule subset of a source IP address and a destination IP address, a large rule subset of the source IP address, a large rule subset and a small rule subset of the destination IP address; consolidating the four equivalence classes separately; eliminating the equivalent classes with less than 5 rules in the process of merging four different subsets and storing separately in the form of linked list, and storing the addresses of the first elements in the linkedlist in the corresponding lookup tables; making priority comparison on rules from four different subsets and outputting the rules that match the packet header with the highest priority. The inventionhas the beneficial effects that the memory consumption of the lookup table construction process is reduced by combining the overall structure of the RFC algorithm and the location selection idea of the algorithm of the decision tree and combining the subset partition technology, the rule elimination technology and the location selection technology, and the high-speed packet classification processing is realized while the hardware memory validity is satisfied.

Description

technical field [0001] The invention belongs to the technical field of computer networks, and in particular relates to a network packet classification algorithm and system. Background technique [0002] With the continuous development of network technology, new network applications emerge in an endless stream. Network equipment must not only realize the basic forwarding of data packets, but also provide functions such as quality of service, traffic accounting, and differentiated services. Packet classification technology is the key technology to realize the diversification of network services, which enables network devices to process network traffic differently. However, with the surge of network traffic and continuous improvement of bandwidth, packet classification has become a bottleneck affecting network performance. [0003] Network packet classification is to compare the relevant domain values ​​of arriving data packets with the rules in the predefined classification r...

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): G06K9/62H04L12/851
CPCH04L47/2441G06F18/24323
Inventor 张跃进李波
Owner ZHONGXIANGBOQIAN INFORMATION TECH CO LTD
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