Pattern matcher and its matching method
AssigneeTien-Fu Chen
InventorsTien-Fu Chen, Chieh-Jen Cheng
Life of this patent
Estimating the term…
Loading patent…
AssigneeTien-Fu Chen
InventorsTien-Fu Chen, Chieh-Jen Cheng
Estimating the term…
A pattern matching method is disclosed. The method includes following steps. A character is searched in a skip table of a pattern such that a flag value and a skip value are returned. The sliding window is shifted according to the skip value when the flag value indicates the character is not a pattern end. The character plus at least one byte preceding the character is hashed when the flag value indicates the character is the pattern end such that a character hashing value is returned. A pattern end portion is hashed, wherein the size of the pattern end portion is equal to the size of the character plus the size of the byte such that a pattern hashing value is returned. The character hashing value is compared with the pattern hashing value. An exact matching process is performed when the character hashing value is equal to the pattern hashing value.
A pattern matching method comprising:
A computer-readable medium having computer-executable instructions for performing a method comprising:
A pattern matcher comprising:
Dependencies are inferred from the claim text.