摘要 |
Provided are a terminal side data synchronization device and method and a server side data synchronization device and method. The terminal side data synchronization device comprises: an obtaining unit, obtaining a database file in a terminal upon receiving a data synchronization request; a sending unit, sending the data synchronization request and the database file to a server, so that the server obtains data stored in the server according to the data synchronization request, generating a synchronous database file corresponding to the data synchronization request according to the database file and the data stored in the server, and sending the synchronous database file to the terminal; a receiving unit, receiving the synchronous database file sent by the server; and a replacing unit, replacing the database file with the synchronous database file so as to synchronize the data stored in the server to the terminal. In this way, the recovery time of cloud data of the terminal can be reduced, and user experience can be improved. |