CN107967141B - Operating system upgrading method and device and terminal - Google Patents

Operating system upgrading method and device and terminal Download PDF

Info

Publication number
CN107967141B
CN107967141B CN201711202506.0A CN201711202506A CN107967141B CN 107967141 B CN107967141 B CN 107967141B CN 201711202506 A CN201711202506 A CN 201711202506A CN 107967141 B CN107967141 B CN 107967141B
Authority
CN
China
Prior art keywords
partition
operating system
boot
updated
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.)
Active
Application number
CN201711202506.0A
Other languages
Chinese (zh)
Other versions
CN107967141A (en
Inventor
李明浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711202506.0A priority Critical patent/CN107967141B/en
Publication of CN107967141A publication Critical patent/CN107967141A/en
Application granted granted Critical
Publication of CN107967141B publication Critical patent/CN107967141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading 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 an operating system upgrading method, an operating system upgrading device and a terminal, and belongs to the technical field of computers. The method comprises the following steps: downloading a system upgrade package in the process of running a first operating system; generating an updated bootstrap program in the backup partition according to the system upgrade package, and generating an updated second operating system in the second partition; in a first restart process, covering a bootstrap program in a bootstrap partition through an updated bootstrap program in a backup partition; and in the second restarting process, the updated bootstrap program is run from the bootstrap partition, and the updated second operating system is run by the bootstrap terminal. According to the method and the device, the updated bootstrap program is generated in the backup partition, and the updated bootstrap program in the backup partition is copied and covered on the bootstrap program in the bootstrap partition in the terminal restarting process, so that the problem that the bootstrap program cannot be updated when the terminal adopts two sets of operating systems is solved, and the upgrading of the bootstrap program when the terminal runs the first operating system is realized.

Description

Operating system upgrading method and device and terminal
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, and a terminal for upgrading an operating system.
Background
A terminal adopting an Android operating system has a boot partition of a bottom layer, and a boot program (Bootloader) is stored in the boot partition. When the terminal is started, the terminal firstly runs a bootstrap program, and the terminal is booted to run an operating system from an operating system partition.
In the related art, two sets of the same operating systems, namely a first operating system and a second operating system, may be stored in the terminal. At this time, the operating system upgrading method is as follows: downloading a system upgrade package in the process of running a first operating system by the terminal; generating an updated second operating system according to the system upgrade package; and restarting the terminal, and operating the bootstrap program from the boot partition to boot the terminal to operate the updated second operating system. If any one of the first operating system and the second operating system fails to be upgraded, the terminal can still restart and normally operate from the other operating system which is not upgraded, and the system which fails to be upgraded is upgraded again.
Since the terminal needs to read the boot program when running the first operating system, the boot program cannot be upgraded when upgrading the second operating system.
Disclosure of Invention
The embodiment of the disclosure provides an operating system upgrading method, an operating system upgrading device and a terminal, so as to solve the problem that a boot program cannot be upgraded by using two operating systems in the related art. The technical scheme is as follows:
in a first aspect, an operating system upgrade method is provided, which is applied to a terminal having a boot partition, a backup partition, a first partition and a second partition, where the boot partition and the backup partition store boot programs, the first partition stores a first operating system, and the second partition stores a second operating system, and the method includes:
downloading a system upgrade package in the process of running the first operating system;
generating an updated bootstrap program in the backup partition according to the system upgrade package, and generating an updated second operating system in the second partition;
overwriting the boot program in the boot partition with the updated boot program in the backup partition during a first reboot;
and in the second restarting process, the updated bootstrap program is operated from the bootstrap partition, and the terminal is guided to operate the updated second operating system.
In a first possible implementation manner of the first aspect, the terminal further includes a recovery partition, where the recovery partition stores a recovery program, and overriding the boot program in the boot partition by the updated boot program in the backup partition in the first reboot process includes:
setting a target starting partition as the recovery partition, wherein the target starting partition is a partition which is preferentially operated after being restarted;
in the first reboot process, the recovery program is run from the recovery partition, and the updated boot program is copied from the backup partition and overwritten by the recovery program.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the executing the updated boot program from the boot partition in the second reboot process, and the booting the terminal to execute the updated second operating system includes:
setting the target boot partition as the boot partition and the second partition;
and in the second restarting process, the updated bootstrap program is operated from the bootstrap partition, and the updated second operating system is operated through the updated bootstrap program.
With reference to the first aspect, the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a third possible implementation manner, before downloading a system upgrade package in the process of running the first operating system, the method further includes:
receiving a partition table modification signal;
and creating the backup partition according to the partition table modification signal.
With reference to the first aspect, the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a fourth possible implementation manner, the downloading a system upgrade package in the process of running the first operating system includes:
detecting whether the version number of the second operating system is the latest version number or not in the process of running the first operating system;
and if the version number of the second operating system is not the latest version number, downloading the system upgrade package.
In a second aspect, an operating system upgrade apparatus is provided, which is applied in a terminal having a boot partition, a backup partition, a first partition and a second partition, where the boot partition and the backup partition store a boot program, the first partition stores a first operating system, and the second partition stores a second operating system, and the apparatus includes:
the downloading unit is configured to download a system upgrading package in the process of running the first operating system;
an update unit configured to generate an updated boot program in the backup partition according to the system upgrade package, and generate an updated second operating system in the second partition;
a replication unit configured to overwrite the boot program in the boot partition with the updated boot program in the backup partition in a first reboot process;
and the guiding unit is configured to run the updated guiding program from the guiding partition in a second restarting process, and guide the terminal to run the updated second operating system.
In a first possible implementation manner of the second aspect, the terminal further includes a recovery partition, where the recovery partition stores a recovery program, and the apparatus further includes a setting unit;
the setting unit is configured to set a target starting partition as the recovery partition, wherein the target starting partition is a partition which is preferentially operated after being restarted;
the copying unit is further configured to run the recovery program from the recovery partition in the first reboot process, and copy the updated boot program from the backup partition and overwrite the boot program in the boot partition by the recovery program.
In combination with the first possible implementation manner of the second aspect, in a second possible implementation manner,
the setting unit is further configured to set the target boot partition as the boot partition and the second partition;
the boot unit is further configured to run the updated boot program from the boot partition and run the updated second operating system through the updated boot program in the second reboot process.
With reference to the second aspect, the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, in a third possible implementation manner, the method further includes a receiving unit and a creating unit;
the receiving unit is configured to receive a partition table modification signal;
the creating unit is configured to create the backup partition according to the partition table modification signal.
With reference to the second aspect, the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, in a fourth possible implementation manner, the apparatus further includes a detection unit;
the detecting unit is configured to detect whether the version number of the second operating system is the latest version number in the process of running the first operating system;
the downloading unit is further configured to download the system upgrade package if the version number of the second operating system is not the latest version number.
In a third aspect, a terminal is provided, where the terminal includes a processor and a memory, and the memory stores at least one instruction, where the instruction is loaded and executed by the processor to implement the operating system upgrade method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the operating system upgrade method according to the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the updated bootstrap program is generated in the backup partition, and the updated bootstrap program in the backup partition is copied and covered on the bootstrap program in the bootstrap partition in the terminal restarting process, so that the problem that the bootstrap program cannot be updated when the terminal adopts two sets of operating systems is solved, and the upgrading of the bootstrap program when the terminal runs the first operating system is realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic illustration of an implementation environment involved in a method of operating system upgrade shown in accordance with some exemplary embodiments;
FIG. 2 is a block diagram illustrating the structure of a terminal according to an exemplary embodiment;
fig. 3 is a schematic view of a partition of a terminal using a conventional partition method;
FIG. 4 is a schematic diagram illustrating a terminal partition in accordance with an illustrative embodiment;
FIG. 5 is a flowchart illustrating a method of operating system upgrade, according to an exemplary embodiment;
FIG. 6 is a flowchart illustrating a method of operating system upgrade, according to another example embodiment;
FIG. 7 is a flowchart illustrating a method of operating system upgrade, according to another example embodiment;
FIG. 8 is an apparatus block diagram illustrating an operating system upgrade apparatus in accordance with an illustrative embodiment;
FIG. 9 is an apparatus block diagram illustrating an operating system upgrade apparatus, according to another example embodiment;
fig. 10 is a block diagram illustrating an operating system upgrade apparatus according to another example embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
In the related art, since the terminal needs to read the boot program when running the first operating system, the boot program cannot be upgraded when the second operating system is upgraded. The operating system upgrading method provided by the embodiment of the disclosure provides the following technical scheme: downloading a system upgrade package in the process of running a first operating system; generating an updated bootstrap program in the backup partition according to the system upgrade package, and generating an updated second operating system in the second partition; in a first restart process, covering a bootstrap program in a bootstrap partition through an updated bootstrap program in a backup partition; and in the second restarting process, the updated bootstrap program is run from the bootstrap partition, and the updated second operating system is run by the bootstrap terminal. The updated bootstrap program is generated in the backup partition, and the updated bootstrap program in the backup partition is copied and covered on the bootstrap program in the bootstrap partition after the terminal is restarted for the first time, so that the problem that the bootstrap program cannot be updated when the terminal adopts two sets of operating systems is solved, and the upgrading of the bootstrap program when the terminal runs the first operating system is realized.
For convenience of understanding, terms referred to in the embodiments of the present application are explained below.
Target partitions (target _ partitions): the method is characterized in that the method is executed by a terminal to obtain a target partition, wherein the target starting partition is a partition which is started preferentially after the terminal is restarted, and the terminal can determine the target starting partition by modifying the attribute of the partition.
Upgrade engine (update _ engine): and the execution module is used for executing the update operation system in the android system.
Partition attribute: the partition of the terminal has attributes. Generally, a partition of a terminal has three attributes of active, bootable and leisure, wherein active is an exclusive attribute, partitions of the same type cannot have the active attribute at the same time, and the partition with the active attribute preferentially runs from the partition when the terminal is restarted; a partition having a bootable attribute means that a program of the partition can run; a partition with a success attribute means that the program of the partition is successfully updated.
Recovery procedure (recovery): the program running in the recovery mode may modify data and/or the operating system of the operating system.
Over-the-Air update (OTA update): the operating system upgrading method is an operating system upgrading mode provided by the android system, the operating system can be upgraded without loss, and the system upgrading package is automatically downloaded and upgraded through a wireless network (including Wi-Fi and 4G networks).
Fig. 1 is a schematic diagram illustrating an implementation environment involved in an operating system upgrade method according to an exemplary embodiment, and as shown in fig. 1, the implementation environment may include a terminal 110 and a server 111. The terminal 110 and the server 111 establish a communication connection through a wired or wireless network, and the terminal 110 downloads a system upgrade package or detects whether the operating system is the latest version through the communication connection with the server 111.
The terminal 110 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc. operating with two operating systems.
Fig. 2 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment. The terminal comprises a processor 210, a memory 211 and a communication interface 212. The memory 211 includes a recovery partition 302, a boot partition 301, a backup partition 305, a first partition 304a and a second partition 304b, wherein the recovery partition stores a recovery program (recovery), the boot partition stores a boot program, the backup partition can store a boot program, the first partition stores a first operating system, and the second partition stores a second operating system; the communication interface 212 is configured to communicate with a server over a wired or wireless network; the processor 210, memory 211, and communication interface 212 enable communication via a bus or other connection. The memory 211 also has stored therein at least one program instruction which, when executed by the processor 210, implements the method steps in the following method embodiments.
Fig. 3 is a schematic diagram of a partition of a terminal using a conventional partition method. As shown in the figure, the partitions of the terminal adopting the conventional partitioning manner include a boot partition 301, a recovery partition 302, a temporary partition (cache)303, and an operating system partition 304.
Taking the android system as an example, the boot partition 301 may include sub boot partitions such as sbl and aboot, which store boot programs to boot the terminal to run the operating system stored in the operating system partition 304; the recovery partition 302 stores a recovery program, and is configured to restart the running of the recovery program from the recovery partition 302 by the terminal after the operating system is updated, and upgrade the operating system stored in the operating system partition 304 by downloading and storing the upgrade package in the temporary partition 303; a temporary partition 303 configured to store an upgrade package for an operating system; operating system partition 304 may include boot, system, etc. sub-partitions.
The traditional android system update mode is as follows: downloading the system upgrade package and storing the system upgrade package in the temporary partition 303, running the recovery program after the terminal is restarted, updating the operating system by using the system upgrade package stored in the temporary partition 303, and restarting the terminal to run the bootstrap program to enter the operating system after the updating is finished.
Fig. 4 is a schematic diagram illustrating a partition of a terminal according to an example embodiment. As shown, the partition of the terminal in the conventional partition manner includes a boot partition 301, a backup partition 305, a recovery partition 302, a first partition 304a, and an operating second partition 304 b.
Taking the android system as an example, the boot partition 301 may include sub boot partitions such as sbl and aboot, and a boot program is stored to boot the terminal to run a first operating system stored in the first partition 304a or a second operating system stored in the second partition 304 b; a backup partition 305 configured to store the updated boot program; the recovery partition 302 stores a recovery program, and is configured to restart the running of the recovery program from the recovery partition 302 by the terminal after the first operating system or the second operating system is updated; first partition 304a may comprise a boot _ a, system _ a, etc. sub-partition; the second partition 304b may comprise a boot _ b, system _ b, etc. sub-partition.
The terminal can store two sets of the same operating systems, namely a first operating system and a second operating system, wherein the versions of the first operating system and the second operating system can be the same or different, and the first operating system and the second operating system are respectively located in a first partition and a second partition.
Taking an android operating system as an example, a mode of storing two sets of operating systems is called an a/B system (a/B system), and a terminal adopting the a/B system at least comprises a boot partition, a first partition and a second partition. The terminal adopting the A/B system mode can realize seamless upgrade (seamless upgrades), and has the following characteristics: when the terminal leaves a factory, two sets of operating systems capable of working normally are arranged on the terminal, and when the operating systems are upgraded, one operating system capable of working is always arranged on the terminal, so that the possibility that the terminal cannot be used due to updating failure is reduced, and the terminal is convenient to maintain and after sale; the system updating mode is OTA updating, the OTA updating is carried out in the background, and the user can normally use the terminal in the updating process; if the system upgrade fails, the terminal can fall back to the old version of the operating system before updating, and try to update again.
And running the 7.0 version of the android operating system terminal, and simultaneously supporting a traditional updating mode and an A/B system updating mode.
FIG. 5 is a flowchart illustrating a method for operating system upgrade as applied in the implementation environment of FIG. 1, according to an exemplary embodiment, the method comprising the steps of:
in step 501, the terminal downloads the system upgrade package during the process of running the first operating system.
And the terminal downloads a system upgrading package through the upgrading engine in the process of running the first operating system, wherein the system upgrading package is used for updating the bootstrap program and the second operating system.
In step 502, the terminal generates an updated boot program in the backup partition according to the system upgrade package, and generates an updated second operating system in the second partition.
And after the system upgrade package is downloaded, the terminal updates the bootstrap program and the second operating system, generates an updated bootstrap program in the backup partition, and generates an updated second operating system in the second partition.
In step 503, the terminal overwrites the boot program in the boot partition with the updated boot program in the backup partition during the first reboot.
After generating the updated boot program and the updated second operating system, the terminal performs a first reboot in an upgrading process of the second operating system, where the reboot is referred to as a first reboot, and in the first reboot, the terminal copies the updated boot program stored in the backup partition into the boot partition and overwrites the boot program in the boot partition.
In step 504, the terminal executes the updated boot program from the boot partition and the updated second operating system during the second reboot.
And the terminal copies the updated bootstrap program stored in the backup partition into the boot partition, and after the bootstrap program in the boot partition is covered, the terminal performs second restart in the upgrading process of the second operating system, wherein the restart process is called a second restart process, and in the second restart process, the updated bootstrap program is operated from the boot partition, and the terminal is guided to operate the updated second operating system in the second partition through the updated bootstrap program.
In summary, in the embodiment of the present disclosure, by generating the updated boot program in the backup partition, and copying and overwriting the updated boot program in the backup partition with the boot program in the boot partition in the terminal reboot process, the problem that the boot program cannot be updated when the terminal adopts two sets of operating systems is solved, and the boot program is updated when the terminal runs the first operating system is realized.
FIG. 6 is a flowchart illustrating a method for operating system upgrade as applied in the implementation environment of FIG. 1, according to another exemplary embodiment, the method including the steps of:
in step 601, the terminal receives a partition table modification signal.
And the terminal receives the partition table modification signal. Optionally, when the terminal detects that the operating system needs to be updated, the terminal displays a first display interface to the user, inquires whether the user agrees to modify the partition table, and if the user determines that the user agrees to modify the partition table by a physical key or by clicking the touch display screen, a signal generated by the physical key received by the terminal or a signal generated by clicking the touch display screen is used as a partition table modification signal.
In step 602, the terminal creates a backup partition according to the partition table modification signal.
And after receiving the partition table modification signal, the terminal creates a backup partition.
In step 603, the terminal downloads the system upgrade package during the process of running the first operating system.
And in the process of running the first operating system, the terminal downloads a system upgrading package through the upgrading engine, wherein the system upgrading package is used for updating the bootstrap program and the second operating system.
Optionally, the terminal detects whether the version number of the second operating system is the latest version number in the process of running the first operating system, and if the version number of the second operating system is not the latest version number, the system upgrade package is downloaded.
The terminal establishes connection with the server through a wired or wireless network, and can detect whether the version number of the second operating system is the latest version number through any one of the following two ways:
the terminal acquires the latest version number of the operating system from the server, and if the version number of the second operating system is not matched with the latest version number, the version number of the second operating system is determined not to be the latest version number; and the terminal acquires the latest version number of the system upgrade package from the server, and if the latest version number of the system upgrade package is not matched with the version number of the second operating system, the version number of the second operating system is determined not to be the latest version number.
In step 604, the terminal generates an updated boot program in the backup partition according to the system upgrade package, and generates an updated second operating system in the second partition.
And after the system upgrade package is downloaded, the terminal updates the bootstrap program and the second operating system, generates an updated bootstrap program in the backup partition, and generates an updated second operating system in the second partition.
Optionally, the upgrade engine of the terminal modifies the attribute of the first partition from active to bootable, and modifies the attribute of the second partition into bootable and sucessful.
In step 605, the terminal sets the target boot partition as the recovery partition.
And the terminal sets the target starting partition as a recovery partition.
Optionally, the upgrade engine of the terminal modifies the attribute of the recovery partition into active and modifies the attributes of the first partition and the second partition into bootable.
Optionally, after completing step 604 and step 605, the terminal displays a second display interface to remind the user that the second operating system has been updated, and may restart the terminal to run the updated second operating system, and ask the user that the terminal is restarted at this time or is restarted later. If the user selects to restart at the moment, the terminal performs the first restart in the upgrading process of the second operating system, and the restarting process is called as a first restarting process.
In step 606, during a first reboot, a restore program is run from the recovery partition, and the updated boot program is copied from the backup partition and overwritten by the restore program on the boot program in the boot partition.
And in the first restarting process, the terminal enters the recovery partition to run the recovery program, and the updated boot program is copied from the backup partition and covers the boot program in the boot partition through the recovery program.
For example, the restore program copies the updated boot program from the backup partition to the child partitions sbl, aboot of the boot partition, and overwrites the boot program stored in sbl, aboot.
Optionally, the upgrade engine of the terminal modifies the attribute of the boot partition into success partition.
In step 607, the terminal sets the target boot partition as the boot partition and the second partition.
And the terminal sets the target starting partition as a guide partition and a second partition.
Optionally, the upgrade engine of the terminal modifies the attributes of the boot partition and the second partition into active.
In step 608, the terminal runs the updated boot program from the boot partition and runs the updated second operating system through the updated boot program in the second reboot process.
And the terminal copies the updated bootstrap program stored in the backup partition into the boot partition, and after the bootstrap program in the boot partition is covered, the terminal performs second restart in the upgrading process of the second operating system, wherein the restart process is called a second restart process, and in the second restart process, the updated bootstrap program is operated from the boot partition, and the terminal is guided to operate the updated second operating system in the second partition through the updated bootstrap program.
For example, the bootstrap program sets the path of the running partition to sbl- > aboot- > boot _ b- > system _ b, and the terminal guides the terminal to run the second operating system stored in the updated second operating system and the child partition boot _ b of the second partition by running the updated bootstrap program stored in the child partition sbl and aboot of the boot partition.
In summary, in the embodiment of the present disclosure, by generating the updated boot program in the backup partition, and copying and covering the updated boot program in the backup partition with the boot program in the boot partition in the first reboot process of the terminal, the problem that the boot program cannot be updated when the terminal adopts two sets of operating systems is solved, and the boot program is updated when the terminal runs the first operating system is realized.
Furthermore, in the embodiment of the present disclosure, the target boot partition is set as the recovery partition, and the recovery program of the recovery partition is run in the first restart process to copy the updated boot program from the backup partition and overwrite the boot program in the boot partition, so that the technical problem that the terminal still needs to restart from the boot partition and run the non-updated boot program after generating the updated boot program in the backup partition is solved, and the terminal restarts the running of the updated boot program from the boot partition after completing the update of the boot program is realized, thereby improving the performance of the operating system.
Furthermore, in the embodiment of the present disclosure, the target boot partition is set as the boot partition and the second partition, so that the technical problem that the first operating system is still run after the terminal is restarted after the second operating system is updated is solved, the terminal is restarted to run the updated boot program from the boot partition to run the updated second operating system after the second operating system is updated, and the performance of the operating system is improved.
Furthermore, in the embodiment of the present disclosure, by detecting whether the version number of the second operating system is the latest version number, and if the version number of the second operating system is not the latest version number, the system upgrade package is downloaded, so that the problem that the terminal downloads the system upgrade package of the old version to upgrade the second operating system is solved, and the accuracy of upgrading the operating system is improved.
In the embodiment of the present disclosure, when the terminal runs the second operating system, the boot program and the first operating system may also be upgraded by the method in the embodiments of fig. 5 and fig. 6. Please refer to the method of fig. 7.
FIG. 7 is a flowchart illustrating a method for operating system upgrade as applied in the implementation environment of FIG. 1, according to another exemplary embodiment, the method including the steps of:
in step 701, the terminal downloads the system upgrade package during the process of running the second operating system.
And in the process of running the second operating system, the terminal downloads a system upgrading package through the upgrading engine, wherein the system upgrading package is used for updating the bootstrap program and the first operating system.
Optionally, the terminal detects whether the version number of the first operating system is the latest version number in the process of running the second operating system, and if the version number of the first operating system is not the latest version number, the system upgrade package is downloaded.
The terminal establishes connection with the server through a wired or wireless network, and can detect whether the version number of the first operating system is the latest version number through any one of the following two ways:
the terminal acquires the latest version number of the operating system from the server, and if the version number of the first operating system is not matched with the latest version number, the version number of the first operating system is determined not to be the latest version number; and the terminal acquires the latest version number of the system upgrade package from the server, and if the latest version number of the system upgrade package is not matched with the version number of the first operating system, the version number of the first operating system is determined not to be the latest version number.
Optionally, the terminal receives a partition table modification signal.
Optionally, when the terminal detects that the operating system needs to be updated, the terminal displays a third display interface to the user, inquires whether the user agrees to modify the partition table, and if the user determines that the user agrees to modify the partition table by a physical key or by clicking the touch display screen, a signal generated by the physical key received by the terminal or a signal generated by clicking the touch display screen is used as a partition table modification signal.
And after receiving the partition table modification signal, the terminal creates a backup partition.
In step 702, the terminal generates an updated boot program in the backup partition according to the system upgrade package, and generates an updated first operating system in the first partition.
After the system upgrade package is downloaded, the terminal updates the boot program and the first operating system, generates an updated boot program in the backup partition, and generates an updated first operating system in the first partition.
Optionally, the upgrade engine of the terminal modifies the attribute of the second partition from active to bootable, and modifies the attribute of the first partition into bootable and sucessful.
In step 703, the terminal overwrites the boot program in the boot partition with the updated boot program in the backup partition in the third restart process.
After generating the updated boot program and the updated first operating system, the terminal performs a first reboot in the process of upgrading the first operating system, where the reboot is referred to as a third reboot, and in the third reboot, the terminal copies the updated boot program stored in the backup partition into the boot partition and overwrites the boot program in the boot partition.
Optionally, after step 703 is completed, the terminal displays a fourth display interface to remind the user that the first operating system has been updated, the terminal may be restarted to run the updated first operating system, and the user is asked whether to restart at this time or restart later. And if the user selects to restart at the moment, the terminal restarts the first operating system for the first time in the upgrading process.
Optionally, the terminal sets the target boot partition as a recovery partition. The terminal can modify the attribute of the recovery partition into active through the upgrade engine and modify the attribute of the first partition and the attribute of the second partition into bootable. And in the third restarting process, the terminal enters the recovery partition to run the recovery program, and the updated bootstrap program is copied from the backup partition and covers the bootstrap program in the bootstrap partition through the recovery program.
For example, the restore program copies the updated boot program from the backup partition to the child partitions sbl, aboot of the boot partition, and overwrites the boot program stored in sbl, aboot.
Optionally, the upgrade engine of the terminal modifies the attribute of the boot partition into success partition.
Optionally, the terminal sets the target boot partition as the boot partition and the first partition. The terminal can modify the attributes of the boot partition and the first partition into active through the upgrade engine.
In step 704, the terminal executes the updated boot program from the boot partition and the updated first operating system in a fourth reboot process.
And the terminal copies the updated bootstrap program stored in the backup partition into the boot partition, and after the updated bootstrap program in the boot partition is covered, the terminal performs second restart in the upgrading process of the first operating system, wherein the restart process is called a fourth restart process, and in the fourth restart process, the terminal runs the updated bootstrap program from the boot partition and guides the terminal to run the updated first operating system in the first partition through the updated bootstrap program.
For example, the bootstrap program sets the path of the running partition to sbl- > aboot- > boot _ a- > system _ a, and the terminal guides the terminal to run the updated first operating system stored in the sub-partition boot _ a and the system _ a of the first partition by running the updated bootstrap program stored in the sub-partition sbl and aboot of the boot partition.
In summary, in the embodiment of the present disclosure, by generating the updated boot program in the backup partition, and copying and covering the updated boot program in the backup partition with the boot program in the boot partition in the third restart process of the terminal, the problem that the boot program cannot be updated when the terminal adopts two sets of operating systems is solved, and the boot program is updated when the terminal runs the first operating system is realized.
Furthermore, in the embodiment of the present disclosure, the target boot partition is set as the recovery partition, and the recovery program of the recovery partition is run in the third restart process to copy the updated boot program from the backup partition and overwrite the boot program in the boot partition, so as to solve the technical problem that the terminal still needs to restart from the boot partition and run the non-updated boot program after generating the updated boot program in the backup partition, and thus, the terminal restarts the updated boot program from the boot partition after completing updating the boot program, and the performance of the operating system is improved.
Furthermore, in the embodiment of the present disclosure, the target boot partition is set as the boot partition and the first partition, so that the technical problem that the second operating system is still run after the terminal is restarted after the first operating system is updated is solved, the terminal is restarted to run the updated boot program from the boot partition to run the updated first operating system after the first operating system is updated, and the performance of the operating system is improved.
Furthermore, in the embodiment of the present disclosure, by detecting whether the version number of the first operating system is the latest version number, and if the version number of the first operating system is not the latest version number, the system upgrade package is downloaded, so that the problem that the terminal downloads the system upgrade package of the old version to upgrade the first operating system is solved, and the accuracy of upgrading the operating system is improved.
Fig. 8 is a block diagram illustrating an operating system upgrade apparatus applied to the terminal shown in fig. 2 according to an exemplary embodiment, the apparatus including:
a downloading unit 801 configured to download the system upgrade package during the running of the first operating system.
An updating unit 802 configured to generate an updated boot program in the backup partition according to the system upgrade package, and generate an updated second operating system in the second partition.
A copy unit 803 configured to overwrite the boot program in the boot partition with the updated boot program in the backup partition in a first reboot process.
And the boot unit 804 is configured to run the updated boot program from the boot partition and to boot the terminal to run the updated second operating system in the second reboot process.
In summary, in the embodiment of the present disclosure, the update unit generates the updated boot program in the backup partition, and the copy unit copies the updated boot program in the backup partition and covers the boot program in the boot partition after the terminal is restarted for the first time, so that the problem that the boot program cannot be updated when the terminal adopts two sets of operating systems is solved, and the boot program is updated when the terminal runs the first operating system is realized.
Fig. 9 is a block diagram illustrating an operating system upgrade apparatus applied to a terminal as shown in fig. 2, according to another exemplary embodiment, the apparatus including:
a receiving unit 902 configured to receive a partition table modification signal.
A creating unit 903 configured to create a backup partition according to the partition table modification signal.
Optionally, the apparatus further includes a detecting unit 901:
a detecting unit 901, configured to detect whether a version number of the second operating system is a latest version number during the process of running the first operating system.
A downloading unit 904 configured to download the system upgrade package in the course of running the first operating system. Optionally, the downloading unit 904 is further configured to download the system upgrade package if the version number of the second operating system is not the latest version number.
An updating unit 905 configured to generate an updated boot program in the backup partition according to the system upgrade package, and generate an updated second operating system in the second partition.
A setting unit 906 configured to set the target boot partition as a recovery partition. Optionally, the setting unit 906 is further configured to set the target boot partition as the boot partition and the second partition.
A copy unit 907 configured to overwrite the boot program in the boot partition with the updated boot program in the backup partition in the first reboot process. Optionally, the copying unit 907 is further configured to run the recovery program from the recovery partition in the first reboot process, copy the updated boot program from the backup partition through the recovery program, and overwrite the boot program in the boot partition.
A boot unit 908 configured to, in the second reboot process, run the updated boot program from the boot partition, and boot the terminal to run the updated second operating system. Optionally, the boot unit 908 is further configured to run the updated boot program from the boot partition and run the updated second operating system through the boot program in the second reboot process.
In summary, in the embodiment of the present disclosure, the update unit generates the updated boot program in the backup partition, and the copy unit copies the updated boot program in the backup partition and covers the boot program in the boot partition after the terminal is restarted for the first time, so that the problem that the boot program cannot be updated when the terminal adopts two sets of operating systems is solved, and the boot program is updated when the terminal runs the first operating system is realized.
Furthermore, in the embodiment of the present disclosure, the target boot partition is set as the recovery partition by the setting unit, and the replication unit runs the recovery program of the recovery partition in the first reboot process to replicate the updated boot program from the backup partition and overwrite the boot program in the boot partition, so that the technical problem that the terminal still needs to restart from the boot partition and runs the boot program that is not updated after generating the updated boot program in the backup partition is solved, the terminal restarts the running of the updated boot program from the boot partition after completing updating the boot program, and the performance of the operating system is improved.
Furthermore, in the embodiment of the present disclosure, the target boot partition is set as the boot partition and the second partition by the setting unit, so that the technical problem that the first operating system is still run after the terminal is restarted after the second operating system is updated is solved, the terminal is restarted to run the updated boot program from the boot partition to run the updated second operating system after the second operating system is updated, and the performance of the operating system is improved.
Furthermore, in the embodiment of the present disclosure, whether the version number of the second operating system is the latest version number is detected by the detection unit, and if the version number of the second operating system is not the latest version number, the system upgrade package is downloaded, so that the problem that the terminal downloads the system upgrade package of the old version to upgrade the second operating system is solved, and the accuracy of upgrading the operating system is improved.
Fig. 10 is a block diagram illustrating an operating system upgrade apparatus according to another example embodiment. For example, the apparatus 100 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, etc. having two sets of operating systems.
Referring to fig. 10, the apparatus 100 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the device 100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1002 may include one or more processors 1018 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support the operation of the apparatus 100. Examples of such data include instructions for any application or method operating on device 100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1006 provides power to the various components of the device 100. The power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 100.
The multimedia component 1008 includes a screen that provides an output interface between the device 100 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 100 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 100 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status assessment of various aspects of the apparatus 100. For example, the sensor assembly 1014 may detect an open/closed state of the device 100, the relative positioning of components, such as a display and keypad of the device 100, the sensor assembly 1014 may also detect a change in position of the device 100 or a component of the device 100, the presence or absence of user contact with the device 100, orientation or acceleration/deceleration of the device 100, and a change in temperature of the device 100. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communications between the apparatus 100 and other devices in a wired or wireless manner. The device 100 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, or 4G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided that includes instructions, such as the memory 1004 including instructions, that are executable by the processor 1018 of the apparatus 100 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions, when executed by a processor of the apparatus 100, enable the apparatus 100 to perform the above-described method.
Embodiments of the present disclosure also provide a computer-readable storage medium, in which a computer-readable storage medium is stored, and at least one instruction, at least one program, a code set, or a set of instructions is loaded and executed by a processor to implement an operating system upgrade method as described above, and optionally, the computer-readable storage medium includes a high-speed access memory and a non-volatile memory.
The disclosed embodiments also provide a computer program product containing instructions that, when executed on a terminal, cause the processor to perform the method of the above aspects.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present disclosure are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (8)

1. An operating system upgrade method applied to a terminal having a boot partition, a backup partition, a first partition and a second partition, wherein the boot partition and the backup partition store a boot program, the first partition stores a first operating system, the second partition stores a second operating system, and the boot partition stores a boot program for booting the terminal to run the first operating system stored in the first partition or the second operating system stored in the second partition, the method comprising:
receiving a partition table modification signal, comprising: when the terminal detects that the operating system needs to be updated, a first display interface is displayed to a user, whether the user agrees to modify the partition table is inquired, if the user determines that the user agrees to modify the partition table through a physical key or a click touch display screen, the terminal takes a signal generated by the received physical key or a signal generated by the click touch display screen as a partition table modification signal;
creating the backup partition according to the partition table modification signal;
downloading a system upgrade package in the process of running the first operating system;
generating an updated bootstrap program in the backup partition according to the system upgrade package, and generating an updated second operating system in the second partition;
overwriting the boot program in the boot partition with the updated boot program in the backup partition during a first reboot;
in a second restart process, running the updated bootstrap program from the bootstrap partition, and booting the terminal to run the updated second operating system;
the terminal further includes a recovery partition, where the recovery partition stores a recovery program, and in the first reboot process, overwriting the boot program in the boot partition by the updated boot program in the backup partition includes:
setting a target starting partition as the recovery partition, wherein the target starting partition is a partition which is preferentially operated after being restarted;
in the first reboot process, the recovery program is run from the recovery partition, and the updated boot program is copied from the backup partition and overwritten by the recovery program.
2. The method of claim 1, wherein the executing the updated boot program from the boot partition during the second reboot, and the booting the terminal to execute the updated second operating system comprises:
setting the target boot partition as the boot partition and the second partition;
and in the second restarting process, the updated bootstrap program is operated from the bootstrap partition, and the updated second operating system is operated through the updated bootstrap program.
3. The method of any one of claims 1 to 2, wherein downloading a system upgrade package during execution of the first operating system comprises:
detecting whether the version number of the second operating system is the latest version number or not in the process of running the first operating system;
and if the version number of the second operating system is not the latest version number, downloading the system upgrade package.
4. An operating system upgrade apparatus, applied to a terminal having a boot partition, a backup partition, a first partition and a second partition, wherein the boot partition and the backup partition store a boot program, the first partition stores a first operating system, the second partition stores a second operating system, and the boot partition stores a boot program for booting the terminal to run the first operating system stored in the first partition or the second operating system stored in the second partition, the apparatus comprising:
a receiving unit configured to receive a partition table modification signal, including: when the terminal detects that the operating system needs to be updated, a first display interface is displayed to a user, whether the user agrees to modify the partition table is inquired, if the user determines that the user agrees to modify the partition table through a physical key or a touch display screen, the terminal takes a signal generated by the physical key or the touch display screen as a partition table modification signal;
a creating unit configured to create the backup partition according to the partition table modification signal;
the downloading unit is configured to download a system upgrading package in the process of running the first operating system;
an update unit configured to generate an updated boot program in the backup partition according to the system upgrade package, and generate an updated second operating system in the second partition;
a replication unit configured to overwrite the boot program in the boot partition with the updated boot program in the backup partition in a first reboot process;
a boot unit configured to, during a second reboot, run the updated boot program from the boot partition, and boot the terminal to run the updated second operating system;
the terminal also comprises a recovery partition, wherein a recovery program is stored in the recovery partition, and the device also comprises a setting unit;
the setting unit is configured to set a target starting partition as the recovery partition, wherein the target starting partition is a partition which is preferentially operated after being restarted;
the copying unit is further configured to run the recovery program from the recovery partition in the first reboot process, and copy the updated boot program from the backup partition and overwrite the boot program in the boot partition by the recovery program.
5. The apparatus of claim 4,
the setting unit is further configured to set the target boot partition as the boot partition and the second partition;
the boot unit is further configured to run the updated boot program from the boot partition and run the updated second operating system through the updated boot program in the second reboot process.
6. The device according to any one of claims 4 to 5, further comprising a detection unit;
the detecting unit is configured to detect whether the version number of the second operating system is the latest version number in the process of running the first operating system;
the downloading unit is further configured to download the system upgrade package if the version number of the second operating system is not the latest version number.
7. A terminal, characterized in that it comprises a processor and a memory, in which at least one instruction is stored, which is loaded and executed by the processor to implement the operating system upgrade method according to any one of claims 1 to 3.
8. A computer-readable storage medium having stored therein at least one instruction which is loaded and executed by a processor to implement the operating system upgrade method according to any one of claims 1 to 3.
CN201711202506.0A 2017-11-27 2017-11-27 Operating system upgrading method and device and terminal Active CN107967141B (en)

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 CN107967141A (en) 2018-04-27
CN107967141B true 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)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
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
CN111104173A (en) * 2019-11-25 2020-05-05 晶晨半导体(深圳)有限公司 Protection design method of bootstrap program
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
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
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
CN113885928B (en) * 2021-05-31 2022-10-11 荣耀终端有限公司 Program updating method and electronic device
CN113821235B (en) * 2021-06-15 2023-10-20 荣耀终端有限公司 Operating system data updating method, 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
CN115729586B (en) * 2021-06-15 2023-10-20 荣耀终端有限公司 Operating system upgrade method, device, storage medium and computer program product
CN115480798B (en) * 2021-06-15 2023-06-16 荣耀终端有限公司 Operating system upgrade method, device, storage medium and computer program product
CN113806139B (en) * 2021-06-15 2023-04-07 荣耀终端有限公司 Operating system recovery method, operating system recovery device, 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
CN116028128B (en) * 2023-03-27 2023-06-23 广东汉为信息技术有限公司 Disk partition storage method, operating system automatic recovery method and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105786569A (en) * 2016-02-26 2016-07-20 联想(北京)有限公司 Information processing method and electronic equipment
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622280B (en) * 2011-01-06 2014-10-15 苏州科达科技股份有限公司 Control method and control device used for software version upgrade and based on dual file system
CN105630546B (en) * 2015-12-22 2019-05-14 小米科技有限责任公司 Method for updating system and device
CN105955842B (en) * 2016-04-19 2019-11-22 上海斐讯数据通信技术有限公司 A kind of the system partitioning structure and its communication apparatus of embedded system
US10606605B2 (en) * 2016-09-29 2020-03-31 Verizon Patent And Licensing, Inc. Software upgrade and disaster recovery on a computing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105786569A (en) * 2016-02-26 2016-07-20 联想(北京)有限公司 Information processing method and electronic equipment
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

