METHOD AND SYSTEM FOR DATA SYNCHRONIZATION, AND APPARATUS THEREOF
First Claim
1. A data synchronization method, comprising:
- 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.
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.
91 Citations
41 Claims
-
1. A data synchronization method, comprising:
-
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. - 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, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34)
-
-
35. A data synchronization system, comprising:
-
a client, configured to be connected to a database for the client; and a server, configured to synchronize data with the data on the client, and configured to be connected to the database for the server;
whereineach of the client and the server comprises a synchronization module, a data processing module connected to the synchronization module and the database, and a data characteristic information processing module connected to the synchronization module, the data processing module is configured to send the data in the database to the synchronization module, or receive a data synchronization message from the synchronization module, and modify or add data in the database based on synchronization data in the data synchronization message; the data characteristic information processing module is configured to set up data characteristics for the data in the synchronization module, and send the data characteristics to the synchronization module; and the synchronization module connected to the server or the client, is configured to compare the data characteristics of the data sent from the server or the client with the data characteristics set up by the data characteristic information processing module for corresponding data, send result of the comparison to the server or the client, receive the data synchronization message carrying the synchronization data from the server or the client, and forward the data synchronization message to the data processing module;
or the synchronization module is configured to send the data characteristic set up by the data characteristic information processing module to the server or the client, receive the result of the comparison from the server or the client, and send data synchronization message carrying synchronization data to the server or the client according to the result of the comparison, so that the server or the client synchronizes the data on the server or the client. - View Dependent Claims (36, 37)
-
-
38. A data synchronization client, comprising:
- a database for the client, a synchronization module, a data characteristic information processing module connected to the synchronization module, and a data processing module connected to the synchronization module and the database for the client, wherein
the data processing module is configured to send data in the database to the synchronization module, or receive a data synchronization message from the synchronization module, and modify or add data in the database based on the synchronization data in the data synchronization message; the data characteristic information processing module is configured to set up data characteristics for the data in the synchronization module, and send the data characteristics to the synchronization module; and the synchronization module is configured to compare the data characteristics of the data sent from a server with the data characteristics set up by the data characteristic information processing module for corresponding data, send a result of the comparison to the server, receive the data synchronization message carrying the synchronization data from the server, and forward the data synchronization message to the data processing module;
or the synchronization module is configured to send the data characteristic set up by the data characteristic information processing module to the server, receive the result of the comparison from the server, and send data synchronization message carrying synchronization data to the server according to the result of the comparison so that the server can synchronize the data on the server. - View Dependent Claims (39)
- a database for the client, a synchronization module, a data characteristic information processing module connected to the synchronization module, and a data processing module connected to the synchronization module and the database for the client, wherein
-
40. A data synchronization server, comprising:
- a database for the server, a synchronization module, a data characteristic information processing module connected to the synchronization module, and a data processing module connected to the synchronization module and the database for the server, wherein
the data processing module is configured to send data in the database to the synchronization module, or receive a data synchronization message from the synchronization module, and modify or add data in the database based on the synchronization data in the data synchronization message; the data characteristic information processing module is configured to set up data characteristics for the data in the synchronization module, and send the data characteristics to the synchronization module; and the synchronization module is configured to compare the data characteristics of the data sent from a client with the data characteristics set up by the data characteristic information processing module for corresponding data, send a result of the comparison to the client, receive the data synchronization message carrying the synchronization data from the client, and forward the data synchronization message to the data processing module;
or the synchronization module is configured to send the data characteristic set up by the data characteristic information processing module to the client, receive the result of the comparison from the client, and send the data synchronization message carrying synchronization data to the client according to the result of the comparison, so that the client synchronizes the data on the client. - View Dependent Claims (41)
- a database for the server, a synchronization module, a data characteristic information processing module connected to the synchronization module, and a data processing module connected to the synchronization module and the database for the server, wherein
Specification