Apparatus and method for on-line replacement of a running script
First Claim
1. A computer apparatus for online script replacement comprising:
- a means for providing a request for service;
a means for maintaining a list of a plurality of service-providing scripts, wherein said list maintaining means enables a newer service-providing script that provides said requested service to be added to said list;
a means for determining a current script for providing said requested service from said list of said plurality of service-providing scripts that provide said requested service; and
a means for executing said current script to provide said requested service.
1 Assignment
0 Petitions
Accused Products
Abstract
Apparatus and method are provided for accomplishing on-line replacement of a script running in a process. The apparatus and method utilize a script registry that keeps track of the most current script for a particular service. The request for service is presented to the script registry to identify the location of the most current script that provides the requested service. Because this script registry is an internal data structure, it is therefore lightly portable between different operating system machine types. A superscript is further utilized to transfer script state information between execution of the service-providing scripts. This ensures that data information (i.e., execution mode, environment information, and variable data) is passed from a terminating service script to an initializing service script.
16 Citations
20 Claims
-
1. A computer apparatus for online script replacement comprising:
-
a means for providing a request for service;
a means for maintaining a list of a plurality of service-providing scripts, wherein said list maintaining means enables a newer service-providing script that provides said requested service to be added to said list;
a means for determining a current script for providing said requested service from said list of said plurality of service-providing scripts that provide said requested service; and
a means for executing said current script to provide said requested service. - View Dependent Claims (2, 3, 4, 5)
a means for requesting a new current script during the execution of said current script.
-
-
3. The apparatus of claim 1, wherein said maintaining means further comprises:
-
a means for providing, an index to said plurality of service-providing, scripts, further including;
a service name; and
a location where the current script for providing said requested service can be found.
-
-
4. The apparatus of claim 1, further comprising:
a means for preserving state information for said current script.
-
5. The apparatus of claim 1, wherein said maintaining means receives requests for a location of said current script across a network.
-
6. A method for use in computer system for online script replacement, the method comprising the steps of:
-
providing a request for service;
maintaining a list of a plurality of service-providing scripts, wherein online script replacement is provided by enabling a newer service-providing script that provides said requested service to be added to said list;
determining a current script for providing said requested service from said list of said plurality of service-providing scripts that provide said requested service; and
executing said current script for providing said requested service.- View Dependent Claims (7, 8, 9, 10)
requesting a new current script during the execution of said current script.
-
-
8. The method of claim 6, wherein said maintaining step further comprising the step of:
providing an index of said plurality of service-providing scripts, said index includes a service name and a location where the current script for providing said requested service can be found.
-
9. The method of claim 6, further comprising the step of:
preserving state information for said current script.
-
10. The method of claim 6, wherein said maintaining step further comprising the step of:
receiving requests for a location of said current script across a network.
-
11. An online script replacement apparatus comprising:
-
logic configured to provide a request for service;
logic configured to maintain a list of a plurality of service-providing scripts, wherein said list maintain logic enables a newer service-providing script that provides said requested service to be added to said list logic configured to determine a current script for providing said requested service from said list of said plurality of service-providing scripts that provide said requested service; and
logic configured to execute said current script to provide said requested service from said list of a plurality of service-providing script. - View Dependent Claims (12, 13, 14, 15)
logic configured to request a new current script during the execution of said current script.
-
-
13. The apparatus of claim 11, wherein said list maintaining logic further comprises:
logic configured to provide an index to said plurality of service-providing scripts, said index logic including a service name, and a location where the current script for providing said requested service can be found.
-
14. The apparatus of claim 11, further comprising:
logic configured to preserve state information for said current script.
-
15. The apparatus of claim 11, wherein said list maintaining logic further comprises:
logic configured to receive requests for a location of said current script across a network.
-
16. A computer readable medium having a program, the program for replacing scripts online, comprising:
-
a means for maintaining a list of a plurality of service-providing scripts, wherein said list maintaining means enables a newer service-providing script that provides said requested service to be added to said list;
a means for determining a current script for providing a requested service from said list of said plurality of service-providing scripts that provide said requested service; and
a means responsive to the means for determining a current script, for executing said current script to provide said requested service. - View Dependent Claims (17, 18, 19, 20)
a first routine means, responsive to the means for maintaining, for searching an index to said plurality of service-providing scripts, said index including a service name, and a location where the current script for providing said requested service can be found.
-
-
18. The medium of claim 16, further comprising:
a second routine means, responsive to the means for executing, for requesting a new current script during, the execution of said current script.
-
19. The medium of claim 16, further comprising:
a means recorded on the medium for controlling a preservation of state information for said current script.
-
20. The medium of claim 16, further comprising:
a means for receiving requests for a location of said current script across a network.
Specification