Also Published As

Publication number Publication date
CN107967141A (en) 2018-04-27

Similar Documents

Publication Publication Date Title
CN107967141B (en) Operating system upgrading method and device and terminal
EP3073379B1 (en) Firmware recovery method, device and terminal
US10324707B2 (en) Method, apparatus, and computer-readable storage medium for upgrading a ZigBee device
US11562074B2 (en) Firmware upgrade method and device, and storage medium
EP2993582B1 (en) Method, apparatus and device for upgrading an operating system of a terminal device
CN107357613B (en) Application updating method and device and computer readable storage medium
CN111221559B (en) Application updating method, device, storage medium, terminal and server
CN108153540B (en) System upgrading method, device, terminal and storage medium
CN109471714B (en) Platform deployment method, device, equipment and storage medium
CN109901886B (en) Page language switching method, system, device and computer readable storage medium
CN107733674B (en) Component upgrading method and terminal
CN111221613A (en) Program calling method and device and storage medium
CN116257706A (en) Application loading method, device and storage medium
CN112905096B (en) Display control method, device, terminal equipment and storage medium
CN113885914A (en) Application program processing method and device, electronic equipment and storage medium
CN111767063A (en) Resource updating method, device and equipment for application program
CN108427568B (en) User interface updating method and device
CN113590091A (en) Data processing method and device, electronic equipment and storage medium
CN108563487B (en) User interface updating method and device
CN109933357B (en) Application program upgrading method and device
CN112083981A (en) Method and device for creating page view component
CN112181406A (en) Rendering engine sharing method and device
CN113377410B (en) Vehicle machine system, upgrading method and readable storage medium
CN113360341B (en) Front-end application maintenance and loading method and device
CN110377312B (en) Software upgrading method, device and medium

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