Data caching for mobile applications
First Claim
1. A computer implemented method for cache synchronization, comprising:
- responsive to a request received at a device from a mobile device for content stored at a data source server, performing operations comprising;
comparing data in a cache of said device with data stored at said data source server, wherein the cache includes a plurality of partitions, each partition being configured to include information from a plurality of data source servers; and
synchronizing one or more partitions of said plurality of partitions with said data source server independently of other partitions of the plurality of partitions, wherein each partition of said one or more partitions contains at least a portion of a mobile business object (MBO) metadata of a particular data-requesting mobile device;
reviewing a caching policy associated with said cache; and
changing the caching policy based on the reviewing, comprising;
assigning data in said cache to a coherence window, wherein the coherence window indicates whether the data has expired;
reviewing said coherence window when said data in said cache is accessed; and
updating data in said cache based on said coherence window, comprising;
updating a row in a cache table in said cache;
updating a timestamp associated with said row; and
updating a marker identifying the updating of the row in the cache table in said cache;
wherein said device, said mobile device, and said data source server are different devices.
1 Assignment
0 Petitions
Accused Products
Abstract
Systems, methods, computer program product embodiments and combinations and sub-combinations thereof for data caching and cache synchronization are described herein. An embodiment includes comparing data in a cache with data stored at a data source and determining database operations needed to synchronize one or more partitions of the cache with the data source. Each cache partition is associated with mobile business object (MBO) metadata of a distinct mobile device and the determined database operations are executed to synchronize the partitions with the data source. By refreshing only those partitions which are pertinent to a given device, embodiments of the invention may increase parallelism by allowing multiple partitions to refresh concurrently. The embodiment further comprises reviewing a caching policy associated with the cache. The caching policy may be selected in a manner that reduces data traffic and redundant requests on the data source.
74 Citations
14 Claims
-
1. A computer implemented method for cache synchronization, comprising:
-
responsive to a request received at a device from a mobile device for content stored at a data source server, performing operations comprising; comparing data in a cache of said device with data stored at said data source server, wherein the cache includes a plurality of partitions, each partition being configured to include information from a plurality of data source servers; and synchronizing one or more partitions of said plurality of partitions with said data source server independently of other partitions of the plurality of partitions, wherein each partition of said one or more partitions contains at least a portion of a mobile business object (MBO) metadata of a particular data-requesting mobile device; reviewing a caching policy associated with said cache; and changing the caching policy based on the reviewing, comprising; assigning data in said cache to a coherence window, wherein the coherence window indicates whether the data has expired; reviewing said coherence window when said data in said cache is accessed; and updating data in said cache based on said coherence window, comprising; updating a row in a cache table in said cache; updating a timestamp associated with said row; and updating a marker identifying the updating of the row in the cache table in said cache; wherein said device, said mobile device, and said data source server are different devices. - View Dependent Claims (2, 3, 4, 5, 14)
-
-
6. A computer-based system for caching of data, comprising:
-
a processor; and a memory in communication with said processor, said memory storing a plurality of processing instructions that are configured to direct said processor to; responsive to a request received at a device from a mobile device for content stored at a data source server; compare data in a cache of said device with data stored at said data source server, wherein the cache includes a plurality of partitions, each partition being configured to include information from a plurality of data source servers; and synchronize one or more partitions of said plurality of partitions with said data source server independently of other partitions of the plurality of partitions, wherein each partition of said one or more partitions contains at least a portion of mobile business object (MBO) metadata of a particular data-requesting mobile device; review a caching policy associated with said cache; and change the caching policy based on the review, comprising; assign data in said cache to a coherence window, wherein the coherence window indicates whether the data has expired; review said coherence window when said data in said cache is accessed; and update data in said cache based on said coherence window, comprising; update a row in a cache table in said cache; update a timestamp associated with said row; and update a marker identifying the update of the row in the cache table in said cache; wherein said device, said mobile device, and said data source server are different devices. - View Dependent Claims (7)
-
-
8. An article of manufacture including a non transitory computer-readable medium having instructions stored thereon that, if executed by a computing device, cause said computing device to perform operations, the operations comprising:
-
responsive to a request received at a device from a mobile device for content stored at a data source server; comparing data in a cache of said device with data stored at said data source server, wherein the cache includes a plurality of partitions, each partition being configured to include information from a plurality of data source servers; and synchronizing one or more partitions of said plurality of partitions with said data source server independently of other partitions of the plurality of partitions, wherein each partition of said one or more partitions contains at least a portion of mobile business object (MBO) metadata of a particular data-requesting mobile device; reviewing a caching policy associated with said cache; and changing the caching policy based on the reviewing, comprising; assigning data in said cache to a coherence window, wherein the coherence window indicates whether the data has exired; reviewing said coherence window when said data in said cache is accessed; and updating data in said cache based on said coherence window, comprising; updating a row in a cache table in said cache; updating a timestamp associated with said row; and updating a marker identifying the updating of the row in the cache table in said cache; wherein said device, said mobile device, and said data source server are different devices. - View Dependent Claims (9, 10, 11, 12, 13)
-
Specification