CN105138382B - A kind of method and terminal of android system upgrading - Google Patents

A kind of method and terminal of android system upgrading Download PDF

Info

Publication number
CN105138382B
CN105138382B CN201510617484.9A CN201510617484A CN105138382B CN 105138382 B CN105138382 B CN 105138382B CN 201510617484 A CN201510617484 A CN 201510617484A CN 105138382 B CN105138382 B CN 105138382B
Authority
CN
China
Prior art keywords
file
conversion processing
upgrade
upgrade package
android
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.)
Active
Application number
CN201510617484.9A
Other languages
Chinese (zh)
Other versions
CN105138382A (en
Inventor
张寅祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510617484.9A priority Critical patent/CN105138382B/en
Publication of CN105138382A publication Critical patent/CN105138382A/en
Application granted granted Critical
Publication of CN105138382B publication Critical patent/CN105138382B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses the methods and terminal of a kind of upgrading of android system, which comprises receives the upgrade command of user's input, downloads upgrade package;Conversion processing is carried out to the file in the upgrade package on backstage;File after conversion processing is saved to other storage locations in addition to system upgrade buffer area;By the file copy after the conversion processing to the system upgrade buffer area under recovery mode, upgrading is completed.Using the present invention, the unusable time during terminal upgrade can be shortened, promote user experience.

Description

A kind of method and terminal of android system upgrading
Technical field
The present invention relates to methods and terminal that field of terminal technology more particularly to a kind of android system upgrade.
Background technique
With the rapid development of intelligent terminals, intelligent terminal such as mobile phone or tablet computer etc., life, work in user Make, entertain etc. can provide more and more helps.With continuously improving for system function, user needs to current in terminal The system of installation is upgraded, to obtain preferably experience.
In the prior art, the escalation process under existing android system generally comprises following steps:
S1, system starting;
S2, starting upgrade service;
S3, downloading upgrade package to cache partitions (i.e. cache subregion);
S4, calling system interface enter recovery mode;
S5, upgrade package is installed under recovery mode;
New system after S6, starting upgrading;
S7, display " Android is updating " carry out Android initialization;
S8, upgrading are completed.
Wherein, in the step s 7, it regardless of the virtual machine environment using dalvikvm mode or art mode, is required to liter Grade file is converted, and needs to take a substantial amount of time, and during conversion, terminal is not all available, and seriously affects use The experience at family.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing method and the end of a kind of upgrading of android system End.Terminal is not available when solving the problems, such as android system upgrading.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of method of android system upgrading, packets It includes:
The upgrade command of user's input is received, upgrade package is downloaded;
Conversion processing is carried out to the file in the upgrade package on backstage;
File after conversion processing is saved to other storage locations for removing system upgrade buffer area;
By the file copy after the conversion processing to the system upgrade buffer area under recovery mode, complete to rise Grade.
Wherein, further includes:
If the upgrade package is increment upgrade package, by the system archive file and system Android in the upgrade package Installation kit is synthesized;
If the upgrade package is full dose upgrade package, without being synthesized.
Wherein, if the upgrade package is increment upgrade package, by the system archive file and system in the upgrade package Android installation kit is synthesized to carry out on backstage.
Wherein, the file by after conversion processing is saved to other storage locations for removing system upgrade buffer area, comprising:
File after conversion processing is saved into external safe digital card;Or
File after conversion processing is saved into terminal built-in storage to other store paths for removing system upgrade buffer area.
Wherein, the file in the upgrade package includes system archive file, system Android installation kit and user installation Android installation kit;
The conversion processing includes odex conversion processing or oat conversion processing.
Correspondingly, the embodiment of the invention also provides a kind of terminals, comprising:
Download unit downloads upgrade package for receiving the upgrade command of user's input;
Conversion unit, for carrying out conversion processing to the file in the upgrade package on backstage;
Storage unit, for saving the file after conversion processing to other storage locations for removing system upgrade buffer area;
Upgrade unit, under recovery mode by the file copy after the conversion processing to the system upgrade Buffer area completes upgrading.
Wherein, the conversion unit is also used to:
If the upgrade package is increment upgrade package, by the system archive file and system Android in the upgrade package Installation kit is synthesized;
If the upgrade package is full dose upgrade package, without being synthesized.
Wherein, if the upgrade package is increment upgrade package, by the system archive file and system in the upgrade package Android installation kit is synthesized to carry out on backstage.
Wherein, the storage unit is specifically used for:
File after conversion processing is saved into external safe digital card;Or
File after conversion processing is saved into terminal built-in storage to other store paths for removing system upgrade buffer area.
Wherein, the file in the upgrade package includes system archive file, system Android installation kit and user installation Android installation kit;
The conversion processing includes odex conversion processing or oat conversion processing.
The implementation of the embodiments of the present invention has the following beneficial effects:
By receiving the upgrade command of user's input, upgrade package is downloaded, then on backstage to the file in the upgrade package Conversion processing is carried out, and the file after conversion processing is saved to other storage locations in addition to system upgrade buffer area, so The file copy after the conversion processing to the system upgrade buffer area is completed into upgrading under recovery mode afterwards, by It is carried out in conversion processing on backstage, therefore user can use old system as usual in escalation process;And after the completion of converting, it will convert Treated, and file is stored in nonsystematic upgrading buffer area, and system upgrade caching is copied under recovery mode Area, so that the initialization procedure of Android greatly shortens, upgrading is done directly, and in escalation process, user be can be used Old system, after the completion of upgrading, terminal can call directly the file use after conversion processing, and such user also can directly exist Terminal is restarted directly to be promoted using new system so that the unusable time of terminal greatly shortens in entire escalation process afterwards The ease for use of terminal, also the user experience is improved.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram of the first embodiment of the method for android system upgrading provided by the invention;
Fig. 2 is the flow diagram of the second embodiment of the method for android system upgrading provided by the invention;
Fig. 3 is the flow diagram of the 3rd embodiment of the method for android system upgrading provided by the invention;
Fig. 4 is the composition schematic diagram of the first embodiment of terminal provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Terminal in the embodiment of the present invention may include the smart phone, tablet computer, palm for being equipped with android system Computer, laptop, mobile internet device (MID, Mobile Internet Devices) or wearable device etc., on Stating terminal only is citing, and non exhaustive, including but not limited to above-mentioned terminal.
Fig. 1 is please referred to, for the process signal of the first embodiment of the method for android system provided by the invention upgrading Figure, in the present embodiment, the described method comprises the following steps:
S101 receives the upgrade command of user's input, downloads upgrade package.
S102 carries out conversion processing to the file in the upgrade package on backstage.
Wherein, the file in the upgrade package includes system filing (Java Archive, abbreviation JAR) file, system The Android installation kit of Android installation kit (Android Package, abbreviation APK) and user installation.
The conversion processing includes odex conversion processing or oat conversion processing.Two kinds of conversion processings are according to the current institute of terminal Depending on the virtual machine environment used.
Generally, the file path for needing to carry out conversion processing is /system/framework/*.jar ,/system/ App/*.apk ,/system/pri-app/*.apk ,/vendor/app/*.apk and/data/app/*.apk.It * is application Title.
For APK, it is also necessary to the difference for considering version number needs differentiation to need which APK converted on earth, if system APK promoted mistake is then not necessarily to conversion processing, be included in/data/app in, specifically judge can by system interface come It carries out.
Wherein, it when terminal uses the virtual machine environment of dalvikvm, needs to jar file, the system APK in upgrade package And the APK of user installation carries out odex conversion processing.Specifically, under dex environment, the dex in above-mentioned three kinds of files is turned Odex is turned to, and under odex environment, system jar file has been odex, does not need to convert;Major part APK is also simultaneously Odex, but still have the APK of part dex in system, it is still necessary to it is converted into odex, and the APK that user voluntarily installs is also required to Conversion.Wherein, dex and odex is the type of the executable file on Android (Android) platform.And odex is in Android Extracted in APK can operating file, i.e., the classes.dex file in APK is optimized into life by dex optimization process It is individually stored at a dex file, the classes.dex file in former APK can retain, and do so the starting that can accelerate application Speed is extracted in advance, the occupancy to RAM is reduced, because system will extract dex from apk packet and rerun without odex.
Another situation, when terminal uses the virtual machine ring of Android running environment (Android runtime, abbreviation art) When border, either under dex environment or under odex environment, the file that will include in upgrade package such as system jar file is required, is Unite APK, and the APK of user installation is converted into oat, and the process for being converted into oat is longer than the process for being converted into odex.
Therefore, it carries out, is incited somebody to action so that terminal is very long if these conversion processes are placed on after android system upgrading is restarted A period of time is not available, and occupies user's a large amount of time.Therefore the process of conversion is placed on backstage in the embodiment of the present invention Operation, in conversion, the system not upgraded is still can be used normally in user, will not cause because of system upgrade to user experience It influences.
S103 saves the file after conversion processing to other storage locations for removing system upgrade buffer area.
Optionally, the path of system upgrade buffer area generally/data/dalvik-cache, by the text in upgrade package Part carries out after conversion processing, it is only necessary to which the file after conversion processing is saved other storage locations to except the path i.e. It can.
S104, by the file copy after the conversion processing to the system upgrade buffer area under recovery mode, Complete upgrading.
When conversion processing and storage processing complete after, user can operating terminal enter recovery mode, eventually The operational order that end receives user's input enters after recovery mode, can be by the file after conversion processing from original Storage location is copied to the system upgrade buffer area, after such terminal is restarted, will directly read the text after conversion is completed Part without showing " Android is updating " again and carrying out prolonged system initialization, but can be directly entered update Android system afterwards.
By receiving the upgrade command of user's input, upgrade package is downloaded, then on backstage to the file in the upgrade package Conversion processing is carried out, and the file after conversion processing is saved to other storage locations in addition to system upgrade buffer area, so The file copy after the conversion processing to the system upgrade buffer area is completed into upgrading under recovery mode afterwards, by It is carried out in conversion processing on backstage, therefore user can use old system as usual in escalation process;And after the completion of converting, it will convert Treated, and file is stored in nonsystematic upgrading buffer area, and system upgrade caching is copied under recovery mode Area, so that the initialization procedure of Android greatly shortens, upgrading is done directly, and in escalation process, user be can be used Old system, after the completion of upgrading, terminal can call directly the file use after conversion processing, and such user also can directly exist Terminal is restarted directly to be promoted using new system so that the unusable time of terminal greatly shortens in entire escalation process afterwards The ease for use of terminal, also the user experience is improved.
It referring to figure 2., is the process signal of the second embodiment of the method for android system provided by the invention upgrading Figure, in the present embodiment, the described method comprises the following steps:
S201 receives the upgrade command of user's input, downloads upgrade package.
S202, if the upgrade package is increment upgrade package, by the system archive file and system in the upgrade package Android installation kit is synthesized.
Optionally, if the upgrade package is increment upgrade package, by the system archive file and system in the upgrade package Android installation kit is synthesized to carry out on backstage.
Certainly, if the upgrade package is full dose upgrade package, without being synthesized.
S203 carries out conversion processing to the file in the upgrade package on backstage.
Generally, the file path for needing to carry out conversion processing is /system/framework/*.jar ,/system/ App/*.apk ,/system/pri-app/*.apk ,/vendor/app/*.apk and/data/app/*.apk.It * is application Title.
For APK, it is also necessary to the difference for considering version number needs differentiation to need which APK converted on earth, if system APK promoted mistake is then not necessarily to conversion processing, be included in/data/app in, specifically judge can by system interface come It carries out.
Wherein, the file in the upgrade package includes system filing (Java Archive, abbreviation JAR) file, system The Android installation kit of Android installation kit (Android Package, abbreviation APK) and user installation.
The conversion processing includes odex conversion processing or oat conversion processing.Two kinds of conversion processings are according to the current institute of terminal Depending on the virtual machine environment used.
Wherein, it when terminal uses the virtual machine environment of dalvikvm, needs to jar file, the system APK in upgrade package And the APK of user installation carries out odex conversion processing.Specifically, under dex environment, the dex in above-mentioned three kinds of files is turned Odex is turned to, and under odex environment, system jar file has been odex, does not need to convert;Major part APK is also simultaneously Odex, but still have the APK of part dex in system, it is still necessary to it is converted into odex, and the APK that user voluntarily installs is also required to Conversion.Wherein, dex and odex is the type of the executable file on Android (Android) platform.And odex is in Android Extracted in APK can operating file, i.e., the classes.dex file in APK is optimized into life by dex optimization process It is individually stored at a dex file, the classes.dex file in former APK can retain, and do so the starting that can accelerate application Speed is extracted in advance, the occupancy to RAM is reduced, because system will extract dex from apk packet and rerun without odex.
Another situation, when terminal uses the virtual machine ring of Android running environment (Android runtime, abbreviation art) When border, either under dex environment or under odex environment, the file that will include in upgrade package such as system jar file is required, is Unite APK, and the APK of user installation is converted into oat, and the process for being converted into oat is longer than the process for being converted into odex.
Therefore, it carries out, is incited somebody to action so that terminal is very long if these conversion processes are placed on after android system upgrading is restarted A period of time is not available, and occupies user's a large amount of time.Therefore the process of conversion is placed on backstage in the embodiment of the present invention Operation, in conversion, the system not upgraded is still can be used normally in user, will not cause because of system upgrade to user experience It influences.
S204 saves the file after conversion processing to other storage locations for removing system upgrade buffer area.
Optionally, the path of system upgrade buffer area generally/data/dalvik-cache, by the text in upgrade package Part carries out after conversion processing, it is only necessary to which the file after conversion processing is saved other storage locations to except the path i.e. It can.
S205, by the file copy after the conversion processing to the system upgrade buffer area under recovery mode, Complete upgrading.
When conversion processing and storage processing complete after, user can operating terminal enter recovery mode, eventually The operational order that end receives user's input enters after recovery mode, can be by the file after conversion processing from original Storage location is copied to the system upgrade buffer area, after such terminal is restarted, will directly read the text after conversion is completed Part without showing " Android is updating " again and carrying out prolonged system initialization, but can be directly entered update Android system afterwards.
It referring to figure 3., is the process signal of the second embodiment of the method for android system provided by the invention upgrading Figure, in the present embodiment, the described method comprises the following steps:
S301 receives the upgrade command of user's input, downloads upgrade package.
S302, if the upgrade package is increment upgrade package, by the system archive file and system in the upgrade package Android installation kit is synthesized.
Optionally, if the upgrade package is increment upgrade package, by the system archive file and system in the upgrade package Android installation kit is synthesized to carry out on backstage.
Certainly, if the upgrade package is full dose upgrade package, without being synthesized.
S303 carries out conversion processing to the file in the upgrade package on backstage.
Generally, the file path for needing to carry out conversion processing is /system/framework/*.jar ,/system/ App/*.apk ,/system/pri-app/*.apk ,/vendor/app/*.apk and/data/app/*.apk.It * is application Title.
For APK, it is also necessary to the difference for considering version number needs differentiation to need which APK converted on earth, if system APK promoted mistake is then not necessarily to conversion processing, be included in/data/app in, specifically judge can by system interface come It carries out.
Wherein, the file in the upgrade package includes system filing (Java Archive, abbreviation JAR) file, system The Android installation kit of Android installation kit (Android Package, abbreviation APK) and user installation.
The conversion processing includes odex conversion processing or oat conversion processing.Two kinds of conversion processings are according to the current institute of terminal Depending on the virtual machine environment used.
Wherein, it when terminal uses the virtual machine environment of dalvikvm, needs to jar file, the system APK in upgrade package And the APK of user installation carries out odex conversion processing.Specifically, under dex environment, the dex in above-mentioned three kinds of files is turned Odex is turned to, and under odex environment, system jar file has been odex, does not need to convert;Major part APK is also simultaneously Odex, but still have the APK of part dex in system, it is still necessary to it is converted into odex, and the APK that user voluntarily installs is also required to Conversion.Wherein, dex and odex is the type of the executable file on Android (Android) platform.And odex is in Android Extracted in APK can operating file, i.e., the classes.dex file in APK is optimized into life by dex optimization process It is individually stored at a dex file, the classes.dex file in former APK can retain, and do so the starting that can accelerate application Speed is extracted in advance, the occupancy to RAM is reduced, because system will extract dex from apk packet and rerun without odex.
Another situation, when terminal uses the virtual machine ring of Android running environment (Android runtime, abbreviation art) When border, either under dex environment or under odex environment, the file that will include in upgrade package such as system jar file is required, is Unite APK, and the APK of user installation is converted into oat, and the process for being converted into oat is longer than the process for being converted into odex.
Therefore, it carries out, is incited somebody to action so that terminal is very long if these conversion processes are placed on after android system upgrading is restarted A period of time is not available, and occupies user's a large amount of time.Therefore the process of conversion is placed on backstage in the embodiment of the present invention Operation, in conversion, the system not upgraded is still can be used normally in user, will not cause because of system upgrade to user experience It influences.
S304 saves the file after conversion processing into external safe digital card.
Optionally, the path of system upgrade buffer area generally/data/dalvik-cache, by the text in upgrade package Part carries out after conversion processing, it is only necessary to which the file after conversion processing is saved other storage locations to except the path i.e. It can.For example, it may be in external safe digital card, naturally it is also possible to be its for removing system upgrade buffer area in terminal built-in storage His store path.
S305, by the file copy after the conversion processing to the system upgrade buffer area under recovery mode, Complete upgrading.
When conversion processing and storage processing complete after, user can operating terminal enter recovery mode, eventually The operational order that end receives user's input enters after recovery mode, can be by the file after conversion processing from original Storage location is copied to the system upgrade buffer area, after such terminal is restarted, will directly read the text after conversion is completed Part without showing " Android is updating " again and carrying out prolonged system initialization, but can be directly entered update Android system afterwards.
It referring to figure 4., is the composition schematic diagram of the first embodiment of terminal provided in an embodiment of the present invention, in the present embodiment In, the terminal includes:
Download unit 100 downloads upgrade package for receiving the upgrade command of user's input;
Conversion unit 200, for carrying out conversion processing to the file in the upgrade package on backstage;
Storage unit 300, for saving the file after conversion processing to other storage positions except system upgrade buffer area It sets;
Upgrade unit 400, under recovery mode by the file copy after the conversion processing to the system Upgrade buffer area, completes upgrading.
Optionally, the conversion unit 200 is also used to:
If the upgrade package is increment upgrade package, by the system archive file and system Android in the upgrade package Installation kit is synthesized;
If the upgrade package is full dose upgrade package, without being synthesized.
Optionally, if the upgrade package is increment upgrade package, by the system archive file and system in the upgrade package Android installation kit is synthesized to carry out on backstage.
Optionally, the storage unit 300 is specifically used for:
File after conversion processing is saved into external safe digital card;Or
File after conversion processing is saved into terminal built-in storage to other store paths for removing system upgrade buffer area.
Optionally, the file in the upgrade package includes system archive file, system Android installation kit and user's peace The Android installation kit of dress;
The conversion processing includes odex conversion processing or oat conversion processing.
The above download unit 100, conversion unit 200, storage unit 300 and upgrade unit 400 can be individually present, can also With integrally disposed, download unit 100, conversion unit 200, storage unit 300 or upgrade unit 400 can in the form of hardware solely The processor for standing on terminal is separately provided, and form is arranged and can be the form of microprocessor;It can also embed in the form of hardware In the processor of the terminal, it can also be stored in a software form in the memory of the terminal, in order to the processing of the terminal Device, which calls, executes the above download unit 100, conversion unit 200, storage unit 300 and the corresponding operation of upgrade unit 400.
For example, conversion unit 200 can be should in the first embodiment (embodiment shown in Fig. 4) of terminal of the present invention The processor of terminal, and the function of download unit 100, storage unit 300 and upgrade unit 400 can be embedded in the processor In, it can also be separately provided, can also be stored in memory in the form of software independently of processor, be called by processor real Its existing function.The embodiment of the present invention does not do any restrictions.The above processor can for central processing unit (CPU), microprocessor, Single-chip microcontroller etc..
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is all differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place referring to The part of embodiment of the method illustrates.
Description through the foregoing embodiment, the invention has the following advantages that
By receiving the upgrade command of user's input, upgrade package is downloaded, then on backstage to the file in the upgrade package Conversion processing is carried out, and the file after conversion processing is saved to other storage locations in addition to system upgrade buffer area, so The file copy after the conversion processing to the system upgrade buffer area is completed into upgrading under recovery mode afterwards, by It is carried out in conversion processing on backstage, therefore user can use old system as usual in escalation process;And after the completion of converting, it will convert Treated, and file is stored in nonsystematic upgrading buffer area, and system upgrade caching is copied under recovery mode Area, so that the initialization procedure of Android greatly shortens, upgrading is done directly, and in escalation process, user be can be used Old system, after the completion of upgrading, terminal can call directly the file use after conversion processing, and such user also can directly exist Terminal is restarted directly to be promoted using new system so that the unusable time of terminal greatly shortens in entire escalation process afterwards The ease for use of terminal, also the user experience is improved.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, abbreviation ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (6)

1. a kind of method of android system upgrading characterized by comprising
The upgrade command of user's input is received, upgrade package is downloaded;
Conversion processing is carried out to the file in the upgrade package on backstage;File in the upgrade package includes system filing text The Android installation kit of part, system Android installation kit and user installation;The conversion processing includes odex conversion processing Or oat conversion processing;If the upgrade package is increment upgrade package, by the system archive file and system in the upgrade package Android installation kit is synthesized to carry out on backstage;
File after conversion processing is saved to other storage locations in addition to system upgrade buffer area;
By the file copy after the conversion processing to the system upgrade buffer area under recovery mode, upgrading is completed.
2. the method as described in claim 1, which is characterized in that further include:
If the upgrade package is full dose upgrade package, without being synthesized.
3. the method as described in claim 1, which is characterized in that the file by after conversion processing is saved to except system upgrade Other storage locations of buffer area, comprising:
File after conversion processing is saved into external safe digital card;Or
File after conversion processing is saved into terminal built-in storage to other store paths for removing system upgrade buffer area.
4. a kind of terminal characterized by comprising
Download unit downloads upgrade package for receiving the upgrade command of user's input;
Conversion unit, for carrying out conversion processing to the file in the upgrade package on backstage;File packet in the upgrade package Include the Android installation kit of system archive file, system Android installation kit and user installation;The conversion processing includes Odex conversion processing or oat conversion processing;If the upgrade package is increment upgrade package, the system in the upgrade package is filed File and system Android installation kit are synthesized to carry out on backstage;
Storage unit, for saving the file after conversion processing to other storage locations for removing system upgrade buffer area;
Upgrade unit, for caching the file copy after the conversion processing to the system upgrade under recovery mode Area completes upgrading.
5. terminal as claimed in claim 4, which is characterized in that the conversion unit is also used to:
If the upgrade package is full dose upgrade package, without being synthesized.
6. terminal as claimed in claim 4, which is characterized in that the storage unit is specifically used for:
File after conversion processing is saved into external safe digital card;Or
File after conversion processing is saved into terminal built-in storage to other store paths for removing system upgrade buffer area.
CN201510617484.9A 2015-09-24 2015-09-24 A kind of method and terminal of android system upgrading Active CN105138382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510617484.9A CN105138382B (en) 2015-09-24 2015-09-24 A kind of method and terminal of android system upgrading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510617484.9A CN105138382B (en) 2015-09-24 2015-09-24 A kind of method and terminal of android system upgrading

Publications (2)

Publication Number Publication Date
CN105138382A CN105138382A (en) 2015-12-09
CN105138382B true CN105138382B (en) 2019-02-05

Family

ID=54723739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510617484.9A Active CN105138382B (en) 2015-09-24 2015-09-24 A kind of method and terminal of android system upgrading

Country Status (1)

Country Link
CN (1) CN105138382B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528229B (en) * 2015-12-16 2018-09-07 广东欧珀移动通信有限公司 Improve the method and device that mobile terminal first powers on speed
CN105677335B (en) * 2015-12-29 2019-03-26 Oppo广东移动通信有限公司 Improve the method and device that mobile terminal first powers on speed
CN106997294A (en) * 2016-01-26 2017-08-01 中兴通讯股份有限公司 Odex document generating methods and device
CN105808300B (en) * 2016-03-09 2019-05-03 Oppo广东移动通信有限公司 A kind of starting-up method and device of terminal
CN105975037A (en) * 2016-05-16 2016-09-28 青岛海信电器股份有限公司 Method for restoring factory settings based on Android system and intelligent equipment
CN106020882A (en) * 2016-05-18 2016-10-12 青岛海信电器股份有限公司 Application upgrading method, intelligent terminal and upgrading system
CN106126377B (en) * 2016-07-04 2019-07-02 Oppo广东移动通信有限公司 The method and device of system starting
CN106201625A (en) * 2016-07-19 2016-12-07 乐视控股(北京)有限公司 A kind of software version updating method, updating device and electronic equipment thereof
CN106293835A (en) * 2016-08-09 2017-01-04 捷开通讯(深圳)有限公司 A kind of method and system of smart machine firmware upgrade
CN106406940B (en) * 2016-09-05 2020-01-10 Oppo广东移动通信有限公司 System upgrading method, device and terminal
CN106775827B (en) * 2016-11-25 2020-05-12 Oppo广东移动通信有限公司 Application program updating method and device and computer equipment
CN106681761B (en) * 2016-12-13 2020-12-01 深圳市恒扬数据股份有限公司 Interactive upgrading method and system
CN107193580A (en) * 2017-03-31 2017-09-22 北京元心科技有限公司 Method for updating system and non-of short duration computer-readable medium
CN109165048A (en) * 2018-10-11 2019-01-08 四川长虹电器股份有限公司 Quick start method after upgrading based on Android system
CN109634629B (en) * 2018-10-25 2022-04-15 努比亚技术有限公司 System upgrading method, terminal and computer readable storage medium
CN112463199A (en) * 2019-09-09 2021-03-09 青岛海信移动通信技术股份有限公司 System upgrading method and terminal
CN111290773B (en) * 2020-03-12 2024-01-19 深圳Tcl新技术有限公司 System upgrade method, device and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202009452U (en) * 2010-11-17 2011-10-12 苏州冠捷科技有限公司 Verification system for TV set application program upgrading
CN103685554A (en) * 2013-12-25 2014-03-26 浙江云巢科技有限公司 Upgrading method, device and system
CN103699398A (en) * 2012-09-27 2014-04-02 联想(北京)有限公司 Terminal equipment and starting control method thereof
CN104216719A (en) * 2013-05-30 2014-12-17 深圳创维无线技术有限公司 Method and device for updating android system
CN104252363A (en) * 2013-06-25 2014-12-31 上海博泰悦臻电子设备制造有限公司 Rapid starting method for vehicle-mounted system based on Android system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202009452U (en) * 2010-11-17 2011-10-12 苏州冠捷科技有限公司 Verification system for TV set application program upgrading
CN103699398A (en) * 2012-09-27 2014-04-02 联想(北京)有限公司 Terminal equipment and starting control method thereof
CN104216719A (en) * 2013-05-30 2014-12-17 深圳创维无线技术有限公司 Method and device for updating android system
CN104252363A (en) * 2013-06-25 2014-12-31 上海博泰悦臻电子设备制造有限公司 Rapid starting method for vehicle-mounted system based on Android system
CN103685554A (en) * 2013-12-25 2014-03-26 浙江云巢科技有限公司 Upgrading method, device and system

Also Published As

Publication number Publication date
CN105138382A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
CN105138382B (en) A kind of method and terminal of android system upgrading
CN105100191B (en) The method, apparatus and system of Java application installations are realized in a kind of cloud compiling
KR101963912B1 (en) Application compatibility with library operating systems
CN111078318B (en) Processing method, device and system of configuration file and storage medium
CN105786538B (en) software upgrading method and device based on android system
CN107967139B (en) Hot updating method and device for game
CN111045714B (en) Firmware updating method and device, earphone and computer readable storage medium
CN104375849A (en) Core loading method and device
CN109558160A (en) Upgrade method, embedded system
CN104866293B (en) A kind of method and device to Android application extensions for Microsoft Internet Explorer & Microsoft Office
EP2864872B1 (en) Automatic provisioning of a software platform to a device ecosystem
CN104834555A (en) Method for invoking functional module, related device and device repairing method
CN105354065B (en) A kind of multi-product method for upgrading software and terminal
CN105630534A (en) TrustZone framework-based application program execution method and device as well as terminal
CN106020882A (en) Application upgrading method, intelligent terminal and upgrading system
CN109032617B (en) Control method and control device for automatically deleting installation package
CN116643778B (en) Application program optimization method and electronic equipment
CN105786636A (en) System repairing method and device
CN106293790B (en) application program upgrading method and device based on Firefox operating system
CN103761126A (en) Method and device for upgrading application program
CN113031996A (en) OTA (over the air) upgrading method and device of electronic equipment, control terminal and medium
CN105447382A (en) Sandbox based software registry redirection method and system
CN106528219A (en) Upgrading method and apparatus for parasitic tool package in application
CN104778068A (en) Management system and management method of software installation package for mobile terminal
CN111427603B (en) Application program 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
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant