×

Program agent initiated processing of enqueued event actions

  • US 7,565,662 B2
  • Filed: 09/24/2004
  • Issued: 07/21/2009
  • Est. Priority Date: 09/24/2004
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method in a computer program environment for handling programs events, the method comprising:

  • 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 be performed; and

    determining a frequency of occurrence of program event actions of the first action type in the event queue;

    instantiating a plurality of program agents for performing actions, the program agents comprising a first agent for performing one or more first agent actions, the first agent actions comprising the first action to be performed and a second agent for performing one or more second agent actions, the second agent actions comprising the second action to be performed, wherein responsive to the frequency of occurrence exceeds a high predetermined frequency, instantiating a first predetermined number of program agents of the first type based on the frequency determined, wherein the first action to an action of a first action type, wherein the second action is an action of a second action type;

    responsive to the first agent being available to perform the first action to be performed, the first agent initiating a first interrogation of the event queue, the first interrogation querying the event queue for outstanding program event actions comprising the first action type, wherein the first interrogation comprises a request for work;

    responsive to the first interrogation of the event queue determining 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

    responsive to the first action being assigned to the first agent, indicating in the event queue that the program event action having the first action type is assigned to the first agent.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×