Method and system for data synchronization, and apparatus thereof
First Claim
1. A data synchronization method, comprising:
- receiving, by a server, a data characteristic verification message that includes a plurality of Identifiers (IDs) with corresponding data fingerprints that each represent portions of data in a client database for synchronization with a server database, wherein each of the corresponding data fingerprints uniquely identify contents of the portions of data;
comparing, by the server, 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, wherein the data fingerprints stored on the server database represent the portions of data having the same IDs as the portions of data in the data characteristic verification message;
in accordance with the comparing, determining, by the server, at least one of the portions of data on the client database that needs to be synchronized with the server database; and
in accordance with the determining, sending, by the server, to the client a data characteristic verification response that includes at least one of the plurality of IDs 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.
0 Assignments
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. 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.
-
Citations
21 Claims
-
1. A data synchronization method, comprising:
-
receiving, by a server, a data characteristic verification message that includes a plurality of Identifiers (IDs) with corresponding data fingerprints that each represent portions of data in a client database for synchronization with a server database, wherein each of the corresponding data fingerprints uniquely identify contents of the portions of data; comparing, by the server, 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, wherein the data fingerprints stored on the server database represent the portions of data having the same IDs as the portions of data in the data characteristic verification message; in accordance with the comparing, determining, by the server, at least one of the portions of data on the client database that needs to be synchronized with the server database; and in accordance with the determining, sending, by the server, to the client a data characteristic verification response that includes at least one of the plurality of IDs 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. A computer program product for use in a server used to synchronize a client database, wherein the computer program product comprises 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, by a server, a data characteristic verification message that includes a plurality of Identifiers (IDs) with corresponding data fingerprints that each represent portions of data in a client database for synchronization with a server database, wherein each of the corresponding data fingerprints uniquely identify contents of the portions of data; comparing, by the server, 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, wherein the data fingerprints stored on the server database represent the portions of data having the same IDs as the portions of data in the data characteristic verification message; in accordance with the comparing, determining, by the server, at least one of the portions of data on the client database that needs to be synchronized with the server database; and in accordance with the determination, sending, by the server, to the client a data characteristic verification response that includes at least one of the plurality of IDs 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