A recovery method for lost data based on sqlite database
A technology of lost data and recovery method, which is applied to data error detection, electrical digital data processing, special data processing applications, etc. with redundancy in operation, which can solve the problems of insufficient data recovery and low operation efficiency, and achieve good results. Application prospect, improved efficiency, high integrity effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] A recovery device for lost data based on an SQLite database, comprising the following modules:
[0033] Feature configuration module: used to configure the attribute features of the columns of some or all tables in the source database containing the data to be restored;
[0034] Feature matching module: used to match and verify the attribute features of the column with the data to be restored.
[0035] Further, the feature configuration module includes the following units:
[0036] Database loading unit: used to read the information of the database containing the data to be restored;
[0037] Characteristic definition unit: used to set the attribute characteristics of the columns of some or all tables in the source database, including column value type, column value length and column quantity;
[0038] Save unit: used to save the attribute characteristics of the column to a preset specific file type.
[0039] Further, the feature matching module includes the followin...
Embodiment 2
[0046] A kind of recovery method based on the lost data of SQLite database, comprises the steps:
[0047] S1 configures the attribute characteristics of the columns of some or all tables in the source database containing the data to be restored;
[0048] S2 matches and verifies the special attribute characteristics and the data to be restored.
[0049] Further, the detailed process of S1 is as follows:
[0050] S11 reads the source database containing the data to be restored;
[0051] S12, according to the source database obtained in S11, set the attributes of the columns of the table containing the data to be restored, including column value type, column value length and column quantity;
[0052]Among them, when defining multiple table structures, if the structure of the tables is completely consistent, you can use * as a wildcard to create a table set to indicate that the same type of table can use a feature information, for example, in the database that stores WeChat chat...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


