Self learning event parser
First Claim
Patent Images
1. A method of parsing data, the method comprising:
- receiving the data at a parsing unit, wherein the data comprises a plurality of expressions;
comparing at least one of the expressions in the data to at least one of a plurality of known expressions stored in an ordered list, wherein the at least one expression is compared to a first known expression in the ordered list and, if the at least one expression does not match the first known expression, the at least one expression is compared to subsequent known expressions in an order in which they are stored in the ordered list until the at least one expression is matched to a known expression, or until it is determined that the at least one expression does not match any of the known expressions; and
automatically reordering the known expressions of the ordered list based at least in part on matches between the expressions and the known expressions.
11 Assignments
0 Petitions
Accused Products
Abstract
An adaptive parser capable of automatically reordering expressions such that more commonly matched expressions are tested earlier than less commonly matched expressions; by reordering the expressions in this manner, less frequently matched expressions are less frequently tested, or may not be tested at all, thereby lowering the overall number of tests and increasing the amount of data that can be parsed in a given time period.
51 Citations
54 Claims
-
1. A method of parsing data, the method comprising:
-
receiving the data at a parsing unit, wherein the data comprises a plurality of expressions;
comparing at least one of the expressions in the data to at least one of a plurality of known expressions stored in an ordered list, wherein the at least one expression is compared to a first known expression in the ordered list and, if the at least one expression does not match the first known expression, the at least one expression is compared to subsequent known expressions in an order in which they are stored in the ordered list until the at least one expression is matched to a known expression, or until it is determined that the at least one expression does not match any of the known expressions; and
automatically reordering the known expressions of the ordered list based at least in part on matches between the expressions and the known expressions. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 54)
-
-
20. A machine readable storage having stored thereon a computer program for a parser, the computer program comprising a routine set of instructions which when executed by the machine can cause the machine to:
-
receive data at a parsing unit, wherein the data stream comprises a plurality of expressions;
compare at least one of the expressions in the data to at least one of a plurality of known expressions stored in an ordered list, wherein the at least one expression is compared to a first known expression in the ordered list and, if the at least one expression does not match the first known expression, the at least one expression is compared to subsequent known expressions in the order in which they are stored in the ordered list until the at least one expression is matched to a known expression, or until it is determined that the at least one expression does not match any of the known expressions; and
automatically reorder the known expressions of the ordered list based at least in part on matches between the expressions and the known expressions. - View Dependent Claims (21, 22, 23)
-
-
24. A computer system to monitor data for network events, the system comprising:
-
a receiving unit to receive data comprising a plurality of expressions from at least one networked source; and
a parsing unit to parse the data, the parsing unit comprising, an ordered list comprising a plurality of known expressions, a comparison unit to compare the expressions in the data with the known expressions to identify occurrences where the expressions match the known expressions, such that at least one of the expressions is compared to a first known expressions and, if the expression does not match the first known expression, the expression is then to be compared to subsequent known expressions in an order according to the ordered list, until it is determined that the expression matches one of the known expressions, or until it is determined that the expression does not match any of the known expressions, and a reordering unit to automatically reorder the known expressions in the ordered list according to matches between the expressions and the known expressions. - View Dependent Claims (25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39)
-
- 40. A grammar based event parser, wherein the grammar is automatically reordered based at least in part on matches between known expressions and expressions input into the event parser.
-
52. A method for reordering grammar in a grammar based event parser, comprising automatically reordering the grammar based at least in part on matches between determined expressions and known expressions.
-
53. A grammar based event parser, comprising a reordering unit to automatically reorder grammar based at least in part on matches between determined expressions and known expressions.
Specification