Event Processing with XML Query Based on Reusable XML Query Template
First Claim
1. A system, comprising:
- an input adapter configured to receive an event from a source and generate an event object based on the event, wherein the event object includes a payload, a validity start time, and a validity end time;
a query engine configured to execute a query with respect to the event object to produce a result object, wherein the query is represented by an extensible markup language (XML) file that is based on a reusable XML query template that is bindable to a plurality of input adapters and a plurality of output adapters, wherein the result object is produced based on an application of at least one operator of the query; and
an output adapter configured to generate a result based on the result object and to transmit the result to a sink.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and computer-readable media are disclosed for event processing with a query based on a reusable XML query template. A particular method includes receiving a plurality of events from a source and generating a plurality of event objects based on the plurality of events. A query represented by an XML file based on a reusable XML query template is executed with respect to the plurality of event objects to produce a plurality of result objects. Each result object is produced based on an application of at least one operator of the query. A plurality of results is generated based on the plurality of result objects, and the plurality of results is transmitted to a sink.
169 Citations
20 Claims
-
1. A system, comprising:
-
an input adapter configured to receive an event from a source and generate an event object based on the event, wherein the event object includes a payload, a validity start time, and a validity end time; a query engine configured to execute a query with respect to the event object to produce a result object, wherein the query is represented by an extensible markup language (XML) file that is based on a reusable XML query template that is bindable to a plurality of input adapters and a plurality of output adapters, wherein the result object is produced based on an application of at least one operator of the query; and an output adapter configured to generate a result based on the result object and to transmit the result to a sink. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A method, comprising:
-
at a complex event processing (CEP) system comprising a processor and memory, receiving a plurality of events from a source; generating a plurality of event objects based on the plurality of events; at the processor, executing a query with respect to the plurality of event objects to produce a plurality of result objects, wherein the query is executed without storing any of the plurality of event objects at the memory, wherein the query is represented by an extensible markup language (XML) file that is based on a reusable XML query template, and wherein each of the plurality of result objects is produced based on an application of at least one operator of the query; generating a plurality of results based on the plurality of result objects; and transmitting the plurality of results to a sink. - View Dependent Claims (17)
-
-
18. A computer-readable medium comprising instructions, that when executed by a computer, cause the computer to:
-
receive, at an event processing system, at least one event from a source, wherein each event is represented in a first data format that is native to the source; convert the at least one event from the first data format to at least one event object formatted in a second data format, the at least one event object including a payload, a validity start time, and a validity end time; execute a query with respect to the at least one event object to produce a result object, wherein the query is represented by an extensible markup language (XML) file that is based on a reusable XML query template, wherein the result object is produced based on an application of at least one operator of the query, and wherein the result object is formatted in the second data format; convert the result object from the second data format to at least one result formatted in a third data format that is native to a sink; and transmit the at least one result to the sink. - View Dependent Claims (19, 20)
-
Specification