Claims
- 1. A method for advertising an availability of a processing resource to execute a process, the method comprising:
enabling a registry service; enabling the processing resource to register with the registry service, the processing resource being one of numbers of network interconnected resources; enabling a system controller code to find and select a suitable and available processing resource registered with the registry service to execute the process, the system controller code being executed on a computer that is networked with the number of interconnected resources; enabling the system controller code to communicate with a selected processing resource; and updating a status of the processing resource in the registry service upon a termination of executing the process.
- 2. A method as recited in claim 1, the method further comprising:
renewing a registration of the processing resource with the registry service when required if the registry service is enabled.
- 3. A method as recited in claim 1, wherein enabling the registry service includes,
turning on a computer system configured to include the registry service; and running the registry service on the system.
- 4. A method as recited in claim 1, wherein enabling the processing resource to register with the registry service includes,
registering a machine service proxy and a set of machine service attributes of a machine service of the processing resource with the registry service.
- 5. A method as recited in claim 1, wherein enabling the system controller code to find and select the suitable and available processing resource registered with the registry service to execute the process includes,
registering a machine service proxy and a set of machine service attributes of a machine service of the processing resource with the registry service; searching the registry service for the suitable processing resource having the set of machine service attributes configured to substantially match a set of requirements of the process; and ensuring an availability of the suitable processing resource for executing the process having a type.
- 6. A method as recited in claim 1, wherein enabling the system controller code to communicate with the selected processing resource includes,
obtaining a machine service proxy of a machine service of the selected processing resource by the system controller code; implementing the machine service proxy to communicate a request to execute the process; spawning a process service by the machine service, the process service having a type substantially the same as a type of the process, the process service being configured to have a process service proxy and a set of process service attributes; and registering the process service proxy and the set of process service attributes with the registry service revealing the unavailability of the selected processing resource to execute a process having substantially the same type.
- 7. A method as recited in claim 1, wherein updating the status of the processing resource in the registry service upon the termination of executing the process includes,
removing a process service proxy and a set of process service attributes of a process service spawned by a machine service of the selected processing resource, the removing being configured to reveal the availability of the processing resource to execute a process having a type substantially the same as a type of the process service.
- 8. The method as recited in claim 1, wherein the registry service is a look up service.
- 9. A method for facilitating an execution of a process, the method comprising:
launching a registry service on a system; obtaining a machine service proxy and a set of machine service attributes of a processing resource if the processing resource requests to be registered with the registry service; receiving a request to execute the process from a system controller, the process having a set of requirements and a type; searching the registry service for the processing resource having a machine service configured to have a set of machine service attributes substantially matching the set of requirements of the process; providing a machine service proxy of the machine service of the processing resource to the system controller; obtaining a process service proxy and a set of process service attributes of a process service spawned by the machine service by the registry service, the process service configured to have a type substantially matching the type of the process; and removing the process service proxy and the set of process service attributes from the registry service upon the termination of the execution of the process.
- 10. A method as recited in claim 9, further comprising:
deleting the machine service proxy and the set of machine service attributes of the processing resource from the registry service if a request has been made by the processing resource to remove the machine service proxy and the set of machine service attributes from the registry service.
- 11. A method as recited in claim 10, wherein deleting the machine service proxy and the set of machine service attributes of the processing resource is configured to reveal the spontaneous detachment of the processing resource.
- 12. A method as recited in claim 9, wherein obtaining the process service proxy and a set of process service attributes of a process service by the registry service is an indication of an unavailability of the processing resource to execute a process having the type matching the type of the process service.
- 13. A method as recited in claim 9, wherein removing the process service proxy and the set of process service attributes from the registry service upon the substantial termination of the execution of the process is configured to reveal the availability of the processing resource to execute another process having a type substantially the same as the type of the process.
- 14. A method as recited in claim 9, wherein the processing resource is a test system.
- 15. A method as recited in claim 9, wherein the process is a test execution request.
- 16. A method as recited in claim 9, wherein the registry service is a look up service.
- 17. A method for advertising an availability of a test system to execute a test execution request, the method comprising:
launching a look up service on a system; obtaining a machine service proxy and a set of machine service attributes of the test system if the test system requests to be registered with the look up service; receiving the test execution request from a system controller, the test execution request having a set of requirements and a type; searching the look up service for the test system having a machine service configured to have a set of machine service attributes substantially matching the set of requirements of the test execution request; providing a machine service proxy of the machine service of the test system to the system controller; obtaining a test service proxy and a set of test service attributes of a test service spawned by the machine service by the look up service, the test service being configured to have a type substantially matching the type of the test execution request; and removing the test service proxy and the set of test service attributes from the look up service upon the termination of the execution of the test execution request.
- 18. A method as recited in claim 17, wherein launching the look up service on a system includes,
turning on the system configured to include the look up service; and running the look up service on the system.
- 19. A method as recited in claim 17, wherein the look up service is implemented in a distributed test framework system.
- 20. A method as recited in claim 19, wherein the look up service is configured to facilitate a spontaneous assembly and detachment of the test system and the system controller of the distributed test framework system.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] This application claims priority from U.S. Provisional Patent Application No. 60/304,919 filed on Jul. 11, 2001 and entitled “Distributed Test Framework,” which is incorporated herein by reference in its entirety.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60304919 |
Jul 2001 |
US |