Method and apparatus for synchronizing databases in portable communication devices
First Claim
1. A method for tracking changes to a database stored in a smart card associated with electronic equipment, the method comprising the steps of:
- storing, in both a memory of said electronic equipment and said smart card, a checksum associated with said database, wherein said electronic equipment includes a mobile phone;
making a change to said database;
comparing said checksum stored in said memory of said electronic equipment and said checksum stored in said smart card;
calculating, after said change, a modified checksum based on said database;
storing said modified checksum in said memory of said electronic equipment and in said smart card;
logging said change in a chance log in said electronic equipment;
flagging said change log as invalid if said checksums do not match as a result of said comparing step; and
synchronizing said database stored in said smart card with a corresponding database stored in another device using a method which is selected depending upon whether said change log is valid.
1 Assignment
0 Petitions
Accused Products
Abstract
A checksum is calculated on a database stored in a SIM card when changes are made to a database stored therein. This checksum can be stored in a mobile phone, e.g., with the change log. When synchronization between devices is to be performed, another checksum can be calculated on the database stored in the SIM card. If the stored checksum does not match the calculated checksum, then a change has occurred in the contents of the database that is not reflected in the change log. Accordingly, a full synchronization process can be performed wherein the database records in each device can be compared. If, on the other hand, the checksums match, then the change log accurately reflects any changes made to the database stored in the SIM card and the synchronization process can proceed more expediently using the change log.
-
Citations
3 Claims
-
1. A method for tracking changes to a database stored in a smart card associated with electronic equipment, the method comprising the steps of:
-
storing, in both a memory of said electronic equipment and said smart card, a checksum associated with said database, wherein said electronic equipment includes a mobile phone;
making a change to said database;
comparing said checksum stored in said memory of said electronic equipment and said checksum stored in said smart card;
calculating, after said change, a modified checksum based on said database;
storing said modified checksum in said memory of said electronic equipment and in said smart card;
logging said change in a chance log in said electronic equipment;
flagging said change log as invalid if said checksums do not match as a result of said comparing step; and
synchronizing said database stored in said smart card with a corresponding database stored in another device using a method which is selected depending upon whether said change log is valid.
-
-
2. A method for updating a change log associated with a database stored in a smart card, wherein said smart card is associated with electronic equipment and wherein said electronic equipment includes a mobile phone, the method comprising the steps of:
-
providing a first memory location and a second memory location for storing a first checksum and a second checksum, respectively;
determining, before a modification is made to said database, if said first and second checksums match;
selectively updating a change log with said modification based on a result of said determining step;
invalidating said change log if said first and second checksums do not match; and
synchronizing said database with a corresponding database stored in another device by comparing each element in said database and said corresponding database.
-
-
3. A method for updating a change log associated with a database, the method comprising the steps of:
-
providing a first memory location and a second memory location for storing a first checksum and a second checksum, respectively;
determining, before a modification is made to said database, if said first and second checksums match;
selectively updating a change log with said modification based on a result of said determining step;
invalidating said change log if said first and second checksums do not match; and
synchronizing said database with a corresponding database stored in another device by comparing each element in said database and said corresponding database, wherein said database is stored in a mobile phone and said another device is a personal computer.
-
Specification