Computer system, message monitoring method and associated message transmission method
AssigneeInternational Business Machines Corporation
InventorsYuichi Nakamura, Gaku Yamamoto, Yoshiaki Mima
Life of this patent
Estimating the term…
Abstract
The customer agent 9 transmits a search request 15a to a manager 4, which in turn transmits a search request 15b to a shop agent 5. The shop agent 5 transmits a product information service message 16a to the manager 4. The manager 4 transmits a product information service message 16b to the customer agent 9 and a product information service message 16c to a shop agent 17. Based on the thus monitored product information service message 16c, the shop agent 17 generates an associated information service message 18a and transmits it to the manager 4. The manager 4 then transmits an associated information service message 18b to the customer agent 9.
Claims7
A computer system comprising an execution environment for agents, wherein said execution environment includes a monitor mechanism for intercepting a message transmitted from one of said agents, wherein said monitor mechanism comprises a manager agent having a function for registering a source agent of a monitor registration message and a condition of messages to be transferred to said source agent and transmitted from another agent in response to intercepting the monitor registration message from the source agent which begins its activity within said execution environment, said monitor registration message includes said condition.
A method executed by a manager agent for monitoring a message transmitted from an agent in an execution environment for agents, said execution environment included in a computer system, said method comprising the steps of:
- receiving a monitor registration message from a registering agent, the monitor registration message including a condition of the messages transmitted from another agent and to be transferred to the registering agent, the registering agent beginning its activity on the execution environment;
- in response to receiving the monitor registration message, registering the registering agent and the condition included in the monitor registration message;
- intercepting a message transmitted from a sender agent;
- searching for a registered condition by using contents of said message, and if there is a registered condition matched with said contents of said message, transmitting said message to the registering agent that registered said matched condition;
- and
- transmitting said message to a receiver agent of said message.
A storage medium storing a program for monitoring a message from an agent in a computer system including an execution environment for agents, said program enabling said computer system to perform the steps of:
- receiving a monitor registration message from a registering agent, said monitor registration message including a condition of messages transmitted from another agent and to be transmitted to the registering agent, said registering agent beginning its activity on said execution environment of said agents;
- in response to receiving said monitor registration message, registering said registering agent and said message condition included in said monitor registration message;
- intercepting a message from a specific agent;
- searching for a registered condition by using contents of said message, and if there is a registered condition matched with said contents of said message, transmitting said message to the registering agent that registered said matched condition;
- and
- transmitting said message to a destination agent of said message.
Dependencies are inferred from the claim text.