×

Method and apparatus for real time creation and modification of a change log for multi-server synchronization

  • US 6,976,038 B2
  • Filed: 10/17/2002
  • Issued: 12/13/2005
  • Est. Priority Date: 10/17/2002
  • Status: Active Grant
First Claim
Patent Images

1. A method for synchronizing a database utilized by a client device with a plurality of servers in which one server in the plurality of servers has the database, the method comprising:

  • utilizing a change log with a client database for synchronizing the database;

    identifying dirty bits set in the client database to form a group of identified database modifications, wherein the dirty bits indicate whether a record in the client database has been inserted, modified, or deleted;

    modifying the change log based on the group of identified database modifications, wherein the change log is used to synchronize the database;

    clearing identified dirty bits;

    sending changes to the one server having the database, wherein the changes are appended to the change log starting from a last change index in the change log that is associated with the one server;

    receiving modifications from the one server after sending the changes;

    adding the modifications received from the one server to the client database, wherein the added data entries are marked using dirty bits;

    identifying the dirty bits set in the client database to form another group of identified database modifications and clearing the dirty bits; and

    modifying the change log based on the another group of identified database modifications to append the identified database modifications to the change log, wherein the change log is used to synchronize the database.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×