EP1024441A2

Method and apparatus for synchronizing multiple databases

Abstract

A database synchronization system is disclosed. In the database synchronization system, a synchronization database (355) is created. The synchronization database stores a relative sent time that specifies when each database last attempted to send records to each other database, a relative receive time that specifies when each database last attempted to received records from each other database, and a relative record modified time that specifies when each record in each database was last created or modified. The synchronization system operates by comparing each record modified time to the relative sent time and the relative receive time. Records are only sent from a first database (31 5) to a second database (325) if the relative record modified time for that record designates a later time than the relative sent time that specifies when the first database last sent records to the second database and the relative record modified time specifies an earlier time than the relative receive time that specifies the time the first database last received records from the second database. To eliminate possible loops, identical records are discarded.

EP1024441A2, drawing sheet 1
Sheet 1 of 7

Term

Term ended

Projected expiry passed 27 January 2020, 6.7 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

10 claims: 6 independent, 4 dependent

  1. 1
    A method of synchronizing multiple databases, said method comprising:- storing a first record in a first database;initiating a synchronization between said first database and a second database;and sending said first record to said second database if said first record was created or modified after last sending records from said first database to said second database and said first record was created or modified before last receiving records from said second database into said first database.
  2. 4
    A method as claimed in any preceding claim further comprising:- initiating a synchronization between said first database and a third database;and sending said first record to said third database if said first record was created or modified after last sending records from said first database to said third database and said first record was created or modified before last receiving records from said third database into said first database.
  3. 5
    A method as claimed in any one of claims 1 to 3 further comprising:- initiating a synchronization between said second database and a third database;and sending said first record from said second database to said third database if said first record was created or modified after last sending records from said second database to said third database and said first record was created or modified before last receiving records from said third database into said second database.
  4. 6
    A synchronization system for synchronizing records in a first database and a second database, said system comprising:- a synchronization database, said synchronization database comprising:- a relative first database to second database value, said relative first database to second database value storing a first relative time value specifying when a first database last attempted to send records to a second database;a relative first database from second database value, said relative first database from second database value storing a second relative time value specifying when said first database last attempted to receive records from said second database;at least one record modified value, each record modified value corresponding to each record in each database, said record modified value storing a third relative time value that specifies when said corresponding record was created or modified;and a synchronization module;said synchronization module sending a first record from said first database to said second database if a first record modified value corresponding to said first record designates a later time than said relative first database to second database value and said first record modified value designates an earlier time than said relative first database from second database value.
  5. 8
    A method of synchronizing multiple databases, said method comprising:- initiating a synchronization among said multiple databases, said multiple databases comprising at least two database, a first database and a second database;examining a first record in said first database to determine if said first record was created or modified after a last time said first database sent records to said second database and before a last time said first database received records from said second database;and sending a copy of said first record to said second database when said first record was created or modified after the last time said first database sent records to said second database and before the last time said first database received records from said second database.
  6. 10
    A synchronization system for synchronizing multiple databases, said system comprising:- a data storage device for a first database and a second database;a memory for a synchronization module;a processor coupled to said memory and said data storage device, the processor causing said synchronization module to:- examine a first record in said first database to determine if said first record was created or modified after a last time said first database sent records to said second database and before a last time said first database received records from said second database;send a copy of said first record to said second database when said first record was created or modified after the last time said first database sent records to said second database and before the last time said first database received records from said second dataoase;examine a second record in said second database to determine if said second record was created or modified after a last time said second database sent records to said first database and before a last time said second database receive records from said first database;and send a copy of said second record to said first database when said second record was created or modified after a last time said second database sent records to said first database and before a last time said second database receive records from said first database.