Protocol agnostic database change tracking
First Claim
Patent Images
1. A computer-implemented method for syncing data from a device to a plurality of sync devices on a per device basis, the device and the plurality of sync devices each having a data store for storing data, the device having multiple bitmaps facilitating syncing the data from the device to the plurality of sync devices, the method comprising:
- starting a first sync session for syncing data from the device to a first sync device;
updating, based on a first bitmap stored in the device, data stored in the first sync device with the corresponding data stored in the device, the first bitmap comprising information indicative of change of the data when the data in the device is modified;
creating a second bitmap in the device by preserving the information stored in the first bitmap in the second bitmap;
clearing the first bitmap in the device after the first sync session is completed;
starting a second sync session for syncing the data from the device to a second sync device, wherein;
at least some of the data in the device has been modified before the second sync session; and
the information in the first bitmap is updated to indicate data change when the data in the device are modified;
determining changes to data to be updated in the second sync device based on a combination of the updated first bitmap and the second bitmap, wherein the combination comprises;
information from the second bitmap indicative of data change before the first sync session is performed; and
information from the first bitmap indicative of data change during a time period from the first sync session to the second sync session; and
updating data in the second sync device based on the determined changes.
2 Assignments
0 Petitions
Accused Products
Abstract
An efficient mechanism is provided to track and collect changes that have occurred in a database since a given point in time in a manner that is accessible and usable to systems that implement synchronization protocols, has a minimal impact on the performance of the database, and allows the identification of small pieces of data as changed.
16 Citations
14 Claims
-
1. A computer-implemented method for syncing data from a device to a plurality of sync devices on a per device basis, the device and the plurality of sync devices each having a data store for storing data, the device having multiple bitmaps facilitating syncing the data from the device to the plurality of sync devices, the method comprising:
-
starting a first sync session for syncing data from the device to a first sync device; updating, based on a first bitmap stored in the device, data stored in the first sync device with the corresponding data stored in the device, the first bitmap comprising information indicative of change of the data when the data in the device is modified; creating a second bitmap in the device by preserving the information stored in the first bitmap in the second bitmap; clearing the first bitmap in the device after the first sync session is completed; starting a second sync session for syncing the data from the device to a second sync device, wherein; at least some of the data in the device has been modified before the second sync session; and the information in the first bitmap is updated to indicate data change when the data in the device are modified; determining changes to data to be updated in the second sync device based on a combination of the updated first bitmap and the second bitmap, wherein the combination comprises; information from the second bitmap indicative of data change before the first sync session is performed; and information from the first bitmap indicative of data change during a time period from the first sync session to the second sync session; and updating data in the second sync device based on the determined changes. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-readable storage medium having stored thereon computer-executable instructions for performing a method of syncing data from a device to a plurality of sync devices on a per device basis, the instructions, when executed on a computing device, causing the computing device to perform a method, the method comprising:
-
starting a first sync session for syncing data from the device to a first sync device; updating, based on a first bitmap stored in the device, data stored in the first sync device with the corresponding data stored in the device, the first bitmap comprising information indicative of change of the data when the data in the device is modified; creating a second bitmap in the device by preserving the information stored in the first bitmap in the second bitmap; clearing the first bitmap in the device after the first sync session is completed; starting a second sync session for syncing the data from the device to a second sync device, wherein; at least some of the data in the first device have been modified before the second sync session; and the information in the first bitmap is updated to indicate data change when the data in the first device are modified; determining changes to data to be updated in the second sync device based on a combination of the first bitmap and the second bitmap, wherein the combination comprises; information from the second bitmap indicative of data change before the first sync session is performed; and information from the first bitmap indicative of data change during a time period from the first sync session to the second sync session; and updating data in the second sync device based on the determined changes. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification