CN106293782A - A kind of method for upgrading system and terminal - Google Patents

A kind of method for upgrading system and terminal Download PDF

Info

Publication number
CN106293782A
CN106293782A CN201510249814.3A CN201510249814A CN106293782A CN 106293782 A CN106293782 A CN 106293782A CN 201510249814 A CN201510249814 A CN 201510249814A CN 106293782 A CN106293782 A CN 106293782A
Authority
CN
China
Prior art keywords
partition holding
downloaded
aku
priority
target partition
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.)
Pending
Application number
CN201510249814.3A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510249814.3A priority Critical patent/CN106293782A/en
Priority to PCT/CN2015/087258 priority patent/WO2016183951A1/en
Publication of CN106293782A publication Critical patent/CN106293782A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of method for upgrading system and terminal, wherein, described method includes: reading the target partition holding of AKU, described target partition holding is non-caching (cache) subregion;Whether the memory capacity detecting described AKU is less than described target partition holding, obtains judged result;Described judged result be described AKU memory capacity less than described target partition holding time, by described AKU download store to described target partition holding;Detecting that described AKU is downloaded storage and terminated, system reboot also enters first mode, extracts described AKU from described target partition holding and carries out system upgrade process.

Description

A kind of method for upgrading system and terminal
Technical field
The present invention relates to upgrade technique, particularly relate to a kind of method for upgrading system and terminal.
Background technology
Present inventor, during realizing the embodiment of the present application technical scheme, at least finds correlation technique The following technical problem of middle existence:
Universal along with intelligent terminal, intelligent terminal such as mobile phone is carried out system upgrade be during user lives usually Meeting experience, concrete a kind of scene is: encounter the scene of the FOTA upgrading of the big version of operating system, How this scene is processed?Such as by red fox V1.3 system upgrade to red fox V2.0 system, red fox V2.0 system be compared to before system, its FOTA difference bag is bigger, if according to prior art The way that middle Android (Android) is conventional, is by the caching (cache) of FOTA difference packet replication to mobile phone Subregion stores, then carries out updating operation at cache subregion.Red fox V2.0 system is compared to it Before system, often there is the situation that FOTA difference bag is bigger, even can big more than cache subregion Little, owing to the insufficient memory of cache subregion accommodates FOTA difference bag, the most necessarily directly cause FOTA Upgrade unsuccessfully.But, in correlation technique, for this problem, and it is not provided with the solution of effect.
Summary of the invention
In view of this, the embodiment of the present invention, desirable to provide a kind of method for upgrading system and terminal, solve at least The problem that prior art exists.
The technical scheme of the embodiment of the present invention is achieved in that
A kind of method for upgrading system of the embodiment of the present invention, described method includes:
Reading the target partition holding of AKU, described target partition holding is non-caching cache subregion;
Whether the memory capacity detecting described AKU is less than described target partition holding, obtains judged result;
Described judged result be described AKU memory capacity less than described target partition holding time, by described AKU is downloaded and is stored to described target partition holding;
Detecting that described AKU is downloaded storage and terminated, system reboot also enters first mode, from described target Partition holding extracts described AKU and carries out system upgrade process.
In such scheme, described target partition holding includes at least one partition holding to be downloaded;
The target partition holding of described reading AKU, including:
Obtain precedence information;
Choose as first preferential from least one partition holding to be downloaded described according to described precedence information The partition holding to be downloaded of level, and the partition holding to be downloaded of described first priority is deposited as described target Storage subregion.
In such scheme, described judged result is that the memory capacity of described AKU is less than the storage point of described target Qu Shi, downloads described AKU and stores to described target partition holding, including:
When the memory capacity of described AKU is less than the partition holding to be downloaded of described first priority, by described AKU is downloaded and is stored the partition holding to be downloaded to described first priority.
In such scheme, described system reboot also enters first mode, extracts institute from described target partition holding State AKU and carry out system upgrade process, including:
Described system reboot also enters recovery pattern, and the storage to be downloaded of the first priority described in carry divides District, reads described AKU from the partition holding to be downloaded of described first priority and carries out system upgrade process.
In such scheme, described method also includes:
Detect that described system upgrade process terminates, delete under described recovery pattern and be stored in described the Described AKU in the partition holding to be downloaded of one priority.
In such scheme, described method also includes:
When described target partition holding is the partition holding to be downloaded of described first priority, described judged result Memory capacity for described AKU is more than the partition holding to be downloaded of described first priority, according to described excellent First level information chooses the storage to be downloaded as the second priority from least one partition holding to be downloaded described Subregion, and using the partition holding to be downloaded of described second priority as described target partition holding;
Described download by described AKU stores to described target partition holding, including:
Described AKU is downloaded and stores the partition holding to be downloaded to described second priority.
In such scheme, described system reboot also enters first mode, extracts institute from described target partition holding State AKU and carry out system upgrade process, including:
Described system reboot also enters recovery pattern, and the storage to be downloaded of the second priority described in carry divides District, reads described AKU from the partition holding to be downloaded of described second priority and carries out system upgrade process.
In such scheme, described method also includes:
Detect that described system upgrade process terminates, delete under described recovery pattern and be stored in described the Described AKU in the partition holding to be downloaded of two priority.
A kind of terminal of the embodiment of the present invention, described terminal includes:
Reading unit, for reading the target partition holding of AKU, described target partition holding is non-caching Cache subregion;
Whether first detector unit, for detecting the memory capacity of described AKU less than the storage point of described target District, obtains judged result;
Download unit, stores less than described target for the memory capacity that described judged result is described AKU During subregion, described AKU is downloaded and stores to described target partition holding;
First processing unit, is used for detecting that described AKU is downloaded storage and terminated, and system reboot also enters the One pattern, extracts described AKU from described target partition holding and carries out system upgrade process.
In such scheme, described target partition holding includes at least one partition holding to be downloaded;
Described reading unit, is further used for obtaining precedence information, according to described precedence information from described At least one partition holding to be downloaded is chosen the partition holding to be downloaded as the first priority, and by described The partition holding to be downloaded of the first priority is as described target partition holding.
In such scheme, described download unit, it is further used for the memory capacity of described AKU less than described During the partition holding to be downloaded of the first priority, described AKU is downloaded and stores to described first priority Partition holding to be downloaded.
In such scheme, described first processing unit, it is further used for described system reboot and enters recovery Pattern, the partition holding to be downloaded of the first priority described in carry, deposit from described the to be downloaded of first priority Storage subregion reads described AKU and carries out system upgrade process.
In such scheme, described first processing unit, it is further used for detecting that described system upgrade processes knot Bundle, deletes in the partition holding to be downloaded being stored in described first priority under described recovery pattern Described AKU.
In such scheme, described reading unit, it is described first excellent for being further used for described target partition holding During the partition holding to be downloaded of first level, described judged result is that the memory capacity of described AKU is more than described the The partition holding to be downloaded of one priority, according to described precedence information from least one storage to be downloaded described Subregion chooses the partition holding to be downloaded as the second priority, and to be downloaded by described second priority Partition holding is as described target partition holding;
Described download unit, is further used for downloading described AKU storing treating to described second priority Download partition holding.
In such scheme, described first processing unit, it is further used for described system reboot and enters recovery Pattern, the partition holding to be downloaded of the second priority described in carry, deposit from described the to be downloaded of second priority Storage subregion reads described AKU and carries out system upgrade process.
In such scheme, described first processing unit, it is further used for detecting that described system upgrade processes knot Bundle, deletes in the partition holding to be downloaded being stored in described second priority under described recovery pattern Described AKU.
A kind of method for upgrading system of the embodiment of the present invention, described method includes: the target reading AKU is deposited Storage subregion, described target partition holding is non-caching cache subregion;Detect the memory capacity of described AKU Whether less than described target partition holding, obtain judged result;Described judged result is depositing of described AKU When storage capacity is less than described target partition holding, described AKU is downloaded and stores to described target partition holding; Detecting that described AKU is downloaded storage and terminated, system reboot also enters first mode, stores from described target AKU described in multi-subarea extracting carries out system upgrade process.
Use the embodiment of the present invention, the region conduct that memory space this to non-caching cache subregion is bigger Target partition holding, in the case of bigger due to the AKU memory capacity needed for difference in version upgrading, Upgrading processing service can also be realized smoothly, thus the upgrading of intelligent terminal provides more facilities.
Accompanying drawing explanation
Fig. 1 be the inventive method embodiment one realize schematic flow sheet;
Fig. 2 be the inventive method embodiment two realize schematic flow sheet;
Fig. 3 be the inventive method embodiment three realize schematic flow sheet;
Fig. 4 is the composition structural representation of terminal embodiment one of the present invention;
Fig. 5 is the schematic diagram of an application scenarios of the application embodiment of the present invention;
Fig. 6 is the schematic diagram of the Another Application scene of the application embodiment of the present invention.
Detailed description of the invention
Enforcement to technical scheme is described in further detail below in conjunction with the accompanying drawings.
Embodiment of the method one:
A kind of method for upgrading system of the embodiment of the present invention, as it is shown in figure 1, described method includes:
Step 101, the target partition holding of reading AKU, described target partition holding is non-caching cache Subregion;
Step 102, detect the memory capacity of described AKU whether less than described target partition holding, obtain Judged result;
Step 103, described judged result are that the memory capacity of described AKU is less than described target partition holding Time, described AKU is downloaded and stores to described target partition holding;
Step 104, detect described AKU download storage terminate, system reboot also enters first mode, Extract described AKU from described target partition holding and carry out system upgrade process.
Embodiment of the method two:
Based on embodiment of the method one, a kind of method for upgrading system of the embodiment of the present invention, the storage point of described target District includes at least one partition holding to be downloaded;As in figure 2 it is shown, the target storage point of described reading AKU District, including:
Step 201, acquisition precedence information;
Step 202, from least one partition holding to be downloaded described, choose work according to described precedence information Be the partition holding to be downloaded of the first priority, and using the partition holding to be downloaded of described first priority as Described target partition holding.
In the present embodiment one embodiment, described judged result is that the memory capacity of described AKU is less than institute When stating target partition holding, described AKU is downloaded and stores to described target partition holding, including: described When the memory capacity of AKU is less than the partition holding to be downloaded of described first priority, by under described AKU Carry and store the partition holding to be downloaded to described first priority.
In the present embodiment one embodiment, described system reboot also enters first mode, deposits from described target AKU described in storage multi-subarea extracting carries out system upgrade process, including: described system reboot also enters recovery Pattern, the partition holding to be downloaded of the first priority described in carry, deposit from described the to be downloaded of first priority Storage subregion reads described AKU and carries out system upgrade process.
In the present embodiment one embodiment, described method also includes: detect that described system upgrade processes knot Bundle, deletes in the partition holding to be downloaded being stored in described first priority under described recovery pattern Described AKU.
Embodiment of the method three:
Based on embodiment of the method one, a kind of method for upgrading system of the embodiment of the present invention, the storage point of described target District includes that at least one partition holding to be downloaded, described target partition holding are under the treating of described first priority When carrying partition holding, described judged result is that the memory capacity of described AKU is more than described first priority Partition holding to be downloaded, as it is shown on figure 3, the target partition holding of described reading AKU, including:
Step 301, acquisition precedence information;
Step 302, from least one partition holding to be downloaded described, choose work according to described precedence information Be the partition holding to be downloaded of the second priority, and using the partition holding to be downloaded of described second priority as Described target partition holding.
In the present embodiment one embodiment, described download by described AKU stores to the storage point of described target District, including: described AKU is downloaded and stores the partition holding to be downloaded to described second priority.
In the present embodiment one embodiment, described system reboot also enters first mode, deposits from described target AKU described in storage multi-subarea extracting carries out system upgrade process, including: described system reboot also enters recovery Pattern, the partition holding to be downloaded of the second priority described in carry, deposit from described the to be downloaded of second priority Storage subregion reads described AKU and carries out system upgrade process.
In the present embodiment one embodiment, described method also includes: detect that described system upgrade processes knot Bundle, deletes in the partition holding to be downloaded being stored in described second priority under described recovery pattern Described AKU.
It is to be herein pointed out above-mentioned first mode can be recovery pattern, above-mentioned first priority Partition holding to be downloaded can be the user partition of this terminal built-in of user data (userdata) subregion, (follow-up userdata subregion is also referred to as user partition), the partition holding to be downloaded of above-mentioned second priority can Think SD card or the region of other external storage cards.
It is to be herein pointed out the type of target partition holding at least includes: the user partition of terminal built-in, At least one in external storage card.Accordingly, AKU can also be different from above-mentioned that AKU is complete It is stored in the embodiment in any one region at least one partition holding to be downloaded, is according in advance by AKU If the partial content that obtains of ratio be stored respectively in the multiple regions at least one partition holding to be downloaded In, summation constitutes a complete AKU, needs simultaneously or successively when follow-up entrance recovery pattern These storages of carry have multiple regions of AKU partial content, in order to therefrom read AKU partial content, It is reassembled into a complete AKU according to default assembled condition, afterwards, enters according to complete AKU Row upgrading processing.
And above-mentioned complete for AKU is stored in any one region at least one partition holding to be downloaded How embodiment, determine the region of preferential storage, determine according to above-mentioned precedence information, according to excellent Partition holding priority orders in first level information, treats down the memory capacity of AKU with at least one respectively Compare, until finding a suitable partition holding conduct to be downloaded in the region carried in partition holding Described target partition holding, stores the content that AKU is complete, needs when follow-up entrance recovery pattern This storage of carry is wanted to have a region of AKU complete content, in order to therefrom to read complete interior of AKU Hold, afterwards, carry out upgrading processing according to complete AKU.
Terminal embodiment one:
A kind of terminal of the embodiment of the present invention, as shown in Figure 4, described terminal includes:
Reading unit 11, for reading the target partition holding of AKU, described target partition holding is non-slow Deposit cache subregion;Whether first detector unit 12, for detecting the memory capacity of described AKU less than institute State target partition holding, obtain judged result;Download unit 13, is described upgrading for described judged result When the memory capacity of bag is less than described target partition holding, downloads to store to described target by described AKU and deposit Storage subregion;First processing unit 14, is used for detecting that described AKU is downloaded storage and terminated, system reboot is also Enter first mode, extract described AKU from described target partition holding and carry out system upgrade process.
In the present embodiment one embodiment, described target partition holding includes that at least one storage to be downloaded divides District;Described reading unit, is further used for obtaining precedence information, according to described precedence information from described At least one partition holding to be downloaded is chosen the partition holding to be downloaded as the first priority, and by described The partition holding to be downloaded of the first priority is as described target partition holding.
In the present embodiment one embodiment, described download unit, it is further used for the storage of described AKU When capacity is less than the partition holding to be downloaded of described first priority, described AKU is downloaded and stores to described The partition holding to be downloaded of the first priority.
In the present embodiment one embodiment, described first processing unit, it is further used for described system reboot And entering recovery pattern, the partition holding to be downloaded of the first priority described in carry, from described first excellent The partition holding to be downloaded of first level reads described AKU and carries out system upgrade process.
In the present embodiment one embodiment, described first processing unit, it is further used for described system being detected System upgrading processing terminates, and deletes and be stored in the to be downloaded of described first priority under described recovery pattern Described AKU in partition holding.
In the present embodiment one embodiment, described reading unit, it is further used for described target partition holding During for the partition holding to be downloaded of described first priority, described judged result is that the storage of described AKU is held Amount is more than the partition holding to be downloaded of described first priority, according to described precedence information from described at least one Individual partition holding to be downloaded chooses the partition holding to be downloaded as the second priority, and by described second excellent The partition holding to be downloaded of first level is as described target partition holding;
Described download unit, is further used for downloading described AKU storing treating to described second priority Download partition holding.
In the present embodiment one embodiment, described first processing unit, it is further used for described system reboot And entering recovery pattern, the partition holding to be downloaded of the second priority described in carry, from described second excellent The partition holding to be downloaded of first level reads described AKU and carries out system upgrade process.
In the present embodiment one embodiment, described first processing unit, it is further used for described system being detected System upgrading processing terminates, and deletes and be stored in the to be downloaded of described second priority under described recovery pattern Described AKU in partition holding.
Hereinafter use concrete application scenarios that the invention described above embodiment is described as follows:
This application scene uses the embodiment of the present invention to be specially the scheme of a kind of FOTA upgrading, should for this By scene, as a example by terminal is as smart mobile phone, use the FOTA upgrade technique of existing Android, be During mobile phone FOTA to be carried out upgrading, first FOTA difference bag is downloaded, be then copied to mobile phone Cache subregion;Mobile phone is restarted under recovery pattern automatically, enters the FOTA difference bag of cache subregion Row processes, and carries out FOTA upgrading.
The problem existing for FOTA upgrade technique using existing Android is: because cache subregion is used Family is sightless, thus generally cache subregion open smaller, when the big edition upgrading of operating system, Its FOTA difference bag size is certain to the size more than cache subregion, thus causes mobile phone to cannot be carried out greatly The FOTA upgrading of version, if resolving AKU failure, then directly results in and upgrades unsuccessfully.Solution is presently required Problem certainly is can correctly to store AKU, to avoid upgrading unsuccessfully, it is seen then that can be just from the region of storage It is very important for really parsing AKU, it is to be herein pointed out resolve the importance obtaining AKU Also reside in, when determining whether other people encroach right, owing to using userdata subregion or SD card is this external deposits Storage area territory, both of which is visible subregion, it is possible to by reading the internal or external memory block of the other side's mobile phone Partition information in territory and the difference bag size of FOTA, the log information upgraded by parsing judges the other side Mobile phone is encroached right the most.
Corresponding the problems referred to above, this application scene uses the embodiment of the present invention, i.e. box lunch FOTA difference bag to compare Big situation, mobile phone still can correctly store, the correct FOTA difference bag that resolves, thus avoids upgrading to lose Lose, moreover it is possible to bring a series of effects such as the true power of help.
Application scenarios one:
The user data userdata subregion of mobile phone, is the visible subregion of user, and this subregion is commonly referred to as used Space, family, its residue size represents that user can be used for taking pictures, download the space size of the user operations such as song. General this userdata partition space of mobile phone all can be bigger, can be 5-8 times of size of cache subregion, Can use as territory, target storage.FOTA upgrade step is as follows:
Step 401, by FOTA application download FOTA difference bag to userdata subregion;
Step 402, after FOTA difference bag has been downloaded, mobile phone reboots into recovery pattern automatically;
Step 403, under recovery pattern, carry userdatata subregion;
Step 404, under recovery pattern, after reading the FOTA difference bag in userdata subregion, Carry out FOTA updating operation;
Step 405, after FOTA updating operation is complete, under recovery pattern delete userdata subregion In FOTA difference bag.
Step 406, mobile phone are restarted automatically.
Application scenarios two,
Above-mentioned application scenarios one is only as a example by userdata subregion, and external SD card (or claiming sdcard) is certainly Can also use as territory, target storage.If the userdata subregion remaining space of user is not enough, How the external sdcard that user inserts also has remaining space, just FOTA difference bag is downloaded to sdcard On, under recovery pattern, carry sdcard subregion, reads the FOTA difference in sdcard subregion Bag carries out FOTA upgrading.As it is shown in figure 5, this application scene two had both included userdata subregion, include again External SD, can serve as the situation in territory, target storage, and FOTA upgrading flow process is as follows:
Step 501, by FOTA application program obtain FOTA server difference bag size be A;
Step 502, the remaining space size of acquisition mobile phone userdata are B;
Step 503, compare the size of A and B, if A < B, then perform step 504;If A > B, Then perform step 505;
Step 504, difference bag is downloaded storage to userdata subregion;Afterwards, step 509 is proceeded to;
Step 505, the remaining space size obtaining external sdcard are C;
Step 506, compare the size of A and C;If A < C, then perform step 507;If A > C, Then perform step 508;
Step 507, difference bag is downloaded storage in sdcard;
Step 508, prompting user delete no data, or it is bigger than A to insert an other remaining space Sdcard;
Step 509, when download stored difference bag after, mobile phone reboots into recovery pattern.
Application scenarios three:
The userdata subregion of this application scene three and external SD card (or claiming sdcard) can serve as target Memory area uses.If the userdata subregion remaining space of user is not enough, it is external that user inserts How sdcard also has remaining space, just downloads on sdcard, at recovery by FOTA difference bag Under pattern, carry sdcard subregion, the FOTA difference bag read in sdcard subregion carries out FOTA liter Level.As shown in Figure 6, this application scene had both included userdata subregion, included again external SD, can make For the situation in territory, target storage, the flow process under recovery pattern, including:
Userdata subregion is loaded under step 601, recorey pattern;
Step 602, judge whether there is FOTA difference bag in userdata subregion, if it is, perform step Rapid 605;Otherwise, step 603 is performed;
There is no FOTA difference bag in step 603, userdata subregion, load sdcard subregion;
Step 604, judging whether sdcard subregion has FOTA difference bag, sdcard subregion has FOTA poor During subpackage, perform step 605;
Step 605, have FOTA difference bag in the case of, transmit correct difference APMB package path, carry out The upgrading processing of FOTA;
After step 606, mobile phone FOTA upgrade successfully, the FOTA being automatically deleted FOTA upgrading corresponding is poor Subpackage.
It is to be herein pointed out also have a kind of concrete application scenarios, it is by big FOTA difference bag, tears open It is divided into the least FOTA difference bag, so uses FOTA upgrading scheme primary for Android to carry out Repeatedly upgrading, also can reach certain purpose, user needs repeatedly to download and upgrade.
What this application scene employing embodiment of the present invention can reach has the beneficial effect that
When AKU is bigger when mobile phone firmware is upgraded, such as use the software version liter of FOTA The situation for bigger FOTA difference bag that level runs into, it is possible to use effective memory space of user enters Row FOTA upgrades.And, the FOTA upgrading scheme that same compatible Android is primary, and can be with FOTA upgrading scheme primary for Android superposition simultaneously uses, in using effect more preferably.Apply this Bright embodiment, on P821A20 mobile phone, has been realized in the FOTA upgrading of the big version of red fox system, from The V1.3 system upgrade of red fox is to V2.0 system.
Hereinafter the abbreviation that present document relates to is described as follows:
MB:MByte, Mbytes;
GB:Gigabyte, gigabyte;
FOTA:Firmware Over-the-Air mobile terminal aerial downloaded software upgrade technique;
If module integrated described in the embodiment of the present invention realizes and as independent using the form of software function module Production marketing or use time, it is also possible to be stored in a computer read/write memory medium.Based on so Understanding, the part that prior art is contributed by the technical scheme of the embodiment of the present invention the most in other words can Embodying with the form with software product, this computer software product is stored in a storage medium, bag Include some instructions with so that a computer equipment (can be personal computer, server or network Equipment etc.) perform all or part of of method described in each embodiment of the present invention.And aforesaid storage medium bag Include: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can store program generation The medium of code.So, the embodiment of the present invention is not restricted to the combination of any specific hardware and software.
Accordingly, the embodiment of the present invention also provides for a kind of computer-readable storage medium, and wherein storage has computer journey Sequence, this computer program is for performing the method for upgrading system of the embodiment of the present invention.
The above, only presently preferred embodiments of the present invention, it is not intended to limit the protection model of the present invention Enclose.

