Event processing
First Claim
1. A method for processing an event in an event processing network, the method comprising:
- assigning an execution mode for at least one event processing agent (EPA) in an event processing network (EPN), the execution mode includes a concurrent mode and a sequential mode;
storing the execution mode for the at least one EPA in EPN metadata;
receiving an event, in response to an event occurrence at an event source, wherein the EPN includes the event source;
loading the EPN, wherein loading the EPN comprises creating a structure representing the EPN using the EPN metadata;
initializing the at least one EPA in the EPN;
routing the event in the EPN until encountering the EPA;
identifying an input event, wherein the input event corresponds to the encountered EPA;
determining the execution mode of the encountered EPA;
upon the execution mode determined to be in the concurrent mode, creating a replica of the input event;
identifying each child EPA of the encountered EPA;
allocating the replica of the input event to each child EPA of the encountered EPA;
creating a change summary corresponding to each child EPA, wherein the change summary is associated with the input event;
modifying the change summary corresponding to each child EPA in response to a modification performed by each child EPA on the replica of the input event; and
synchronizing the change summaries.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, a system and a computer program for parallel event processing in an event processing network (EPN) are disclosed. The EPN has at least one event processing agent (EPA). The method includes assigning an execution mode for the at least one EPA, the execution mode including a concurrent mode and a sequential mode. The execution mode for the at least one EPA is stored in the EPN metadata. The method also includes loading and initializing the EPN. The method further includes routing the event in the EPN and, when an EPA is encountered, depending on the execution mode of the encountered EPA, further processing of the event. Also disclosed are a system and a computer program for parallel event processing in an event processing network (EPN).
-
Citations
6 Claims
-
1. A method for processing an event in an event processing network, the method comprising:
-
assigning an execution mode for at least one event processing agent (EPA) in an event processing network (EPN), the execution mode includes a concurrent mode and a sequential mode; storing the execution mode for the at least one EPA in EPN metadata; receiving an event, in response to an event occurrence at an event source, wherein the EPN includes the event source; loading the EPN, wherein loading the EPN comprises creating a structure representing the EPN using the EPN metadata; initializing the at least one EPA in the EPN; routing the event in the EPN until encountering the EPA; identifying an input event, wherein the input event corresponds to the encountered EPA; determining the execution mode of the encountered EPA; upon the execution mode determined to be in the concurrent mode, creating a replica of the input event; identifying each child EPA of the encountered EPA; allocating the replica of the input event to each child EPA of the encountered EPA; creating a change summary corresponding to each child EPA, wherein the change summary is associated with the input event; modifying the change summary corresponding to each child EPA in response to a modification performed by each child EPA on the replica of the input event; and synchronizing the change summaries. - View Dependent Claims (2, 3, 4)
-
-
5. A system for processing an event in an event processing network, the system comprising:
-
a processor configured to; assign an execution mode for at least one event processing agent (EPA) in an event processing network (EPN), wherein the execution mode includes a concurrent mode and a sequential mode; store the execution mode for the at least one EPA in EPN metadata; receive an event, in response to an event occurrence at an event source, wherein the EPN includes the event source; load the EPN, wherein loading the EPN comprises creating a structure representing the EPN using the EPN metadata; initialize the at least one EPA in the EPN; route the event in the EPN until encountering the EPA; identify an input event, wherein the input event corresponds to the encountered EPA; determine the execution mode of the encountered EPA; upon the execution mode determined to be in the concurrent mode; create a replica of the input event; identify each child EPA of the encountered EPA; allocate the replica of the input event to each child EPA of the encountered EPA; create a change summary corresponding to each child EPA, wherein the change summary is associated with the input event; modify the change summary corresponding to each child EPA in response to a modification performed by each child EPA on the replica of the input event; synchronize the change summaries; compare the change summaries; merge the modifications performed by each child EPA on the replica of the input event; identify if there is a conflict in the modifications between at least two of the change summaries; upon identification of said conflict, resolve the conflict; generate a modified input event using the synchronized change summary of each child EPA of the encountered EPA; and propagate the modified input event in the EPN.
-
-
6. A storage device tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to carry out a method of processing an event in an event processing network, the storage medium configured to:
-
assign an execution mode for at least one event processing agent (EPA) in an event processing network (EPN), wherein the execution mode includes a concurrent mode and a sequential mode; store the execution mode for the at least one EPA in EPN metadata; receive an event, in response to an event occurrence, at an event source, wherein the EPN includes the event source; load the EPN, wherein loading the EPN comprises creating a structure representing the EPN using the EPN metadata; initialize the at least one EPA in the EPN; route the event in the EPN until encountering the EPA; identify an input event, wherein the input event corresponds to the encountered EPA; determine the execution mode of the encountered EPA; upon the execution mode determined to be in the concurrent mode, create a replica of the input event; identify each child EPA of the encountered EPA; allocate the replica of the input event to each of the child EPAs of the encountered EPA; create a change summary corresponding to each of the child EPAs, wherein the change summary is associated with the input event; modify the change summary in response to a modification performed by each of the child EPAs on the replica of the input event; synchronize the change summaries corresponding to each of the child EPAs of the encountered EPA; compare the change summary of each of the child EPAs; merge the modifications performed by each of the child EPAs on the replica of the input event; resolve a conflict in the modifications, if the conflict is identified between at least two of the change summaries; generate a modified input event using the synchronized change summaries of each of the child EPAs of the encountered EPA; and propate the modified input event in the EPN.
-
Specification