CN107967141A - Operating system update method, apparatus and terminal - Google Patents
Operating system update method, apparatus and terminal Download PDFInfo
- Publication number
- CN107967141A CN107967141A CN201711202506.0A CN201711202506A CN107967141A CN 107967141 A CN107967141 A CN 107967141A CN 201711202506 A CN201711202506 A CN 201711202506A CN 107967141 A CN107967141 A CN 107967141A
- Authority
- CN
- China
- Prior art keywords
- subregion
- operating system
- bootstrap
- renewal
- terminal
- 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
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
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The disclosure discloses a kind of operating system update method, apparatus and terminal, belongs to field of computer technology.The described method includes:During the first operating system is run, download system upgrade package;The bootstrap after renewal is generated in backup subregion according to system upgrade bag, the second operating system in the second subregion after generation renewal;In the first restarting process, by backing up the bootstrap after the renewal in subregion, the bootstrap in boot partition is covered;In the second restarting process, the bootstrap after boot partition operation renewal, the second operating system after guiding terminal operation renewal.The disclosure passes through the bootstrap after the generation renewal of backup subregion, and the bootstrap after being updated in backup subregion is replicated in terminal restarting process and covers the bootstrap in boot partition, solve the problems, such as to upgrade bootstrap when terminal uses two sets of operating system, realize upgrading of the terminal when running the first operating system to bootstrap.
Description
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of operating system update method, apparatus and terminal.
Background technology
There is the boot partition of bottom using the terminal of Android (Android) operating system, boot partition is stored with guiding
Program (Bootloader).Terminal runs bootstrap first on startup, and guiding terminal runs from operating system partition and operates
System.
In correlation technique, two sets of identical operating systems can be stored in the terminal, be respectively the first operating system and the
Two operating systems.At this time, operating system update method is:During the first operating system of terminal operating, download system liter
Level bag;According to the second operating system after the generation renewal of system upgrade bag;Restart terminal, draw from boot partition operation bootstrap
Lead the second operating system after terminal operating renewal.If any one operating system in the first operating system and the second operating system
Upgrading failure, terminal can still restart from another operating system without upgrading and normal operation, and upgrading is lost
The system lost upgrades again.
Since terminal needs to read bootstrap when running the first operating system, upgrading the second operating system
When, it is impossible to bootstrap is upgraded.
The content of the invention
The embodiment of the present disclosure provides a kind of operating system update method, apparatus and terminal to solve to use in correlation technique
The problem of two sets of operating systems cannot upgrade bootstrap.The technical solution is as follows:
First aspect, there is provided a kind of operating system update method, applied to boot partition, backup subregion, first
In the terminal of subregion and the second subregion, the boot partition and the backup partitioned storage have bootstrap, first subregion
The first operating system is stored with, second partitioned storage has the second operating system, the described method includes:
During first operating system is run, download system upgrade package;
The bootstrap after renewal is generated in the backup subregion according to the system upgrade bag, in second subregion
The second operating system after middle generation renewal;
In the first restarting process, by the bootstrap after the renewal in the backup subregion, draw described in covering
Lead the bootstrap in subregion;
In the second restarting process, the bootstrap after the renewal is run from the boot partition, guides the terminal
Run the second operating system after the renewal.
In the first possible embodiment of first aspect, the terminal further includes recovery subregion, described to recover to divide
Area is stored with recovery routine, described in the first restarting process, passes through the guiding journey after the renewal in the backup subregion
Sequence, the bootstrap covered in the boot partition include:
Target start subregion is arranged to the recovery subregion, the target start subregion is to restart point preferentially run afterwards
Area;
In first restarting process, from recovery routine described in the recovery partition running, pass through the recovery routine
Bootstrap after the renewal is replicated from the backup subregion and covers the bootstrap in the boot partition.
The possible embodiment of with reference to first aspect the first, it is described in second of possible embodiment
During two restart, the bootstrap after the renewal is run from the boot partition, guides renewal described in the terminal operating
The second operating system afterwards includes:
The target start subregion is arranged to the boot partition and second subregion;
In second restarting process, the bootstrap after the renewal is run from the boot partition, by described
Bootstrap after renewal runs the second operating system after the renewal.
With reference to first aspect, second of the possible embodiment of the first of first aspect or first aspect it is possible
Embodiment, described during first operating system is run in the third possible embodiment, download system
Before upgrade package, further include:
Receive partition table modification signal;
Subregion is backed up according to the partition table changes signal creation.
With reference to first aspect, second of the possible embodiment of the first of first aspect or first aspect it is possible
Embodiment, described during first operating system is run in the 4th kind of possible embodiment, download system
Upgrade package, including:
During first operating system is run, whether the version number for detecting second operating system is newest
Version number;
If the version number of second operating system is not newest version number, the system upgrade bag is downloaded.
Second aspect, there is provided a kind of operating system update device, applied to boot partition, backup subregion, first
In the terminal of subregion and the second subregion, the boot partition and the backup partitioned storage have bootstrap, first subregion
The first operating system is stored with, second partitioned storage has the second operating system, and described device includes:
Download unit, is configured as during first operating system is run, download system upgrade package;
Updating block, is configured as generating the guiding journey after renewal in the backup subregion according to the system upgrade bag
Sequence, the second operating system in second subregion after generation renewal;
Copied cells, is configured as in the first restarting process, passes through drawing after the renewal in the backup subregion
Helical pitch sequence, covers the bootstrap in the boot partition;
Guidance unit, is configured as in the second restarting process, and the guiding after the renewal is run from the boot partition
Program, guides the second operating system after renewal described in the terminal operating.
In the first possible embodiment of second aspect, the terminal further includes recovery subregion, described to recover to divide
Area is stored with recovery routine, and described device further includes setting unit;
The setting unit, is configured as target start subregion being arranged to the recovery subregion, the target start point
Area is to restart the subregion preferentially run afterwards;
The copied cells, is additionally configured in first restarting process, recovers extensive described in partition running from described
Multiple program, the bootstrap after the renewal is replicated and cover the guiding by the recovery routine from the backup subregion
The bootstrap in subregion.
With reference to the first possible embodiment of second aspect, in second of possible embodiment,
The setting unit, is additionally configured to the target start subregion being arranged to the boot partition and described second
Subregion;
The guidance unit, is additionally configured in second restarting process, from the boot partition operation described in more
Bootstrap after new, the second operating system after the renewal is run by the bootstrap after the renewal.
Second with reference to the first possible embodiment or second aspect of second aspect, second aspect is possible
Embodiment, in the third possible embodiment, further includes receiving unit and creating unit;
The receiving unit, is configured as receiving partition table modification signal;
The creating unit, is configured as backing up subregion according to the partition table changes signal creation.
Second with reference to the first possible embodiment or second aspect of second aspect, second aspect is possible
Embodiment, in the 4th kind of possible embodiment, further includes detection unit;
The detection unit, is configured as during first operating system is run, detection second operation
Whether the version number of system is newest version number;
The download unit, if the version number for being additionally configured to second operating system is not newest version number,
Download the system upgrade bag.
The third aspect, there is provided a kind of terminal, the terminal include processor and memory, be stored with the memory
At least one instruction, described instruction are loaded by the processor and performed to realize operating system update as described in relation to the first aspect
Method.
Fourth aspect, there is provided a kind of computer-readable recording medium, is stored with least one finger in the storage medium
Order, described instruction are loaded by processor and performed to realize operating system update method as described in relation to the first aspect.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By the bootstrap after the generation renewal of backup subregion, and will be updated in terminal restarting process in backup subregion
Bootstrap afterwards replicates and covers the bootstrap in boot partition, and solving cannot be right when terminal uses two sets of operating system
The problem of bootstrap upgrades, realizes upgrading of the terminal when running the first operating system to bootstrap.
Brief description of the drawings
Attached drawing herein is merged in specification and forms a part for present disclosure specification, shows and meets the disclosure
Embodiment, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is the implementation environment involved by a kind of operating system update method exemplified according to exemplary partial implementation
Schematic diagram;
Fig. 2 is a kind of structure diagram of terminal according to an exemplary embodiment;
Fig. 3 is the subregion schematic diagram using the terminal of traditional partitioned mode;
Fig. 4 is a kind of subregion schematic diagram of terminal according to an exemplary embodiment;
Fig. 5 is a kind of flow chart of operating system update method according to an exemplary embodiment;
Fig. 6 is a kind of flow chart of the operating system update method shown according to another exemplary embodiment;
Fig. 7 is a kind of flow chart of the operating system update method shown according to another exemplary embodiment;
Fig. 8 is a kind of device block diagram of operating system update device according to an exemplary embodiment;
Fig. 9 is a kind of device block diagram of the operating system update device shown according to another exemplary embodiment;
Figure 10 is a kind of block diagram of the operating system update device shown according to another exemplary embodiment.
Embodiment
To make the purpose, technical scheme and advantage of the disclosure clearer, below in conjunction with attached drawing to disclosure embodiment party
Formula is described in further detail.
Since terminal needs to read bootstrap when running the first operating system in correlation technique, in upgrading second
During operating system, it is impossible to which bootstrap is upgraded.The operating system update method that the embodiment of the present disclosure provides, there is provided as follows
Technical solution:During the first operating system is run, download system upgrade package;According to system upgrade bag in backup subregion
Bootstrap after generation renewal, the second operating system after generation renewal in stating the second subregion;In the first restarting process,
By backing up the bootstrap after the renewal in subregion, the bootstrap in boot partition is covered;In the second restarting process, from
Bootstrap after boot partition operation renewal, the second operating system after guiding terminal operation renewal.By in backup subregion
Bootstrap after generation renewal, and the bootstrap after being updated in backup subregion is being replicated and covered after terminal is restarted for the first time
Bootstrap in lid boot partition, solves the problems, such as to upgrade bootstrap when terminal uses two sets of operating system,
Realize upgrading of the terminal when running the first operating system to bootstrap.
In order to facilitate understanding, the noun involved in the embodiment of the present application is explained below.
Target partition (target_partitions):Refer to that terminal performs the target partition of method and step, wherein, target
Boot partition refers to that terminal restarts the subregion preferentially started afterwards, and terminal can determine target start point by changing the attribute of subregion
Area.
Upgrade engine (update_engine):It is used for the execution module for performing renewal operating system in Android system.
Zone attribute:The attribute that the subregion of terminal has.In general, the subregion of terminal have active, bootable,
Tri- attribute of successful, wherein, active is a kind of exclusive attribute, and same type of subregion cannot have active at the same time
Attribute, has the subregion of active attributes, when terminal is restarted, preferentially from the partition running;Point with bootable attributes
Area refers to that the program of the subregion can be run;Subregion with successful attributes refers to that the program of the subregion is updated successfully.
Recovery routine (recovery):The program of operation in recovery mode, restoring running program can be to operating system
Data and/or operating system modify.
Aerial upgrade (Over-the-Air update, OTA upgrading):It is the operating system liter that a kind of Android system provides
Level mode, can be with free of losses upgrading operation system, it passes through wireless network (including Wi-Fi, 4G network etc.) automatic download system
Upgrade package upgrades automatically.
Fig. 1 is showing for the implementation environment involved by a kind of operating system update method according to an exemplary embodiment
It is intended to, as shown in Figure 1, the implementation environment can include terminal 110 and server 111.Terminal 110 and server 111 pass through
Wired or wireless network establishes communication connection, and terminal 110 passes through the communication connection download system upgrade package with server 111 or inspection
Survey whether operating system is newest version.
Wherein, terminal 110 can be that operation has two sets of operating system mobile phones, computer, digital broadcast terminal, message
Transceiver, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Fig. 2 is a kind of structure diagram of terminal according to an exemplary embodiment.The terminal include processor 210,
Memory 211 and communication interface 212.Memory 211 includes recovering subregion 302, boot partition 301, backup subregion 305, the
One subregion 304a and the second subregion 304b, wherein, recovering partitioned storage has recovery routine (recovery), and boot partition is stored with
Bootstrap, backup subregion can store bootstrap, and the first partitioned storage has the first operating system, and the second partitioned storage has
Two operating systems;Communication interface 212 is configured as by wired or wireless network and server communication;Processor 210, memory
211 and communication interface 212 pass through bus or other connection modes and realize communication.Also it is stored with memory 211 at least one
Programmed instruction, the programmed instruction realize the method and step in following embodiment of the method when being performed by processor 210.
Fig. 3 is the subregion schematic diagram using the terminal of traditional partitioned mode.As shown in the figure, the end using traditional partitioned mode
The subregion at end includes boot partition 301, recovers subregion 302, temporary partition (cache) 303 and operating system partition 304.
By taking Android system as an example, boot partition 301 can including sbl, aboot etc. sub- boot partition, it is stored with guiding
Program designation terminal operating is stored in the operating system of operating system partition 304;Recover subregion 302 and be stored with recovery routine, quilt
Terminal restarts restoring running program from subregion 302 is recovered after being configured to operating system update, by being downloaded and stored at interim point
Area's 303 upgrade package upgrading is stored in the operating system of operating system partition 304;Temporary partition 303, is configured as storage operation system
The upgrade package of system;Operating system partition 304 can including boot, system etc. child partition.
The update mode of traditional Android system is:Download system upgrade package and store arrive temporary partition 303, terminal is restarted
Restoring running program afterwards, and operating system is updated with the system upgrade bag stored in temporary partition 303, restart end after the completion of renewal
End operation bootstrap enters operating system.
Fig. 4 is a kind of subregion schematic diagram of terminal according to an exemplary embodiment.As shown in the figure, using tradition point
The subregion of the terminal of area's mode includes boot partition 301, backup subregion 305, recovers subregion 302, the first subregion 304a and behaviour
Make the second subregion 304b.
By taking Android system as an example, boot partition 301 can including sbl, aboot etc. sub- boot partition, it is stored with guiding
Program designation terminal operating is stored in the first operating system of the first subregion 304a or is stored in the second behaviour of the second subregion 304b
Make system;Backup subregion 305, the bootstrap being configured as after storage renewal;Recover subregion 302 and be stored with recovery routine, quilt
Terminal restarts restoring running program from subregion 302 is recovered after being configured to the first operating system or the second operating system update;First
Subregion 304a can including boot_a, system_a etc. child partition;Second subregion 304b can be including boot_b, system_b etc.
Child partition.
Two sets of identical operating systems can be stored in terminal, respectively the first operating system and the second operating system, the
The version of one operating system and the second operating system may be the same or different, the first operating system and the second operating system
It is located at the first subregion and the second subregion respectively.
By taking Android operation system as an example, the mode of two sets of operating systems of storage is referred to as A/B systems (A/B system), adopts
Boot partition, the first subregion and the second subregion are included at least with the terminal of A/B systems.Can using the terminal of A/B system modes
To realize seamless upgrade (seamless updates), it has the characteristics that:Have when dispatching from the factory in terminal two sets can normal work
The operating system of work, when operating system update, ensure there is the operating system that can be worked in terminal all the time, reduce terminal by
Fail in renewal, lead to not the possibility used, convenient maintenance and after sale;The mode of system update upgrades for OTA, OTA liters
Level carries out on backstage, and user can be with normal use terminal in renewal process;If system upgrade fails, terminal can be return back to more
Legacy version operating system before new, trial update again.
The terminal of the Android operation system after 7.0 versions is run, while supports traditional update mode and A/B systems more
New paragon.
Fig. 5 is a kind of flow chart of operating system update method according to an exemplary embodiment, this method application
In the implementation environment as involved by Fig. 1, this method includes following steps:
In step 501, terminal is during the first operating system is run, download system upgrade package.
Terminal is during the first operating system is run, by upgrading engine download system upgrade package, the system upgrade
Bag is used for bootstrap and the second operating system update.
In step 502, terminal generates the bootstrap after renewal according to system upgrade bag in backup subregion, second
The second operating system in subregion after generation renewal.
After the completion of system upgrade bag is downloaded, terminal-pair bootstrap and the second operating system are updated, in backup subregion
Bootstrap after middle generation renewal, the second operating system in the second subregion after generation renewal.
In step 503, terminal is in the first restarting process, by backing up the bootstrap after the renewal in subregion, covers
Bootstrap in lid boot partition.
After the bootstrap after generation updates and the second operating system after renewal, terminal carries out the second operating system liter
First time during level restarts, which is referred to as the first restarting process, and in the first restarting process, terminal will back up
Bootstrap after the renewal stored in subregion is copied in boot partition, and covers the bootstrap in boot partition.
In step 504, terminal is in the second restarting process, the bootstrap after boot partition operation renewal, guiding
The second operating system after terminal operating renewal.
Bootstrap after the renewal that terminal will store in backup subregion is copied in boot partition, and covers boot partition
In bootstrap after, carry out the second operating system update during restarting for the second time, which is referred to as the second weight
Process is opened, in the second restarting process, the bootstrap after boot partition operation renewal, is drawn by the bootstrap after renewal
Lead the second operating system after being updated in the second subregion of terminal operating.
In conclusion in the embodiment of the present disclosure, by the bootstrap after the generation renewal of backup subregion, and in terminal weight
The bootstrap after being updated in backup subregion is replicated during opening and covers the bootstrap in boot partition, solves terminal
The problem of using that cannot upgrade during two sets of operating system to bootstrap, realize terminal when running the first operating system to drawing
The upgrading of helical pitch sequence.
Fig. 6 is a kind of flow chart of the operating system update method shown according to another exemplary embodiment, and this method should
For in the implementation environment as involved by Fig. 1, this method to include following steps:
In step 601, terminal receives partition table modification signal.
Terminal receives partition table modification signal.Optionally, terminal is shown when detecting that operating system needs renewal to user
Show the first display interface, ask the user whether to agree to modification partition table, if user passes through physical button or point touching display screen
Determine to agree to modification partition table, the signal that the signal or point touching display screen that the physical button that terminal receives produces produce is made
Signal is changed for partition table.
In step 602, terminal changes signal creation backup subregion according to partition table.
Terminal creates backup subregion after partition table modification signal is received.
In step 603, terminal is during the first operating system is run, download system upgrade package.
Terminal is during the first operating system is run, then by upgrading engine download system upgrade package, the system liter
Level bag is used for bootstrap and the second operating system update.
Optionally, terminal is during the first operating system is run, detect the second operating system version number whether be
Newest version number, if the version number of the second operating system is not newest version number, download system upgrade package.
Terminal establishes connection by wired or wireless network and server, can be by any one in following two modes
Whether the version number for detecting the second operating system is newest version number:
Terminal obtains the latest edition number of operating system from server, if the version number of the second operating system and newest
Version number mismatches, it is determined that the version number of the second operating system is not newest version number;Terminal obtains most from server
The version number of new system upgrade bag, if the version number of newest system upgrade bag and the version number of the second operating system are not
Match somebody with somebody, it is determined that the version number of the second operating system is not newest version number.
In step 604, terminal generates the bootstrap after renewal according to system upgrade bag in backup subregion, second
The second operating system in subregion after generation renewal.
After the completion of system upgrade bag is downloaded, terminal-pair bootstrap and the second operating system are updated, in backup subregion
Bootstrap after middle generation renewal, the second operating system in the second subregion after generation renewal.
Optionally, the attribute of the first subregion is revised as bootable by the upgrading engine of terminal by active, by second point
The attribute modification in area is bootable and successful.
In step 605, target start subregion is arranged to recover subregion by terminal.
Target start subregion is arranged to recover subregion by terminal.
Optionally, the attribute modification of recovery subregion is active by the upgrading engine of terminal, by the first subregion and second point
The attribute modification in area is bootable.
Optionally, after step 604 and step 605 is completed, terminal shows the second display interface, reminds user second to operate
System has been updated over finishing, and can restart the second operating system after terminal operating renewal, and inquires that user is to restart at this time or slightly
After restart.If user's selection is restarted at this time, the first time during terminal the second operating system update of progress restarts, this is restarted
Process is referred to as the first restarting process.
In step 606,, will more by recovery routine from partition running recovery routine is recovered in the first restarting process
Bootstrap after new replicates from backup subregion and covers the bootstrap in boot partition.
Terminal is in the first restarting process, into partition running recovery routine is recovered, by recovery routine by after renewal
Bootstrap replicates from backup subregion and covers the bootstrap in boot partition.
For example, recovery routine by the bootstrap after renewal from backup subregion copy to boot partition child partition sbl,
In aboot, and cover the bootstrap stored in sbl, aboot.
Optionally, the attribute modification of boot partition is successful by the upgrading engine of terminal.
In step 607, target start subregion is arranged to boot partition and the second subregion by terminal.
Target start subregion is arranged to boot partition and the second subregion by terminal.
Optionally, the attribute modification of boot partition and the second subregion is active by the upgrading engine of terminal.
In step 608, in the second restarting process, the bootstrap after boot partition operation renewal, passes through terminal
The second operating system after bootstrap operation renewal after renewal.
Bootstrap after the renewal that terminal will store in backup subregion is copied in boot partition, and covers boot partition
In bootstrap after, carry out the second operating system update during restarting for the second time, which is referred to as the second weight
Process is opened, in the second restarting process, the bootstrap after boot partition operation renewal, is drawn by the bootstrap after renewal
Lead the second operating system after being updated in the second subregion of terminal operating.
For example, the path for running subregion is arranged to sbl- by bootstrap>aboot->boot_b->System_b, terminal
Bootstrap guiding terminal after the renewal stored in child partition sbl, aboot by running boot partition runs the second subregion
Child partition boot_b, system_b in the second operating system after the renewal that stores.
In conclusion in the embodiment of the present disclosure, by the bootstrap after the generation renewal of backup subregion, and in terminal the
The bootstrap after being updated in backup subregion is replicated in one restarting process and covers the bootstrap in boot partition, is solved
The problem of terminal cannot upgrade bootstrap when using two sets of operating system, realizes terminal when running the first operating system
Upgrading to bootstrap.
Further, in the embodiment of the present disclosure, by being arranged to target start subregion to recover subregion, by the first weight
The bootstrap after renewal is replicated and covers guiding point by the recovery routine of restoring running subregion from backup subregion during opening
Bootstrap in area, still will be from boot partition after solving the bootstrap after terminal generates renewal in backup subregion
Restart, run the technical problem for the bootstrap not updated, terminal is realized after completing to the renewal of bootstrap, from guiding
Subregion restarts the bootstrap after operation renewal, improves operating system performance.
Further, in the embodiment of the present disclosure, by the way that target start subregion is arranged to boot partition and the second subregion, solution
Determine after the renewal to the second operating system is completed, terminal still runs the technical problem of the first operating system after restarting, real
Terminal is showed after the renewal of the second operating system is completed, the bootstrap restarted from boot partition after operation renewal runs renewal
The second operating system afterwards, improves operating system performance.
Further, whether it is newest version by the version number for detecting the second operating system in the embodiment of the present disclosure
Number, if the version number of the second operating system is not newest version number, download system upgrade package, solves terminal downloads old edition
The problem of this system upgrade bag is to the second operating system update, improves the accuracy of operating system update.
In the embodiment of the present disclosure, when terminal is during the second operating system is run, it is real Fig. 5 and Fig. 6 can also to be passed through
The method for applying example upgrades bootstrap and the first operating system.The method that specifically refer to following Fig. 7 embodiments.
Fig. 7 is a kind of flow chart of the operating system update method shown according to another exemplary embodiment, and this method should
For in the implementation environment as involved by Fig. 1, this method to include following steps:
In step 701, terminal is during the second operating system is run, download system upgrade package.
Terminal is during the second operating system is run, by upgrading engine download system upgrade package, the system upgrade
Bag is used for bootstrap and the first operating system update.
Optionally, terminal is during the second operating system is run, detect the first operating system version number whether be
Newest version number, if the version number of the first operating system is not newest version number, download system upgrade package.
Terminal establishes connection by wired or wireless network and server, can be by any one in following two modes
Whether the version number for detecting the first operating system is newest version number:
Terminal obtains the latest edition number of operating system from server, if the version number of the first operating system and newest
Version number mismatches, it is determined that the version number of the first operating system is not newest version number;Terminal obtains most from server
The version number of new system upgrade bag, if the version number of newest system upgrade bag and the version number of the first operating system are not
Match somebody with somebody, it is determined that the version number of the first operating system is not newest version number.
Optionally, terminal receives partition table modification signal.
Optionally, terminal shows the 3rd display interface to user, inquires user when detecting that operating system needs renewal
Whether partition table is changed in agreement, if user determines to agree to modification partition table, terminal by physical button or point touching display screen
The signal that the signal or point touching display screen that the physical button received produces produce changes signal as partition table.
Terminal creates backup subregion after partition table modification signal is received.
In a step 702, terminal generates the bootstrap after renewal according to system upgrade bag in backup subregion, first
The first operating system in subregion after generation renewal.
After the completion of system upgrade bag is downloaded, terminal-pair bootstrap and the first operating system are updated, in backup subregion
Bootstrap after middle generation renewal, the first operating system in the first subregion after generation renewal.
Optionally, the attribute of the second subregion is revised as bootable by the upgrading engine of terminal by active, by first point
The attribute modification in area is bootable and successful.
In step 703, terminal, by backing up the bootstrap after the renewal in subregion, is covered during the 3rd restarts
Bootstrap in lid boot partition.
After the bootstrap after generation updates and the first operating system after renewal, terminal carries out the first operating system liter
First time during level restarts, which is referred to as the 3rd restarting process, and during the 3rd restarts, terminal will back up
Bootstrap after the renewal stored in subregion is copied in boot partition, and covers the bootstrap in boot partition.
Optionally, after step 703 is completed, terminal shows the 4th display interface, has reminded the first operating system of user
Renewal finishes, and can restart the first operating system after terminal operating renewal, and inquire that user is to restart or restart later at this time.If
User selection restart at this time, then terminal carry out the first operating system update during first time restart.
Optionally, target start subregion is arranged to recover subregion by terminal.Terminal can will recover subregion by upgrading engine
Attribute modification be active, be bootable by the attribute modification of the first subregion and the second subregion.Terminal was restarted the 3rd
Cheng Zhong, into partition running recovery routine is recovered, is replicated the bootstrap after renewal simultaneously from backup subregion by recovery routine
Cover the bootstrap in boot partition.
For example, recovery routine by the bootstrap after renewal from backup subregion copy to boot partition child partition sbl,
In aboot, and cover the bootstrap stored in sbl, aboot.
Optionally, the attribute modification of boot partition is successful by the upgrading engine of terminal.
Optionally, target start subregion is arranged to boot partition and the first subregion by terminal.Terminal can be by upgrading engine
It is active by the attribute modification of boot partition and the first subregion.
In step 704, terminal is during the 4th restarts, the bootstrap after boot partition operation renewal, guiding
The first operating system after terminal operating renewal.
Bootstrap after the renewal that terminal will store in backup subregion is copied in boot partition, and covers boot partition
In bootstrap after, carry out the first operating system update during restarting for the second time, which is referred to as quadruple
Process is opened, during the 4th restarts, terminal passes through the guiding journey after renewal from the bootstrap after boot partition operation renewal
Sequence guiding terminal runs the first operating system after being updated in the first subregion.
For example, the path for running subregion is arranged to sbl- by bootstrap>aboot->boot_a->System_a, terminal
Bootstrap guiding terminal after the renewal stored in child partition sbl, aboot by running boot partition runs the first subregion
Child partition boot_a, system_a in the first operating system after the renewal that stores.
In conclusion in the embodiment of the present disclosure, by the bootstrap after the generation renewal of backup subregion, and in terminal the
Three restart during the bootstrap after being updated in backup subregion is replicated and covers the bootstrap in boot partition, solve
The problem of terminal cannot upgrade bootstrap when using two sets of operating system, realizes terminal when running the first operating system
Upgrading to bootstrap.
Further, in the embodiment of the present disclosure, by being arranged to target start subregion to recover subregion, by triple the
The bootstrap after renewal is replicated and covers guiding point by the recovery routine of restoring running subregion from backup subregion during opening
Bootstrap in area, still will be from boot partition after solving the bootstrap after terminal generates renewal in backup subregion
Restart, run the technical problem for the bootstrap not updated, terminal is realized after completing to the renewal of bootstrap, from guiding
Subregion restarts the bootstrap after operation renewal, improves operating system performance.
Further, in the embodiment of the present disclosure, by the way that target start subregion is arranged to boot partition and the first subregion, solution
Determine after the renewal to the first operating system is completed, terminal still runs the technical problem of the second operating system after restarting, real
Terminal is showed after the renewal of the first operating system is completed, the bootstrap restarted from boot partition after operation renewal runs renewal
The first operating system afterwards, improves operating system performance.
Further, whether it is newest version by the version number for detecting the first operating system in the embodiment of the present disclosure
Number, if the version number of the first operating system is not newest version number, download system upgrade package, solves terminal downloads old edition
The problem of this system upgrade bag is to the first operating system update, improves the accuracy of operating system update.
Fig. 8 is a kind of device block diagram of operating system update device according to an exemplary embodiment, the operation system
Update device of uniting is applied in terminal as shown in Figure 2, which includes:
Download unit 801, is configured as during the first operating system is run, download system upgrade package.
Updating block 802, is configured as generating the bootstrap after renewal in backup subregion according to system upgrade bag,
The second operating system in second subregion after generation renewal.
Copied cells 803, is configured as in the first restarting process, by backing up the guiding journey after the renewal in subregion
Sequence, covers the bootstrap in boot partition.
Guidance unit 804, is configured as in the second restarting process, the bootstrap after boot partition operation renewal,
The second operating system after guiding terminal operation renewal.
In conclusion in the embodiment of the present disclosure, by bootstrap of the updating block after the generation renewal of backup subregion, and
The bootstrap after being updated in backup subregion is being replicated after terminal is restarted for the first time and is covering boot partition by copied cells
In bootstrap, solve the problems, such as to upgrade bootstrap when terminal uses two sets of operating system, realize terminal
Upgrading when running the first operating system to bootstrap.
Fig. 9 is a kind of device block diagram of the operating system update device shown according to another exemplary embodiment, the operation
System upgrade device is applied in terminal as shown in Figure 2, which includes:
Receiving unit 902, is configured as receiving partition table modification signal.
Creating unit 903, is configured as changing signal creation backup subregion according to partition table.
Optionally, which further includes detection unit 901:
Detection unit 901, is configured as during the first operating system is run, and detects the version of the second operating system
Number whether it is newest version number.
Download unit 904, is configured as during the first operating system is run, download system upgrade package.Optionally,
If the version number that download unit 904 is additionally configured to the second operating system is not newest version number, download system upgrade package.
Updating block 905, is configured as generating the bootstrap after renewal in backup subregion according to system upgrade bag,
The second operating system in second subregion after generation renewal.
Setting unit 906, is configured as being arranged to target start subregion to recover subregion.Optionally, setting unit 906,
It is additionally configured to target start subregion being arranged to boot partition and the second subregion.
Copied cells 907, is configured as in the first restarting process, by backing up the guiding journey after the renewal in subregion
Sequence, covers the bootstrap in boot partition.Optionally, copied cells 907, are additionally configured in the first restarting process, from
Recover partition running recovery routine, the bootstrap after renewal is replicated from backup subregion by recovery routine and covers guiding point
Bootstrap in area.
Guidance unit 908, is configured as in the second restarting process, the bootstrap after boot partition operation renewal,
The second operating system after guiding terminal operation renewal.Optionally, guidance unit 908, are additionally configured in the second restarting process
In, the bootstrap after boot partition operation renewal, passes through the second operating system after bootstrap operation renewal.
In conclusion in the embodiment of the present disclosure, by bootstrap of the updating block after the generation renewal of backup subregion, and
The bootstrap after being updated in backup subregion is being replicated after terminal is restarted for the first time and is covering boot partition by copied cells
In bootstrap, solve the problems, such as to upgrade bootstrap when terminal uses two sets of operating system, realize terminal
Upgrading when running the first operating system to bootstrap.
Further, in the embodiment of the present disclosure, target start subregion is arranged to by recovery subregion by setting unit, is passed through
The recovery routine of copied cells restoring running subregion in the first restarting process is by the bootstrap after renewal from backup subregion
Replicate and cover the bootstrap in boot partition, after solving the bootstrap after terminal generates renewal in backup subregion,
Still to restart from boot partition, run the technical problem for the bootstrap not updated, realize terminal and complete to guiding journey
After the renewal of sequence, restart the bootstrap after operation renewal from boot partition, improve operating system performance.
Further, in the embodiment of the present disclosure, by by setting unit by target start subregion be arranged to boot partition and
Second subregion, solves after the renewal to the second operating system is completed, terminal still runs the first operating system after restarting
Technical problem, realizes terminal after the renewal of the second operating system is completed, and restarts the guiding after operation renewal from boot partition
The second operating system after program operation renewal, improves operating system performance.
Further, in the embodiment of the present disclosure, whether the version number that the second operating system is detected by detection unit is most
New version number, if the version number of the second operating system is not newest version number, download system upgrade package, solves terminal
The problem of system upgrade bag of legacy version is to the second operating system update is downloaded, improves the accuracy of operating system update.
Figure 10 is a kind of block diagram of the operating system update device shown according to another exemplary embodiment.For example, the dress
It can be the mobile phone with two sets of operating system to put 100, and computer, digital broadcast terminal, messaging devices, play and control
Platform processed, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Figure 10, which can include following one or more assemblies:Processing component 1002, memory 1004,
Power supply module 1006, multimedia component 1008, audio component 1010, the interface 1012 of input/output (I/O), sensor component
1014, and communication component 1016.
The integrated operation of the usual control device 100 of processing component 1002, such as with display, call, data communication, phase
The operation that machine operates and record operation is associated.Processing component 1002 can refer to including one or more processors 1018 to perform
Order, to complete all or part of step of above-mentioned method.In addition, processing component 1002 can include one or more modules,
Easy to the interaction between processing component 1002 and other assemblies.For example, processing component 1002 can include multi-media module, with side
Just the interaction between multimedia component 1008 and processing component 1002.
Memory 1004 is configured as storing various types of data to support the operation of the device 100.These data
Example includes being used for the instruction of any application program or method operated on the device 100, contact data, telephone book data,
Message, picture, video etc..Memory 1004 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 1006 provides electric power for the various assemblies of device 100.Power supply module 1006 can include power management
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 100.
Multimedia component 1008 is included in the screen of one output interface of offer between described device 100 and user.
In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch and passes
Sensor is to sense the gesture on touch, slip and touch panel.The touch sensor can not only sense touch or slide dynamic
The border of work, but also detection and the duration and pressure associated with the touch or slide operation.In certain embodiments, it is more
Media component 1008 includes a front camera and/or rear camera.When device 100 is in operator scheme, mould is such as shot
When formula or video mode, front camera and/or rear camera can receive exterior multi-medium data.Each preposition shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1010 is configured as output and/or input audio signal.For example, audio component 1010 includes a wheat
Gram wind (MIC), when device 100 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone quilt
It is configured to receive external audio signal.The received audio signal can be further stored in memory 1004 or via communication
Component 1016 is sent.In certain embodiments, audio component 910 further includes a loudspeaker, for exports audio signal.
I/O interfaces 412 provide interface between processing component 1002 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor component 914 includes one or more sensors, and the state for providing various aspects for device 100 is commented
Estimate.For example, sensor component 1014 can detect opening/closed mode of device 100, the relative positioning of component, such as institute
The display and keypad that component is device 100 are stated, sensor component 1014 can be with detection device 100 or 100 1, device
The position of component changes, the existence or non-existence that user contacts with device 100,100 orientation of device or acceleration/deceleration and device
100 temperature change.Sensor component 1014 can include proximity sensor, be configured in no any physical contact
When detect presence of nearby objects.Sensor component 1014 can also include optical sensor, such as CMOS or ccd image sensor,
For being used in imaging applications.In certain embodiments, which can also include acceleration transducer, top
Spiral shell instrument sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1016 is configured to facilitate the communication of wired or wireless way between device 100 and other equipment.Dress
The wireless network based on communication standard, such as Wi-Fi, 2G, 3G or 4G, or combinations thereof can be accessed by putting 100.In an example
Property embodiment in, communication component 1016 receives broadcast singal from external broadcasting management system or broadcast phase via broadcast channel
Close information.In one exemplary embodiment, the communication component 1016 further includes near-field communication (NFC) module, short to promote
Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 100 can be believed by one or more application application-specific integrated circuit (ASIC), numeral
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 1004 of instruction, above-metioned instruction can be performed to complete the above method by the processor 1018 of device 100.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 100
When device performs so that device 100 is able to carry out the above method.
The embodiment of the present disclosure additionally provides a kind of computer-readable recording medium, a kind of computer-readable in the storage medium
Storage medium, at least one instruction, at least one section of program, code set or instruction set are stored with storage medium, and at least one refers to
Make, at least one section of program, code set or instruction set loaded by processor and performed to realize a kind of operating system as described above
Upgrade method, alternatively, the computer-readable recording medium include high speed access storage, nonvolatile memory.
The embodiment of the present disclosure additionally provides a kind of computer program product for including instruction, when it is running in terminal,
So that processor performs the method described in above-mentioned each side.
It should be appreciated that referenced herein " multiple " refer to two or more."and/or", description association
The incidence relation of object, expression may have three kinds of relations, for example, A and/or B, can represent:Individualism A, while there are A
And B, individualism B these three situations.It is a kind of relation of "or" that character "/", which typicallys represent forward-backward correlation object,.
Above-mentioned embodiment of the present disclosure sequence number is for illustration only, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is merely the preferred embodiment of the disclosure, not to limit the disclosure, all spirit in the disclosure and
Within principle, any modification, equivalent replacement, improvement and so on, should be included within the protection domain of the disclosure.
Claims (12)
- A kind of 1. operating system update method, it is characterised in that applied to boot partition, backup subregion, the first subregion and In the terminal of second subregion, the boot partition and the backup partitioned storage have bootstrap, and first partitioned storage has First operating system, second partitioned storage have the second operating system, the described method includes:During first operating system is run, download system upgrade package;The bootstrap after renewal is generated in the backup subregion according to the system upgrade bag, it is raw in second subregion Into the second operating system after renewal;In the first restarting process, by the bootstrap after the renewal in the backup subregion, the guiding point is covered The bootstrap in area;In the second restarting process, the bootstrap after the renewal is run from the boot partition, guides the terminal operating The second operating system after the renewal.
- 2. according to the method described in claim 1, it is characterized in that, the terminal further includes recovery subregion, the recovery subregion Recovery routine is stored with, it is described in the first restarting process, by the bootstrap after the renewal in the backup subregion, The bootstrap covered in the boot partition includes:Target start subregion is arranged to the recovery subregion, the target start subregion is to restart the subregion preferentially run afterwards;In first restarting process, from recovery routine described in the recovery partition running, by the recovery routine by institute The bootstrap after renewal is stated to replicate from the backup subregion and cover the bootstrap in the boot partition.
- 3. according to the method described in claim 2, it is characterized in that, described in the second restarting process, from the boot partition The bootstrap after the renewal is run, guides the second operating system after renewal described in the terminal operating to include:The target start subregion is arranged to the boot partition and second subregion;In second restarting process, the bootstrap after the renewal is run from the boot partition, passes through the renewal Bootstrap afterwards runs the second operating system after the renewal.
- 4. method according to any one of claims 1 to 3, it is characterised in that described to run first operating system During, before download system upgrade package, further include:Receive partition table modification signal;Subregion is backed up according to the partition table changes signal creation.
- 5. method according to any one of claims 1 to 3, it is characterised in that described to run first operating system During, download system upgrade package, including:During first operating system is run, whether the version number for detecting second operating system is newest version This number;If the version number of second operating system is not newest version number, the system upgrade bag is downloaded.
- A kind of 6. operating system update device, it is characterised in that applied to boot partition, backup subregion, the first subregion and In the terminal of second subregion, the boot partition and the backup partitioned storage have bootstrap, and first partitioned storage has First operating system, second partitioned storage have the second operating system, and described device includes:Download unit, is configured as during first operating system is run, download system upgrade package;Updating block, is configured as generating the bootstrap after renewal in the backup subregion according to the system upgrade bag, The second operating system in second subregion after generation renewal;Copied cells, is configured as in the first restarting process, passes through the guiding journey after the renewal in the backup subregion Sequence, covers the bootstrap in the boot partition;Guidance unit, is configured as in the second restarting process, and the bootstrap after the renewal is run from the boot partition, Guide the second operating system after renewal described in the terminal operating.
- 7. device according to claim 6, it is characterised in that the terminal further includes recovery subregion, the recovery subregion Recovery routine is stored with, described device further includes setting unit;The setting unit, is configured as target start subregion being arranged to the recovery subregion, the target start subregion is Restart the subregion preferentially run afterwards;The copied cells, is additionally configured in first restarting process, recovers journey from described in the recovery partition running Sequence, the bootstrap after the renewal is replicated and cover the boot partition by the recovery routine from the backup subregion In the bootstrap.
- 8. device according to claim 7, it is characterised in thatThe setting unit, is additionally configured to the target start subregion being arranged to the boot partition and second point described Area;The guidance unit, is additionally configured in second restarting process, after the boot partition runs the renewal Bootstrap, the second operating system after the renewal is run by bootstrap after the renewal.
- 9. according to claim 6 to 8 any one of them device, it is characterised in that further include receiving unit and creating unit;The receiving unit, is configured as receiving partition table modification signal;The creating unit, is configured as backing up subregion according to the partition table changes signal creation.
- 10. according to claim 6 to 8 any one of them device, it is characterised in that further include detection unit;The detection unit, is configured as during first operating system is run, detecting second operating system Version number whether be newest version number;The download unit, if the version number for being additionally configured to second operating system is not newest version number, is downloaded The system upgrade bag.
- 11. a kind of terminal, it is characterised in that the terminal includes processor and memory, is stored with least in the memory One instruction, described instruction are loaded by the processor and performed to realize the operating system as described in claim 1 to 5 is any Upgrade method.
- 12. a kind of computer-readable recording medium, it is characterised in that at least one instruction, institute are stored with the storage medium Instruction is stated to be loaded by processor and performed to realize the operating system update method as described in claim 1 to 5 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711202506.0A CN107967141B (en) | 2017-11-27 | 2017-11-27 | Operating system upgrading method and device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711202506.0A CN107967141B (en) | 2017-11-27 | 2017-11-27 | Operating system upgrading method and device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107967141A true CN107967141A (en) | 2018-04-27 |
CN107967141B CN107967141B (en) | 2021-04-13 |
Family
ID=61997866
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711202506.0A Active CN107967141B (en) | 2017-11-27 | 2017-11-27 | Operating system upgrading method and device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107967141B (en) |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109542480A (en) * | 2018-11-16 | 2019-03-29 | 深圳市邻友通科技发展有限公司 | The operating system update method, apparatus and medium of nail print apparatus |
CN110543321A (en) * | 2019-09-06 | 2019-12-06 | 深圳市英博超算科技有限公司 | OTA (over the air) upgrading method, device, terminal and computer readable storage medium |
CN111209141A (en) * | 2019-12-30 | 2020-05-29 | 晶晨半导体(深圳)有限公司 | Dual-system switching method and device applied to system iteration |
CN111240723A (en) * | 2020-03-13 | 2020-06-05 | 乐普医学电子仪器股份有限公司 | Method for upgrading embedded program |
CN111522566A (en) * | 2020-04-23 | 2020-08-11 | Oppo(重庆)智能科技有限公司 | System upgrading method, terminal and storage medium |
CN111614487A (en) * | 2020-04-16 | 2020-09-01 | 惠州市创荣发实业有限公司 | Device upgrading system, method, electronic device and storage medium |
CN111949322A (en) * | 2020-08-24 | 2020-11-17 | 维沃移动通信有限公司 | Information display method and device |
CN112328331A (en) * | 2020-11-30 | 2021-02-05 | 中国航空工业集团公司西安航空计算技术研究所 | Method and device for replacing applications in partition mode |
CN112631609A (en) * | 2021-01-05 | 2021-04-09 | 北京字节跳动网络技术有限公司 | Compiling method, device, terminal and storage medium |
WO2021103745A1 (en) * | 2019-11-25 | 2021-06-03 | 晶晨半导体(深圳)有限公司 | Method for protectively desiging boot program |
CN113721959A (en) * | 2021-08-30 | 2021-11-30 | 联想(北京)有限公司 | Information processing method and device and electronic equipment |
CN113806139A (en) * | 2021-06-15 | 2021-12-17 | 荣耀终端有限公司 | Operating system recovery method, operating system recovery device, storage medium and computer program product |
CN113805914A (en) * | 2021-06-15 | 2021-12-17 | 荣耀终端有限公司 | Operating system upgrade method, apparatus, storage medium, and computer program product |
CN113821233A (en) * | 2021-06-15 | 2021-12-21 | 荣耀终端有限公司 | Operating system upgrade method, apparatus, storage medium, and computer program product |
CN113821234A (en) * | 2021-06-15 | 2021-12-21 | 荣耀终端有限公司 | Operating system upgrade method, apparatus, storage medium, and computer program product |
CN113885928A (en) * | 2021-05-31 | 2022-01-04 | 荣耀终端有限公司 | Program updating method and electronic device |
CN114398089A (en) * | 2021-12-30 | 2022-04-26 | 阿波罗智联(北京)科技有限公司 | System switching method and device, electronic equipment and medium |
CN115328518A (en) * | 2022-08-22 | 2022-11-11 | 中京天裕科技(杭州)有限公司 | Industrial control system software safety upgrading method supporting state rollback |
WO2022262754A1 (en) * | 2021-06-15 | 2022-12-22 | 荣耀终端有限公司 | Operating system data updating method and device, storage medium, and program product |
CN116028128A (en) * | 2023-03-27 | 2023-04-28 | 广东汉为信息技术有限公司 | Disk partition storage method, operating system automatic recovery method and storage medium |
WO2024000535A1 (en) * | 2022-06-30 | 2024-01-04 | 北京小米移动软件有限公司 | Partition table update method and apparatus, and electronic device and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102622280A (en) * | 2011-01-06 | 2012-08-01 | 苏州科达科技有限公司 | Control method and control device used for software version upgrade and based on dual file system |
CN103970557A (en) * | 2013-02-04 | 2014-08-06 | 中兴通讯股份有限公司 | Storage device and system starting method thereof |
CN103984571A (en) * | 2014-05-21 | 2014-08-13 | 华为技术有限公司 | Method and device for uprating operating system partition |
CN105630546A (en) * | 2015-12-22 | 2016-06-01 | 小米科技有限责任公司 | System updating method and system updating device |
CN105786569A (en) * | 2016-02-26 | 2016-07-20 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105955842A (en) * | 2016-04-19 | 2016-09-21 | 上海斐讯数据通信技术有限公司 | System partition structure and communication apparatus of embedded system |
CN106776133A (en) * | 2016-12-09 | 2017-05-31 | 浪潮电子信息产业股份有限公司 | A kind of system and method for operating system recovery |
CN107133070A (en) * | 2017-04-19 | 2017-09-05 | 北京奇艺世纪科技有限公司 | A kind of upgrade method of operating system, device and mobile device |
US20180088963A1 (en) * | 2016-09-29 | 2018-03-29 | Verizon Patent And Licensing Inc. | Software upgrade and disaster recovery on a computing device |
-
2017
- 2017-11-27 CN CN201711202506.0A patent/CN107967141B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102622280A (en) * | 2011-01-06 | 2012-08-01 | 苏州科达科技有限公司 | Control method and control device used for software version upgrade and based on dual file system |
CN103970557A (en) * | 2013-02-04 | 2014-08-06 | 中兴通讯股份有限公司 | Storage device and system starting method thereof |
CN103984571A (en) * | 2014-05-21 | 2014-08-13 | 华为技术有限公司 | Method and device for uprating operating system partition |
CN105630546A (en) * | 2015-12-22 | 2016-06-01 | 小米科技有限责任公司 | System updating method and system updating device |
CN105786569A (en) * | 2016-02-26 | 2016-07-20 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105955842A (en) * | 2016-04-19 | 2016-09-21 | 上海斐讯数据通信技术有限公司 | System partition structure and communication apparatus of embedded system |
US20180088963A1 (en) * | 2016-09-29 | 2018-03-29 | Verizon Patent And Licensing Inc. | Software upgrade and disaster recovery on a computing device |
CN106776133A (en) * | 2016-12-09 | 2017-05-31 | 浪潮电子信息产业股份有限公司 | A kind of system and method for operating system recovery |
CN107133070A (en) * | 2017-04-19 | 2017-09-05 | 北京奇艺世纪科技有限公司 | A kind of upgrade method of operating system, device and mobile device |
Non-Patent Citations (1)
Title |
---|
廖永军等: "《基于ARM的嵌入式Bootloader实现自动升级》", 《微计算机信息》 * |
Cited By (30)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109542480A (en) * | 2018-11-16 | 2019-03-29 | 深圳市邻友通科技发展有限公司 | The operating system update method, apparatus and medium of nail print apparatus |
CN110543321A (en) * | 2019-09-06 | 2019-12-06 | 深圳市英博超算科技有限公司 | OTA (over the air) upgrading method, device, terminal and computer readable storage medium |
WO2021103745A1 (en) * | 2019-11-25 | 2021-06-03 | 晶晨半导体(深圳)有限公司 | Method for protectively desiging boot program |
CN111209141A (en) * | 2019-12-30 | 2020-05-29 | 晶晨半导体(深圳)有限公司 | Dual-system switching method and device applied to system iteration |
CN111209141B (en) * | 2019-12-30 | 2023-10-20 | 晶晨半导体(深圳)有限公司 | Dual-system switching method and device applied to system iteration |
CN111240723A (en) * | 2020-03-13 | 2020-06-05 | 乐普医学电子仪器股份有限公司 | Method for upgrading embedded program |
CN111614487A (en) * | 2020-04-16 | 2020-09-01 | 惠州市创荣发实业有限公司 | Device upgrading system, method, electronic device and storage medium |
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 |
CN111949322A (en) * | 2020-08-24 | 2020-11-17 | 维沃移动通信有限公司 | Information display method and device |
CN112328331A (en) * | 2020-11-30 | 2021-02-05 | 中国航空工业集团公司西安航空计算技术研究所 | Method and device for replacing applications in partition mode |
CN112328331B (en) * | 2020-11-30 | 2023-03-24 | 中国航空工业集团公司西安航空计算技术研究所 | Method and device for replacing applications in partition mode |
CN112631609A (en) * | 2021-01-05 | 2021-04-09 | 北京字节跳动网络技术有限公司 | Compiling method, device, terminal and storage medium |
CN113885928A (en) * | 2021-05-31 | 2022-01-04 | 荣耀终端有限公司 | Program updating method and electronic device |
CN113821234A (en) * | 2021-06-15 | 2021-12-21 | 荣耀终端有限公司 | Operating system upgrade method, apparatus, storage medium, and computer program product |
CN113805914A (en) * | 2021-06-15 | 2021-12-17 | 荣耀终端有限公司 | Operating system upgrade method, apparatus, storage medium, and computer program product |
CN115729586B (en) * | 2021-06-15 | 2023-10-20 | 荣耀终端有限公司 | Operating system upgrade method, device, storage medium and computer program product |
CN113821233B (en) * | 2021-06-15 | 2022-09-27 | 荣耀终端有限公司 | Operating system upgrade method, apparatus, storage medium, and computer program product |
CN113806139A (en) * | 2021-06-15 | 2021-12-17 | 荣耀终端有限公司 | Operating system recovery method, operating system recovery device, storage medium and computer program product |
CN115480798A (en) * | 2021-06-15 | 2022-12-16 | 荣耀终端有限公司 | Operating system upgrading method, operating system upgrading device, operating system storage medium and computer program product |
WO2022262751A1 (en) * | 2021-06-15 | 2022-12-22 | 荣耀终端有限公司 | Operating system upgrading method, and device, storage medium and computer program product |
WO2022262754A1 (en) * | 2021-06-15 | 2022-12-22 | 荣耀终端有限公司 | Operating system data updating method and device, storage medium, and program product |
CN113821234B (en) * | 2021-06-15 | 2023-01-03 | 荣耀终端有限公司 | Operating system upgrade method, apparatus, storage medium, and computer program product |
CN115729586A (en) * | 2021-06-15 | 2023-03-03 | 荣耀终端有限公司 | Operating system upgrade method, apparatus, storage medium, and computer program product |
CN113821233A (en) * | 2021-06-15 | 2021-12-21 | 荣耀终端有限公司 | Operating system upgrade method, apparatus, storage medium, and computer program product |
CN113721959A (en) * | 2021-08-30 | 2021-11-30 | 联想(北京)有限公司 | Information processing method and device and electronic equipment |
CN114398089A (en) * | 2021-12-30 | 2022-04-26 | 阿波罗智联(北京)科技有限公司 | System switching method and device, electronic equipment and medium |
WO2024000535A1 (en) * | 2022-06-30 | 2024-01-04 | 北京小米移动软件有限公司 | Partition table update method and apparatus, and electronic device and storage medium |
CN115328518A (en) * | 2022-08-22 | 2022-11-11 | 中京天裕科技(杭州)有限公司 | Industrial control system software safety upgrading method supporting state rollback |
CN116028128A (en) * | 2023-03-27 | 2023-04-28 | 广东汉为信息技术有限公司 | Disk partition storage method, operating system automatic recovery method and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107967141B (en) | 2021-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107967141A (en) | Operating system update method, apparatus and terminal | |
CN104951336B (en) | application program installation method and device | |
CN104484200B (en) | The method and device upgraded to firmware | |
US20210216637A1 (en) | Firmware upgrade method and device, and storage medium | |
CN104951335B (en) | The processing method and processing device of application program installation kit | |
CN105468410B (en) | Method for upgrading system and device | |
CN104281478B (en) | The method and device of more new application | |
CN105975864A (en) | Operation system starting method and device, and terminal | |
CN105930185A (en) | Application updating method and apparatus, terminal and server | |
CN105446768B (en) | Method for upgrading system and device | |
KR20200090010A (en) | Method for updating firmware, electronic device and storage medium therefor | |
US20140380292A1 (en) | Method, device, and storage medium for upgrading operating system | |
CN115328563B (en) | System starting method and electronic equipment | |
CN105630546B (en) | Method for updating system and device | |
CN106126382B (en) | Identify the method and device of file system error | |
CN105335200B (en) | Method for upgrading system and device | |
CN107450912A (en) | Layout method, device and the terminal of the page | |
CN112463199A (en) | System upgrading method and terminal | |
CN108153540B (en) | System upgrading method, device, terminal and storage medium | |
CN109725943A (en) | A kind of programming jump method, apparatus, electronic equipment and storage medium | |
CN105630548B (en) | Method for updating system and device | |
CN109344051A (en) | Method, apparatus, electronic equipment and the storage medium of data processing | |
CN116048644B (en) | System migration method, device and readable storage medium | |
CN104239095A (en) | Operating-system starting method, device and terminal equipment | |
CN106201611A (en) | Run the method and device of application |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |