Method and device for synchronizing embedded database to flash database
A database and embedded technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of shortening the life of Flash devices, slow Flash read and write speed, data loss, etc., to reduce frequent operations and improve speed , the effect of improving life
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] For ease of understanding, the following will be described in conjunction with the accompanying drawings.
[0023] This invention proposes a method for synchronizing the embedded database to the flash database, please refer to figure 1 , including the steps:
[0024] S101. Create an in-memory database, preset an update time, and synchronize data in the flash database to the in-memory database;
[0025] S102. Obtain the data of the embedded database to the memory database, and set a synchronous data pool;
[0026] Wherein, the synchronous data pool is used to identify whether the data in the memory database changes and the content of the data change.
[0027] Specifically, the synchronization data pool may include: table ID, parameter ID, table synchronization ID, and parameter synchronization ID; the description of each field is as follows:
[0028] Table ID: the internally generated globally unique ID of each data table in the memory database;
[0029] Parameter ID...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 