A user data protection method for database degradation when an app version is updated
A user data and version update technology, applied in database update, database management system, special data processing applications, etc., can solve the problems of not knowing the data table, incompatibility of the rollback data structure, affecting the experience of user data security, etc., to achieve application Simple, avoid user data loss, and protect user data
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0052] The user data protection method of database downgrade when APP version update described in the present invention, comprises the following steps:
[0053] Step 1. Obtain the name and version number of the currently installed database;
[0054] For example: for an APP that has been installed in the mobile phone, its currently installed database name and database version number are:
[0055] DATABASE_NAME = "Xx_crm.db";
[0056] DATABASE_VERSION = 3;
[0057] Step 2, obtain the database name and database version number to be installed;
[0058] For example: if the certain APP mentioned in the example in step 1 needs to be reinstalled, the installation package of the certain APP may have the following situations. Of course, there may be other situations, which do not belong to the scope of the present invention;
[0059] Case 1:
[0060] DATABASE_NAME = "Xx_crm.db";
[0061] DATABASE_VERSION = 4;
[0062] Obviously this is a case of database upgrades;
[0063] Case 2: ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More