IP Library Granted Patent US 9,529,651
Granted Patent B2
US 9,529,651 · App. 14/714,789 · Granted Dec 27, 2016

Apparatus and method for executing agent

Inventors: Hideki Tai (Yokohama, JP); Gaku Yamamoto (Tokyo-To, JP)
Assignee: International Business Machines Corporation
G06F9/546G06F9/466H04L67/00H04M3/5175
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,529,651
App. No.
14/714,789
Granted
Dec 27, 2016
Kind
B2
Abstract

Methods for processing a one-directional message transmitted by a currently running agent for an agent transaction context (ATC) are presented, the ATC configured to process a transaction utilizing any of a number of active agents in a multiagent system using a computing device including: causing the computing device to determine whether a destination agent designated as a destination for the one-directional message is present in an agent list corresponding with the ATC, where the agent list includes the active agents required for executing a number of threads; and if the destination agent is present in the agent list, storing the one-directional message in an intramessage queue, where the intra-transaction message queue corresponds with the ATC and is configured to store a number of one-directional messages, and where the number of one-directional messages are associated with the transaction.

Claims (42)

1. A method for processing a one-directional message transmitted by a currently running agent for an agent transaction context (ATC), the ATC configured to process a transaction utilizing any of a plurality of active agents in a multiagent system using a computing device comprising:

causing the computing device to determine whether a destination agent designated as a destination for the one-directional message is present in an agent list corresponding with the ATC, wherein the agent list includes the plurality of active agents required for executing a plurality of threads; and

if the destination agent is present in the agent list, storing the one-directional message in an intramessage queue, wherein the intra-transaction message queue corresponds with the ATC and is configured to store a plurality of one-directional messages, and wherein the plurality of one-directional messages are associated with the transaction.

2. The method of claim 1 , further comprising:

if the destination agent is not present in the agent list, determining whether the destination agent is present in an agent cache;

if the destination agent is not present in the agent cache, adding the destination agent to the agent cache and updating a status of the destination agent to indicate the destination agent is processing; and

if the destination agent is present in the agent cache, updating a status of the destination agent to indicate the destination agent is processing.

3. The method of claim 2 , further comprising:

adding the destination agent to the agent list; and

storing the one-directional message in the intras-transaction message queue.

4. The method of claim 2 , wherein the agent cache is stored on a semiconductor memory.

5. The method of claim 2 , wherein adding the destination agent to the agent cache further comprises reading the destination agent from a database into the agent cache.

6. The method of claim 5 , wherein reading the destination agent from a database into the agent cache is performed by a memory control section.

7. The method of claim 2 , wherein updating status of the destination agent is performed by an agent control section.

8. The method of claim 3 , wherein adding the destination agent to the agent list is performed by an ATC control section.

9. The method of claim 2 , further comprising:

if currcurrent parallel processing of an agent is not permitted and the destination agent is participating in another transaction, waiting until a current status is released to assign the status to the destination agent.

10. A method for processing a one-directional message transmitted by a currently running agent for an agent transaction context (ATC), the ATC configured to process a transaction utilizing any of a plurality of active agents in a multiagent system using a computing device comprising:

causing the computing device to determine whether a destination agent designated as a destination for the one-directional message is present in an agent list corresponding with the ATC, wherein the agent list includes the plurality of active agents required for executing a plurality of threads;

if the destination agent is not present in the agent list, determining whether the destination agent is present in an agent cache;

if the destination agent is not present in the agent cache, adding the destination agent to the agent cache and updating a status of the destination agent to indicate the destination agent is processing; and

if the destination agent is present in the agent cache, updating a status of the destination agent to indicate the destination agent is processing.

11. The method of claim 10 , further comprising:

if the destination agent is present in the agent list, storing the one-directional message in an intramessage queue, wherein the intra-transaction message queue corresponds with the ATC and is configured to store a plurality of one-directional messages, and wherein the plurality of one-directional messages are associated with the transaction.

12. A computing device program product for processing a one-directional message transmitted by a currently running agent for an agent transaction context (ATC), the ATC configured to process a transaction utilizing any of a plurality of active agents in a multiagent system using a computing device comprising:

a non-transitory computer readable medium;

first programmatic instructions for causing the computing device to determine whether a destination agent designated as a destination for the one-directional message is present in an agent list corresponding with the ATC, wherein the agent list includes the plurality of active agents required for executing a plurality of threads; and

if the destination agent is present in the agent list, second programmatic instructions for storing the one-directional message in an intramessage queue, wherein the intra-transaction message queue corresponds with the ATC and is configured to store a plurality of one-directional messages, and wherein the plurality of one-directional messages are associated with the transaction.

13. The computing device program product of claim 12 , further comprising:

if the destination agent is not present in the agent list, third programmatic instructions for determining whether the destination agent is present in an agent cache;

if the destination agent is not present in the agent cache, fourth programmatic instructions for adding the destination agent to the agent cache and updating a status of the destination agent to indicate the destination agent is processing; and

if the destination agent is present in the agent cache, fifth programmatic instructions for updating a status of the destination agent to indicate the destination agent is processing.

14. The computing device program product of claim 13 , further comprising:

sixth programmatic instructions for adding the destination agent to the agent list; and

seventh programmatic instructions for storing the one-directional message in the intras- transaction message queue.

15. The computing device program product of claim 13 , wherein the agent cache is stored on a semiconductor memory.

16. The computing device program product of claim 13 , wherein sixth programmatic instructions for adding the destination agent to the agent cache further comprises reading the destination agent from a database into the agent cache.

17. The computing device program product of claim 16 , wherein reading the destination agent from a database into the agent cache is performed by a memory control section.

18. The computing device program product of claim 13 , wherein fifth programmatic instructions for updating status of the destination agent is performed by an agent control section.

19. The computing device program product of claim 14 , wherein sixth programmatic instructions for adding the destination agent to the agent list is performed by an ATC control section.

20. The computing device program product of claim 13 , further comprising:

if currcurrent parallel processing of an agent is not permitted and the destination agent is participating in another transaction, seventh programmatic instructions for waiting until a current status is released to assign the status to the destination agent.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 18, 2015
From: TAI, HIDEKI; YAMAMOTO, GAKU
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 035660/0105 →
Priority Claims (1)
JP 2008-85972 · Mar 28, 2008 · national
Continuity (3)
Continuation 13708753 · Dec 7, 2012
Continuation 12414556 · Mar 30, 2009
Related Publication 20150254117A1 · Sep 10, 2015