×

Performance enhancement for signature based pattern matching

  • US 7,810,155 B1
  • Filed: 03/30/2005
  • Issued: 10/05/2010
  • Est. Priority Date: 03/30/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method of determining whether a data stream matches a signature, comprising:

  • parsing, using a processor, the signature into one or more components;

    identifying, using the processor, for at least one of said one or more components a plurality of boundary values, wherein identifying for at least one of said one or more components the plurality of boundary values includes determining for each boundary value one or more boundary value locations at which the boundary value would be expected to occur in a target data stream if the target data stream matched the signature, wherein for each component the plurality of boundary values include a first value and a last value of the component and further comprising determining for each component one or more offsets of the last value of the component from the first value of the component, wherein each component (1) has a component minimum length and a component maximum length that define a first range of component length values and (2) includes a subcomponent having a subcomponent minimum length and a subcomponent maximum length that define a second range of subcomponent length values; and

    concluding, without fully applying the signature to the data stream, that the data stream does not match the signature if for any component an associated boundary value does not match at least one corresponding value in the data stream at the determined boundary value location of the data stream;

    concluding that the signature is a potential match if all the boundary values of all the components of the signature match at least one corresponding value in the data stream; and

    applying the signature to the data stream in the event it is concluded that the signature is a potential match;

    wherein at least one boundary value associated with the signature does not occur in a prefix portion of the signature.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×