Searching for strings in messages
First Claim
1. A method of searching a pre-defined string in a message, comprising sending a key and a corresponding index of the key in response to determining the presence of a sub-string of the pre-defined string in the message, and detecting whether the pre-defined string is present in the message based on searching for a suffix and a reverse prefix in response to receiving the key and the index of the key.
1 Assignment
0 Petitions
Accused Products
Abstract
A network device to determine the presence of one or more of the pre-defined strings in a message based on searching for a suffix and a reverse prefix in response to receiving a key search data indicating possible presence of any of the plurality of pre-defined strings. The network device indicates the presence or absence of one or more of the pre-defined strings in the message based on the suffix and prefix search results.
-
Citations
30 Claims
-
1. A method of searching a pre-defined string in a message, comprising
sending a key and a corresponding index of the key in response to determining the presence of a sub-string of the pre-defined string in the message, and detecting whether the pre-defined string is present in the message based on searching for a suffix and a reverse prefix in response to receiving the key and the index of the key.
-
8. A network device comprising
a network interface to receive a message, a content addressable memory system to send a key and a corresponding index of the key in response to determining the presence of a sub-string of a pre-defined string in a message, and a processor to detect whether the pre-defined string is present in the message based on searching for a suffix and a reverse prefix in response to receiving the key and the index of the key.
-
15. A machine readable medium comprising a plurality of instructions that in response to being executed result in a computing device
sending a key and a corresponding index of the key in response to determining the presence of a sub-string of a pre-defined string in a message, and detecting whether the pre-defined string is present in the message based on searching for a suffix and a reverse prefix in response to receiving the key and the index of the key.
-
21. A method of generating a search tree in a computer readable medium, comprising
generating a suffix tree comprising plurality of invalid suffix nodes and valid suffix nodes coupled to a suffix root node, wherein the valid suffix nodes comprise elements that represent valid suffixes of a plurality of pre-defined strings to be detected in a message, and generating a reverse prefix tree comprising plurality of invalid prefix nodes and valid prefix nodes, wherein the valid reverse prefix nodes comprise elements that represent valid reverse suffixes of a plurality of pre-defined strings to be detected in a message.
-
26. A system comprising
a first network device of a plurality of network devices to receive a message sent by a second network device, to receive a key and the index of the key in response to determining the presence of a sub-string in the message, and to detect whether a pre-defined string is present in the message based on searching a suffix and a reverse prefix in response to receiving the key and the index of the key.
Specification