Non real time fast synchronization scheme for mobile devices

For reprint, please indicate the source: http://blog.csdn.NET/itas109  

QQ technology exchange group: 129518033

Recently, we encountered a problem in the development process

The mobile terminal needs to synchronize the data of the server (only for query and subject to the data of the server), but with the increasing amount of data, the speed of synchronization will be slower and slower. It is mainly time-consuming to load the mobile device to operate the database and synchronize with the server.

Solutions:

In view of the pain points of the above problems, we mainly solve the time-consuming operation of the mobile terminal to the database and the time-consuming synchronization of the server for many times. Therefore, here we will give a lot of computing work to the server, that is, to solve this problem by using a way of database replacement. Generate a suitable database (such as sqllite) on the server and replace it after downloading. In this way, the time of the whole synchronization system is only the time of downloading and replacing database files, which can be shortened to a very short time.

Applicable conditions:

1. Synchronization is required for non real time, because it takes time for the server to generate database files.

2. The mobile terminal supports databases like sqllite, which can be replaced as a whole

For reprint, please indicate the source: http://blog.csdn.NET/itas109  

QQ technology exchange group: 129518033


Read More: