CN103019773A - System update power failure protection method and system, and mobile terminal - Google Patents
System update power failure protection method and system, and mobile terminal Download PDFInfo
- Publication number
- CN103019773A CN103019773A CN2012104856074A CN201210485607A CN103019773A CN 103019773 A CN103019773 A CN 103019773A CN 2012104856074 A CN2012104856074 A CN 2012104856074A CN 201210485607 A CN201210485607 A CN 201210485607A CN 103019773 A CN103019773 A CN 103019773A
- Authority
- CN
- China
- Prior art keywords
- upgrading
- recovery subsystem
- power down
- subregion
- android system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000011084 recovery Methods 0.000 claims abstract description 131
- 238000012217 deletion Methods 0.000 claims description 2
- 230000037430 deletion Effects 0.000 claims description 2
- 230000008569 process Effects 0.000 description 11
- 230000007246 mechanism Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Power Sources (AREA)
Abstract
The invention belongs to the technical field of an operating system and provides a system update power failure protection method, a system update power failure protection system and a mobile terminal. The method comprises the following steps: judging whether update power failure exists or not during last run of a recovery subsystem of an Android system when the Android system starts and loads; and according to the judgment result, if update power failure exists during last run of the recovery subsystem of the Android system, directly starting a main system of the Android system. When the system update power failure protection method and the system update power failure protection system judge that update power failure exists during last run of the recovery subsystem of the Android system, the main system of the Android system instead of the recovery subsystem is entered directly, so starting of the Android system is not influenced even if the recovery subsystem is incomplete caused by power failure, and permanent damage to the Android system caused by update power failure of the recovery subsystem is avoided.
Description
Technical field
The invention belongs to the operation system technology field, relate in particular to system upgrade power-off protection method, system and portable terminal.
Background technology
Android (Android) system is the current open source code operating system that is widely used in the portable terminal.Known ground, the upgrading of Android system is carried out in recovery subsystem (that is: Recovery subsystem), utilizes the upgrade script file in recovering process (that is: Recovery process) the parsing AKU in the recovery subsystem, finishes required renewal.Script in this upgrade script file is the distinctive upgrade script order line of Android system, mainly comprise alternate file/file, format subregion, write the orders such as subregion mirror image, can finish any file in the storage space of Android system or the renewal of subregion by the combination of these orders, also can upgrade recovery subsystem itself.
In addition, the upgrade mechanism of existing Android system also provides power down protection mechanism.Under this power down protection mechanism; when entering recovery subsystem; can will upgrade in escalation process relevant information (as: upgrading daily record etc.) real-time update and being saved on the subregion (as: the Misc subregion of flash memory) of the storage space of Android system of system is removed the content of this subregion when upgrading is finished.After system powers on, can at first detect this subregion when boot loader (that is: bootloader program) starts, if there is the upgrading relevant information, then illustrate to have occurred power down when upgraded last time, directly enter recovery subsystem and proceed upgrading this moment.Like this, even if power down in escalation process, because the upgrading relevant information still is kept in the subregion of storage space, when then again switching on, system still can continue to enter recovery subsystem and finish upgrading.
Yet, under this kind power down protection mechanism, if upgrading object is recovery subsystem itself, in the recovery subsystem escalation process if there is power down, and this moment storage space a subregion in store the upgrading relevant information of recovery subsystem, then after energising again, system can at first enter recovery subsystem, but because recovery subsystem itself is imperfect, so that system can't normally start; And at every turn powering on of system after this, equal normal start-up systems causes the permanent damage of system.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of system upgrade power-off protection method; be intended to solve under the upgrading power down protection mechanism of existing Android system; if upgrading object is recovery subsystem itself; then after power down because the problem of power down protection mechanism itself; so that system can't normally start, cause the problem of system's permanent damage.
The embodiment of the invention is achieved in that a kind of system upgrade power-off protection method, said method comprising the steps of:
When the Android system start-up loading, judge whether the recovery subsystem of Android system existed the upgrading power down when moving last time;
If there was the upgrading power down in described recovery subsystem when moving last time, then directly start the main system of described Android system.
Another purpose of the embodiment of the invention is to provide a kind of system upgrade power down protection system, and described system comprises:
Judging unit is used for judging whether the recovery subsystem of described Android system existed the upgrading power down when moving last time when the Android system start-up loading;
Performance element is used for the judged result according to described judging unit, if there was the upgrading power down in the recovery subsystem of described Android system when moving last time, then directly starts the main system of described Android system.
Another purpose of the embodiment of the invention is to provide a kind of portable terminal, comprises a system upgrade power down protection system, it is characterized in that, described system is aforesaid system upgrade power down protection system.
In system upgrade power-off protection method provided by the invention and the system; since at the recovery subsystem of judging Android system when the upgrading power down appears in operation last time; directly enter the main system of Android system; and do not enter recovery subsystem; therefore; even if recovery subsystem because power down and and imperfect, also can not affect the startup of Android system, the permanent damage of having avoided Android system to cause owing to the upgrading power down of recovery subsystem.
Description of drawings
Fig. 1 is the process flow diagram of the system upgrade power-off protection method that provides of the embodiment of the invention one;
Fig. 2 is the process flow diagram of the system upgrade power-off protection method that provides of the embodiment of the invention two;
Fig. 3 is the process flow diagram of the system upgrade power-off protection method that provides of the embodiment of the invention three;
Fig. 4 is the process flow diagram of the system upgrade power-off protection method that provides of the embodiment of the invention four;
Fig. 5 is the structural drawing of the system upgrade power down protection system that provides of the embodiment of the invention five;
Fig. 6 is the structural drawing of the system upgrade power down protection system that provides of the embodiment of the invention six;
Fig. 7 is the structural drawing of the system upgrade power down protection system that provides of the embodiment of the invention seven;
Fig. 8 is the structural drawing of the system upgrade power down protection system that provides of the embodiment of the invention eight.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Problem for the existence of existing Android system power down protection mechanism; among the present invention; after Android system powers on; in the operation last time upgrading power down appears if judge the recovery subsystem of Android system; then directly enter the main system of Android system; and do not enter recovery subsystem, guaranteed the normal startup of Android system.
The present invention proposes a kind of system upgrade power-off protection method, may further comprise the steps:
When the Android system start-up loading, judge whether the recovery subsystem of Android system existed the upgrading power down when moving last time;
If there was the upgrading power down in recovery subsystem when moving last time, then directly start the main system of Android system.
The invention allows for a kind of system upgrade power down protection system, comprising: judging unit is used for judging whether the recovery subsystem of Android system existed the upgrading power down when moving last time when the Android system start-up loading; Performance element is used for the judged result according to judging unit, if there was the upgrading power down in the recovery subsystem of Android system when moving last time, then directly starts the main system of Android system.
The invention allows for a kind of portable terminal, comprise as mentioned above a system upgrade power down protection system.
Below in conjunction with specific embodiment implementation of the present invention is described in detail:
Embodiment one
The embodiment of the invention one has proposed a kind of system upgrade power-off protection method, as shown in Figure 1, may further comprise the steps:
Step S101: when the Android system start-up loading, judge whether the recovery subsystem of Android system existed the upgrading power down when moving last time.
Step S102: according to judged result, if there was the upgrading power down in the recovery subsystem of Android system when moving last time, then directly start the main system of Android system.
Further, in step S102, according to judged result, if there was not the upgrading power down in the recovery subsystem of Android system when moving last time, and there is the upgrading power down in other upgrading object except recovery subsystem, then start recovery subsystem, under recovery subsystem, finish the upgrading of other corresponding upgrading object; According to judged result, if all there be not the upgrading power down in the recovery subsystem of Android system and other upgrading object when moving last time, then directly start the main system of Android system.Wherein, other upgrading object upgrading object (as: any file in the storage space of Android system or subregion etc.) of referring to be upgraded by recovery subsystem.
In the embodiment of the invention one, because when there was the upgrading power down in the recovery subsystem of judging Android system when moving last time, directly enter the main system of Android system, and do not enter recovery subsystem, therefore, even if recovery subsystem because power down and and imperfect, also can not affect the startup of Android system, the permanent damage of having avoided Android system to cause owing to the upgrading power down of recovery subsystem.
Embodiment two
The embodiment of the invention two has proposed a kind of system upgrade power-off protection method, as shown in Figure 2, may further comprise the steps:
Step S201: when Android system moved last time, if there are upgrading in recovery subsystem or other upgrading object, the relevant information of then will upgrading writes the second subregion of a storage space, if and upgrading object comprises recovery subsystem, then the absolute path file of AKU is write the first subregion of storage space.Upgrading relevant information wherein comprises the upgrading relevant information of recovery subsystem and/or the upgrading relevant information of other upgrading object except recovery subsystem, and this upgrading relevant information comprises the absolute path file of AKU at least.
Step S202: when the Android system start-up loading, judge whether the second subregion exists the upgrading relevant information in the storage space, to illustrate that then there was the upgrading power down in Android system when moving last time, this moment execution in step S203, otherwise illustrate that there was not the upgrading power down in Android system when moving last time, at this moment execution in step S205.
Step S203: whether the first subregion of judging storage space exists the absolute path file, that the recovery subsystem that Android system then is described existed the upgrading power down when moving last time, this moment is for avoiding the permanent damage execution in step S205 of system, otherwise there was not the upgrading power down in the recovery subsystem that Android system is described when moving last time, and there is the upgrading power down in other upgrading object except recovery subsystem, at this moment execution in step S204.
Step S204: start recovery subsystem, and then when under recovery subsystem, continuing to finish Android system and moving last time, to the upgrading of other upgrading object.
Step S205: start main system.
Embodiment three
The embodiment of the invention three has proposed a kind of system upgrade power-off protection method; step S301 is identical to step S205 correspondence with step S201 in above-described embodiment two to the implementation of step S305 in the present embodiment; different from the embodiment of the invention two is; in the embodiment of the invention three; after starting main system; if Android system existed upgrading power down and upgrading object to comprise recovery subsystem when moving last time; after then entering main system according to step S305; also comprise the step of finishing the recovery subsystem upgrading; as shown in Figure 3, this step of finishing the recovery subsystem upgrading comprises:
Step S306: according to user's instruction or automatically start the recovery subsystem upgrade service.In the recovery subsystem upgrade service, judge the upgrading that whether exists when Android system moved last time recovery subsystem, and when existing, utilize ROMPaq to finish upgrading to recovery subsystem, that is to say, after the upgrade service of startup recovery subsystem, carry out following step S307 to step S310.
Step S307: whether the first subregion of judging storage space exists the absolute path file, to illustrate that then Android system existed upgrading power down and upgrading object to comprise recovery subsystem when moving last time, this moment execution in step S308, otherwise illustrate that there was not the upgrading power down in Android system when moving last time, at this moment execution in step S311.
Step S308: read absolute path file in the first subregion and/or the upgrading relevant information in the second subregion.
Step S309: call corresponding AKU according to the absolute path file that reads and/or upgrading relevant information, utilize AKU to finish upgrading to recovery subsystem.
In the embodiment of the invention three, AKU comprises upgrading device (Updater-binary) file and a upgrade script (updater-script) file at least, can also basis whether needs write or cover certain data comprises a source data.Utilizing AKU to finish when upgrading, at first starting the upgrade script file and move order in the upgrade script, the upgrading device is finished the explanation to current action command, thereby finishes corresponding upgrading.
Step S310: after upgrading finishes to recovery subsystem, delete the absolute path file in the first subregion.
Step S311: withdraw from the recovery subsystem upgrade service.
With respect to the embodiment of the invention two; the system upgrade power-off protection method that the embodiment of the invention three provides has not only been avoided the permanent damage of the Android system that the upgrading power down owing to recovery subsystem causes; and after entering main system; also can continue to finish escalation process to system's uncompleted recovery subsystem in service last time, guarantee the integrality of system.
Embodiment four
The embodiment of the invention four has proposed a kind of system upgrade power-off protection method; step S401 is identical to step S311 correspondence with step S301 in above-described embodiment three to the implementation of step S411 in the present embodiment; different from the embodiment of the invention three and the embodiment of the invention two is; in the embodiment of the invention four; after starting recovery subsystem; if Android system existed upgrading power down and upgrading object not to comprise recovery subsystem when moving last time; then after step S404; also comprise the step of finishing other upgrading object upgrading except recovery subsystem; as shown in Figure 4, this step of finishing other upgrading object upgrading except recovery subsystem comprises:
Step S412: read the upgrading relevant information in the second subregion.
Step S413: call corresponding AKU according to the absolute path file in the upgrading relevant information that reads, utilize AKU that other relevant upgrading object is upgraded.
In the embodiment of the invention four, AKU comprises upgrading device (Updater-binary) file and a upgrade script (updater-script) file at least, can also basis whether needs write or cover certain data comprises a source data.Utilizing AKU to finish when upgrading, at first starting the upgrade script file and move order in the upgrade script, the upgrading device is finished the explanation to current action command, thereby finishes corresponding upgrading.
Step S414: delete the upgrading relevant information in the second subregion.
With respect to the embodiment of the invention three and the embodiment of the invention two, the system upgrade power-off protection method that the embodiment of the invention four provides has further guaranteed the integrality of system by the upgrading to other upgrading object except recovery subsystem.
Embodiment five
The embodiment of the invention four has proposed a kind of system upgrade power down protection system, and as shown in Figure 5, this system comprises: judging unit 11 is used for judging whether the recovery subsystem of Android system existed the upgrading power down when moving last time when the Android system start-up loading; Performance element 12 is used for the judged result according to judging unit 11, if there was the upgrading power down in the recovery subsystem of Android system when moving last time, then directly starts the main system of Android system.
Further, performance element 12 also is used for the judged result according to judging unit 11, if there was not the upgrading power down in the recovery subsystem of Android system when moving last time, and there is the upgrading power down in other upgrading object except recovery subsystem, then start recovery subsystem, finish the upgrading of other corresponding upgrading object under recovery subsystem, described as defined above to other upgrading object is not repeated herein; According to judged result, if all there be not the upgrading power down in the recovery subsystem of Android system and other upgrading object when moving last time, then directly start the main system of Android system.
Embodiment six
The embodiment of the invention six has proposed a kind of system upgrade power down protection system.
Specifically; as shown in Figure 6; the system upgrade power down protection system also comprises: writing unit 13; be used for when Android system moved last time, if recovery subsystem or other upgrading object exist upgrading, the second subregion of storage space in the relevant information write store 111 of then will upgrading; if and upgrading object comprises recovery subsystem; then the absolute path file of AKU is write the first subregion of storage space, upgrading relevant information wherein is not repeated herein as mentioned above.
At this moment, judging unit 11 further comprises: the first judge module 111 is used for judging whether the second subregion exists the upgrading relevant information in the storage space when the Android system start-up loading; The second judge module 112 is used for judging whether the first subregion of storage space exists the absolute path file when the first judge module 111 judges that there is the upgrading relevant information in storage space the second subregion.
At this moment, performance element 12 is used for judging storage space the second subregion when the first judge module 111 and starts main system when not having the upgrading relevant information, judge the first subregion of storage space when the second judge module 112 and start main system when having the absolute path file, when the second judge module 112 judges that there is not the absolute path file in the first subregion of storage spaces, start recovery subsystem, so when under recovery subsystem, continuing to finish Android system and moving last time to the upgrading of other upgrading object.
Embodiment seven
The embodiment of the invention seven has proposed a kind of system upgrade power down protection system, different from the embodiment of the invention six, as shown in Figure 7, the system upgrade power down protection system also comprises: service control unit 14, be used for when performance element 12 starts main system, according to user's instruction or automatically start the recovery subsystem upgrade service, this recovery subsystem is not repeated herein as mentioned above; Judging unit 15 is used for judging whether the first subregion of storage space exists the absolute path file after service control unit 14 starts the recovery subsystem upgrade service; The first reading unit 16 is used for when there is the absolute path file in the first subregion of judging unit 15 judgement storage spaces, reads absolute path file in the first subregion and/or the upgrading relevant information in the second subregion; The first upgrading unit 17, the absolute path file and/or the upgrading relevant information that are used for reading according to the first reading unit 16 are called corresponding AKU, utilize AKU to finish upgrading to recovery subsystem; The first delete cells 18 is used for deleting the absolute path file in the first subregion after the 17 pairs of recovery subsystem upgradings in the first upgrading unit finish.Service control unit 14 also is used for behind the first delete cells 18 deletion absolute path files, and when judging unit 15 judges that there is not the absolute path file in the first subregion of storage space, withdraws from the recovery subsystem upgrade service.Wherein, to AKU and utilize AKU to finish to the process of the upgrading of recovery subsystem as mentioned above, be not repeated herein.
Embodiment eight
The embodiment of the invention seven has proposed a kind of system upgrade power down protection system, different with the embodiment of the invention seven from the embodiment of the invention six, as shown in Figure 8, the system upgrade power down protection system also comprises: the second reading unit 19 is used for reading the upgrading relevant information in the second subregion after performance element 12 starts recovery subsystem; The second upgrading unit 20, the absolute path file that is used for the upgrading relevant information that reads according to the second reading unit 19 calls corresponding AKU, utilizes AKU that other relevant upgrading object is upgraded; The second delete cells 21, the upgrading relevant information that is used for deleting the second subregion.Wherein, to AKU and utilize AKU to finish to the process of the upgrading of other relevant upgrading object as mentioned above, be not repeated herein.
Embodiment nine
The embodiment of the invention nine has proposed a kind of portable terminal, comprises a system upgrade power down protection system, and this system is that the embodiment of the invention five is to the embodiment of the invention eight each described system upgrade power down protection systems.Wherein, the storer flash memory that carries of portable terminal preferably.
In sum; in system upgrade power-off protection method provided by the invention and the system; since at the recovery subsystem of judging Android system when the upgrading power down appears in operation last time; directly enter the main system of Android system; and do not enter recovery subsystem, therefore, even if recovery subsystem because power down and and imperfect; also can not affect the startup of Android system, the permanent damage of having avoided Android system to cause owing to the upgrading power down of recovery subsystem.In addition, also can be after entering main system, when moving last time, do not finish completion system the upgrading of the recovery subsystem of upgrading, also can be after entering recovery subsystem, do not finish the upgrading of other upgrading object except recovery subsystem of upgrading when completion system moved last time, thereby guaranteed the integrality of system's operation.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is can control relevant hardware by program to finish, described program can be in being stored in a computer read/write memory medium, described storage medium is such as ROM/RAM, disk, CD etc.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (11)
1. a system upgrade power-off protection method is characterized in that, said method comprising the steps of:
When the Android system start-up loading, judge whether the recovery subsystem of Android system existed the upgrading power down when moving last time;
If there was the upgrading power down in described recovery subsystem when moving last time, then directly start the main system of described Android system.
2. the system as claimed in claim 1 upgrading power-off protection method, it is characterized in that, if there was not the upgrading power down in described recovery subsystem when moving last time, and there is the upgrading power down in other upgrading object except described recovery subsystem, then start described recovery subsystem, under described recovery subsystem, finish the upgrading to described other upgrading object; If all there be not the upgrading power down in described recovery subsystem and described other upgrading object when moving last time, then directly start the main system of described Android system.
3. system upgrade power-off protection method as claimed in claim 2 is characterized in that, and is described when the Android system start-up loading, judges whether the recovery subsystem of Android system existed when moving last time before the step of the power down of upgrading, and described method comprises:
When Android system moved last time, the upgrading relevant information is write the second subregion of a storage space, and the absolute path file of AKU is write the first subregion of described storage space, described upgrading relevant information comprises the absolute path file of AKU at least;
Described when the Android system start-up loading, judge whether the recovery subsystem of Android system existed the step of the power down of upgrading further to comprise when moving last time:
When the Android system start-up loading, judge whether described the second subregion exists the upgrading relevant information, be to judge that then there was the upgrading power down in described Android system when moving last time, otherwise judge that there was not the upgrading power down in described Android system when moving last time;
When moving last time, there is the upgrading power down if judge described Android system, judge then whether described the first subregion exists the absolute path file, be to judge that then there was the upgrading power down in described recovery subsystem when moving last time, otherwise judge that there was not the upgrading power down in described recovery subsystem when moving last time.
4. system upgrade power-off protection method as claimed in claim 3 is characterized in that, after the step of the main system of the described Android system of described direct startup, also comprises:
According to user's instruction or automatically start the recovery subsystem upgrade service;
Judge whether described the first subregion exists described absolute path file;
There is described absolute path file if judge described the first subregion, then read described absolute path file in described the first subregion and/or the described upgrading relevant information in described the second subregion, there is not described absolute path file if judge described the first subregion, then withdraws from described recovery subsystem upgrade service;
Call corresponding AKU according to the described absolute path file that reads and/or the described upgrading relevant information of upgrading, utilize described AKU to finish upgrading to described recovery subsystem;
After described recovery subsystem upgrading end, delete the described absolute path file in described the first subregion;
Behind the described absolute path file in described the first subregion of deletion, withdraw from the recovery subsystem upgrade service.
5. such as claim 3 or 4 described system upgrade power-off protection methods, it is characterized in that, after the step of described startup recovery subsystem, also comprise:
Read the described upgrading relevant information in described the second subregion;
Call corresponding AKU according to the absolute path file in the described upgrading relevant information that reads, utilize described AKU that described other upgrading object is upgraded;
Delete the upgrading relevant information in described the second subregion.
6. a system upgrade power down protection system is characterized in that, described system comprises:
Judging unit is used for judging whether the recovery subsystem of described Android system existed the upgrading power down when moving last time when the Android system start-up loading;
Performance element is used for the judged result according to described judging unit, if there was the upgrading power down in the recovery subsystem of described Android system when moving last time, then directly starts the main system of described Android system.
7. system upgrade power down protection system as claimed in claim 6; it is characterized in that; described performance element also is used for the judged result according to described judging unit; if there was not the upgrading power down in described recovery subsystem when moving last time; and there is the upgrading power down in other upgrading object except described recovery subsystem; then start described recovery subsystem; under described recovery subsystem, finish the upgrading to described other upgrading object; and according to the judged result of described judging unit; if all there be not the upgrading power down in described recovery subsystem and described other upgrading object when moving last time, then directly start the main system of described Android system.
8. system upgrade power down protection system as claimed in claim 7 is characterized in that, described system also comprises:
Writing unit, be used for when Android system moved last time, the second subregion with storage space in the upgrading relevant information write store, and the absolute path file of AKU being write the first subregion of the described storage space of described storer, described upgrading relevant information comprises the absolute path file of AKU at least;
Described judging unit comprises:
The first judge module, be used for when the Android system start-up loading, judge whether described the second subregion exists the upgrading relevant information, be to judge that then there was the upgrading power down in described Android system when moving last time, otherwise judge that there was not the upgrading power down in described Android system when moving last time;
The second judge module, be used for when described the first judge module judges that there is the upgrading relevant information in described the second subregion, judge whether described the first subregion exists the absolute path file, be to judge that then described upgrading object comprises described recovery subsystem, otherwise judge that described upgrading object does not comprise described recovery subsystem.
9. system upgrade power down protection system as claimed in claim 8 is characterized in that, described system also comprises:
Service control unit is used for when described performance element starts main system, according to user's instruction or automatically start the recovery subsystem upgrade service;
Judging unit is used for judging whether described the first subregion exists the absolute path file after described service control unit starts described recovery subsystem upgrade service;
The first reading unit is used for when there is described absolute path file in described the first subregion of described judgment unit judges, reads described absolute path file in described the first subregion and/or the described upgrading relevant information in described the second subregion;
The first upgrading unit, the described absolute path file and/or the upgrading relevant information that are used for reading according to described the first reading unit are called corresponding AKU, utilize described AKU to finish upgrading to described recovery subsystem;
The first delete cells is used for deleting the described absolute path file in described the first subregion after described the first upgrading unit finishes described recovery subsystem upgrading.
10. system upgrade power down protection system as claimed in claim 8 is characterized in that, described judging unit also comprises:
The second reading unit is used for reading the upgrading relevant information in described the second subregion after described performance element starts described recovery subsystem;
The second upgrading unit, the absolute path file that is used for the described upgrading relevant information that reads according to described the second reading unit calls corresponding AKU, utilizes AKU that described other upgrading object is upgraded;
The second delete cells is used for the upgrading relevant information of deleting described the second subregion.
11. a portable terminal comprises a system upgrade power down protection system, it is characterized in that, described system is such as each described system upgrade power down protection system of claim 6 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210485607.4A CN103019773B (en) | 2012-11-23 | 2012-11-23 | Update power failure protection, system and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210485607.4A CN103019773B (en) | 2012-11-23 | 2012-11-23 | Update power failure protection, system and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103019773A true CN103019773A (en) | 2013-04-03 |
CN103019773B CN103019773B (en) | 2016-06-22 |
Family
ID=47968407
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210485607.4A Expired - Fee Related CN103019773B (en) | 2012-11-23 | 2012-11-23 | Update power failure protection, system and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103019773B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106789280A (en) * | 2016-12-27 | 2017-05-31 | Tcl集团股份有限公司 | A kind of upgrade protecting method and system, mobile terminal based on android system |
CN108345464A (en) * | 2018-03-06 | 2018-07-31 | 播思通讯技术(北京)有限公司 | A kind of the startup method and Android vehicle device of Android system |
CN109343885A (en) * | 2018-11-01 | 2019-02-15 | 百度在线网络技术(北京)有限公司 | Method for upgrading system and multi-system equipment |
CN110045971A (en) * | 2018-01-16 | 2019-07-23 | 浙江宇视科技有限公司 | System upgrade restoration methods and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100454253C (en) * | 2006-04-29 | 2009-01-21 | 华为技术有限公司 | Method for updating terminal software and terminal equipment thereof |
CN101493776A (en) * | 2009-02-18 | 2009-07-29 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and power-on method and system thereof |
-
2012
- 2012-11-23 CN CN201210485607.4A patent/CN103019773B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100454253C (en) * | 2006-04-29 | 2009-01-21 | 华为技术有限公司 | Method for updating terminal software and terminal equipment thereof |
CN101493776A (en) * | 2009-02-18 | 2009-07-29 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and power-on method and system thereof |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106789280A (en) * | 2016-12-27 | 2017-05-31 | Tcl集团股份有限公司 | A kind of upgrade protecting method and system, mobile terminal based on android system |
CN110045971A (en) * | 2018-01-16 | 2019-07-23 | 浙江宇视科技有限公司 | System upgrade restoration methods and device |
CN108345464A (en) * | 2018-03-06 | 2018-07-31 | 播思通讯技术(北京)有限公司 | A kind of the startup method and Android vehicle device of Android system |
CN109343885A (en) * | 2018-11-01 | 2019-02-15 | 百度在线网络技术(北京)有限公司 | Method for upgrading system and multi-system equipment |
CN109343885B (en) * | 2018-11-01 | 2022-02-25 | 阿波罗智能技术(北京)有限公司 | System upgrading method and multi-system equipment |
Also Published As
Publication number | Publication date |
---|---|
CN103019773B (en) | 2016-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103473067B (en) | Built-in Linux subregion and data restoration method, system and system development method | |
JP5113700B2 (en) | Firmware update apparatus and method | |
CN102360298B (en) | Software upgrading method of terminal equipment | |
CN102567136A (en) | Backup and recovery method of computer system, device and computer system | |
CN101923473B (en) | Embedded electronic device and method for updating firmware thereof | |
CN101373451B (en) | Computer system for protecting double-basic input /output system program and control method thereof | |
CN102207881A (en) | Quick operation system start-up method based on Android | |
JP2013520744A (en) | Method and apparatus for generating minimum boot image | |
CN103299276A (en) | Software updating process for an embedded device | |
CN102141923B (en) | Memory file system loading method and device | |
CN102385535A (en) | Handling errors during device bootup from a non-volatile memory | |
CN104808951A (en) | Storage control method and device | |
EP1879109A1 (en) | Information processing device, program, and storage medium | |
US20080114923A1 (en) | Apparatus and method for controlling operation processing in nonvolatile memory | |
CN103729220A (en) | Method and device for restoring BIOS (basic input output system) ROM (read only memory) by aid of EC (electronically controllable) ROM | |
CN102722394A (en) | Start upgrading method of embedded equipment | |
CN103970557A (en) | Storage device and system starting method thereof | |
CN102841802A (en) | Software upgrading method for mobile terminal | |
US11144299B2 (en) | Firmware updating method | |
CN109582332B (en) | System upgrading method and device for Internet camera | |
CN103019773A (en) | System update power failure protection method and system, and mobile terminal | |
CN102890655A (en) | Memory storage device, memory controller and valid data recognition method thereof | |
CN105094873A (en) | Handheld terminal system switching method and device | |
CN102207905A (en) | System recovery method, storage media controller and storage system | |
CN101916234A (en) | Information maintenance method and system of storage equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160622 |