Method for Finding, Updating and Synchronizing Modified Record Item and Data Synchronizing Device
First Claim
Patent Images
1. A method for searching a change log item, comprising:
- in a change log of a data synchronizing device, ordering change log items according to numerical values of entity identifiers contained in the items;
in the data synchronizing device, when data updating occurs in an entity in a database of the data synchronizing device, using a search algorithm of elements in an ordered sequence to search out whether a change log item containing an entity identifier of the entity exists in the change log.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a method for searching a change log item, which includes: in a change log of a data synchronizing device, ordering change log items according to numerical values of entity identifiers contained in the items; in the data synchronizing device, when data updating occurs in an entity in a database of the data synchronizing device, using a search algorithm of elements in an ordered sequence to search out whether a change log item containing an entity identifier of the entity exists in the change log. The present invention also provides a data synchronizing device.
21 Citations
15 Claims
-
1. A method for searching a change log item, comprising:
-
in a change log of a data synchronizing device, ordering change log items according to numerical values of entity identifiers contained in the items; in the data synchronizing device, when data updating occurs in an entity in a database of the data synchronizing device, using a search algorithm of elements in an ordered sequence to search out whether a change log item containing an entity identifier of the entity exists in the change log. - View Dependent Claims (2)
-
-
3. A method for updating a change log item, comprising:
-
in a change log of a data synchronizing device, ordering change log items according to numerical values of entity identifiers contained in the items; in the data synchronizing device, when data updating occurs in an entity in a database of the data synchronizing device, using a search algorithm of elements in an ordered sequence to search out whether a change log item containing an entity identifier of the entity exists in the change log;
if yes, according to a superposition policy, modifying original updating information in the change log item as current updating information;
if not, adding a change log item corresponding to the current updating into the change log, and still ordering the change log items in the change log for which the addition is completed according to the numerical values of the entity identifiers contained in the items. - View Dependent Claims (4, 5, 6, 7)
-
-
8. A method for synchronizing a change log item, comprising:
when synchronization is performed, a data synchronizing device synchronizing data corresponding to change log items saved in a local change log to an opposite end device;
after the synchronization is completed, the data synchronizing device saving all change log items which are synchronized unsuccessfully, and ordering all the change log items which are synchronized unsuccessfully according to numerical values of entity identifiers contained in the items.- View Dependent Claims (9)
-
10. A data synchronizing device, comprising:
- a storage unit and a search unit;
the storage unit is configured to;
save a change log, and order change log items according to numerical values of entity identifiers contained in the items in the change log;the search unit is configured to;
when data updating occurs in an entity in a database of the data synchronizing device, use a search algorithm of elements in an ordered sequence to search out whether a change log item containing an entity identifier of the entity exists in the change log. - View Dependent Claims (11, 12, 13, 14)
- a storage unit and a search unit;
-
15. A data synchronizing device, comprising a synchronization unit, wherein:
the synchronization unit is configured to;
when data synchronization is performed with an opposite end device, synchronize data corresponding to change log items saved in a change log to the opposite end device; and
after the synchronization is completed, save all change log items which are synchronized unsuccessfully, and order all the change log items which are synchronized unsuccessfully according to numerical values of entity identifiers contained in the items.
Specification