Database synchronization
First Claim
1. A method for synchronizing a first data storage and a second data storage, the method comprising:
- maintaining by a processor a first change count and a second change count for a data item a first data storage, wherein the first change count maintained the processor indicates a number of changes made to the data item at the first data storage, wherein the second change count maintained by the processor indicates a number of changes made to a corresponding data item at a second data storage; and
responsive to a synchronization trigger that is generated when the data item is changed and a data connection is available;
receiving an identifier for the changed data item along with a first change count and a second change count maintained at the second data storage;
detecting a conflict in the data item between the first and second data storages based on the maintained first and second change counts and the received first and second change counts; and
resolving the conflict according to a set of predetermined rules,wherein applicable rules of the set of predetermined rules are displayed as a menu on a user interface for selection by a user; and
wherein one application is responsible for receiving the identifier for the changed data item and another application is responsible for the changes made to the data item at the first data storage.
5 Assignments
0 Petitions
Accused Products
Abstract
Synchronization of data items between parties A and B. A maintains copies of data items and an A change count and a B change count for each data item. The A change count indicates the number of changes made by A, and the B change count indicates the number of changes made by B and known to A. After a synchronization trigger, A sends to B each data item that A has changed, plus the A change count and the B. change count for each sent data item. A receives from B each data item that B has changed, plus the A change count and the B change count for each received data item. A detects a conflict if the received A change count differs from the maintained A change count.
110 Citations
17 Claims
-
1. A method for synchronizing a first data storage and a second data storage, the method comprising:
-
maintaining by a processor a first change count and a second change count for a data item a first data storage, wherein the first change count maintained the processor indicates a number of changes made to the data item at the first data storage, wherein the second change count maintained by the processor indicates a number of changes made to a corresponding data item at a second data storage; and responsive to a synchronization trigger that is generated when the data item is changed and a data connection is available; receiving an identifier for the changed data item along with a first change count and a second change count maintained at the second data storage; detecting a conflict in the data item between the first and second data storages based on the maintained first and second change counts and the received first and second change counts; and resolving the conflict according to a set of predetermined rules, wherein applicable rules of the set of predetermined rules are displayed as a menu on a user interface for selection by a user; and wherein one application is responsible for receiving the identifier for the changed data item and another application is responsible for the changes made to the data item at the first data storage. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for performing a method for synchronizing a first data storage and a second data storage over a mobile communications network, the system comprising:
-
means for maintaining in a first data storage a first change count and a second change count for a data item in the first data storage, wherein the first change count maintained in the first data storage indicates a number of changes made to the data item in the first data storage, wherein the second change count maintained in the first data storage indicates a number of changes made to a corresponding data item maintained in a second data storage; means for receiving an indication that the data item in the second data storage has changed after a synchronization event, the indication including an identifier of the changed data item, means for requesting the changed data item; and means for resolving a conflict detected from the first and second change counts according to a set of predetermined rules; wherein applicable rules of the set of predetermined rules are displayed as menu selections on a user interface for selection by a user; and wherein one application is responsible for receiving an indication that the data item in the second data storage has changed and another application is responsible for the changes made to the data item at the first data storage. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. An apparatus for synchronizing a first data storage and a second data storage, the apparatus comprising:
-
a memory configured to; maintain a first change count and a second change count for each data item in a first data storage, wherein the first change count indicates a number of changes made to the data item in the first data storage, wherein the second change count indicates a number of changes made to a corresponding data item in a second data storage; a processor configured to execute instructions to; detect a conflict in the data item between the first and second data storages based on the first and second change counts, in response to a synchronization trigger; and resolve the conflict according to a set of predetermined rules, wherein applicable rules of the set of predetermined rules are displayed as menu selections on a user interface for selection by a user; and wherein one application is responsible for receiving an indication that the data item in the second data storage has changed and another application is responsible for the changes made to the data item in the first data storage.
-
Specification