Database synchronization
AssigneeSeven Networks International Oy
InventorHeikki Ylinen
Life of this patent
Estimating the term…
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.
Claims10
A method for synchronizing a database between an A party and a B party, wherein the database contains data items to be3 synchronized, the method comprising:
- maintaining in the A party a copy of the database and an indication of the latest synchronization event between th3e A party and the B party;
- maintaining in the A party an A change count and a B change count in respect of each data item to be synchronized;
- wherein the A change count indicates the number of changes made to the data item by the A party, and the B change count indicates the number of changes made to the data item by the B party and known to the A party;
- in response to a synchronization trigger
- sending from the A party to the B party an indication of each data item that the A party has changed after the latest synchronization event, plus the A change count and the B change count in respect of each sent data item,
- receiving at the A party from the B party an indication of each data item that the B party has changed after the latest synchronization event, plus the A change count and the B change count in respect of each received data item;
- detecting a conflict if the received A change count differs from the maintained A change count.
An apparatus adapted to operate as an A party in a database synchronization with a B party wherein the database contains data items to be synchronized, the apparatus comprising:
- means for maintaining a copy of the database and an indication of the latest synchronization event between the A party and the B party;
- means for maintaining an A change count and a B change count in respect of each data item to be synchronized;
- wherein the A change count indicates the number of changes made to the data item by the A party, and the B change count indicates the number of changes made to the data item by the B party and known to the A party;
- means responsive to a synchronization trigger;
- for sending from the A party to the B party an indication for each data item that the A party has changed after the latest synchronization event, plus the A change count and the B change count in respect of each sent data items;
- for receiving at the A party from the B party an indication of each data item that the B party has changed after the latest synchronization event, plus the a change count and the B change count in respect of each received data item;
- and
- means for detecting a conflict if the received A change count differs from the maintained A change count.
Dependencies are inferred from the claim text.