Program agent initiated processing of enqueued event actions
First Claim
Patent Images
1. A method in a computer program environment for handling program events, the method comprising the steps of:
- enqueuing a plurality of program event actions in an event queue, the program event actions requiring actions to be performed, the program event actions comprising a first action type requiring a first action to be performed and a second action type requiring a second action to be performed; and
instantiating a plurality of program agents for performing actions, the program agents comprising a first agent for performing one or more actions, the actions comprising the first action to be performed and a second agent for performing one or more actions, the actions comprising the second action to be performed when the first agent is available to perform a first action to be performed, the first agent initiating a first interrogation of the event queue, the interrogation querying the queue for outstanding program event actions comprising the first action type;
when the first interrogation of the event queue determines that a program event action comprising the first action type is queued in the event queue, the first agent performing the first action to be performed and indicating in the event queue that the program event action having the first action type is assigned to the first agent.
1 Assignment
0 Petitions
Accused Products
Abstract
An Event Manager receives events requiring action. The events are parsed into event action types which are placed in an Event Queue. Program agents in a pool of agents are dynamicly instantiated and retired from the pool based on the number of queued events by type. Program agents, when available, initiate a search for a work entry on the Event Queue that is of a type that the agent can handle. When an agent finds work, the corresponding Event Queue entry is marked as assigned to the agent and the agent performs the action associated with the work entry.
-
Citations
35 Claims
-
1. A method in a computer program environment for handling program events, the method comprising the steps of:
-
enqueuing a plurality of program event actions in an event queue, the program event actions requiring actions to be performed, the program event actions comprising a first action type requiring a first action to be performed and a second action type requiring a second action to be performed; and
instantiating a plurality of program agents for performing actions, the program agents comprising a first agent for performing one or more actions, the actions comprising the first action to be performed and a second agent for performing one or more actions, the actions comprising the second action to be performed when the first agent is available to perform a first action to be performed, the first agent initiating a first interrogation of the event queue, the interrogation querying the queue for outstanding program event actions comprising the first action type;
when the first interrogation of the event queue determines that a program event action comprising the first action type is queued in the event queue, the first agent performing the first action to be performed and indicating in the event queue that the program event action having the first action type is assigned to the first agent. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system in a computer program environment for handling program events, the system comprising:
-
a network;
a first computer system in communication with the network wherein the computer system includes instructions to execute a method comprising the steps of;
enqueuing a plurality of program event actions in an event queue, the program event actions requiring actions to be performed, the program event actions comprising a first action type requiring a first action to be performed and a second action type requiring a second action to be performed; and
instantiating a plurality of program agents for performing actions, the program agents comprising a first agent for performing one or more actions, the actions comprising the first action to be performed and a second agent for performing one or more actions, the actions comprising the second action to be performed when the first agent is available to perform a first action to be performed, the first agent initiating a first interrogation of the event queue, the interrogation querying the queue for outstanding program event actions comprising the first action type;
when the first interrogation of the event queue determines that a program event action comprising the first action type is queued in the event queue, the first agent performing the first action to be performed and indicating in the event queue that the program event action having the first action type is assigned to the first agent. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A computer program product in a computer program environment for handling program events, the computer program product comprising:
-
a storage medium readable by a processing circuit and storing instructions for execution by a processing circuit for performing a method comprising the steps of;
enqueuing a plurality of program event actions in an event queue, the program event actions requiring actions to be performed, the program event actions comprising a first action type requiring a first action to be performed and a second action type requiring a second action to be performed; and
instantiating a plurality of program agents for performing actions, the program agents comprising a first agent for performing one or more actions, the actions comprising the first action to be performed and a second agent for performing one or more actions, the actions comprising the second action to be performed when the first agent is available to perform a first action to be performed, the first agent initiating a first interrogation of the event queue, the interrogation querying the queue for outstanding program event actions comprising the first action type;
when the first interrogation of the event queue determines that a program event action comprising the first action type is queued in the event queue, the first agent performing the first action to be performed and indicating in the event queue that the program event action having the first action type is assigned to the first agent. - View Dependent Claims (25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35)
-
Specification