Patent ID: 9680797
Date: 2017-06-13
CPC Classifications: H04L

Claim:
1. A method of processing network packets, said method comprising: maintaining a mapping specifying association of each of a plurality of keywords with a corresponding pattern code of a plurality of unique pattern codes, each pattern code being shorter in length compared to the corresponding keyword and being computed based on a formula; receiving a network packet; identifying a first token present in said network packet, said first token containing a first sequence of characters; applying said formula to said first token to generate a first token code; and determining that said first token matches a first keyword when said first token code equals a first pattern code corresponding to said first keyword in said mapping, wherein each pattern code, including said first pattern code, and said first token code are computed as respective numerical values based on said formula, wherein a match is determined based on the numerical values of the first token code and the first pattern code being equal.