CN107133070A - A kind of upgrade method of operating system, device and mobile device - Google Patents
A kind of upgrade method of operating system, device and mobile device Download PDFInfo
- Publication number
- CN107133070A CN107133070A CN201710258716.5A CN201710258716A CN107133070A CN 107133070 A CN107133070 A CN 107133070A CN 201710258716 A CN201710258716 A CN 201710258716A CN 107133070 A CN107133070 A CN 107133070A
- Authority
- CN
- China
- Prior art keywords
- file
- operating system
- state
- upgrade
- mobile device
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1433—Saving, restoring, recovering or retrying at system level during software upgrading
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
Abstract
The embodiments of the invention provide a kind of upgrade method of operating system, device and mobile device, this method and device are applied to mobile device, mobile device includes at least two sets operating systems, wherein it is a set of be active state, it is another set of be an inactive state, when it starts, selection state is started for the operating system of active state, and the upgrade method is specially the upgrade file for obtaining and being used for being upgraded to operating system;State is upgraded for the operating system of an inactive state using upgrade file;After updating operation is completed, the state of two sets of operating systems is interchangeable.It is not current system as the operating system of upgrading object, can also again upgrades even if upgrading failure, the operation of mobile device currently is had no effect on, so that mobile device will not be made to make its repertoire.
Description
Technical field
The present invention relates to mobile communication technology field, more particularly to a kind of upgrade method of operating system, device and shifting
Dynamic equipment.
Background technology
Using typically having a set of operating system in the mobile device of Android system, the operating system include system file and
Guide file, the storage of both subregions.When mobile device is upgraded by OTA modes, it is necessary to which reboot operation system enters
RECOVER patterns, are then updated respectively under RECOVER patterns to system file and guiding file.The reason for so doing
It is that operating system can not upgrade to itself, only passes through a mini system RECOVER system file of itself and guiding text
Part is updated and installed.Present inventor has found during the application is implemented, if favorite outgoing in escalation process
Mistake, operating system will can not rollback, at this moment hardware will be driven without any firmware program, so that mobile device loses
Repertoire is removed, that is, the change brick being commonly called as.
The content of the invention
In view of this, the invention provides a kind of upgrade method of operating system, device and mobile device, to solve movement
Equipment because of upgrading during operating system update the problem of unsuccessfully causing to lose repertoire.
In order to solve the above problems, the invention discloses a kind of upgrade method of operating system, applied to mobile device, institute
Stating mobile device includes at least two sets operating systems, wherein the state of a set of operating system is active state, another set of institute
The state for stating operating system is an inactive state, when the mobile device starts, and chooses the behaviour that state is active state
Make system to be started, the upgrade method includes step:
Obtain the upgrade file for being upgraded to the operating system in an inactive state;
State is upgraded for the operating system of an inactive state using the upgrade file;
After updating operation is completed, the state of two sets of operating systems is interchangeable.
Optionally, the upgrade file obtained for being upgraded to the operating system, including:
Compression AKU is received using OTA modes;
The compression AKU is decompressed, the upgrade file is obtained.
Optionally, the upgrade file includes new system file and new guiding file, described to utilize the upgrade file pair
State is upgraded for the operating system of an inactive state, including:
The system file of the operating system is replaced using the new system file;
The guiding file of the operating system is replaced using the new guiding file.
Optionally, in addition to step:
The mobile device is restarted according to the instruction of restarting of user.
Accordingly,, should present invention also offers a kind of update device of operating system in order to ensure the implementation of the above method
For mobile device, the mobile device includes at least two sets operating systems, wherein the state of a set of operating system is to enliven shape
State, the state of another set of operating system are an inactive state, when the mobile device starts, and the operating system started is place
In the operating system of active state, the update device includes:
File acquisition module, for obtaining the upgrade file for being used for being upgraded to the operating system;
Module is implemented in upgrading, for being carried out using the upgrade file to state for the operating system of an inactive state
Upgrading;
Status modifier module, for after updating operation is completed, the state of two sets of operating systems to be interchangeable.
Optionally, the file acquisition module includes:
File reception unit, for receiving compression AKU using OTA modes;
File decompression units, for being decompressed to the compression AKU, obtain the upgrade file.
Optionally, the upgrade file includes new system file and new guiding file, and module is implemented in the upgrading to be included:
First capping unit, the system file for replacing the operating system using the new system file;
Second capping unit, the guiding file for replacing the operating system using the new guiding file.
Optionally, in addition to:
Control module is restarted, for restarting the mobile device according to the instruction of restarting of user.
In addition, a kind of mobile device is additionally provided, including at least two sets operating systems, wherein a set of operating system
State is that active state, the state of the another set of operating system are an inactive state, in addition to update device as described above.
It can be seen from the above technical proposal that the invention provides a kind of upgrade method of operating system, device and movement
Equipment, this method and device are applied to mobile device, and mobile device includes at least two sets operating systems, wherein a set of is to enliven shape
State, it is another set of be an inactive state, when it starts, selection state be active state operating system started, the upgrading
Method is specially the upgrade file for obtaining and being used for being upgraded to operating system;It is an inactive state to state using upgrade file
Operating system upgraded;After updating operation is completed, the state of two sets of operating systems is interchangeable.Due to here as
The operating system of upgrading object is not current system, can also again upgrade even if upgrading failure, has no effect on mobile device
Current operation, so that mobile device will not be made to make its repertoire.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
A kind of step flow chart of the upgrade method embodiment for operating system that Fig. 1 provides for the present invention;
The step flow chart of the upgrade method embodiment for another operating system that Fig. 2 provides for the present invention;
A kind of structured flowchart of the update device embodiment for operating system that Fig. 3 provides for the present invention;
The structured flowchart of the update device embodiment for another operating system that Fig. 4 provides for the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Embodiment one
A kind of step flow chart of the upgrade method embodiment for operating system that Fig. 1 provides for the present invention.
The upgrade method that the present embodiment is provided is applied to be included but do not limited using the mobile device of Android system, mobile device
In smart mobile phone, tablet personal computer, TV box etc., mobile device is provided with least two sets operating systems, here exemplified by two sets,
The state of wherein a set of operating system is active state, another set of, is an inactive state.
When the mobile device starts or restarts, selection wherein state is the operating system of active state as current
System is loaded into internal memory, and so, another operating system in an inactive state can be used as file object and be operated.
Shown in reference picture 1, on the basis of current system operation, the upgrade method specifically includes following steps:
S101:Obtain the upgrade file for being upgraded to operating system.
Upgrade file refers to the file for replacing original operating system, in view of operating system generally comprise system file and
File is guided, the upgrade file includes new system file and new guiding file, for replacing original system file respectively and drawing
Lead file.The process for specifically obtaining the upgrade file is as follows:
First, by OTA (Over The Air, aerial upgrade) mode the reception server issue in compressive state
Compress AKU;Then, decompression operation is carried out to the compression AKU, so as to obtain including the new system file and new guiding
The upgrade file of file.
S102:Operating system is upgraded using upgrade file.
Here the current system that the operating system upgraded is not running, but the operation in an inactive state
System, specific upgrade step is:
When user inputs corresponding upgrade command to the mobile device, replaced using the new system file in upgrade file
Fall original system file in operating system, replacement can be overlapping operation;In addition, utilizing the new guiding in upgrade file simultaneously
File replace operating system Central Plains guiding file, replace guiding file can also be selected in by system file carry out overlapping operation it
After carry out.
S103:The state of two sets of operating systems is interchangeable.
After updating operation is completed, that is, complete in operating system after the replacement of system file and guiding file, by two sets of behaviour
The state for making system is interchangeable.It is herein inactive shape by its status modifier because the state of current system is active state
State;And the state for completing the operating system of upgrading is then revised as active state by original an inactive state.So, opened in next time
The operating system upgraded will will be completed when dynamic as current system loading internal memory, so as to enter with new operating system to mobile device
Row driving.
It can be seen from the above technical proposal that present embodiments providing a kind of upgrade method of operating system, this method should
For mobile device, mobile device includes at least two sets operating systems, wherein it is a set of be active state, it is another set of be inactive shape
State, when it starts, selection state is started for the operating system of active state, the upgrade method be specially obtain for pair
The upgrade file that operating system is upgraded;State is upgraded for the operating system of an inactive state using upgrade file;
After updating operation is completed, the state of two sets of operating systems is interchangeable.Due to the operating system of here as upgrading object
It is not current system, can also again upgrades even if upgrading failure, the operation of mobile device currently is had no effect on, so that will not
Mobile device is set to make its repertoire.
Embodiment two
The step flow chart of the upgrade method embodiment for another operating system that Fig. 2 provides for the present invention.
The upgrade method that the present embodiment is provided is applied to be included but do not limited using the mobile device of Android system, mobile device
In smart mobile phone, tablet personal computer, TV box etc., mobile device is provided with least two sets operating systems, here exemplified by two sets,
The state of wherein a set of operating system is active state, another set of, is an inactive state.
When the mobile device starts or restarts, selection wherein state is the operating system of active state as current
System is loaded into internal memory, and so, another operating system in an inactive state can be used as file object and be operated.
Shown in reference picture 2, on the basis of current system operation, the upgrade method specifically includes following steps:
S201:Obtain the upgrade file for being upgraded to operating system.
Upgrade file refers to the file for replacing original operating system, in view of operating system generally comprise system file and
File is guided, the upgrade file includes new system file and new guiding file, for replacing original system file respectively and drawing
Lead file.The process for specifically obtaining the upgrade file is as follows:
First, by OTA (Over The Air, aerial upgrade) mode the reception server issue in compressive state
Compress AKU;Then, decompression operation is carried out to the compression AKU, so as to obtain including the new system file and new guiding
The upgrade file of file.
S202:Operating system is upgraded using upgrade file.
Here the current system that the operating system upgraded is not running, but the operation in an inactive state
System, specific upgrade step is:
When user inputs corresponding upgrade command to the mobile device, replaced using the new system file in upgrade file
Fall original system file in operating system, replacement can be overlapping operation;In addition, utilizing the new guiding in upgrade file simultaneously
File replace operating system Central Plains guiding file, replace guiding file can also be selected in by system file carry out overlapping operation it
After carry out.
S203:The state of two sets of operating systems is interchangeable.
After updating operation is completed, that is, complete in operating system after the replacement of system file and guiding file, by two sets of behaviour
The state for making system is interchangeable.It is herein inactive shape by its status modifier because the state of current system is active state
State;And the state for completing the operating system of upgrading is then revised as active state by original an inactive state.So, opened in next time
The operating system upgraded will will be completed when dynamic as current system loading internal memory, so as to enter with new operating system to mobile device
Row driving.
S204:Mobile device is restarted.
After the above-mentioned upgrading processing to the operating system of one of them is completed, when user inputs corresponding instruction of restarting
Afterwards, the mobile device is restarted.It is currently to complete upgrading due to before exchanging the state of two sets of operating systems
The state of operating system is active state, and the state of the operating system without completing upgrading is an inactive state, so,
The system of the loading rebooted into is the operating system that the completion is upgraded, so as to complete system upgrade.
At this moment can be according to the upgrade command of user and using the above-mentioned upgrade file got to another set of operating system
Upgraded, so as to complete the upgrading of whole systems.
It can be seen from the above technical proposal that present embodiments providing the upgrade method of another operating system, this method
Applied to mobile device, mobile device includes at least two sets operating systems, wherein it is a set of be active state, it is another set of be inactive
State, when it starts, selection state is started for the operating system of active state, and the upgrade method is specially that acquisition is used for
The upgrade file upgraded to operating system;State is risen for the operating system of an inactive state using upgrade file
Level;After updating operation is completed, the state of two sets of operating systems is interchangeable.Due to the operation system of here as upgrading object
System is not current system, even if upgrading failure can also upgrade again, have no effect on the operation of mobile device currently, from without
Mobile device can be made to make its repertoire.
In addition, the state of two operating systems is interchangeable, another operating system is upgraded with facilitating.
From the point of view of above-mentioned whole escalation process, escalation process, which need to only restart, once can just complete the liter of a set of operating system
Level, and the mobile device after restarting is performed the new operating system.And traditional upgrade method needs to restart twice, restart for the first time
Into RECOVER patterns, restarting again after completion upgrading could be with os starting.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it to be all expressed as to a series of action group
Close, but those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement, because according to
According to the embodiment of the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, the involved action not necessarily present invention is implemented
Necessary to example.
Embodiment three
A kind of structured flowchart of the update device embodiment for operating system that Fig. 3 provides for the present invention.
The update device that the present embodiment is provided is applied to be included but do not limited using the mobile device of Android system, mobile device
In smart mobile phone, tablet personal computer, TV box etc., mobile device is provided with least two sets operating systems, here exemplified by two sets,
The state of wherein a set of operating system is active state, another set of, is an inactive state.
When the mobile device starts or restarts, selection wherein state is the operating system of active state as current
System is loaded into internal memory, and so, another operating system in an inactive state can be used as file object and be operated.
Shown in reference picture 3, current system operation on the basis of, the update device specifically include file acquisition module 10,
Module 20 and status modifier module 30 are implemented in upgrading
File acquisition module 10 is used to obtain the upgrade file for being used for upgrading to operating system.
Upgrade file refers to the file for replacing original operating system, in view of operating system generally comprise system file and
File is guided, the upgrade file includes new system file and new guiding file, for replacing original system file respectively and drawing
Lead file.Specific module specifically includes file reception unit 11 and file decompression units 12.
File reception unit 11 is used to issue by OTA (Over The Air, aerial upgrade) mode the reception server
Compression AKU in compressive state;File decompression units 12 are used to carry out decompression operation to the compression AKU, so that
Obtain including the upgrade file of the new system file and new guiding file.
Module 20 is implemented in upgrading to be used to upgrade to operating system using upgrade file.
Here the current system that the operating system upgraded is not running, but the operation in an inactive state
System, the module specifically includes the first capping unit 21 and the second capping unit 22.
When user inputs corresponding upgrade command to the mobile device, the first capping unit 21 is used to utilize upgrade file
In new system file replace original system file in operating system, replacement can be overlapping operation;Second capping unit
22 are used to replace operating system Central Plains guiding file using the new guiding file in upgrade file simultaneously, replace guiding file
It can also be selected in and carry out system file to carry out after overlapping operation.
Status modifier unit 30 is used to the state of two sets of operating systems being interchangeable.
After updating operation is completed, that is, complete in operating system after the replacement of system file and guiding file, by two sets of behaviour
The state for making system is interchangeable.It is herein inactive shape by its status modifier because the state of current system is active state
State;And the state for completing the operating system of upgrading is then revised as active state by original an inactive state.So, opened in next time
The operating system upgraded will will be completed when dynamic as current system loading internal memory, so as to enter with new operating system to mobile device
Row driving.
It can be seen from the above technical proposal that present embodiments providing a kind of update device of operating system, the device should
For mobile device, mobile device includes at least two sets operating systems, wherein it is a set of be active state, it is another set of be inactive shape
State, when it starts, selection state is started for the operating system of active state, the update device be specially obtain for pair
The upgrade file that operating system is upgraded;State is upgraded for the operating system of an inactive state using upgrade file;
After updating operation is completed, the state of two sets of operating systems is interchangeable.Due to the operating system of here as upgrading object
It is not current system, can also again upgrades even if upgrading failure, the operation of mobile device currently is had no effect on, so that will not
Mobile device is set to make its repertoire.
Example IV
The structured flowchart of the update device embodiment for another operating system that Fig. 4 provides for the present invention.
Shown in reference picture 4, the update device that the present embodiment is provided is to be additionally arranged to restart control on the basis of a upper embodiment
Molding block 40.
Restarting control module 40 is used to restart mobile device.
Specially after the above-mentioned upgrading processing to the operating system of one of them is completed, when user's input is restarted accordingly
After instruction, the mobile device is restarted.It is currently to complete to rise due to before exchanging the state of two sets of operating systems
The state of the operating system of level is active state, and the state of the operating system without completing upgrading is an inactive state, so
One, the system of the loading rebooted into is the operating system that the completion is upgraded, so as to complete system upgrade.
At this moment can be according to the upgrade command of user and using the above-mentioned upgrade file got to another set of operating system
Upgraded, so as to complete the upgrading of whole systems.
It can be seen from the above technical proposal that the upgrading for present embodiments providing another operating system is this, this method
Applied to mobile device, mobile device includes at least two sets operating systems, wherein it is a set of be active state, it is another set of be inactive
State, when it starts, selection state is started for the operating system of active state, and the upgrade method is specially that acquisition is used for
The upgrade file upgraded to operating system;State is risen for the operating system of an inactive state using upgrade file
Level;After updating operation is completed, the state of two sets of operating systems is interchangeable.Due to the operation system of here as upgrading object
System is not current system, even if upgrading failure can also upgrade again, have no effect on the operation of mobile device currently, from without
Mobile device can be made to make its repertoire.
In addition, the state of two operating systems is interchangeable, another operating system is upgraded with facilitating.
From the point of view of above-mentioned whole escalation process, escalation process, which need to only restart, once can just complete the liter of a set of operating system
Level, and the mobile device after restarting is performed the new operating system.And traditional upgrade method needs to restart twice, restart for the first time
Into RECOVER patterns, restarting again after completion upgrading could be with os starting.
Embodiment five
A kind of mobile device is present embodiments provided, the mobile device includes at least two sets operating systems, wherein a set of be
Active state, it is another set of be an inactive state, when it is standby starts, selection state is opened for the operating system of active state
It is dynamic.In addition, the mobile device of the present embodiment also includes update device, the update device, which is used to obtain, to be used to carry out operating system
The upgrade file of upgrading;State is upgraded for the operating system of an inactive state using upgrade file;Grasped when completing upgrading
After work, the state of two sets of operating systems is interchangeable.Because the operating system of here as upgrading object is not current system
System, can also again upgrade even if upgrading failure, the operation of mobile device currently is had no effect on, so that this mobile device will not
Lose repertoire.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with
Between the difference of other embodiment, each embodiment identical similar part mutually referring to.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, device or calculate
Machine program product.Therefore, the embodiment of the present invention can using complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can use it is one or more wherein include computer can
With in the computer-usable storage medium (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal device (system) and computer program
The flow chart and/or block diagram of product is described.It should be understood that can be by computer program instructions implementation process figure and/or block diagram
In each flow and/or square frame and the flow in flow chart and/or block diagram and/or the combination of square frame.These can be provided
Computer program instructions are set to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to produce a machine so that held by the processor of computer or other programmable data processing terminal equipments
Capable instruction is produced for realizing in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames
The device for the function of specifying.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing terminal equipments
In the computer-readable memory worked in a specific way so that the instruction being stored in the computer-readable memory produces bag
The manufacture of command device is included, the command device is realized in one flow of flow chart or multiple flows and/or one side of block diagram
The function of being specified in frame or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that
Series of operation steps is performed on computer or other programmable terminal equipments to produce computer implemented processing, so that
The instruction performed on computer or other programmable terminal equipments is provided for realizing in one flow of flow chart or multiple flows
And/or specified in one square frame of block diagram or multiple square frames function the step of.
Although having been described for the preferred embodiment of the embodiment of the present invention, those skilled in the art once know base
This creative concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to
Including preferred embodiment and fall into having altered and changing for range of embodiment of the invention.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or terminal device including a series of key elements are not only wrapped
Those key elements, but also other key elements including being not expressly set out are included, or also include being this process, method, article
Or the intrinsic key element of terminal device.In the absence of more restrictions, by wanting that sentence "including a ..." is limited
Element, it is not excluded that also there is other identical element in the process including the key element, method, article or terminal device.
Technical scheme provided by the present invention is described in detail above, specific case used herein is to this hair
Bright principle and embodiment is set forth, the explanation of above example be only intended to help to understand the present invention method and its
Core concept;Simultaneously for those of ordinary skill in the art, according to the thought of the present invention, in embodiment and application
It will change in scope, in summary, this specification content should not be construed as limiting the invention.
Claims (9)
1. a kind of upgrade method of operating system, applied to mobile device, the mobile device includes at least two sets operating systems,
The state of wherein a set of operating system is that active state, the state of the another set of operating system are an inactive state, when
When the mobile device starts, selection state is started for the operating system of active state, it is characterised in that the liter
Level method includes step:
Obtain the upgrade file for being upgraded to the operating system in an inactive state;
State is upgraded for the operating system of an inactive state using the upgrade file;
After updating operation is completed, the state of two sets of operating systems is interchangeable.
2. upgrade method as claimed in claim 1, it is characterised in that the acquisition is used to upgrade to the operating system
Upgrade file, including:
Compression AKU is received using OTA modes;
The compression AKU is decompressed, the upgrade file is obtained.
3. upgrade method as claimed in claim 1, it is characterised in that the upgrade file includes new system file and new guiding
File, it is described that state is upgraded for the operating system of an inactive state using the upgrade file, including:
The system file of the operating system is replaced using the new system file;
The guiding file of the operating system is replaced using the new guiding file.
4. the upgrade method as described in any one of claims 1 to 3, it is characterised in that also including step:
The mobile device is restarted according to the instruction of restarting of user.
5. a kind of update device of operating system, applied to mobile device, the mobile device includes at least two sets operating systems,
The state of wherein a set of operating system is that active state, the state of another set of operating system are an inactive state, when the movement
When equipment starts, the operating system started is the operating system in active state, it is characterised in that the upgrading dress
Put including:
File acquisition module, obtains the upgrade file for being upgraded to the operating system in an inactive state;
Module is implemented in upgrading, for being risen using the upgrade file to state for the operating system of an inactive state
Level;
Status modifier module, for after updating operation is completed, the state of two sets of operating systems to be interchangeable.
6. update device as claimed in claim 5, it is characterised in that the file acquisition module includes:
File reception unit, for receiving compression AKU using OTA modes;
File decompression units, for being decompressed to the compression AKU, obtain the upgrade file.
7. update device as claimed in claim 5, it is characterised in that the upgrade file includes new system file and new guiding
File, module is implemented in the upgrading to be included:
First capping unit, the system file for replacing the operating system using the new system file;
Second capping unit, the guiding file for replacing the operating system using the new guiding file.
8. the update device as described in any one of claim 5~7, it is characterised in that also include:
Control module is restarted, for restarting the mobile device according to the instruction of restarting of user.
9. a kind of mobile device, including at least two sets operating systems, wherein the state of a set of operating system be active state,
The state of the another set of operating system is an inactive state, it is characterised in that also including any one of such as claim 5~8 institute
The update device stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710258716.5A CN107133070A (en) | 2017-04-19 | 2017-04-19 | A kind of upgrade method of operating system, device and mobile device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710258716.5A CN107133070A (en) | 2017-04-19 | 2017-04-19 | A kind of upgrade method of operating system, device and mobile device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107133070A true CN107133070A (en) | 2017-09-05 |
Family
ID=59716302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710258716.5A Pending CN107133070A (en) | 2017-04-19 | 2017-04-19 | A kind of upgrade method of operating system, device and mobile device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107133070A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107967141A (en) * | 2017-11-27 | 2018-04-27 | 北京小米移动软件有限公司 | Operating system update method, apparatus and terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102129375A (en) * | 2010-01-12 | 2011-07-20 | 中国移动通信集团公司 | Method and equipment for system upgrade of mobile terminal |
CN102646046A (en) * | 2012-04-13 | 2012-08-22 | 深圳市同洲电子股份有限公司 | Upgrading method and terminal |
CN104252369A (en) * | 2013-06-27 | 2014-12-31 | 上海博泰悦臻电子设备制造有限公司 | On-board equipment and dual-system backup method and device of on-board equipment |
-
2017
- 2017-04-19 CN CN201710258716.5A patent/CN107133070A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102129375A (en) * | 2010-01-12 | 2011-07-20 | 中国移动通信集团公司 | Method and equipment for system upgrade of mobile terminal |
CN102646046A (en) * | 2012-04-13 | 2012-08-22 | 深圳市同洲电子股份有限公司 | Upgrading method and terminal |
CN104252369A (en) * | 2013-06-27 | 2014-12-31 | 上海博泰悦臻电子设备制造有限公司 | On-board equipment and dual-system backup method and device of on-board equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107967141A (en) * | 2017-11-27 | 2018-04-27 | 北京小米移动软件有限公司 | Operating system update method, apparatus and terminal |
CN107967141B (en) * | 2017-11-27 | 2021-04-13 | 北京小米移动软件有限公司 | Operating system upgrading method and device and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106658475B (en) | Method and device for upgrading over-the-air technology | |
CN106406935B (en) | A kind of method and Bluetooth chip of Bluetooth chip OTA upgrading | |
CN104918114B (en) | A kind of operating system update method and device | |
CN102945176A (en) | Terminal equipment booting and updating method and equipment | |
CN103176824A (en) | System upgrade method and system upgrade device | |
CN103309737A (en) | Method and device for switching operating system | |
CN103559055A (en) | Activity starting method and device applied to Android platform | |
CN106708543A (en) | OTA upgrading method and apparatus for operation system | |
CN105573785A (en) | Differential package manufacturing method and device | |
CN108833966A (en) | Start-up picture control method, smart machine and computer readable storage medium | |
CN104461621B (en) | A kind of method and device of Update attribute information | |
CN102945193B (en) | A kind of restoration methods and electronic equipment of operation data | |
CN105721942A (en) | Starting method for intelligent television and intelligent television | |
CN103902334A (en) | Silent updating method and system based on Android system | |
CN102004657A (en) | Electronic equipment and updating method thereof | |
CN109947456A (en) | Upgrade method and its update device, the computer storage medium of operating system | |
CN109067562A (en) | Dynamic configuration update method and system, server and medium based on intelligent pointer | |
CN102495737B (en) | Method and device for manufacturing user terminal partition as well as user terminal | |
CN103780942A (en) | Information configuration method and device thereof | |
CN107133070A (en) | A kind of upgrade method of operating system, device and mobile device | |
CN103902377A (en) | Terminal device and operating state synchronization method of terminal device | |
CN105005492A (en) | Embedded equipment and software upgrading method | |
KR102226379B1 (en) | How to improve the burning speed of some kind of system firmware | |
CN104951325B (en) | A kind of information display method and electronic equipment | |
CN103873572B (en) | Startup LOGO display and method for pushing and terminal and service end |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170905 |
|
RJ01 | Rejection of invention patent application after publication |