CN102830995A - Method for upgrading Android platform software with user data reserved - Google Patents
Method for upgrading Android platform software with user data reserved Download PDFInfo
- Publication number
- CN102830995A CN102830995A CN2012102749241A CN201210274924A CN102830995A CN 102830995 A CN102830995 A CN 102830995A CN 2012102749241 A CN2012102749241 A CN 2012102749241A CN 201210274924 A CN201210274924 A CN 201210274924A CN 102830995 A CN102830995 A CN 102830995A
- Authority
- CN
- China
- Prior art keywords
- aku
- incompatible
- upgrading
- module
- user data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a method for upgrading Android platform software with user data reserved. The method includes the steps of making an upgrade patch and using the upgrade patch for upgrading. Incompatible modules are recorded in an independent file in a unified format according to the requirements of the upgrade patch during making of the upgrade patch, the recording file is installed at a certain position in the upgrade patch, and the satisfactory upgrade patch is finally obtained and released. A user can download the upgrade patch to upgrade a system. After successful upgrading of the system, the internal recording file in the upgrade patch is read, and data of certain modules are deleted to finish upgrading according to the recording of the internal file. When a user upgrades the version, not formatting a user data area but deleting the incompatible data is actuated, the user data is reserved to the greatest extent, the data originally being compatible is not destructed, and loss to users is lowered.
Description
Technical field
The present invention relates to a kind of Android platform software upgrade method, particularly relate to a kind of Android platform software upgrade method that keeps user data.
Background technology
The method that Android platform upgrading is at present taked mainly contains 2 kinds: increment upgrading, full dose upgrading, the problem of all unavoidably running into user data loss.Because the design reasons of certain module; Cause the new and old edition data incompatible, must delete this part data, as long as the method for taking is to have a module data incompatible before; Will format whole user data subregion (userdata); Certain like this incompatibility problem of eliminating these modules, but also deleted user's some other available data, bring very big inconvenience for user's use.
Summary of the invention
The objective of the invention is to overcome the deficiency of prior art, a kind of Android platform software upgrade method that keeps user data is provided, can keep user data preferably, the minimizing mistake is deleted or mistake is deleted the operation probability of data, has improved upgrading efficient.
In order to achieve the above object, the technical scheme that the present invention adopts is, a kind of Android platform software upgrade method that keeps user data, and its step is following:
Step 1, making AKU;
Step 1.1, by each module according to the upgrading content, confirm that this upgrading is whether compatible; With being recorded as a log file with the incompatible module of software with consolidation form in the AKU;
Step 1.2, log file is built into a specified folder in the AKU;
Step 1.3, packing AKU are also issued;
Step 2, use AKU are upgraded;
Step 2.1, user's download AKU are also upgraded;
It successfully is execution in step 2.3 then that step 2.2, system judge whether to upgrade, otherwise execution in step 2.6;
Step 2.3, judging whether AKU exists the described log file of step 1.1, is execution in step 2.4 then, otherwise execution in step 2.6;
Step 2.4, read the log file in the AKU;
Step 2.5, according to the record requirement, delete incompatible data file;
Step 2.6, upgrading finish.
Further, described module is system's setting or the application module in the edition upgrading process.
Further; Described incompatible module some system's setting or application module in the edition upgrading process, existing is because the modification of database causes system's setting or application module incompatible; Need this part incompatible data of deletion, the normal operation of assurance system and application.
Further, described log file is the log file that is used to write down incompatible module, and form is database file or text.
Compared with prior art, the invention has the beneficial effects as follows: when the customer upgrade version, can not format user data area; Only can delete incompatible data; Can keep user data as far as possible, not destroy the data that other originally can be compatible, reduce the loss that brings to the user.
Description of drawings
Fig. 1 is a making compressed package process flow diagram of the present invention;
Fig. 2 is a upgrade software process flow diagram of the present invention.
Embodiment
Purport of the present invention is to overcome the deficiency of prior art; A kind of Android platform software upgrade method that keeps user data is provided, comprises and make AKU and use two steps of AKU upgrading, when making AKU; Requirement according to AKU; Incompatible module (module that needs deleted data) is recorded in a unique file with unified format, this log file is built into certain position of AKU, form a satisfactory AKU and issue at last.Use the AKU user's download AKU of upgrading then that system is upgraded, after the system upgrade success, read the built-in log file of AKU; According to the record of built-in file, the data of deletion certain module are accomplished upgrading; The present invention can not format user data area when the customer upgrade version, only can delete incompatible data; Can keep user data as far as possible, not destroy the data that other originally can be compatible, reduce the loss that brings to the user.
Be elaborated with reference to accompanying drawing below in conjunction with embodiment, so that technical characterictic of the present invention and advantage are carried out more deep annotation.
Method flow diagram of the present invention is like Fig. 1, shown in 2, a kind of Android platform software upgrade method that keeps user data, and its step is following:
Step 1, making AKU;
Step 1.1, by each module according to the upgrading content, confirm that this upgrading is whether compatible; With being recorded as a log file with the incompatible module of software with consolidation form in the AKU;
Step 1.2, log file is built into a specified folder in the AKU;
Step 1.3, packing AKU are also issued;
Step 2, use AKU are upgraded;
Step 2.1, user's download AKU are also upgraded;
It successfully is execution in step 2.3 then that step 2.2, system judge whether to upgrade, otherwise execution in step 2.6;
Step 2.3, judging whether AKU exists the described log file of step 1.1, is execution in step 2.4 then, otherwise execution in step 2.6;
Step 2.4, read the log file in the AKU;
Step 2.5, according to the record requirement, delete incompatible data file;
Step 2.6, upgrading finish.
Further, described module is system's setting or the application module in the edition upgrading process.
Further; Described incompatible module some system's setting or application module in the edition upgrading process, existing is because the modification of database causes system's setting or application module incompatible; Need this part incompatible data of deletion, the normal operation of assurance system and application.
Further, described log file is the log file that is used to write down incompatible module, and form is database file or text.
Such as; Because great change takes place in the design of the data layout of phonebook module; Cause incompatible; Just should write phone module the log file of the incompatible module of record, when edition upgrading, will be resolved to phone module like this needs the deleted data file: system can find the deposit position of phonebook module data file automatically, this data file deletion.
The present invention can not format user data area when the customer upgrade version, only can delete incompatible data, can keep user data as far as possible, and not destroying other originally can compatible data, reduced the loss that brings to the user.
Above content is to combine concrete preferred implementation to the further explain that the present invention did, and can not assert that practical implementation of the present invention is confined to these explanations.For one of ordinary skill in the art of the present invention, under the prerequisite that does not break away from the present invention's design, make simple change or optimization, all should be regarded as protection scope of the present invention.
Claims (4)
1. Android platform software upgrade method that keeps user data, its step is following:
Step 1, making AKU;
Step 1.1, by each module according to the upgrading content, confirm that this upgrading is whether compatible; With being recorded as a log file with the incompatible module of software with consolidation form in the AKU;
Step 1.2, log file is built into a specified folder in the AKU;
Step 1.3, packing AKU are also issued;
Step 2, use AKU are upgraded;
Step 2.1, user's download AKU are also upgraded;
It successfully is execution in step 2.3 then that step 2.2, system judge whether to upgrade, otherwise execution in step 2.6;
Step 2.3, judging whether AKU exists the described log file of step 1.1, is execution in step 2.4 then, otherwise execution in step 2.6;
Step 2.4, read the log file in the AKU;
Step 2.5, according to the record requirement, delete incompatible data file;
Step 2.6, upgrading finish.
2. the Android platform software upgrade method of reservation user data according to claim 1 is characterized in that: described module is system's setting or application module in the edition upgrading process.
3. the Android platform software upgrade method of reservation user data according to claim 2; It is characterized in that: system setting or the application module of described incompatible module in the edition upgrading process, existing; Because the modification of database; Cause system's setting or application module incompatible, need this part incompatible data of deletion, the normal operation of assurance system and application.
4. the Android platform software upgrade method of reservation user data according to claim 3 is characterized in that: described log file is the log file that is used to write down incompatible module, and form is database file or text.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210274924.1A CN102830995B (en) | 2012-08-03 | 2012-08-03 | A kind of Android platform software upgrade method retaining user data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210274924.1A CN102830995B (en) | 2012-08-03 | 2012-08-03 | A kind of Android platform software upgrade method retaining user data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102830995A true CN102830995A (en) | 2012-12-19 |
CN102830995B CN102830995B (en) | 2015-11-18 |
Family
ID=47334144
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210274924.1A Expired - Fee Related CN102830995B (en) | 2012-08-03 | 2012-08-03 | A kind of Android platform software upgrade method retaining user data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102830995B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902562A (en) * | 2012-12-26 | 2014-07-02 | 腾讯科技(深圳)有限公司 | Method and device for upgrading terminal databases |
WO2015070777A1 (en) * | 2013-11-14 | 2015-05-21 | 中兴通讯股份有限公司 | Software upgrade method, client, server, system and storage medium |
CN105700898A (en) * | 2014-11-25 | 2016-06-22 | 中兴通讯股份有限公司 | Upgrading file production method and apparatus as well as upgrading file acquisition method and apparatus |
CN105740009A (en) * | 2016-01-26 | 2016-07-06 | 青岛海信移动通信技术股份有限公司 | Version upgrading method and terminal equipment |
WO2016206017A1 (en) * | 2015-06-24 | 2016-12-29 | 冯旋宇 | Data updating method and system for set top box |
WO2017016282A1 (en) * | 2015-07-30 | 2017-02-02 | 中兴通讯股份有限公司 | Software upgrading method and apparatus, and computer storage medium |
CN107479969A (en) * | 2017-07-31 | 2017-12-15 | 深圳天珑无线科技有限公司 | Data processing method and device |
CN107832062A (en) * | 2017-09-08 | 2018-03-23 | 上海壹账通金融科技有限公司 | A kind of method for updating program and terminal device |
CN108958770A (en) * | 2018-06-27 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of virtualization system upgrade method and device |
CN110489152A (en) * | 2019-09-19 | 2019-11-22 | 四川虹美智能科技有限公司 | A kind of application upgrade method and device based on android system |
CN115640034A (en) * | 2022-11-28 | 2023-01-24 | 荣耀终端有限公司 | Data storage method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101290579A (en) * | 2008-06-16 | 2008-10-22 | 四川长虹电器股份有限公司 | Reconfigurable software unit upgrading method |
CN102222027A (en) * | 2011-06-20 | 2011-10-19 | 中兴通讯股份有限公司 | Method and device for restoring factory settings of terminal |
-
2012
- 2012-08-03 CN CN201210274924.1A patent/CN102830995B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101290579A (en) * | 2008-06-16 | 2008-10-22 | 四川长虹电器股份有限公司 | Reconfigurable software unit upgrading method |
CN102222027A (en) * | 2011-06-20 | 2011-10-19 | 中兴通讯股份有限公司 | Method and device for restoring factory settings of terminal |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902562B (en) * | 2012-12-26 | 2017-11-10 | 腾讯科技(深圳)有限公司 | A kind of terminal database upgrade method and relevant apparatus |
CN103902562A (en) * | 2012-12-26 | 2014-07-02 | 腾讯科技(深圳)有限公司 | Method and device for upgrading terminal databases |
WO2015070777A1 (en) * | 2013-11-14 | 2015-05-21 | 中兴通讯股份有限公司 | Software upgrade method, client, server, system and storage medium |
CN105700898A (en) * | 2014-11-25 | 2016-06-22 | 中兴通讯股份有限公司 | Upgrading file production method and apparatus as well as upgrading file acquisition method and apparatus |
WO2016206017A1 (en) * | 2015-06-24 | 2016-12-29 | 冯旋宇 | Data updating method and system for set top box |
WO2017016282A1 (en) * | 2015-07-30 | 2017-02-02 | 中兴通讯股份有限公司 | Software upgrading method and apparatus, and computer storage medium |
CN106406922A (en) * | 2015-07-30 | 2017-02-15 | 中兴通讯股份有限公司 | Software upgrade method and device |
CN105740009B (en) * | 2016-01-26 | 2019-09-17 | 青岛海信移动通信技术股份有限公司 | Version upgrading method and terminal device |
CN105740009A (en) * | 2016-01-26 | 2016-07-06 | 青岛海信移动通信技术股份有限公司 | Version upgrading method and terminal equipment |
CN107479969A (en) * | 2017-07-31 | 2017-12-15 | 深圳天珑无线科技有限公司 | Data processing method and device |
CN107832062A (en) * | 2017-09-08 | 2018-03-23 | 上海壹账通金融科技有限公司 | A kind of method for updating program and terminal device |
WO2019047480A1 (en) * | 2017-09-08 | 2019-03-14 | 深圳壹账通智能科技有限公司 | Program update method, computer-readable storage medium, terminal device and apparatus |
CN107832062B (en) * | 2017-09-08 | 2020-04-21 | 深圳壹账通智能科技有限公司 | Program updating method and terminal equipment |
CN108958770A (en) * | 2018-06-27 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of virtualization system upgrade method and device |
CN110489152A (en) * | 2019-09-19 | 2019-11-22 | 四川虹美智能科技有限公司 | A kind of application upgrade method and device based on android system |
CN115640034A (en) * | 2022-11-28 | 2023-01-24 | 荣耀终端有限公司 | Data storage method and device |
Also Published As
Publication number | Publication date |
---|---|
CN102830995B (en) | 2015-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102830995A (en) | Method for upgrading Android platform software with user data reserved | |
CN102520948B (en) | Application maintenance update method and device | |
CN102799452B (en) | system software upgrading method and device | |
CN103136181B (en) | Electronic reading device and text selecting and storing method thereof | |
CN105760200A (en) | Terminal device and system updating method thereof | |
CN103685495A (en) | Method and system for upgrading software | |
CN110543369A (en) | Construction method and device of storage space structure of android system and construction structure of storage space structure of android system | |
CN102841802B (en) | The method for upgrading software of mobile terminal | |
CN103942066A (en) | Satellite-borne embedded software module on-orbit updating method | |
CN102141923B (en) | Memory file system loading method and device | |
CN103176864A (en) | Backup method, backup device and mobile terminal based on Android system | |
CN101706783A (en) | Method and device for checking and repairing files in embedded equipment | |
CN102591680A (en) | Method for automatically deleting and unloading software related files | |
CN103885763A (en) | Operating system resource access method and system | |
CN103902562A (en) | Method and device for upgrading terminal databases | |
CN105468422A (en) | Method and system for optimizing operation system | |
CN102520957A (en) | Method for software separation design of embedded system | |
CN103995717A (en) | Method for upgrading software in embedded device | |
CN107273449A (en) | A kind of breakpoint processing method and system based on memory database | |
CN104572212A (en) | Terminal updating system and updating method thereof | |
CN102929676B (en) | Based on the quick adaptation method of Android operating system terminal device | |
US9572024B2 (en) | Network upgrading-adaptive telephone number upgrading method and device for wireless terminal | |
CN107463399A (en) | Kernel firmware upgrade method and system under a kind of Android system | |
CN101631046B (en) | Method and device of automatic upgrade of one board | |
CN106933604B (en) | System upgrading method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20151118 |