Prefetching and caching persistent objects
First Claim
Patent Images
1. A computerized method for retrieving data for an object or related objects prior to an explicit request for access to the data by a computing application comprising the steps of:
- creating a structure context description identifying a structure context that comprises a set containing objects, wherein the objects have at least one attribute, wherein the structure context description is stored in a relationship table having a plurality of rows containing items that describe the structure context, wherein the structure context description contains enough information to retrieve all of the rows in the relationship table that describe all of the items in the structure context;
associating the structure context description with each object in the set, wherein the associating step associates the structure context description to each object in the set by creating a unique identifier between the structure context description and each object; and
fetching related object data for objects in the set by a data storage system from a physical storage system upon an access to an attribute of one object in the set, wherein the fetching step comprises first retrieving object data requested by the computing application using the attribute, returning the first requested object data to the requesting computing application, retrieving related object data to the first requested object data using the attribute, and placing in cache the related object data for future use by the application.
2 Assignments
0 Petitions
Accused Products
Abstract
Prefetching and caching persistent objects is disclosed. The system creates a structure context used to identify a set containing a first object and other related objects. The objects have attributes, where each attribute is identified by a name. Upon a fetch of an attribute in the first object, the system also fetches related data. The related data includes other attributes in the object, and attributes in the other objects of the set having the same name as the attribute fetched for the first object.
-
Citations
8 Claims
-
1. A computerized method for retrieving data for an object or related objects prior to an explicit request for access to the data by a computing application comprising the steps of:
-
creating a structure context description identifying a structure context that comprises a set containing objects, wherein the objects have at least one attribute, wherein the structure context description is stored in a relationship table having a plurality of rows containing items that describe the structure context, wherein the structure context description contains enough information to retrieve all of the rows in the relationship table that describe all of the items in the structure context;
associating the structure context description with each object in the set, wherein the associating step associates the structure context description to each object in the set by creating a unique identifier between the structure context description and each object; and
fetching related object data for objects in the set by a data storage system from a physical storage system upon an access to an attribute of one object in the set, wherein the fetching step comprises first retrieving object data requested by the computing application using the attribute, returning the first requested object data to the requesting computing application, retrieving related object data to the first requested object data using the attribute, and placing in cache the related object data for future use by the application. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computerized system comprising:
-
a computer comprising a processor, a memory, and a computer-readable medium operatively coupled together;
an operating environment executing in the processor from the computer readable medium;
a persistent storage system operative to store objects having attributes, structures, and structure contexts; and
a data storage system executing in the processor from the computer-readable medium and under the control of the operating environment, said data storage system operative to maintain objects in the persistent data storage system and further operative to retrieve data for an object or related objects prior to an explicit request for access to the data by a computing application, such that a first object for a requested data item is first retrieved and passed back to the computing application and remaining related objects to the requested data item are then retrieved and placed in a cache by the data storage system for future use by the requesting computing application.
-
-
7. A computer-readable medium having computer readable instructions to cause a computer to perform a method comprising:
-
creating a structure context description identifying a set containing at least one object, the object having an attribute, said attribute having a name, wherein the structure context description is stored in a relationship table having a plurality of rows containing items that describe the structure context, wherein the structure context description contains enough information to retrieve all of the rows in the relationship table that describe all of the items in the structure context;
associating the structure context description with each data item in the object, wherein the associating step associates the structure context description to each object in the set by creating a unique identifier between the structure context description and each object; and
fetching related object data for the object in the set by a data storage system from a physical storage system upon an access to an attribute of the object in the set, wherein the fetching step comprises first retrieving object data requested by the computing application using the attribute, returning the first requested object data to the requesting computing application, retrieving related object data to the first requested object data using the attribute, and placing in cache the related object data for future use by the application.
-
-
8. A computerize method for retrieving data for an object or related objects prior to an explicit request for access to the data by a computing application comprising the steps of:
-
creating a structure context description identifying a structure context that comprises a set containing objects, wherein the objects have at least one attribute, and wherein the structure context description contains enough information to retrieve related objects from the object set;
associating the structure context description with each object in the set, wherein the associating step associates the structure context description to each object in the set by creating a unique identifier between the structure context description and each object;
fetching related object data for objects in the set by a data storage system from a physical storage system upon an access to an attribute of one object in the set, wherein the fetching step comprises first retrieving object data requested by the computing application using the attribute, returning the first requested object data to the requesting computing application, retrieving related object data to the first requested object data using the attribute, and placing in cache the related object data for future use by the application; and
deleting the structure context after a predetermined length of time, wherein the predetermined length of time occurs when there are no objects in the object set that reference the structure context remembered by the structure context description.
-
Specification