Title: |
Jumping window based fast pattern matching method with sequential partial matches using TCAM |
Document Number: |
20080050469 |
Publication Date: |
February 28, 2008 |
Appl. No: |
11/508474 |
Application Filed: |
August 23, 2006 |
Abstract: |
A jumping window based fast pattern matching method using TCAM includes TCAM entries containing all possible sub-patterns independent of position. Due to these sub-patterns, the method can search for all patterns appearing within the window at once. If a match is not found, the method jumps to the next window (shift size of M bytes), opposed to the sliding window method that shifts to the next byte (shift size of 1 byte). This incurs a pattern match that is M times faster, despite requiring a larger TCAM size to be able to represent all possible redundant sub-patterns in the TCAM; here, M is the size of a jumping window. In addition, the present invention employs a two-phase pattern matching sequence for a large number of long patterns such as virus and worm signatures. In the first phase, the fixed prefix will be searched with TCAM; then, only the CRC value for the remaining pattern is examined to confirm the existence of the entire pattern. Since the TCAM only stores the prefixes of the patterns instead of storing entire long patterns, a smaller TCAM size is sufficient to match the large number of long patterns at link-speed of the high-speed Internet. |
Inventors: |
Kwon, Taeck-Geun (Youseong-Gu, KR); Kang, Seok-Min (Youseong-Gu, KR); Song, Il-Seop (Youseong-Gu, KR) |
Assignees: |
The Industry & Academic Cooperation in Chungnam National University (Youseong-gu, KR) |
Claim: |
1. A fast method of pattern matching using TCAM, comprising of: a method to represent all possible sub-patterns to match the pattern independent of the position that the pattern appears in; a method to jump to the next window for matching the next sub-patterns using TCAM; a method to represent state information with a unique identifier in order to manage the series of sub-pattern matches in the sequence; and a method to make search keys for TCAM entries by concatenating both state information and sub-pattern. |
Claim: |
2. A method of pattern matching for a large number of long patterns, comprising of: a method to split long patterns into the prefix and the suffix of the pattern, and to match the prefix using TCAM and to match the suffix using the CRC value; and a method to fix the starting suffix using ‘shift’ values in the associated data, as shown in FIG. 14. |
Current U.S. Class: |
426/23 |
Current International Class: |
21 |
Accession Number: |
edspap.20080050469 |
Database: |
USPTO Patent Applications |