Equipment and method for parallel mode matching

A pattern matching and pattern technology, applied in special data processing applications, instruments, digital transmission systems, etc., can solve the problems of insufficient balance of SIMD resources, increased memory access times, multiple clock cycles, etc., to achieve small memory access overhead, branching Latency minimization, code size reduction effect

Inactive Publication Date: 2009-11-04
IBM CORP
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However in figure 2 In the case shown, there are unpredictable branch instructions that are the main cause of cache mismatches and pipeline faults
Especially for deeply pipelined processors, these cache mismatches and pipeline faults greatly degrade performance
[0005] On the other hand, although a parallel pattern matching mechanism is produced, these pattern matches are unanchored matches, which leads to a large increase in the number of memory accesses, so that executing an instruction consumes more clock cycles
Also, if the pattern to match is less than 16 bytes, it doesn't adequately balance SIMD's resources

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
  • Equipment and method for parallel mode matching
  • Equipment and method for parallel mode matching
  • Equipment and method for parallel mode matching

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. If it is considered that the detailed description of some related prior art may obscure the gist of the present invention, the detailed description thereof will not be provided here. In the same embodiment, the same reference numerals are used to designate the same elements or elements performing the same function.

[0029] Firstly, some terms to be used in the embodiments of the present invention will be described below.

[0030] In the present invention, a pattern refers to a target character string to be searched in a data stream, and the length of the character string refers to the number of characters contained in the character string.

[0031] Invalid characters are characters that will not appear in the data stream, such as "\0".

[0032] Mwm (S.Wu and U.Manber, "A fast algorithm for multi-pattern searching (for multi-pattern search fast ...

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 equipment and a method for parallel mode matching. The equipment comprises a conversion device and a matching device, wherein the conversion device is used for combining a plurality of modes into a mode group and connecting the ith character of each mode in the mode group to form the ith character vector, wherein i is equal to 1, 2, 3 to N, and N is the character number contained in the mode having most characters in the mode group; and the matching device is used for respectively comparing each character in the ith character vector with the ith character in the data stream from the first character vector to carry out parallel mode matching. The invention has the advantages that the utilization ratio of a processor is greatly increased by using SIMD commands, the cost for memory access is lower, the size of codes is reduced by using fewer commands, and the branch delay is minimized.

Description

technical field [0001] The present invention relates to a device and method for parallel pattern matching, and more particularly, relates to a device and method for parallel pattern matching using a vector method. Background technique [0002] DPI (Deep Packet Inspection) technology (more specifically for network intrusion detection), as an important method in network monitoring and analysis technology (such as NIDS), has high requirements for computing and communication capabilities of computers. Typically, DPI is required to match very large network traffic with large pattern groups, the performance required is proportional to the traffic speed of the network interface being monitored, and both of these make DPI useful for searching on gigabit speed traffic Large schema groups become difficult to implement. [0003] Traditional pattern matching systems are based on byte-by-byte comparisons, which do not take advantage of the SIMD (Single Instruction Multiple Data) instruc...

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): H04L29/06H04L9/28H04L1/00G06F17/30
Inventor 郑凯刘伟
Owner IBM CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products