Claims (16)

1. a method for upgrading system, it is characterised in that described method includes:
Reading the target partition holding of AKU, described target partition holding is non-caching cache subregion;
Whether the memory capacity detecting described AKU is less than described target partition holding, obtains judged result;
Described judged result be described AKU memory capacity less than described target partition holding time, by described AKU is downloaded and is stored to described target partition holding;
Detecting that described AKU is downloaded storage and terminated, system reboot also enters first mode, from described target Partition holding extracts described AKU and carries out system upgrade process.
Method the most according to claim 1, it is characterised in that described target partition holding includes at least One partition holding to be downloaded;
The target partition holding of described reading AKU, including:
Obtain precedence information;
Choose as first preferential from least one partition holding to be downloaded described according to described precedence information The partition holding to be downloaded of level, and the partition holding to be downloaded of described first priority is deposited as described target Storage subregion.
Method the most according to claim 2, it is characterised in that described judged result is described AKU Memory capacity less than described target partition holding time, download to store to described target by described AKU and store Subregion, including:
When the memory capacity of described AKU is less than the partition holding to be downloaded of described first priority, by described AKU is downloaded and is stored the partition holding to be downloaded to described first priority.
Method the most according to claim 3, it is characterised in that described system reboot also enters the first mould Formula, extracts described AKU from described target partition holding and carries out system upgrade process, including:
Described system reboot also enters recovery pattern, and the storage to be downloaded of the first priority described in carry divides District, reads described AKU from the partition holding to be downloaded of described first priority and carries out system upgrade process.
Method the most according to claim 4, it is characterised in that described method also includes:
Detect that described system upgrade process terminates, delete under described recovery pattern and be stored in described the Described AKU in the partition holding to be downloaded of one priority.
Method the most according to claim 2, it is characterised in that described method also includes:
When described target partition holding is the partition holding to be downloaded of described first priority, described judged result Memory capacity for described AKU is more than the partition holding to be downloaded of described first priority, according to described excellent First level information chooses the storage to be downloaded as the second priority from least one partition holding to be downloaded described Subregion, and using the partition holding to be downloaded of described second priority as described target partition holding;
Described download by described AKU stores to described target partition holding, including:
Described AKU is downloaded and stores the partition holding to be downloaded to described second priority.
Method the most according to claim 6, it is characterised in that described system reboot also enters the first mould Formula, extracts described AKU from described target partition holding and carries out system upgrade process, including:
Described system reboot also enters recovery pattern, and the storage to be downloaded of the second priority described in carry divides District, reads described AKU from the partition holding to be downloaded of described second priority and carries out system upgrade process.
Method the most according to claim 7, it is characterised in that described method also includes:
Detect that described system upgrade process terminates, delete under described recovery pattern and be stored in described the Described AKU in the partition holding to be downloaded of two priority.
9. a terminal, it is characterised in that described terminal includes:
Reading unit, for reading the target partition holding of AKU, described target partition holding is non-caching Cache subregion;
Whether first detector unit, for detecting the memory capacity of described AKU less than the storage point of described target District, obtains judged result;
Download unit, stores less than described target for the memory capacity that described judged result is described AKU During subregion, described AKU is downloaded and stores to described target partition holding;
First processing unit, is used for detecting that described AKU is downloaded storage and terminated, and system reboot also enters the One pattern, extracts described AKU from described target partition holding and carries out system upgrade process.
Terminal the most according to claim 9, it is characterised in that described target partition holding include to A few partition holding to be downloaded;
Described reading unit, is further used for obtaining precedence information, according to described precedence information from described At least one partition holding to be downloaded is chosen the partition holding to be downloaded as the first priority, and by described The partition holding to be downloaded of the first priority is as described target partition holding.
11. terminals according to claim 10, it is characterised in that described download unit, use further When the memory capacity of described AKU is less than the partition holding to be downloaded of described first priority, by described liter Level bag is downloaded and is stored the partition holding to be downloaded to described first priority.
12. terminals according to claim 11, it is characterised in that described first processing unit, enter one Step is for described system reboot and enters recovery pattern, the storage to be downloaded of the first priority described in carry Subregion, reads described AKU from the partition holding to be downloaded of described first priority and carries out at system upgrade Reason.
13. terminals according to claim 12, it is characterised in that described first processing unit, enter one Step is used for detecting that described system upgrade process terminates, and deletes described in being stored under described recovery pattern Described AKU in the partition holding to be downloaded of the first priority.
14. terminals according to claim 10, it is characterised in that described reading unit, use further When the partition holding to be downloaded that described target partition holding is described first priority, described judged result is The memory capacity of described AKU more than the partition holding to be downloaded of described first priority, according to described preferentially Level information is chosen the storage to be downloaded as the second priority from least one partition holding to be downloaded described and is divided District, and using the partition holding to be downloaded of described second priority as described target partition holding;
Described download unit, is further used for downloading described AKU storing treating to described second priority Download partition holding.
15. terminals according to claim 14, it is characterised in that described first processing unit, enter one Step is for described system reboot and enters recovery pattern, the storage to be downloaded of the second priority described in carry Subregion, reads described AKU from the partition holding to be downloaded of described second priority and carries out at system upgrade Reason.
16. terminals according to claim 15, it is characterised in that described first processing unit, enter one Step is used for detecting that described system upgrade process terminates, and deletes described in being stored under described recovery pattern Described AKU in the partition holding to be downloaded of the second priority.
CN201510249814.3A 2015-05-15 2015-05-15 A kind of method for upgrading system and terminal Pending CN106293782A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510249814.3A CN106293782A (en) 2015-05-15 2015-05-15 A kind of method for upgrading system and terminal
PCT/CN2015/087258 WO2016183951A1 (en) 2015-05-15 2015-08-17 System upgrade method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510249814.3A CN106293782A (en) 2015-05-15 2015-05-15 A kind of method for upgrading system and terminal

