Method and system for caching presentation data of a source object in a presentation cache
First Claim
1. A method in a computer system for caching presentation data of a source object, the presentation data for rendering a representation of the source object, the computer system having client code and object handler code, the source object having server code for communicating with the object handler code, the method comprising the computer-implemented steps of:
- under control of the client code, invoking the object handler code;
under control of the invoked object handler code, instantiating a presentation cache object having presentation cache code and having a plurality of entries;
under control of the client code, requesting the presentation cache code of the instantiated cache object to cache presentation data in a plurality of specified presentation formats;
under control of the presentation cache code, in response to the request to cache presentation data,requesting presentation data from the server code in the plurality of specified presentation formats;
receiving the requested presentation data in the plurality of specified presentation formats from the server code; and
storing each of the received presentation data in the specified presentation format in an entry in the presentation cache object;
under control of the client code, invoking the object handler code to request presentation data in one of the plurality of specified presentation formats;
under control of the invoked object handler code and in response to the request for presentation data,determining which entry in the presentation cache contains the requested presentation data;
retrieving the stored presentation data from the determined entry in the presentation cache; and
sending the retrieved presentation data to the client code; and
under control of the client code,receiving the sent presentation data from the object handler code; and
rendering the received preparation data to represent the source object.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for retrieving and maintaining presentation data in a presentation cache is provided. In a preferred embodiment, a presentation cache object provides a presentation cache with multiple cache entries. Each entry contains an indication of the format of the presentation data and the presentation data stored in that particular format. In addition, other information, such as the advisees of advisory connections for notification of cache updates, can be maintained. The presentation cache object responds to requests for retrieving source object data by returning presentation data cached within the presentation cache when it is available. In addition, the presentation cache object determines when it should delegate requests to the source object and when it can satisfy them on its own. The presentation cache object can return presentation data to a requesting client program even if the server program implementing the source object is unavailable or not running. The presentation cache object can also choose to persistently store its cache entries so that the presentation cache is maintained when the source object is closed. In addition, client programs can provide control over the frequency and subject of presentation data updates within the presentation cache.
64 Citations
44 Claims
-
1. A method in a computer system for caching presentation data of a source object, the presentation data for rendering a representation of the source object, the computer system having client code and object handler code, the source object having server code for communicating with the object handler code, the method comprising the computer-implemented steps of:
-
under control of the client code, invoking the object handler code; under control of the invoked object handler code, instantiating a presentation cache object having presentation cache code and having a plurality of entries; under control of the client code, requesting the presentation cache code of the instantiated cache object to cache presentation data in a plurality of specified presentation formats; under control of the presentation cache code, in response to the request to cache presentation data, requesting presentation data from the server code in the plurality of specified presentation formats; receiving the requested presentation data in the plurality of specified presentation formats from the server code; and storing each of the received presentation data in the specified presentation format in an entry in the presentation cache object; under control of the client code, invoking the object handler code to request presentation data in one of the plurality of specified presentation formats; under control of the invoked object handler code and in response to the request for presentation data, determining which entry in the presentation cache contains the requested presentation data; retrieving the stored presentation data from the determined entry in the presentation cache; and sending the retrieved presentation data to the client code; and under control of the client code, receiving the sent presentation data from the object handler code; and rendering the received preparation data to represent the source object.
-
-
2. A method in a computer system for caching presentation data for a source object, the presentation data for rendering a representation of the source object, the computer system having a client object, the method comprising the computer-implemented steps of:
-
instantiating a presentation cache object of a presentation cache class having presentation cache code for controlling contents of the presentation cache object; under control of the client object, requesting the instantiated presentation cache object to cache presentation data in a specified presentation format; and under control of the presentation cache code of the instantiated presentation cache object, receiving the request from the client object to cache presentation data in the specified presentation format; requesting presentation data from the source object in accordance with the specified presentation format received in the request; receiving the requested presentation data from the server code; and storing the received presentation data in the presentation cache object, wherein the stored presentation data is retrieved from the presentation cache object by executing the presentation cache code to access the cached presentation data. - View Dependent Claims (3, 4)
-
-
5. A method in a computer system for caching presentation data of a source object in a presentation cache, the presentation data for rendering a representation of the source object, the source object having object handler code, the computer system having client code with a code address space in which the client code is executed, the method comprising the computer-implemented steps of:
-
loading the object handler code in the code address space of the client code; allocating the presentation cache in the code address space of the client code; and under control of the loaded object handler code, requesting presentation data from the source object in a plurality of presentation formats; receiving the requested presentation data in the plurality of presentation formats from the source object; storing the received presentation data in a plurality of entries in the presentation cache, each entry corresponding to the received presentation data for one of the plurality of presentation formats; and upon receiving a request from the client code for presentation data in a specified one of the plurality of presentation formats, retrieving stored presentation data from one of the plurality of entries in the presentation cache object that corresponds to the specified one of the plurality of presentation formats so that the retrieved presentation data can be rendered by the client code to represent the source object. - View Dependent Claims (6, 7, 8, 9)
-
-
10. A method in a computer system for caching presentation data for a source object, the presentation data for rendering a representation of the source object, the source object having object handler code, the computer system having client code with a code address space in which the client code is executed, the method comprising the computer-implemented steps of:
-
loading the object handler code in the code address space of the client code; allocating a presentation cache in the code address space of the client code; under control of the client code, requesting the loaded object handler code to cache presentation data in a specified presentation format; and under control of the loaded object handler code, requesting from the source object presentation data in the specified presentation format; receiving from the source object the requested presentation data; and storing the received presentation data in the presentation cache so that the stored presentation data can be retrieved and rendered to represent the source object. - View Dependent Claims (11, 12, 13)
-
-
14. A method in a computer system for caching presentation data for a source object, the source object having object handler code, the computer system having client code with a code address space in which the client code is executed, the method comprising the computer-implemented steps of:
-
loading the object handler code in the code address space of the client code; allocating a presentation cache in the code address space of the client code; under control of the client code, requesting the loaded object handler code to cache presentation data having a specified data format and specified context characteristics; and under control of the loaded object handler code, requesting presentation data from the source object in accordance with the specified data format and context characteristics; receiving the requested presentation data from the source object; and storing the received presentation data in the presentation cache. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A method in a computer system for caching presentation data of a source object in a presentation cache object, the computer system having a client object, the method comprising the computer-implemented steps of:
-
under control of the client object, requesting the presentation cache object to cache presentation data in a specified presentation format; and indicating advisory information to the presentation cache object indicating when the client object is to be advised of changes in the presentation cache object; and under control of the presentation cache object, receiving the request to cache presentation data in the specified presentation format; receiving the indicated advisory information; requesting presentation data from the source object in the specified presentation format; receiving the requested presentation data from the source object; storing the received presentation data in the presentation cache object; and advising the client object of the presence of the cached presentation data in accordance with the indicated advisory information. - View Dependent Claims (25, 26, 27, 28)
-
-
29. A computer system for caching presentation data comprising:
-
source object that, in response to receiving a request for presentation data in a requested presentation format, returns presentation data in the requested presentation format; presentation cache object having a plurality of cache entries, each cache entry corresponding to a presentation format; and object handler that, in response to being invoked, instantiates the presentation cache object; requests presentation data from the source object in a plurality of presentation formats; in response to receiving presentation data from the source object in one of the requested plurality of presentation formats, stores the received presentation data in the cache entry corresponding to the presentation format of the received presentation data; and in response to receiving a request for presentation data in a specified presentation format, retrieves the stored presentation data from one of the plurality of cache entries that corresponds to the specified presentation format, so that the retrieved presentation data can be rendered to provide a representation of the source object. - View Dependent Claims (30, 31, 32, 33, 34)
-
-
35. A computer-readable memory medium containing instructions for controlling a computer processor to cache presentation data of a source object in a presentation cache object, the presentation data for rendering a representation of the source object, by performing the steps of:
-
requesting the source object to provide presentation data in a plurality of presentation formats; receiving from the source object the requested presentation data in the plurality of presentation formats; and storing the received presentation data in the plurality of formats in the presentation cache object, wherein, when a request to retrieve data is received by the presentation cache object in a specified presentation format, the presentation data in the specified presentation format is retrieved from the presentation cache object and the retrieved presentation data is rendered to represent the source object; wherein the computer-readable memory medium further comprising the steps of; determining whether the source object is available for receiving requests; when the source object is available for receiving requests, requesting from the source object presentation data in one of the plurality of formats; and when the source object is unavailable for receiving requests, retrieving stored presentation data in the one of the plurality of formats from the presentation cache. - View Dependent Claims (36, 37)
-
-
38. A computer-readable medium containing instructions for causing a computer system to cache for cache presentation data of a source object in a presentation cache object, by:
-
under control of the presentation cache object, requesting presentation data from the source object according to a specified data format and according to specified context characteristics; receiving from the source object the requested presentation data according to the specified data format and according to the specified context characteristics; storing the received presentation data in the presentation cache object; and upon receiving a request for presentation data in accordance with the specified data format and the specified context characteristics, retrieving the stored presentation data from the presentation cache object; wherein the specified context characteristics include device information that is requested in the same request to the source object as the specified data format and wherein the step of receiving from the source object the requested presentation data receives presentation data arranged according to the device information; wherein the specified context characteristics include view information and wherein the step of receiving from the source object the requested presentation data receives presentation data arranged according to the view information. - View Dependent Claims (39, 40, 41, 42, 43, 44)
-
Specification