Method and system for data synchronization, and apparatus thereof
First Claim
1. In a server configured to synchronize data with a client database, a data synchronization method thereof, comprising:
- receiving, from a client, a data characteristic verification message that includes a plurality of Local Unique Identifiers (LUIDs) with corresponding data fingerprints that each represent portions of data in the client database for synchronization with a server database, wherein each of the corresponding data fingerprints uniquely identify contents of the portions of data in that different data has different data fingerprints and identical data has identical data fingerprints;
based on the plurality of LUIDs, comparing one or more of the corresponding data fingerprints included within the data characteristic verification message with one or more data fingerprints stored on the server database;
based on the comparison, determining at least one of the portions of data on the client database that needs to be synchronized with the server database; and
based on the determination, sending the client a data characteristic verification response that includes at least one of the plurality of LUIDs corresponding to the at least one of the portions of data on the client database that needs to be synchronized, which indicates to the client what data to synchronize with the server database.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present disclosure disclose a data synchronization method, system and apparatuses thereof. The data synchronization method includes the following processes: sending, by a client, a data characteristic verification message carrying one or multiple data characteristics for data in a client database, to a server; comparing, by the server, the one or multiple data characteristics carried in the data characteristic verification message with the data characteristics for the data in a server database; determining, by the server, the data to be synchronized based on a result of the comparing and sending the client a data characteristic verification response carrying information indicating the determined data to be synchronized; and determining, by the client, the data to be synchronized according to the information in the data characteristic verification response, and synchronizing the determined data to be synchronized with the server. The method, system and apparatus thereof provided by the embodiments of the present disclosure can reduce the amount of data to be transmitted in data synchronization, and improve the efficiency of data synchronization.
17 Citations
24 Claims
-
1. In a server configured to synchronize data with a client database, a data synchronization method thereof, comprising:
-
receiving, from a client, a data characteristic verification message that includes a plurality of Local Unique Identifiers (LUIDs) with corresponding data fingerprints that each represent portions of data in the client database for synchronization with a server database, wherein each of the corresponding data fingerprints uniquely identify contents of the portions of data in that different data has different data fingerprints and identical data has identical data fingerprints; based on the plurality of LUIDs, comparing one or more of the corresponding data fingerprints included within the data characteristic verification message with one or more data fingerprints stored on the server database; based on the comparison, determining at least one of the portions of data on the client database that needs to be synchronized with the server database; and based on the determination, sending the client a data characteristic verification response that includes at least one of the plurality of LUIDs corresponding to the at least one of the portions of data on the client database that needs to be synchronized, which indicates to the client what data to synchronize with the server database. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A computer program product for use in a server used to synchronize a client database, wherein the computer program product comprising one or more computer executable instructions stored on a non-transitory computer readable medium such that when executed by a processor cause the server to perform the following:
-
receiving, from a client, a data characteristic verification message that includes a plurality of Local Unique Identifiers (LUIDs) with corresponding data fingerprints that each represent portions of data in the client database for synchronization with a server database, wherein each of the corresponding data fingerprints uniquely identify contents of the portions of data in that different data has different data fingerprints and identical data has identical data fingerprints; based on the plurality of LUIDs, comparing one or more of the corresponding data fingerprints included within the data characteristic verification message with one or more data fingerprints stored on the server database; based on the comparison, determining at least one of the portions of data on the client database that needs to be synchronized with the server database; and based on the determination, sending the client a data characteristic verification response that includes at least one of the plurality of LUIDs corresponding to the at least one of the portions of data on the client database that needs to be synchronized, which indicates to the client what data to synchronize with the server database.
-
Specification