CN104461648A - OTA upgrade backing-up method and system for intelligent terminals - Google Patents
OTA upgrade backing-up method and system for intelligent terminals Download PDFInfo
- Publication number
- CN104461648A CN104461648A CN201410801224.2A CN201410801224A CN104461648A CN 104461648 A CN104461648 A CN 104461648A CN 201410801224 A CN201410801224 A CN 201410801224A CN 104461648 A CN104461648 A CN 104461648A
- Authority
- CN
- China
- Prior art keywords
- backup
- ota
- upgrading
- file
- catalogue
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses an OTA upgrade backing-up method and system for intelligent terminals. Some new catalogues and script files are added on the basis of an original OTA package upgrading mechanism, system partitioning files can be backed up before OTA upgrade, and restoration operation can be carried out after upgrade, and therefore the problem that users need to reinstall some software programs after full OTA upgrade each time is solved, the condition that some configuration files of the users are lost after full OTA upgrade is well prevented, and the user experience is effectively improved.
Description
Technical field
The present invention relates to moving communicating field, particularly relate to the method and system of a kind of intelligent terminal OTA upgrading backup.
Background technology
Existing intelligent terminal, after software release upgrade is issued, mostly adopts the abbreviation of OTA(Over-the-Air Technology, over the air) mode push AKU to customer upgrade.But understand system subregion original in direct formatting intelligent terminal when OTA full dose wraps in upgrading at present, then system new in AKU is copied into.If do not comprise oneself newly-increased file in the full dose bag installed, so this part file will be lost, and typical example brushes GMS(Google Information Mobile Service exactly) user that wraps, after each full dose upgrading, GMS bag will be lost; In addition, generate some user profiles exactly in addition under system subregion, after upgrading, these configurations also can be lost.
Summary of the invention
In order to overcome deficiency of the prior art, the invention provides the method and system of a kind of intelligent terminal OTA upgrading backup, to avoid occurring after carrying out full dose upgrading in prior art that the situation that some configuration file is lost or some software installation kit needs is reinstalled occurs.
The present invention is achieved by the following technical solutions: a kind of method of intelligent terminal OTA upgrading backup, and described method comprises:
S1, under the system catalogue of OTA bag, increase by a catalogue backup, under this catalogue backup, deposit one first script file, and definition needs the file of backup in this first script file, and backup needs the function that calls;
S2, under the system/bin catalogue of OTA bag, increase by a crus secunda presents, and definition realizes the function of backup operation in this crus secunda presents;
S3, when carrying out OTA upgrading, call described first script file, to obtain the file and the operation of backup that need backup; Before format system subregion, call described crus secunda presents according to the operating result calling described first script file, to perform corresponding backup operation, and after having upgraded, again call the recovery that crus secunda presents carries out system partitioning file.
Preferably, in described step S3, when carrying out OTA upgrading, if cross-version upgrading, then directly carrying out OTA upgrading, no longer calling described first script file and carry out corresponding backup operation to crus secunda presents.
Preferably, described intelligent terminal is smart mobile phone; Described OTA upgrades to the upgrading of OTA full dose.
Based on the inventive concept of said method, the present invention also provides a kind of intelligent terminal OTA system of upgrading backup, and it comprises OTA bag, and:
Catalogue increases unit, increases by a catalogue backup, deposit one first script file under this catalogue backup under the system catalogue of wrap at OTA, and definition needs the file of backup in this first script file, and the function that backup needs call;
Script increases unit, increases by a crus secunda presents under the system/bin catalogue of wrap at OTA, and in this crus secunda presents, define the function realizing backup operation;
Upgrading backup performance element, for when carrying out OTA upgrading, calls described first script file, needs the file of backup and the operation of backup to obtain; Before format system subregion, call described crus secunda presents according to the operating result calling described first script file, to perform corresponding backup operation, and after having upgraded, again call the recovery that crus secunda presents carries out system partitioning file.
Preferably, described upgrading backup performance element, when carrying out OTA upgrading, if cross-version upgrading, then directly carries out OTA upgrading, no longer calls described first script file and carry out corresponding backup operation to crus secunda presents.
The method and system of intelligent terminal OTA upgrading backup provided by the invention, by increasing some new catalogue and script files on the basis of original OTA bag upgrade mechanism, with standby system partitioned file before OTA upgrading, and restoring operation is carried out after upgrading, thus solve the problem that user needs to reinstall some software program after each full dose OTA upgrading, and avoid well occurring the situation that certain user's configuration file is lost after full dose OTA upgrading.
Accompanying drawing explanation
Accompanying drawing 1 is the method flow schematic diagram in the embodiment of the present invention;
Accompanying drawing 2 is the system module schematic block diagram in the embodiment of the present invention.
Embodiment
For the ease of the understanding of those skilled in the art, below in conjunction with accompanying drawing, the invention will be further described.
As shown in Figure 1, a kind of method of intelligent terminal OTA upgrading backup, described method comprises:
S1, under the system catalogue of OTA bag, increase by a catalogue backup, under this catalogue backup, deposit one first script file, and definition needs the file of backup in this first script file, and backup needs the function that calls; When installation OTA bag, under the file (including but not limited to described first script file) in catalogue backup will first be copied into system subregion;
S2, under the system/bin catalogue of OTA bag, increase by a crus secunda presents, and definition realizes the function of backup operation in this crus secunda presents;
S3, when carrying out OTA upgrading, call described first script file, to obtain the file and the operation of backup that need backup; Before format system subregion, call described crus secunda presents according to the operating result calling described first script file, to perform corresponding backup operation, and after having upgraded, again call the recovery that crus secunda presents carries out system partitioning file.
Preferably, in described step S3, when carrying out OTA upgrading, if cross-version upgrading, then directly carrying out OTA upgrading, no longer calling described first script file and carry out corresponding backup operation to crus secunda presents, namely exit backup operation; Here said version, refers to the system version of intelligent terminal, for Android(Android) system, if from Android4.3 edition upgrading to Android4.4 version, be cross-version upgrading.In the present embodiment, intelligent terminal is preferably smart mobile phone, and described OTA upgrades to the upgrading of OTA full dose.
Below with the smart mobile phone based on android system in the process of carrying out carrying out Backup and Restore to GMS bag in OTA full dose escalation process for specific embodiment is described further.
One, back up:
(1.1) increase order at OTA upgrade script section start, run the first script file, and Transfer Parameters backup;
(1.2) run the verification major release function in the first script, if be cross-version upgrading, then directly exit backup;
(1.3) call the backup function realized in the first script according to parameter backup, and will the function in path, GMS installation file place in mobile phone be defined as Parameter transfer;
(1.4) call corresponding measure for fulfill in the second script, it performs real backup operation according to the parameter transmitted, and GMS bag associated documents are backuped to assigned catalogue.
Two, recover:
(2.1) increase order in OTA upgrade script end, run the first script file, and Transfer Parameters restore;
(2.2) reconstruction realized in the first script is called according to parameter restore;
(2.3) call corresponding measure for fulfill in the second script, directly the GMS bag associated documents backed up above are recovered.
For the user profile generated under smart mobile phone system subregion, the backup when OTA full dose is upgraded and recovery, its process or principle and above-mentioned backup of wrapping about GMS with recover similar, be not described in detail in this.By the method for the intelligent terminal OTA upgrading backup in the application embodiment of the present invention, both the software program of user without the need to increasing newly some users such as GMS bags or install voluntarily after carrying out the upgrading of OTA full dose can have been made to reinstall, can avoid again after carrying out the upgrading of OTA full dose, the loss of some user profiles generated under system subregion, thus effectively promote Consumer's Experience.
Based on the inventive concept of above method, embodiments of the invention also provide a kind of intelligent terminal OTA system of upgrading backup, and as described in accompanying drawing 2, it comprises OTA bag, and:
Catalogue increases unit, increases by a catalogue backup, deposit one first script file under this catalogue backup under the system catalogue of wrap at OTA, and definition needs the file of backup in this first script file, and the function that backup needs call;
Script increases unit, increases by a crus secunda presents under the system/bin catalogue of wrap at OTA, and in this crus secunda presents, define the function realizing backup operation;
Upgrading backup performance element, for when carrying out OTA upgrading, calls described first script file, needs the file of backup and the operation of backup to obtain; Before format system subregion, call described crus secunda presents according to the operating result calling described first script file, to perform corresponding backup operation, and after having upgraded, again call the recovery that crus secunda presents carries out system partitioning file.
Preferably, described upgrading backup performance element, when carrying out OTA upgrading, if cross-version upgrading, then directly carries out OTA upgrading, no longer calls described first script file and carry out corresponding backup operation to crus secunda presents.
The content mentioned in above-described embodiment is the present invention's preferably embodiment, is not limitation of the invention, and without departing from the inventive concept of the premise, any apparent replacement is all within protection scope of the present invention.
Claims (8)
1. a method for intelligent terminal OTA upgrading backup, described method comprises:
S1, under the system catalogue of OTA bag, increase by a catalogue backup, under this catalogue backup, deposit one first script file, and definition needs the file of backup in this first script file, and backup needs the function that calls;
S2, under the system/bin catalogue of OTA bag, increase by a crus secunda presents, and definition realizes the function of backup operation in this crus secunda presents;
S3, when carrying out OTA upgrading, call described first script file, to obtain the file and the operation of backup that need backup; Before format system subregion, call described crus secunda presents according to the operating result calling described first script file, to perform corresponding backup operation, and after having upgraded, again call the recovery that crus secunda presents carries out system partitioning file.
2. method according to claim 1, is characterized in that: in described step S3, when carrying out OTA upgrading, if cross-version upgrading, then directly carrying out OTA upgrading, no longer calling described first script file and carry out corresponding backup operation to crus secunda presents.
3. method according to claim 1 and 2, is characterized in that: described intelligent terminal is smart mobile phone.
4. method according to claim 1 and 2, is characterized in that: described OTA upgrades to the upgrading of OTA full dose.
5. a system for intelligent terminal OTA upgrading backup, comprises OTA bag, it is characterized in that, described also system comprises:
Catalogue increases unit, increases by a catalogue backup, deposit one first script file under this catalogue backup under the system catalogue of wrap at OTA, and definition needs the file of backup in this first script file, and the function that backup needs call;
Script increases unit, increases by a crus secunda presents under the system/bin catalogue of wrap at OTA, and in this crus secunda presents, define the function realizing backup operation;
Upgrading backup performance element, for when carrying out OTA upgrading, calls described first script file, needs the file of backup and the operation of backup to obtain; Before format system subregion, call described crus secunda presents according to the operating result calling described first script file, to perform corresponding backup operation, and after having upgraded, again call the recovery that crus secunda presents carries out system partitioning file.
6. system according to claim 5, it is characterized in that: described upgrading backup performance element is when carrying out OTA upgrading, if cross-version is upgraded, then directly carry out OTA upgrading, no longer call described first script file and carry out corresponding backup operation to crus secunda presents.
7. the system according to any one of claim 5 ~ 6, is characterized in that: described intelligent terminal is smart mobile phone.
8. the system according to any one of claim 5 ~ 6, is characterized in that: described OTA upgrades to the upgrading of OTA full dose.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410801224.2A CN104461648B (en) | 2014-12-22 | 2014-12-22 | A kind of method and system of intelligent terminal OTA upgradings backup |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410801224.2A CN104461648B (en) | 2014-12-22 | 2014-12-22 | A kind of method and system of intelligent terminal OTA upgradings backup |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104461648A true CN104461648A (en) | 2015-03-25 |
CN104461648B CN104461648B (en) | 2017-10-31 |
Family
ID=52907753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410801224.2A Active CN104461648B (en) | 2014-12-22 | 2014-12-22 | A kind of method and system of intelligent terminal OTA upgradings backup |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104461648B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105893084A (en) * | 2016-03-29 | 2016-08-24 | 青岛海信移动通信技术股份有限公司 | Version upgrading method and terminal equipment |
CN106484456A (en) * | 2015-08-26 | 2017-03-08 | 罗伯特·博世有限公司 | For installing method and the subsystem of software upgrading in vehicle |
CN107301070A (en) * | 2017-06-20 | 2017-10-27 | 福州汇思博信息技术有限公司 | A kind of upgrade method and terminal |
CN109343885A (en) * | 2018-11-01 | 2019-02-15 | 百度在线网络技术(北京)有限公司 | Method for upgrading system and multi-system equipment |
CN110554934A (en) * | 2019-09-06 | 2019-12-10 | 山东超越数控电子股份有限公司 | embedded equipment and system partitioning and upgrading method thereof |
CN113419756A (en) * | 2021-06-18 | 2021-09-21 | 杭州海康威视数字技术股份有限公司 | File upgrading method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101106773A (en) * | 2006-07-14 | 2008-01-16 | 中兴通讯股份有限公司 | Method for parameter keeping after software upgrade of wireless access fixing station |
WO2009056148A2 (en) * | 2007-10-29 | 2009-05-07 | Fromdistance As | Mobile device management system |
CN101610604A (en) * | 2009-06-18 | 2009-12-23 | 中兴通讯股份有限公司 | A kind of method for upgrading software and system |
CN102117234A (en) * | 2011-03-23 | 2011-07-06 | 惠州Tcl移动通信有限公司 | Method for recovering original software by mobile terminal in software upgrading failure |
CN103518191A (en) * | 2013-03-19 | 2014-01-15 | 华为技术有限公司 | Upgrade method, intelligent terminal and upgrade system |
-
2014
- 2014-12-22 CN CN201410801224.2A patent/CN104461648B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101106773A (en) * | 2006-07-14 | 2008-01-16 | 中兴通讯股份有限公司 | Method for parameter keeping after software upgrade of wireless access fixing station |
WO2009056148A2 (en) * | 2007-10-29 | 2009-05-07 | Fromdistance As | Mobile device management system |
CN101610604A (en) * | 2009-06-18 | 2009-12-23 | 中兴通讯股份有限公司 | A kind of method for upgrading software and system |
CN102117234A (en) * | 2011-03-23 | 2011-07-06 | 惠州Tcl移动通信有限公司 | Method for recovering original software by mobile terminal in software upgrading failure |
CN103518191A (en) * | 2013-03-19 | 2014-01-15 | 华为技术有限公司 | Upgrade method, intelligent terminal and upgrade system |
Non-Patent Citations (1)
Title |
---|
高长玉: "《计算机网络安全》", 31 July 2013, 辽宁科学技术出版 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106484456A (en) * | 2015-08-26 | 2017-03-08 | 罗伯特·博世有限公司 | For installing method and the subsystem of software upgrading in vehicle |
CN105893084A (en) * | 2016-03-29 | 2016-08-24 | 青岛海信移动通信技术股份有限公司 | Version upgrading method and terminal equipment |
CN105893084B (en) * | 2016-03-29 | 2019-04-30 | 青岛海信移动通信技术股份有限公司 | Version upgrading method and terminal device |
CN107301070A (en) * | 2017-06-20 | 2017-10-27 | 福州汇思博信息技术有限公司 | A kind of upgrade method and terminal |
CN107301070B (en) * | 2017-06-20 | 2020-09-29 | 福州汇思博信息技术有限公司 | Upgrading method and terminal |
CN109343885A (en) * | 2018-11-01 | 2019-02-15 | 百度在线网络技术(北京)有限公司 | Method for upgrading system and multi-system equipment |
CN109343885B (en) * | 2018-11-01 | 2022-02-25 | 阿波罗智能技术(北京)有限公司 | System upgrading method and multi-system equipment |
CN110554934A (en) * | 2019-09-06 | 2019-12-10 | 山东超越数控电子股份有限公司 | embedded equipment and system partitioning and upgrading method thereof |
CN110554934B (en) * | 2019-09-06 | 2022-08-19 | 超越科技股份有限公司 | Embedded equipment and system partitioning and upgrading method thereof |
CN113419756A (en) * | 2021-06-18 | 2021-09-21 | 杭州海康威视数字技术股份有限公司 | File upgrading method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104461648B (en) | 2017-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104461648A (en) | OTA upgrade backing-up method and system for intelligent terminals | |
US20170206079A1 (en) | Method and Device for Upgrading Software | |
US10423585B2 (en) | Method and device for making differential upgrade package, and method and device for system differential upgrading | |
WO2016192197A1 (en) | Software upgrade method, apparatus and system of terminal, and computer storage medium | |
CN103176864B (en) | A kind of backup method based on Android system, device and mobile terminal | |
CN103177077B (en) | The storage of a kind of APK file and output intent | |
CN103701930A (en) | Mobile application program real-time updating method and system | |
CN105528225A (en) | Application loading method and loading apparatus | |
CN102609304B (en) | Management method for internal third-party applications of Android mobile phone | |
CN102346697A (en) | Method and system for backing up and recovering Android package (APK) and mobile terminal | |
CN102176775A (en) | Intelligent configuration device and method | |
CN104166577B (en) | A kind of method and apparatus of mobile terminal system upgrading | |
CN104184814A (en) | Method and system for generating and compounding embedded firmware differential upgrading file | |
CN102243594A (en) | Method for safely and remotely upgrading embedded Linux system software | |
CN103795740A (en) | Downloading method of plug-in installation packages and downloading terminal | |
CN102591683A (en) | Updating method and updating system for embedded operation system | |
CN104536775A (en) | Method and system for upgrading preset application under Android platform | |
CN101355434A (en) | Method and apparatus for upgrading software of multimedia remote terminal | |
CN103902334A (en) | Silent updating method and system based on Android system | |
CN103108024B (en) | A kind of increment method for down loading of multimedia self-help terminal | |
CN106020906A (en) | Client side hot updating method based on Cordova | |
CN110045969A (en) | Application program installation method, server, system, device and storage medium | |
CN104239110B (en) | Reduce the method and apparatus of OTA delta package sizes | |
CN103761126A (en) | Method and device for upgrading application program | |
WO2009079866A1 (en) | Firmware upgrading process method and system of mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
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. |