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

High speed mode matching algorithm based on field programmable gate array

A high-speed pattern and matching algorithm technology, applied in computing, special data processing applications, instruments, etc., can solve the problems of slow pattern matching speed and huge pattern database, and achieve the effect of improving execution speed.

Active Publication Date: 2009-05-27
UICT TIANJIN SCI & TECH
View PDF0 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with the continuous increase of pattern matching rules, such as adding more content filtering rules, virus identification features, etc., the pattern matching speed based on software technology will decrease accordingly, and the pattern database will become increasingly large (space complexity is 0(2 n ), n is the length of the pattern string)

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
  • High speed mode matching algorithm based on field programmable gate array
  • High speed mode matching algorithm based on field programmable gate array
  • High speed mode matching algorithm based on field programmable gate array

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0069] The core idea of ​​the method described in the present invention is to provide a method for high-speed pattern matching. The specific method is to generate a DFA state table by dynamically expanding the goto function in the AC algorithm, and compress the generated state table through hardware. Realize line-speed processing of operations such as content detection and application identification to meet users' needs for network application layer processing technology and network information security technology. Its core technology involves rule description based on regular expressions, pattern matching engine based on state machine technology, rule base compression and optimization, etc.

[0070] Using regular expressions as a way to describe rules is beneficial to the generalization of applications, because most of the system's rule bases (such as intrusion detection systems) are described in the form of regular expressions. DFA (Deterministic Finite Automata, determinist...

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 method for matching a high-speed mode based on a field programmable gate array. The method generates a DFA state table by dynamically expanding a jump function goto in an AC algorithm, compresses the DFA state table and realizes content detection and application identification in the hardware mode, so as to meet the demands of processing of a network application layer and network information security of users. The invention relates to rule description based on a regular expression, a pattern matching engine of the state machine technology, and compression and optimization of a rule base. DFA pattern matching is a algorithm for converting time complexity into space complexity, wherein a plurality of rules can be matched in parallel; the length of the rules is not limited; and matched feature values can be subjected to non-positioning pattern matching or positioning pattern matching. The DFA algorithm skillfully converts the processing procedure of multi-pattern matching into the processing procedure of state transition, so as to realize the O(n)-level matching speed. Therefore, the compression algorithm of the rule base not only can guarantee the search speed but also can realize high-efficiency compression.

Description

technical field [0001] The invention relates to a matching algorithm of a computer, in particular to a high-speed pattern matching algorithm of a coprocessor which realizes content detection function based on computer hardware technology. The invention belongs to the technical field of computer network security (network security). Background technique [0002] The security threats faced by the network can be roughly divided into two types: one is the threat to network data; the other is the threat to network equipment. These threats may originate from a variety of factors. Among them, malicious attacks and intrusions from external and internal personnel are the biggest threat to the current Internet network, and it is also the most important problem to be solved by network security strategies. In order to meet the network information security requirements and prevent illegal users from taking advantage of the security flaws of the network system to steal, forge and destroy...

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/06G06F17/30
Inventor 刘晓燕王霖
Owner UICT TIANJIN SCI & 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