Publications (1)

Publication Number Publication Date
CN106293782A true CN106293782A (en) 2017-01-04

Family

ID=57319233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510249814.3A Pending CN106293782A (en) 2015-05-15 2015-05-15 A kind of method for upgrading system and terminal

Country Status (2)

Country Link
CN (1) CN106293782A (en)
WO (1) WO2016183951A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108845819A (en) * 2018-08-10 2018-11-20 百度在线网络技术(北京)有限公司 Programme upgrade method and device for equipment
CN109391936A (en) * 2018-09-19 2019-02-26 四川长虹电器股份有限公司 A kind of method of OTA upgrade package encryption downloading
CN111263354A (en) * 2020-01-08 2020-06-09 苏宁智能终端有限公司 OTA differential upgrading method and device
CN111522566A (en) * 2020-04-23 2020-08-11 Oppo(重庆)智能科技有限公司 System upgrading method, terminal and storage medium
CN111782249A (en) * 2020-07-10 2020-10-16 上海淇毓信息科技有限公司 Method and device for upgrading service function of client and electronic equipment

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984198A (en) * 2018-07-16 2018-12-11 深圳市茁壮网络股份有限公司 A kind of upgrade method and device of android system
CN109947450B (en) * 2019-03-19 2023-03-17 深圳创维-Rgb电子有限公司 System file upgrading method and device, mobile terminal and readable storage medium
CN110399153B (en) * 2019-07-25 2023-11-03 Oppo广东移动通信有限公司 System upgrading method, device, terminal and computer readable storage medium
CN110865837B (en) * 2019-11-14 2023-08-18 青岛海信移动通信技术有限公司 Method and terminal for system upgrade
CN114443081A (en) * 2020-11-04 2022-05-06 华为技术有限公司 Terminal upgrading method and terminal
CN115729586B (en) * 2021-06-15 2023-10-20 荣耀终端有限公司 Operating system upgrade method, device, storage medium and computer program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040210731A1 (en) * 2003-04-16 2004-10-21 Paresh Chatterjee Systems and methods for striped storage migration
CN101122865A (en) * 2007-04-26 2008-02-13 晶天电子(深圳)有限公司 Computer mainboard quick suspending and recovery device using phase-change memory
CN102215479A (en) * 2011-06-22 2011-10-12 中兴通讯股份有限公司 Method, server and system for downloading and installing upgrade package
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
CN103544031A (en) * 2013-08-27 2014-01-29 Tcl集团股份有限公司 Android system updating method and system of multi-partition external storage equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8578362B2 (en) * 2011-03-18 2013-11-05 Hamilton Sundstrand Corporation Method for downloading software to an electronics product
CN103577202B (en) * 2012-07-23 2018-03-09 努比亚技术有限公司 Method for upgrading software and system
CN103473099B (en) * 2013-09-13 2017-02-01 惠州Tcl移动通信有限公司 Software upgrading method and system for mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040210731A1 (en) * 2003-04-16 2004-10-21 Paresh Chatterjee Systems and methods for striped storage migration
CN101122865A (en) * 2007-04-26 2008-02-13 晶天电子(深圳)有限公司 Computer mainboard quick suspending and recovery device using phase-change memory
CN102215479A (en) * 2011-06-22 2011-10-12 中兴通讯股份有限公司 Method, server and system for downloading and installing upgrade package
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box
CN103544031A (en) * 2013-08-27 2014-01-29 Tcl集团股份有限公司 Android system updating method and system of multi-partition external storage equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108845819A (en) * 2018-08-10 2018-11-20 百度在线网络技术(北京)有限公司 Programme upgrade method and device for equipment
CN108845819B (en) * 2018-08-10 2019-10-18 百度在线网络技术(北京)有限公司 Programme upgrade method and device for equipment
CN109391936A (en) * 2018-09-19 2019-02-26 四川长虹电器股份有限公司 A kind of method of OTA upgrade package encryption downloading
CN111263354A (en) * 2020-01-08 2020-06-09 苏宁智能终端有限公司 OTA differential upgrading method and device
CN111522566A (en) * 2020-04-23 2020-08-11 Oppo(重庆)智能科技有限公司 System upgrading method, terminal and storage medium
CN111522566B (en) * 2020-04-23 2023-08-01 Oppo(重庆)智能科技有限公司 System upgrading method, terminal and storage medium
CN111782249A (en) * 2020-07-10 2020-10-16 上海淇毓信息科技有限公司 Method and device for upgrading service function of client and electronic equipment

