DATA DETECTION
First Claim
1. A method of processing a sequence of tokens to detect predetermined data, comprising:
- receiving the sequence of tokens,wherein each token has at least one token type and the predetermined data has a structure that comprises at least one required token of first predetermined token type and further includes at least one other optional token of a second predetermined token type; and
comparing, in a starting state of a decision tree, a token type of a first token in the sequence with one or more conditions provided for the starting state,wherein, if one of the starting state conditions is not met, the predetermined data cannot be detected.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus for processing a sequence of tokens to detect predetermined data, wherein each said token has a token type, and the predetermined data has a structure that comprises a predetermined sequence of token types, including at least one optional token type. The apparatus comprises a processor arranged to: provide a tree for detecting the predetermined data, the tree comprising a plurality of states, each said state being linked with at least one other state by a respective condition, the arrangement of linked states forming a plurality of paths; and compare the token types of the sequence of tokens to respective conditions in the tree to match the sequence of tokens to one or more paths in the tree, wherein the predetermined data can be detected without using an epsilon reduction to take account of said at least one optional token type.
100 Citations
22 Claims
-
1. A method of processing a sequence of tokens to detect predetermined data, comprising:
-
receiving the sequence of tokens, wherein each token has at least one token type and the predetermined data has a structure that comprises at least one required token of first predetermined token type and further includes at least one other optional token of a second predetermined token type; and comparing, in a starting state of a decision tree, a token type of a first token in the sequence with one or more conditions provided for the starting state, wherein, if one of the starting state conditions is not met, the predetermined data cannot be detected. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of processing a sequence of tokens to detect predetermined data, the method comprising:
-
providing a tree for detecting the predetermined data, wherein each said token has a token type, and the predetermined data has a structure that comprises a predetermined sequence of token types, at least one token type being optional, wherein the tree comprises a plurality of states, each of said plurality of states being linked with at least one other state by a respective condition, and an arrangement of linked states forms a plurality of paths; and comparing token types of the sequence of tokens to respective conditions in the tree to match the sequence of tokens to one or more paths in the tree, wherein a path is provided in the tree for the predetermined sequence including a token of an optional token type and a separate path is provided for the predetermined sequence without the token of the optional token type. - View Dependent Claims (8, 9, 10)
-
-
11. A method of processing a sequence of tokens to detect predetermined data, the method comprising:
-
providing a tree for detecting the predetermined data, wherein each said token has a token type, and the predetermined data has a structure that comprises a predetermined sequence of token types, including at least one optional token type, the tree comprising a plurality of states, each said state being linked with at least one other state by a respective condition, the arrangement of linked states forming a plurality of paths; comparing token types of the sequence of tokens to respective conditions in the tree to match the sequence of tokens to one or more paths in the tree; and detecting the predetermined data without using an epsilon reduction to take account of at least one said optional token type. - View Dependent Claims (12, 13, 14)
-
-
15. A method to detect predetermined data from a sequence of tokens, the method comprising:
-
providing a tree having a plurality of states, at least one of said plurality of state being associated with an epsilon reduction, each said token having a token type, and the predetermined data having a structure that comprises a predetermined sequence of token types, including at least one optional token type, removing the epsilon reduction from the tree; and comparing the tokens with the tree to detect whether the sequence of tokens matches the predetermined structure. - View Dependent Claims (16, 17)
-
-
18. An apparatus for processing a sequence of tokens to detect predetermined data, the apparatus comprising:
- a network interface to receive the sequence of tokens wherein;
each said token has a token type, and the predetermined data has a structure that comprises a predetermined sequence of token types, at least one said token type being optional; and
a processor configured to;provide a tree for detecting the predetermined data, the tree comprising a plurality of states, each said state being linked with at least one other state by a respective condition, the arrangement of linked states forming a plurality of paths; and compare the token types of the sequence of tokens to respective conditions in the tree to match the sequence of tokens to one or more paths in the tree, wherein the predetermined data can be detected without using an epsilon reduction to take account of at least one said optional token type. - View Dependent Claims (19)
- a network interface to receive the sequence of tokens wherein;
-
20. A machine-readable storage medium storing executable program instructions, which, when executed cause a data processing apparatus to perform a method to process a sequence of tokens, wherein each of said sequence of tokens has a token type, and the predetermined data has a structure that comprises a predetermined sequence of token types, including at least one optional token type, the method comprising:
-
providing a tree for detecting the predetermined data, the tree comprising a plurality of states, each of said plurality of states being linked with at least one other state by a respective condition, an arrangement of linked states forming a plurality of paths in the tree; comparing the token types of the sequence of tokens to respective conditions in the tree to match the sequence of tokens to one or more paths in the tree; and detecting the predetermined data without using an epsilon reduction to take account of said at least one optional token type. - View Dependent Claims (21, 22)
-
Specification