Computer system having agent retracting method and agent returning method
First Claim
1. A computer for active and inactive mobile agents having an identity data ID, comprising:
- computer means for establishing a first execution environment for the active and inactive mobile agents;
computer means for establishing a second execution environment for the active and inactive mobile agents;
a connection module associated with said first execution environment for establishing a connection from said first execution environment through a network to said second execution environment;
a retraction module associated with said first execution environment for transmitting a retraction request having an ID of an agent under management of the second execution environment, via the connection established by the connection module;
a module associated with said second execution environment for searching for an agent within said second execution environment corresponding to said ID and, based on a result of said search, transmitting a bit sequence representation of an agent corresponding to said ID;
notification means for notifying the mobile agent to be retracted if it is in the active state, otherwise forwarding means for forwarding the corresponding pointer of the mobile agent to be retracted to the communication module; and
a module associated with said first execution environment for receiving the bit sequence via the established connection.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus and method retracts a mobile agent from a second execution environment back to a first execution environment, the retraction being performed by the first environment sending a retraction request, and the second execution environment establishing a connection to the first execution environment in response. The second execution environment searches for an agent under its control corresponding to an agent identity in the retraction request, and converts the corresponding agent, if located, to a bit sequence and returns the bit sequence to the first execution environment via the connection. Sending the bit sequence through the established connection safely alleviates firewall issues because a connection is established from the inside of the firewall to the outside.
-
Citations
23 Claims
-
1. A computer for active and inactive mobile agents having an identity data ID, comprising:
-
computer means for establishing a first execution environment for the active and inactive mobile agents; computer means for establishing a second execution environment for the active and inactive mobile agents; a connection module associated with said first execution environment for establishing a connection from said first execution environment through a network to said second execution environment; a retraction module associated with said first execution environment for transmitting a retraction request having an ID of an agent under management of the second execution environment, via the connection established by the connection module; a module associated with said second execution environment for searching for an agent within said second execution environment corresponding to said ID and, based on a result of said search, transmitting a bit sequence representation of an agent corresponding to said ID; notification means for notifying the mobile agent to be retracted if it is in the active state, otherwise forwarding means for forwarding the corresponding pointer of the mobile agent to be retracted to the communication module; and a module associated with said first execution environment for receiving the bit sequence via the established connection. - View Dependent Claims (2, 3)
-
-
4. A computer system for active and inactive mobile agents having an identity data ID, comprising:
-
a computer means for establishing a first execution environment for the active and inactive mobile agents, said first execution environment having a module for generating a first connection request and having a module for generating a first agent retraction request over a connection between the first and a second execution environments, the first agent retraction request having an agent ID; a computer means for establishing the second execution environment for the active and inactive mobile agents; a network connecting said first computer means to said second computer means, wherein said second execution environment includes; a connection establishing module for establishing the connection through the network with the first execution environment in response to receiving the first connection request from the first agent execution environment; a search module for performing a search of the agents under management of the second agent execution environment in response to reception of the first agent retraction request, and said retraction request being transmitted from the second agent execution environment via the established connection, and for generating a search result data representing a result of the search; a conversion module for converting, in response to the search result data, an agent having an ID the same as the ID of the first retraction request into a bit sequence of said agent; notification means for notifying the mobile agent to be retracted if it is in the active state, otherwise forwarding means for forwarding the corresponding pointer of the mobile agent to be retracted to the communication module; and a module for transmitting the bit sequence to the first execution environment via the established connection. - View Dependent Claims (5, 6, 7, 8, 9, 10)
-
-
11. A storage medium for storing a bit sequence of active and inactive mobile agents, said agents comprising:
a predefined ending operation method for a retraction, said predefined ending operation invoked in response to a notification that is output from a first agent execution environment when the first agent execution environment receives a retraction request including an ID of an active or inactive mobile agent via a connection with a second agent execution environment.
-
12. An active or inactive mobile agent retracting method which is executed by a first agent execution environment in a first computer system connected to a network to retract an active or inactive mobile agent from a second agent execution environment in a second computer system connected to the network, the active or inactive mobile agent retracting method comprising the steps of:
-
establishing a connection with the second agent execution environment; transmitting a retraction request including an ID of an agent under management of the second agent execution environment via the established connection; notifying the mobile agent to be retracted if it is in the active state, otherwise forwarding the corresponding pointer of the mobile agent to be retracted to the communication module; and receiving a bit sequence of the active or inactive mobile agent having the ID transmitted from the second agent execution environment via the established connection.
-
-
13. An active or inactive mobile agent returning method which is executed by a first agent execution environment in a first computer system connected to a network to return an active or inactive mobile agent to a second agent execution environment in a second computer system connected to the network, the active or inactive mobile agent returning method comprising the steps of:
-
establishing a connection with the second agent execution environment in response to a connection establishment request from the second agent execution environment; searching among active and inactive mobile agents under management of the first agent execution environment in response to reception of a retraction request including an ID of an active or inactive agent, said retraction request transmitted from the second agent execution environment via the established connection; transmitting a retraction request including an ID of an agent under management of the second agent execution environment via the established connection; and notifying the mobile agent to be retracted if it is in the active state, otherwise forwarding the corresponding pointer of the mobile agent to be retracted to the communication module. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A storage medium for storing a program to be executed in a computer system connected to a network, said storage medium including a program for providing a first agent execution environment, said program comprising the steps of:
-
causing the first computer system to establish a connection with a program for providing a second agent execution environment in a second computer system connected to the network; causing the computer system to transmit, via the established connection, a retraction request including an ID of an active or inactive agent under management of the program for providing the second agent execution environment; notifying the mobile agent to be retracted if it is in the active state, otherwise forwarding the corresponding pointer of the mobile agent to be retracted to the communication module; and causing the computer system to receive a bit sequence of the active or inactive agent having the ID transmitted from the program for providing the second agent execution environment via the established connection. - View Dependent Claims (19)
-
-
20. A storage medium for storing a program to be executed in a computer system connected to a network, said storage medium including a program for providing a first agent execution environment, said program comprising the steps of:
-
causing the first computer system to establish a connection with a program for providing a second agent execution environment in a second computer system connected to the network in response to a connection establishment request from the program for providing the second agent execution environment; causing the computer system to search among active or inactive agents under management of the program for providing the first agent execution environment in response to reception of a retraction request including an ID of an agent, said retraction request transmitted from the program for providing the second agent execution environment via the established connection; notifying the mobile agent to be retracted if it is in the active state, otherwise forwarding the corresponding pointer of the mobile agent to be retracted to the communication module; and causing the computer system to transmit a bit sequence of an active or inactive agent having the same ID as said ID in the retraction request via the established connection. - View Dependent Claims (21, 22, 23)
-
Specification