Also Published As

Publication number Publication date
WO2016183951A1 (en) 2016-11-24

Similar Documents

Publication Publication Date Title
CN106293782A (en) A kind of method for upgrading system and terminal
CN105867947B (en) Data processing method and device after preset application program updating
CN107506221B (en) Application program upgrading method, device and equipment
CN105446772B (en) A kind of method and apparatus of system upgrade
US10467413B2 (en) Method and apparatus of dynamic loading file extraction for an application running in an android container
WO2016061978A1 (en) Mobile storage mounting method and device
CN111263354B (en) OTA differential upgrading method and device
CN109710286B (en) System upgrading method, device, equipment and storage medium
CN104008060A (en) Method for detecting compatibility of plug-in and host, and detection server
CN106648643A (en) Method and device for generating channel package, terminal and server
CN103577212A (en) System starting preloading method and device
US9697668B2 (en) Automatically configurable smart card and method of automatically configuring a smart card
WO2019041891A1 (en) Method and device for generating upgrade package
CN105549996B (en) Application program updating method of mobile terminal and mobile terminal
CN110209420A (en) A kind of method and device updating bootstrap loader
CN109947450A (en) System file upgrade method, device, mobile terminal and readable storage medium storing program for executing
CN102520981A (en) Production method of INAND/NAND-based multi-partition storage device
CN104765631B (en) A kind of application recovery method and device of mobile terminal
US10503430B2 (en) Method and device for clearing data and electronic device
CN104484211B (en) The method and device of shared image file
CN106529281A (en) Executable file processing method and device
CN109791485A (en) Aerial modem firmware upgrade based on mesh network
CN111984595B (en) File processing method and device and storage medium
CN107608879B (en) Fault detection method, device and storage medium
CN110866380A (en) Method and terminal for filling in information field content

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170104