Controlling service functions in response to service instigation and service reactivation messages
First Claim
1. A computer-implemented method comprising:
- receiving at least one service instigation message;
responsive to said receiving the at least one service instigation message, instantiating one or more service object classes to create service objects configured to provide service functions, at least some of the service objects referencing other service objects;
generating an associated service object identifier for each service object which distinguishes that service object from any other service object;
serializing the service objects to generate serialized data including, for each respective service object, the service object identifier, the associated state data, and the service object identifier of any other service object referenced therein;
storing the serialized data;
receiving a service reactivation message identifying a deactivated service object to be reactivated; and
performing a reactivation process for the identified service object, the reactivation process comprising;
reactivating the identified service object from the serialized data;
repeating the reactivation process for each associated service object necessary for a service function of the identified service object, thereby creating a replacement set of reactivated service objects; and
caching a respective memory pointer to each of the reactivated service objects so that said performing the reactivation process for an associated service object already reactivated causes the cached memory pointer to be returned to the associated service object to ensure the replacement set includes only one instance of each of the reactivated service objects.
2 Assignments
0 Petitions
Accused Products
Abstract
A service is delivered by a computer system comprising a processor, a memory accessible to the processor and computer storage. The memory holds code which defines service object classes. The service object classes are configured to provide service functions, and the service object classes are instantiated to create service objects which implement the service functions. For each service object, an associated service object identifier is generated in the memory which distinguishes that service object from any other service object. The service objects are serialized to generate serialized data, the serialized data comprising a representation of each service object, and the representation comprising that service object'"'"'s service object identifier, that service object'"'"'s associated state data and the service object identifier of any other service object referenced by that service object. Following deactivation, the service objects can be recreated by following the chain of references.
33 Citations
20 Claims
-
1. A computer-implemented method comprising:
-
receiving at least one service instigation message; responsive to said receiving the at least one service instigation message, instantiating one or more service object classes to create service objects configured to provide service functions, at least some of the service objects referencing other service objects; generating an associated service object identifier for each service object which distinguishes that service object from any other service object; serializing the service objects to generate serialized data including, for each respective service object, the service object identifier, the associated state data, and the service object identifier of any other service object referenced therein; storing the serialized data; receiving a service reactivation message identifying a deactivated service object to be reactivated; and performing a reactivation process for the identified service object, the reactivation process comprising; reactivating the identified service object from the serialized data; repeating the reactivation process for each associated service object necessary for a service function of the identified service object, thereby creating a replacement set of reactivated service objects; and caching a respective memory pointer to each of the reactivated service objects so that said performing the reactivation process for an associated service object already reactivated causes the cached memory pointer to be returned to the associated service object to ensure the replacement set includes only one instance of each of the reactivated service objects. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A system comprising:
-
an input device; computer storage; a processor; a memory accessible to the processor holding code which defines service object classes, the service object classes configured to provide service functions; wherein the processor is configured, responsive to receiving at least one service instigation message, to; instantiate the service object classes to create service objects, the service objects implementing the service functions to deliver a service, each service object having associated state data held in the memory, at least some of the service objects referencing other service objects; for each service object, generate an associated service object identifier which distinguishes that service object from any other service object; serialize the service objects to generate serialized data including, for each respective service object, the service object identifier, the associated state data and the service object identifier of any other service object referenced by that service object; and store the serialized data in the computer storage; wherein the processor or an additional processor of the system is configured to; receive a service reactivation message identifying a deactivated service object to be reactivated; and perform a reactivation process for the identified service object, the reactivation process comprising; reactivating the identified service object from the serialized data, and repeat the reactivation process for each associated service object necessary for a service function of the identified service object, thereby creating a replacement set of reactivated service objects; and cache a respective memory pointer to each of the reactivated service objects so that said performing the reactivation process for an associated service object already reactivated causes the cached memory pointer to be returned to the associated service object to ensure the replacement set includes only one instance of each of the reactivated service objects. - View Dependent Claims (18, 19)
-
-
20. A computer readable storage medium storing computer-executable code that defines service object classes configured to provide service functions, wherein the code is configured when executed to perform operations including:
-
receive at least one service instigation message; responsive to receiving the at least one service instigation message, instantiate the service object classes to create service objects, the service objects implementing the service functions to deliver a service, each service object having associated state data, at least some of the service objects referencing other service objects; for each service object, generate an associated service object identifier which distinguishes that service object from any other service object; serialize the service objects to generate serialized data including, for each respective service object, the service object identifier, the associated state data and the service object identifier of any other service object referenced by that service object; store the serialized data; receive a service reactivation message identifying a deactivated service object to be reactivated; and perform a reactivation process for the identified service object, the reactivation process including; reactivating the identified service object from the serialized data, and repeating the reactivation process for each associated service object necessary for a service function of the identified service object, thereby creating a replacement set of reactivated service objects; and caching a respective memory pointer to each of the reactivated service objects so that said performing the reactivation process for an associated service object already reactivated causes the cached memory pointer to be returned to the associated service object to ensure the replacement set includes only one instance of each of the reactivated service objects.
-
Specification