WO2016145679A1 - Terminal upgrade method and device - Google Patents

Terminal upgrade method and device Download PDF

Info

Publication number
WO2016145679A1
WO2016145679A1 PCT/CN2015/075591 CN2015075591W WO2016145679A1 WO 2016145679 A1 WO2016145679 A1 WO 2016145679A1 CN 2015075591 W CN2015075591 W CN 2015075591W WO 2016145679 A1 WO2016145679 A1 WO 2016145679A1
Authority
WO
WIPO (PCT)
Prior art keywords
upgrade
image file
target
independent
systems
Prior art date
Application number
PCT/CN2015/075591
Other languages
French (fr)
Chinese (zh)
Inventor
张良
Original Assignee
宇龙计算机通信科技(深圳)有限公司
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 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2016145679A1 publication Critical patent/WO2016145679A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • the present application relates to the field of automation technologies, and in particular, to a terminal upgrade method and apparatus.
  • a terminal refers to a computer device that can be used in communication.
  • a terminal can include multiple systems, such as a general system, a security system, and an online trusted system.
  • a multi-system terminal includes a common system OS1 (OS is an operating system, an operating system), an online trusted system OS2, and a security system.
  • OS1 is an operating system, an operating system
  • OS2 online trusted system
  • security system OS3, OS3>OS2>OS1 at the security level.
  • the prior art is to set the upgrade content of all systems in one upgrade package.
  • all systems are upgraded at the same time, but the terminal has only one system upgrade mode (hereinafter referred to as recovery mode), and the recovery mode is controlled by the general system OS1, so The normal system OS1 controls the online trusted system OS2 and the security system OS3.
  • the application provides a terminal upgrade method and device, and the upgrade packages of each system are separately upgraded, and the risk of upgrading the security system can be reduced.
  • the present invention provides the following technical means:
  • a terminal upgrade method includes:
  • the terminal in normal operation and the user triggers a system upgrade
  • the target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system
  • the method before the entering the system upgrade mode of the target system, the method further includes: determining whether the preset condition is met, and the determining whether the preset condition is met includes:
  • the verifying that the user identity information is correct includes:
  • the method further includes:
  • the boot image file after the upgrade of the target system, the boot image file after the upgrade of the system to be upgraded, and the boot image files of all the un-upgraded systems are combined to form an overall boot image file of all systems;
  • the overall boot image file is stored in the general system.
  • a terminal upgrade method includes:
  • the system upgrade mode of the at least two systems When the terminal is in the shutdown state and the user triggers the system upgrade, in the system upgrade mode of the at least two systems, the system upgrade mode corresponding to the target system that needs to be upgraded is determined, and the target upgrade corresponding to the target system is determined.
  • a package wherein the target upgrade package includes the target The boot image file, the system upgrade image file, and the system image file corresponding to the standard system;
  • the target upgrade package separately upgrades the independent boot image file, the independent system upgrade image file, and the independent system image file of the target system; wherein, the target The system includes a self-upgrade package independent of other systems, and the self-upgrade package includes the independent boot image file, the independent system upgrade image file, and the independent system image file.
  • the target upgrade package separately upgrades the independent startup image file, the independent system upgrade image file, and the independent system image file of the target system.
  • the independent boot image file of the target system is independently performed according to the target upgrade package. Steps to upgrade the system upgrade image file and the stand-alone system image file;
  • Whether the determining meets the preset condition includes:
  • the verifying that the user identity information is correct includes:
  • the method further includes:
  • the boot image file after the upgrade of the target system, the boot image file after the upgrade of the system to be upgraded, and the boot image files of all the un-upgraded systems are combined to form an overall boot image file of all systems;
  • the overall boot image file is stored in the general system.
  • a terminal upgrading device includes:
  • a first determining unit configured to determine, in at least two systems, a target system that needs to be upgraded, and the target in a situation that the terminal is in a normal running state and the user triggers a system upgrade a target upgrade package corresponding to the system; wherein the target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system;
  • a restarting unit configured to restart the terminal and enter a system upgrade mode of the target system
  • the first upgrade unit upgrades the independent boot image file, the independent system upgrade image file, and the independent system image file in the target system according to the target upgrade package in the system upgrade mode;
  • the target system includes a self-upgrade package independent of other systems, and the self-upgrade package includes the independent boot image file, the independent system upgrade image file, and the independent system image file.
  • the method further includes: a first determining unit configured to determine whether the preset condition is met;
  • the first determining unit is specifically configured to determine whether the target system is an ordinary system; if yes, determining that a preset condition is met; if not, receiving user identity information of the terminal, and verifying the user identity information Whether it is correct; when the user identity information is correct, the determination satisfies the preset condition; when the user identity information is incorrect, the determination does not satisfy the preset condition.
  • the method further includes:
  • the first combination unit is configured to: after the upgrade operation is performed on the system to be upgraded, the boot image file after the target system is upgraded, the boot image file after the upgrade of the system to be upgraded, and the boot image of all the unupgraded systems.
  • File combination forming an overall boot image file for all systems;
  • a first storage unit configured to store the entire boot image file in the common system.
  • a terminal upgrading device includes:
  • a second determining unit configured to determine, in a system upgrade mode of at least two systems, a system upgrade mode corresponding to a target system that needs to be upgraded, and a scenario, when the terminal is in a shutdown state and the user triggers a system upgrade.
  • a target upgrade package corresponding to the target system where the target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system;
  • a second upgrade unit configured to: in the system upgrade mode corresponding to the target system, separate boot image files, independent system upgrade image files, and independent system image files of the target system according to the target upgrade package
  • the upgrade includes: the independent boot image file, the independent system upgrade image file, and the independent system image file included in the self-upgrade package.
  • the present application provides a method and device for upgrading a terminal.
  • This application splits the entire upgrade package of all the original systems, so that each system has its own independent upgrade package.
  • the upgrade package has its own independent startup image file and is independent.
  • the system upgrades the image file and the independent system image file, so that the systems are independent of each other, so each system can be upgraded separately without any system package upgrade when the system is upgraded. Therefore, the application can achieve the purpose of separately upgrading, independent, and non-interference of each system, solving the problem of upgrading the general system control security system, and improving the security of the security system.
  • FIG. 1 is a flowchart of a method for upgrading a terminal according to an embodiment of the present application
  • FIG. 2 is a flowchart of still another method for upgrading a terminal according to an embodiment of the present application
  • FIG. 3 is a flowchart of still another method for upgrading a terminal according to an embodiment of the present disclosure
  • FIG. 4 is a flowchart of still another method for upgrading a terminal according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of an apparatus for upgrading a terminal according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of still another apparatus for upgrading a terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of still another apparatus for upgrading a terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of still another apparatus for upgrading a terminal according to an embodiment of the present disclosure.
  • the inventor of the present application found in the research process that the upgrade of the operating system mainly upgrades the system image file system.img, the system upgrade image file recovery.img, and the boot image file boot.img in the operating system.
  • each system requires simultaneous startup at startup, so the boot.img responsible for all system startups is used as a whole for common systems.
  • the general system uses the entire boot.img to start all systems.
  • the system upgrade image file recovery.img depends on the boot image file boot.img, so The system upgrade image recovery.img is also used as a whole for common systems, so all system upgrades must be integrated when performing the upgrade, and all systems are upgraded simultaneously by the normal system.
  • the operation authority of the ordinary system is too low, and the upgrade of the general system control security system will reduce the risk of the security system.
  • the boot image file boot.img and the system upgrade image file recovery.img running in the normal system can be transferred to the security system for operation.
  • This method does not cause problems with the general system control security system, but this will increase the operating system of the security system, reduce the operating speed of the security system, increase the design difficulty of the security system, and this design method does not match the conventional terminal design, even It is also not designed to be suitable for use in existing terminals.
  • a terminal refers to a computer device that can be used in communication, and broadly includes a personal computer, a mobile phone, a notebook, a tablet computer, a POS machine, or even a device such as a car computer.
  • each system has its own independent upgrade package.
  • each system's own upgrade package contains a separate boot image file, a separate system upgrade image file and a separate system image file. Then, each system's own independent upgrade package is stored in each system for use in system upgrade.
  • the first step generate a boot image file for each system.
  • the root cause of the inability of individual systems to be upgraded separately is that the boot image files boot.img for all systems are combined. So split the whole boot image file boot.img.
  • boot image file boot.img some data is shared by all systems. This part of the data is copied into multiple copies when split. Each system has one copy and is stored in each system's boot image file. in.
  • boot.img Some of the data in the boot image file boot.img is used by a system alone. Cut this part of the data directly into the boot image file of the corresponding system until the whole boot.img split is completed.
  • each system After completing the split of the overall boot.img, each system has its own independent boot image file.
  • the terminal includes the general system OS1, the Internet trusted system OS2 and the security system OS3 as examples.
  • the boot image files of the three systems are named system_OS1.img, system_OS2.img, and system_OS3.img.
  • Step 2 Generate a system upgrade image file recovery.img for each system.
  • the terminal includes the general system OS1, the Internet trusted system OS2 and the security system OS3 as examples.
  • the boot image files of the three systems are named recovery_OS1.img, recovery_OS2.img and recovery_OS3.img.
  • Step 3 Generate a system image file for each system.
  • the system image file system.img of each system is originally separated from each other, so the system.img of each system remains independent.
  • the terminal includes the general system OS1, the Internet trusted system OS2, and the security system OS3.
  • the image files of the three systems are named system_OS1.img, system_OS2.img, and system_OS3.img.
  • Each system's own boot image file boot_OSX.img, system upgrade image file recovery_OSX.img and system image file system_OSX.img can form the system's own upgrade package.
  • each system has its own independent upgrade package, and each system upgrade package is independent of each other and does not interfere with each other.
  • each system upgrade package is independent of each other and does not interfere with each other.
  • Each system's own upgrade package contains the boot image file, system upgrade image file, and system image file required for the system upgrade. All system upgrade packages constitute an overall upgrade package, which is stored on the server side or inside the terminal.
  • the terminal upgrade method provided by the present application is described below.
  • the method is mainly applied to the controller of the terminal.
  • the present application provides two terminal upgrade modes, the first one is suitable for the terminal to be in a normal running state, and the second is applicable to the terminal being in a shutdown state.
  • this embodiment provides a method for upgrading a terminal, including:
  • Step S101 In a case where the terminal is in a normal running state and the user triggers the system upgrade, the target system that needs to be upgraded is determined in the at least two systems, and the target upgrade package corresponding to the target system; wherein the target The upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system.
  • the terminal includes at least two systems, including at least the general system OS1, the Internet trusted system OS2, and/or the security system OS3, and of course other systems, and details are not described herein.
  • the system is used as the target system.
  • the target system obtains the overall upgrade package on the server side or the terminal, and finds the own upgrade package corresponding to the target system in the overall upgrade package as the target upgrade package, or the target system directly obtains the corresponding target system on the server side or the terminal end.
  • Self-upgrade package as a target upgrade package.
  • each system when the terminal is in the normal running state, each system is in the normal working state, each system has a setting option (hereinafter referred to as "Setting"), and multiple system setting options constitute a setting group (hereinafter referred to as Settings) ).
  • Settings a setting option
  • the system is upgraded to determine that the currently operating system is the target system to be upgraded.
  • Step S102 Restart the terminal and enter a system upgrade mode of the target system.
  • Step S103 In the system upgrade mode, according to the target upgrade package, respectively, separate boot image files, independent system upgrade image files, and independent system mirror files in the target system.
  • the upgrade includes the independent boot image file, the independent system upgrade image file, and the independent system image file. .
  • the upgrade process of the target system is performed with the support of the system upgrade mode.
  • the specific upgrade process is: update the boot image file in the target upgrade package, update the boot image file in the target system upgrade package, upgrade the system upgrade image file in the target upgrade package, and update the system upgrade image file in the target system upgrade package.
  • the system image file in the target upgrade package is updated with the system image file in the target upgrade package.
  • the target system is successfully upgraded.
  • the other systems can be upgraded as described above.
  • the target upgrade is unsuccessful, the operation can continue. The target system is upgraded until the target system is upgraded successfully.
  • the application provides a method for upgrading a terminal.
  • This application splits the entire upgrade package of all the original systems, so that each system has its own independent upgrade package.
  • the upgrade package has its own independent startup image file and independent
  • the system upgrades the image file and the independent system image file, so that the systems are independent of each other, so each system can be upgraded separately without any system package upgrade when the system is upgraded. Therefore, the application can achieve the purpose of separately upgrading, independent, and non-interference of each system, solving the problem of upgrading the general system control security system, and improving the security of the security system.
  • step S102 of FIG. 1 before the entering the system upgrade mode of the target system, a step of determining whether the preset condition is satisfied is further included.
  • the process of determining whether the preset condition is met includes:
  • Step S201 determining whether the target system is a normal system; if yes, proceeding to step S202, otherwise proceeding to step S203.
  • the at least two systems include an online trusted system and/or a security system, and a general system. It can be understood that the authentication of the general system OS1 in this application is also achievable, but when the security level of the general system OS1 is low, the identity verification may not be performed. Therefore, when the target system is a normal system, user authentication is not performed. User authentication is performed when the target system is not a normal system.
  • the security of the common system is the lowest, and the security of the remaining systems is high.
  • the user identity needs to be verified before performing the upgrade.
  • Step S202 It is determined that the preset condition is satisfied.
  • Step S203 Receive user identity information of the terminal, and verify whether the user identity information is correct; if yes, go to step S202, otherwise go to step S204.
  • the controller sends the authentication information to the target user. After the user obtains the authentication information, the authentication information is input to the controller, and the controller inputs the authentication to the user. The information is verified.
  • the controller verifies that the user identity information is correct, including two ways:
  • the first type verifying whether the user identity information is correct in the verification module of the target system
  • the online trusted system OS2 and the security system OS3 have their own authentication modules. Therefore, after receiving the user identity information, the controller can directly verify it in the online trusted system OS2 or the security system OS3. If the verification is correct, the user identity information is correct. . If the controller verifies that the user identity information is correct, it is determined that the current user is a legitimate user and determines that the preset condition is met, and the subsequent upgrade may be performed.
  • the controller In addition to the general system OS1, the Internet trusted system OS2 and the security system OS3, the controller also has the highest level security system Secure OS.
  • the highest level security system Secure OS also has a verification module, and the controller can also use the verification module. verification.
  • This verification can be achieved regardless of whether the verification module of the target system or the verification module in the highest level security system is used. It can be understood that if the authentication module is set in the ordinary system OS1, the normal system OS1 can also be used to verify the user identity information.
  • Step S204 determining that the preset condition is not met
  • controller verifies that the user identity information is incorrect, it determines that the current user is an illegal user, determines that the preset condition is not met, and refuses to perform subsequent upgrade.
  • the method provided by the present application further includes the following steps:
  • Step S301 Perform an upgrade operation on other systems to be upgraded
  • Step S302 Combine the boot image file after the target system is upgraded, the boot image file after the upgrade of the system to be upgraded, and the boot image files of all the un-upgraded systems to form an overall boot image file of all systems;
  • Step S303 Store the entire boot image file in the common system.
  • the boot image files of each system are separate and independent.
  • each system needs to be started at the same time.
  • the startup image files responsible for the startup of each system need to be merged into the overall startup image file. Then, the entire boot image file is stored in the normal operating system, so that the normal operating system can start all the systems together according to the overall boot image file.
  • the above is the first terminal upgrade mode provided by the present application.
  • the following describes the second terminal upgrade mode:
  • the application provides a method for upgrading a terminal, including:
  • Step S401 When the terminal is in the shutdown state and the user triggers the system upgrade, in the system upgrade mode of the at least two systems, determining a system upgrade mode corresponding to the target system that needs to be upgraded, and corresponding to the target system
  • the target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system.
  • the first mode is the upgrade mode when the terminal is in the normal running state.
  • the second mode describes the upgrade mode when the terminal is powered off.
  • the user needs to use the combination key to trigger the upgrade.
  • the combination of keys can be: press the power button and the volume up button at the same time to trigger the upgrade, or press the power button and the volume down button at the same time to trigger the upgrade.
  • the terminal is in the shutdown state, each system is not started, so you cannot directly enter the system to upgrade in the setting. Therefore, you need to select a target system upgrade mode that needs to be upgraded, that is, the target recovery mode. Since one recovery mode corresponds to one system, the system corresponding to the target recovery mode is taken as the target system, and the target upgrade package is obtained in the server segment or terminal.
  • Step S402 In the system upgrade mode corresponding to the target system, upgrade the independent boot image file, the independent system upgrade image file, and the independent system image file of the target system according to the target upgrade package;
  • the target system includes a self-upgrade package independent of other systems, and the self-upgrade package includes the independent boot image file, the independent system upgrade image file, and the independent system image file.
  • the controller upgrades the upgrade package of the target system according to the content of the target upgrade package.
  • the specific implementation mode is the same as that shown in Figure 1.
  • Step S402 in Figure 4 is specifically implemented:
  • the specific execution process of determining whether the preset condition is met is consistent with the content shown in FIG. 2, and the difference between the embodiment and the embodiment of FIG. 2 is only that: in this embodiment, when the user identity information is verified to be correct, there is only one way: Verify that the user identity information is correct in the verification module of the highest level security system. Because the target system has not been started in this embodiment, the target system cannot be used to verify whether the user identity information is correct.
  • the highest level security system starts at the same time as the target recovery mode, and the startup time is earlier than the target system, so the verification using the highest level security system is adopted. The module is verified.
  • the embodiment further includes: performing an upgrade operation on the other system to be upgraded; a boot image file after the target system is upgraded, a boot image file after the upgrade of the system to be upgraded, and all un-upgraded systems.
  • the boot image file combination forms an overall boot image file of all systems; the entire boot image file is stored in the common system.
  • the application provides a method for upgrading a terminal.
  • This application splits the entire upgrade package of all the original systems, so that each system has its own independent upgrade package.
  • the upgrade package has its own independent startup image file and independent
  • the system upgrades the image file and the independent system image file, so that the systems are independent of each other, so each system can be upgraded separately without any system package upgrade when the system is upgraded. Therefore, the application can achieve the purpose of separately upgrading, independent, and non-interference of each system, solving the problem of upgrading the general system control security system, and improving the security of the security system.
  • the application provides a terminal upgrading apparatus, including:
  • a first determining unit 51 configured to determine, in at least two systems, a target system that needs to be upgraded, and a target upgrade package corresponding to the target system, in a case that the terminal is in a normal running state and the user triggers a system upgrade;
  • the target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system.
  • a restarting unit 52 configured to restart the terminal and enter a system upgrade mode of the target system
  • the first upgrading unit 53 upgrades the independent startup image file, the independent system upgrade image file, and the independent system image file in the target system according to the target upgrade package in the system upgrade mode;
  • the target system includes a self-upgrade package independent of other systems, and the self-upgrade package includes the independent boot image file, the independent system upgrade image file, and the independent system image file.
  • the present application provides a terminal upgrading apparatus, as shown in FIG. 6, further comprising: a first determining unit 54 for determining whether a preset condition is met;
  • the first determining unit is specifically configured to determine whether the target system is an ordinary system; if yes, determining that a preset condition is met; if not, receiving user identity information of the terminal, and verifying the user identity information Whether it is correct; when the user identity information is correct, the determination satisfies the preset condition; when the user identity information is incorrect, the determination does not satisfy the preset condition.
  • the first determining unit 54 verifies whether the user identity information is correct in the verification module of the target system when verifying whether the user identity information is correct, or verifying in the verification module of the highest level security system. Whether the user identity information is correct.
  • the first combination unit 55 is configured to: after the upgrade operation is performed on the system to be upgraded, the boot image file after the target system is upgraded, the boot image file after the upgrade of the system to be upgraded, and the startup of all the unupgraded systems.
  • Image file combination forming an overall boot image file for all systems;
  • the first storage unit 56 is configured to store the entire boot image file in the common system.
  • the application provides an upgrade device for a terminal.
  • This application splits the entire upgrade package of all the original systems, so that each system has its own independent upgrade package.
  • the upgrade package has its own independent startup image file and independent
  • the system upgrades the image file and the independent system image file, so that the systems are independent of each other, so each system can be upgraded separately without any system package upgrade when the system is upgraded. Therefore, the application can achieve separate upgrades of each system, independent of each other, and not mutually
  • the purpose of interference solves the problem of upgrading the general system control security system and improves the security of the security system.
  • the application further provides an upgrade apparatus for a terminal, including:
  • a second determining unit 71 configured to determine, in a system upgrade mode of at least two systems, a system upgrade mode corresponding to a target system that needs to be upgraded, and, in a case that the terminal is in a shutdown state and the user triggers a system upgrade.
  • a target upgrade package corresponding to the target system where the target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system;
  • the second upgrading unit 72 is configured to: in the system upgrade mode corresponding to the target system, separate boot image files, independent system upgrade image files, and independent system images of the target system according to the target upgrade package. a file upgrade; wherein the target system includes a self-upgrade package independent of other systems, and the self-upgrade package includes the independent boot image file, the independent system upgrade image file, and the independent system image file. .
  • the present application provides a terminal upgrading apparatus, as shown in FIG. 8, further comprising: a second determining unit 73 for determining whether a preset condition is met;
  • the second determining unit 73 is specifically configured to determine whether the target system is a normal system; if yes, determine that the preset condition is met; if not, receive the user identity information of the terminal, and verify the user identity Whether the information is correct; when the user identity information is correct, the determination meets the preset condition; when the user identity information is incorrect, the determination does not satisfy the preset condition.
  • the second determining unit 73 verifies whether the user identity information is correct, it is specifically: verifying whether the user identity information is correct in the verification module of the highest level security system.
  • the second combination unit 74 is configured to: after the upgrade operation is performed on the other systems to be upgraded, the boot image file after the target system is upgraded, the boot image file after the upgrade of the system to be upgraded, and the startup of all the unupgraded systems. Image file combination, forming an overall boot image file for all systems;
  • the second storage unit 75 is configured to store the entire boot image file in the common system.
  • the application provides an upgrade device for a terminal.
  • This application splits the entire upgrade package of all the original systems, so that each system has its own independent upgrade package.
  • the upgrade package has its own independent startup image file and independent
  • the system upgrades the image file and the independent system image file, so that the systems are independent of each other, so each system can be upgraded separately without any need when the system is upgraded.
  • the system is upgraded. Therefore, the application can achieve the purpose of separately upgrading, independent, and non-interference of each system, solving the problem of upgrading the general system control security system, and improving the security of the security system.
  • the functions described in the method of the present embodiment can be stored in a computing device readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, a portion of the embodiments of the present application that contributes to the prior art or a portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a A computing device (which may be a personal computer, server, computing device, or network device, etc.) performs all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

Provided are a terminal upgrade method and device. The method comprises: in the case where a terminal is in a normal running state and a user triggers system upgrade, determining a target system that needs to be upgraded currently in at least two systems and a target upgrade package corresponding to the target system; re-starting the terminal and entering a system upgrade mode of the target system; and according to the target upgrade package in the system upgrade mode, respectively upgrading an independent starting mirror image file, an independent system upgrade mirror image file and an independent system mirror image file in the target system. In the present application, overall upgrade packages of all original systems are segmented, so that each system has its own independent upgrade package, and in this way, all systems are independent from each other, and hence during system upgrade, each system can be upgraded independently without performing overall package upgrade of all the systems. The problem that a normal system controls security system upgrade is solved, improving the security of a security system.

Description

一种终端升级方法及装置Terminal upgrade method and device
本申请要求于2015年03月16日提交中国专利局,申请号为201510114265.9、发明名称为“一种终端升级方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510114265.9, entitled "A Terminal Upgrade Method and Apparatus", filed on March 16, 2015, the entire contents of which is incorporated herein by reference. .
技术领域Technical field
本申请涉及自动化技术领域,尤其涉及一种终端升级方法及装置。The present application relates to the field of automation technologies, and in particular, to a terminal upgrade method and apparatus.
背景技术Background technique
目前,终端,或者叫通信终端,是指可以在通讯中使用的计算机设备,一般终端中可以包含多个***,例如:普通***、安全***和上网可信***。At present, a terminal, or a communication terminal, refers to a computer device that can be used in communication. Generally, a terminal can include multiple systems, such as a general system, a security system, and an online trusted system.
在一个以上***并存的终端中,通常情况下各个***的安全级别是不同的,例如:一个多***终端中包括普通***OS1(OS为Operating System,操作***)、上网可信***OS2和安全***OS3,在安全级别上OS3>OS2>OS1。In a terminal where more than one system coexists, the security level of each system is usually different. For example, a multi-system terminal includes a common system OS1 (OS is an operating system, an operating system), an online trusted system OS2, and a security system. OS3, OS3>OS2>OS1 at the security level.
现有技术为将所有***的升级内容设置在一个升级包中,当执行升级时所有***同时升级,但终端只有一个***升级模式(以下称recovery模式),且recovery模式由普通***OS1控制,所以会产生普通***OS1控制上网可信***OS2和安全***OS3的情况。The prior art is to set the upgrade content of all systems in one upgrade package. When the upgrade is performed, all systems are upgraded at the same time, but the terminal has only one system upgrade mode (hereinafter referred to as recovery mode), and the recovery mode is controlled by the general system OS1, so The normal system OS1 controls the online trusted system OS2 and the security system OS3.
对于上网可信***以及安全***而言,存在很大安全风险。There are significant security risks for online trusted systems and security systems.
发明内容Summary of the invention
本申请提供了一种终端升级方法及装置,各个***的升级包分开升级、能够达到降低安全***升级风险的目的。The application provides a terminal upgrade method and device, and the upgrade packages of each system are separately upgraded, and the risk of upgrading the security system can be reduced.
为了实现上述目的,本发明提供了以下技术手段:In order to achieve the above object, the present invention provides the following technical means:
一种终端升级方法,包括:A terminal upgrade method includes:
在终端处于正常运行状态且用户触发***升级的情况下,在至少两个系 统中确定当前需要升级的目标***,以及,与所述目标***对应的目标升级包;其中,所述目标升级包包括与所述目标***对应的启动镜像文件、***升级镜像文件和***镜像文件;In the case where the terminal is in normal operation and the user triggers a system upgrade, in at least two systems Determining a target system that needs to be upgraded currently, and a target upgrade package corresponding to the target system; wherein the target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system ;
重启所述终端,进入所述目标***的***升级模式中;Restarting the terminal and entering a system upgrade mode of the target system;
在所述***升级模式中按所述目标升级包,分别对所述目标***中独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级;其中,所述目标***包括独立于其他***的自身升级包,所述自身升级包中包含所述独立的启动镜像文件、所述独立的***升级镜像文件和所述独立的***镜像文件。Upgrading the independent boot image file, the independent system upgrade image file, and the independent system image file in the target system according to the target upgrade package in the system upgrade mode; wherein the target system includes The self-upgrade package of the other system includes the independent boot image file, the independent system upgrade image file, and the independent system image file.
优选的,在所述进入所述目标***的***升级模式中之前还包括判断是否满足预设条件,所述判断是否满足预设条件的过程包括:Preferably, before the entering the system upgrade mode of the target system, the method further includes: determining whether the preset condition is met, and the determining whether the preset condition is met includes:
判断所述目标***是否为普通***;Determining whether the target system is a normal system;
如果是,则判定满足预设条件;If yes, it is determined that the preset condition is met;
如果否,则接收所述终端的用户身份信息,并验证所述用户身份信息是否正确;If not, receiving user identity information of the terminal, and verifying whether the user identity information is correct;
当所述用户身份信息正确的情况下,判定满足预设条件;When the user identity information is correct, it is determined that the preset condition is met;
当所述用户身份信息不正确的情况下,判定不满足预设条件。When the user identity information is incorrect, it is determined that the preset condition is not satisfied.
优选的,所述验证所述用户身份信息是否正确,包括:Preferably, the verifying that the user identity information is correct includes:
在所述目标***的验证模块中验证所述用户身份信息是否正确;或Verifying whether the user identity information is correct in the verification module of the target system; or
在最高级别安全***的验证模块中验证所述用户身份信息是否正确。Verify that the user identity information is correct in the authentication module of the highest level security system.
优选的,还包括:Preferably, the method further includes:
对其它待升级***执行升级操作;Perform upgrade operations on other systems to be upgraded;
将所述目标***升级后的启动镜像文件、所述待升级***升级后的启动镜像文件,以及所有未升级***的启动镜像文件组合、形成所有***的整体启动镜像文件;The boot image file after the upgrade of the target system, the boot image file after the upgrade of the system to be upgraded, and the boot image files of all the un-upgraded systems are combined to form an overall boot image file of all systems;
将所述整体启动镜像文件存储于所述普通***中。The overall boot image file is stored in the general system.
一种终端升级方法,包括:A terminal upgrade method includes:
当终端处于关机状态且用户触发***升级的情况下,在至少两个***的***升级模式中,确定与当前需要升级的目标***对应的***升级模式,和,与所述目标***对应的目标升级包;其中,所述目标升级包中包括与所述目 标***对应的启动镜像文件、***升级镜像文件和***镜像文件;When the terminal is in the shutdown state and the user triggers the system upgrade, in the system upgrade mode of the at least two systems, the system upgrade mode corresponding to the target system that needs to be upgraded is determined, and the target upgrade corresponding to the target system is determined. a package; wherein the target upgrade package includes the target The boot image file, the system upgrade image file, and the system image file corresponding to the standard system;
在所述目标***对应的***升级模式中,按所述目标升级包分别对所述目标***的独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级;其中,所述目标***包括独立于其他***的自身升级包,所述自身升级包中包含所述独立的启动镜像文件、所述独立的***升级镜像文件和所述独立的***镜像文件。In the system upgrade mode corresponding to the target system, the target upgrade package separately upgrades the independent boot image file, the independent system upgrade image file, and the independent system image file of the target system; wherein, the target The system includes a self-upgrade package independent of other systems, and the self-upgrade package includes the independent boot image file, the independent system upgrade image file, and the independent system image file.
优选的,所述在所述目标***对应的***升级模式中,按所述目标升级包分别对所述目标***的独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级具体为:判断是否满足预设条件,在满足预设条件情况下,执行在所述目标***对应的***升级模式中,按所述目标升级包分别对所述目标***的独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级的步骤;Preferably, in the system upgrade mode corresponding to the target system, the target upgrade package separately upgrades the independent startup image file, the independent system upgrade image file, and the independent system image file of the target system. For determining whether the preset condition is met, in the system upgrade mode corresponding to the target system, in the system upgrade mode corresponding to the target system, the independent boot image file of the target system is independently performed according to the target upgrade package. Steps to upgrade the system upgrade image file and the stand-alone system image file;
所述判断是否满足预设条件包括:Whether the determining meets the preset condition includes:
判断所述目标***是否为普通***;Determining whether the target system is a normal system;
如果是,则判定满足预设条件;If yes, it is determined that the preset condition is met;
如果否,则接收所述终端的用户身份信息,并验证所述用户身份信息是否正确;If not, receiving user identity information of the terminal, and verifying whether the user identity information is correct;
当所述用户身份信息正确的情况下,判定满足预设条件;When the user identity information is correct, it is determined that the preset condition is met;
当所述用户身份信息不正确的情况下,判定不满足预设条件。When the user identity information is incorrect, it is determined that the preset condition is not satisfied.
优选的,所述验证所述用户身份信息是否正确,包括:Preferably, the verifying that the user identity information is correct includes:
在最高级别安全***的验证模块中验证所述用户身份信息是否正确。Verify that the user identity information is correct in the authentication module of the highest level security system.
优选的,还包括:Preferably, the method further includes:
对其它待升级***执行升级操作;Perform upgrade operations on other systems to be upgraded;
将所述目标***升级后的启动镜像文件、所述待升级***升级后的启动镜像文件,以及所有未升级***的启动镜像文件组合、形成所有***的整体启动镜像文件;The boot image file after the upgrade of the target system, the boot image file after the upgrade of the system to be upgraded, and the boot image files of all the un-upgraded systems are combined to form an overall boot image file of all systems;
将所述整体启动镜像文件存储于所述普通***中。The overall boot image file is stored in the general system.
一种终端升级装置,包括:A terminal upgrading device includes:
第一确定单元,用于在终端处于正常运行状态且用户触发***升级的情况下,在至少两个***中确定当前需要升级的目标***,以及,与所述目标 ***对应的目标升级包;其中,所述目标升级包包括与所述目标***对应的启动镜像文件、***升级镜像文件和***镜像文件;a first determining unit, configured to determine, in at least two systems, a target system that needs to be upgraded, and the target in a situation that the terminal is in a normal running state and the user triggers a system upgrade a target upgrade package corresponding to the system; wherein the target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system;
重启单元,用于重启所述终端,进入所述目标***的***升级模式中;a restarting unit, configured to restart the terminal and enter a system upgrade mode of the target system;
第一升级单元,在所述***升级模式中按所述目标升级包,分别对所述目标***中独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级;其中,所述目标***包括独立于其他***的自身升级包,所述自身升级包中包含所述独立的启动镜像文件、所述独立的***升级镜像文件和所述独立的***镜像文件。The first upgrade unit upgrades the independent boot image file, the independent system upgrade image file, and the independent system image file in the target system according to the target upgrade package in the system upgrade mode; The target system includes a self-upgrade package independent of other systems, and the self-upgrade package includes the independent boot image file, the independent system upgrade image file, and the independent system image file.
优选的,还包括用于判断是否满足预设条件的第一判断单元;Preferably, the method further includes: a first determining unit configured to determine whether the preset condition is met;
所述第一判断单元,具体用于判断所述目标***是否为普通***;如果是,则判定满足预设条件;如果否,则接收所述终端的用户身份信息,并验证所述用户身份信息是否正确;当所述用户身份信息正确的情况下,判定满足预设条件;当所述用户身份信息不正确的情况下,判定不满足预设条件。The first determining unit is specifically configured to determine whether the target system is an ordinary system; if yes, determining that a preset condition is met; if not, receiving user identity information of the terminal, and verifying the user identity information Whether it is correct; when the user identity information is correct, the determination satisfies the preset condition; when the user identity information is incorrect, the determination does not satisfy the preset condition.
优选的,还包括:Preferably, the method further includes:
第一组合单元,用于在对其它待升级***执行升级操作后,将所述目标***升级后的启动镜像文件、所述待升级***升级后的启动镜像文件,以及所有未升级***的启动镜像文件组合、形成所有***的整体启动镜像文件;The first combination unit is configured to: after the upgrade operation is performed on the system to be upgraded, the boot image file after the target system is upgraded, the boot image file after the upgrade of the system to be upgraded, and the boot image of all the unupgraded systems. File combination, forming an overall boot image file for all systems;
第一存储单元,用于将所述整体启动镜像文件存储于所述普通***中。And a first storage unit, configured to store the entire boot image file in the common system.
一种终端升级装置,包括:A terminal upgrading device includes:
第二确定单元,用于当终端处于关机状态且用户触发***升级的情况下,在至少两个***的***升级模式中,确定与当前需要升级的目标***对应的***升级模式,和,与所述目标***对应的目标升级包;其中,所述目标升级包中包括与所述目标***对应的启动镜像文件、***升级镜像文件和***镜像文件;a second determining unit, configured to determine, in a system upgrade mode of at least two systems, a system upgrade mode corresponding to a target system that needs to be upgraded, and a scenario, when the terminal is in a shutdown state and the user triggers a system upgrade. a target upgrade package corresponding to the target system, where the target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system;
第二升级单元,用于在所述目标***对应的***升级模式中,按所述目标升级包分别对所述目标***的独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级;其中,所述目标***包括独立于其他***的自身升级包,所述自身升级包中包含所述独立的启动镜像文件、所述独立的***升级镜像文件和所述独立的***镜像文件。a second upgrade unit, configured to: in the system upgrade mode corresponding to the target system, separate boot image files, independent system upgrade image files, and independent system image files of the target system according to the target upgrade package The upgrade includes: the independent boot image file, the independent system upgrade image file, and the independent system image file included in the self-upgrade package.
与现有相比,本申请具有以下技术手段: Compared with the prior art, the application has the following technical means:
本申请提供了一种终端升级方法及装置,本申请将原来所有***的整体升级包进行拆分,使得每个***均有自身独立的升级包,升级包中有自身独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件,这样各个***之间便相互独立,所以在***升级时便可单独升级各个***而无需所有***整包升级。因此本申请能够达到各个***分开升级、各自独立、相互不干扰的目的,解决了普通***控制安全***升级的问题,提高了安全***的安全性。The present application provides a method and device for upgrading a terminal. This application splits the entire upgrade package of all the original systems, so that each system has its own independent upgrade package. The upgrade package has its own independent startup image file and is independent. The system upgrades the image file and the independent system image file, so that the systems are independent of each other, so each system can be upgraded separately without any system package upgrade when the system is upgraded. Therefore, the application can achieve the purpose of separately upgrading, independent, and non-interference of each system, solving the problem of upgrading the general system control security system, and improving the security of the security system.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present application, and other drawings can be obtained according to the drawings without any creative work for those skilled in the art.
图1为本申请实施例公开的一种终端的升级方法的流程图;1 is a flowchart of a method for upgrading a terminal according to an embodiment of the present application;
图2为本申请实施例公开的又一种终端的升级方法的流程图;2 is a flowchart of still another method for upgrading a terminal according to an embodiment of the present application;
图3为本申请实施例公开的又一种终端的升级方法的流程图;FIG. 3 is a flowchart of still another method for upgrading a terminal according to an embodiment of the present disclosure;
图4为本申请实施例公开的又一种终端的升级方法的流程图;FIG. 4 is a flowchart of still another method for upgrading a terminal according to an embodiment of the present disclosure;
图5为本申请实施例公开的一种终端的升级装置的结构示意图;FIG. 5 is a schematic structural diagram of an apparatus for upgrading a terminal according to an embodiment of the present disclosure;
图6为本申请实施例公开的又一种终端的升级装置的结构示意图;FIG. 6 is a schematic structural diagram of still another apparatus for upgrading a terminal according to an embodiment of the present disclosure;
图7为本申请实施例公开的又一种终端的升级装置的结构示意图;FIG. 7 is a schematic structural diagram of still another apparatus for upgrading a terminal according to an embodiment of the present disclosure;
图8为本申请实施例公开的又一种终端的升级装置的结构示意图。FIG. 8 is a schematic structural diagram of still another apparatus for upgrading a terminal according to an embodiment of the present disclosure.
具体实施方式detailed description
本申请发明人在研究过程中发现:对操作***升级主要为对操作***内的***镜像文件system.img、***升级镜像文件recovery.img、启动镜像文件boot.img三个分区进行升级。The inventor of the present application found in the research process that the upgrade of the operating system mainly upgrades the system image file system.img, the system upgrade image file recovery.img, and the boot image file boot.img in the operating system.
在操作***非升级状态下,各个***在启动时要求同时启动,所以负责所有***启动的boot.img作为一个整体供普通***使用,在启动阶段普通***使用整体的boot.img启动所有***。In the non-upgrade state of the operating system, each system requires simultaneous startup at startup, so the boot.img responsible for all system startups is used as a whole for common systems. In the startup phase, the general system uses the entire boot.img to start all systems.
***升级镜像文件recovery.img依赖于启动镜像文件boot.img,因此所 有***的***升级镜像文件recovery.img也作为一个整体供普通***使用,所以在执行升级时所有***的升级内容必须整合在一起,由普通***对所有***同时升级。The system upgrade image file recovery.img depends on the boot image file boot.img, so The system upgrade image recovery.img is also used as a whole for common systems, so all system upgrades must be integrated when performing the upgrade, and all systems are upgraded simultaneously by the normal system.
但普通***的操作权限过低,由普通***控制安全***进行升级,会降低安全***的风险。理论上可以将运行于普通***中的启动镜像文件boot.img和***升级镜像文件recovery.img转移至安全***运行。该方式不会产生普通***控制安全***的问题,但这样会增加安全***的运行程序,降低安全***的运行速度,增加安全***的设计难度,并且这种设计方式与常规的终端设计不符,即便设计出来也无法适用于现有终端中。However, the operation authority of the ordinary system is too low, and the upgrade of the general system control security system will reduce the risk of the security system. In theory, the boot image file boot.img and the system upgrade image file recovery.img running in the normal system can be transferred to the security system for operation. This method does not cause problems with the general system control security system, but this will increase the operating system of the security system, reduce the operating speed of the security system, increase the design difficulty of the security system, and this design method does not match the conventional terminal design, even It is also not designed to be suitable for use in existing terminals.
因此现在需要一种终端升级方式能够解决能够上述问题。Therefore, there is a need for a terminal upgrade method that can solve the above problems.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
目前,终端,或者叫通信终端,是指可以在通讯中使用的计算机设备,广义的讲包括个人计算机、手机、笔记本、平板电脑、POS机甚至包括车载电脑等设备。At present, a terminal, or a communication terminal, refers to a computer device that can be used in communication, and broadly includes a personal computer, a mobile phone, a notebook, a tablet computer, a POS machine, or even a device such as a car computer.
目前,所有***中需要经常升级的***文件为组合在一个整体升级包内,供所有***共用的。在本申请执行之前将所有***共用的整体升级包进行拆分,拆分后每个***均有独立的自身升级包。并且每个***的自身升级包中包含独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件。然后将每个***自身独立的升级包,对应存储至每个***内部,以供***升级时使用。Currently, system files that need to be upgraded frequently in all systems are combined in one overall upgrade package for sharing by all systems. Before the implementation of this application, the overall upgrade package shared by all systems is split. After splitting, each system has its own independent upgrade package. And each system's own upgrade package contains a separate boot image file, a separate system upgrade image file and a separate system image file. Then, each system's own independent upgrade package is stored in each system for use in system upgrade.
下面对所有***共用的整体升级包的拆分过程,进行详细介绍:The following is a detailed description of the splitting process of the overall upgrade package shared by all systems:
第一步:生成每个***的启动镜像文件。The first step: generate a boot image file for each system.
各个***无法单独升级的根本原因在于:所有***的启动镜像文件boot.img是结合在一起的。所以将整体的启动镜像文件boot.img进行拆分。The root cause of the inability of individual systems to be upgraded separately is that the boot image files boot.img for all systems are combined. So split the whole boot image file boot.img.
整体的启动镜像文件boot.img中,有些数据是属于所有***共用的,这部分数据在拆分的时候便复制成多份,每个***均有一份,分别存储至每个***的启动镜像文件中。 In the boot image file boot.img, some data is shared by all systems. This part of the data is copied into multiple copies when split. Each system has one copy and is stored in each system's boot image file. in.
整体的启动镜像文件boot.img中有些数据是某个***独自使用的,将这部分数据直接剪切至对应的***的启动镜像文件中,直到完成整体boot.img的拆分。Some of the data in the boot image file boot.img is used by a system alone. Cut this part of the data directly into the boot image file of the corresponding system until the whole boot.img split is completed.
在完成整体boot.img的拆分后,每个***便有自身独立的启动镜像文件。以终端包括普通***OS1,上网可信***OS2和安全***OS3为例,三个***的启动镜像文件,分别命名为system_OS1.img、system_OS2.img和system_OS3.img。After completing the split of the overall boot.img, each system has its own independent boot image file. The terminal includes the general system OS1, the Internet trusted system OS2 and the security system OS3 as examples. The boot image files of the three systems are named system_OS1.img, system_OS2.img, and system_OS3.img.
第二步:生成每个***的***升级镜像文件recovery.img。Step 2: Generate a system upgrade image file recovery.img for each system.
由于各个***的所使用的recovery.img是一致的,所以将普通***的recovery.img复制到每个***,使得每个***有自身独立的***升级镜像文件。以终端包括普通***OS1,上网可信***OS2和安全***OS3为例,三个***的启动镜像文件,分别命名为recovery_OS1.img、recovery_OS2.img和recovery_OS3.img。Since the recovery.img used by each system is consistent, the recovery.img of the normal system is copied to each system, so that each system has its own independent system upgrade image file. The terminal includes the general system OS1, the Internet trusted system OS2 and the security system OS3 as examples. The boot image files of the three systems are named recovery_OS1.img, recovery_OS2.img and recovery_OS3.img.
第三步:生成每个***的***镜像文件。Step 3: Generate a system image file for each system.
各个***的***镜像文件system.img原本便是相互分开的,因此各个***的system.img依然保持独立即可。The system image file system.img of each system is originally separated from each other, so the system.img of each system remains independent.
以终端包括普通***OS1,上网可信***OS2和安全***OS3为例,三个***的镜像文件分别命名为system_OS1.img、system_OS2.img和system_OS3.img。The terminal includes the general system OS1, the Internet trusted system OS2, and the security system OS3. The image files of the three systems are named system_OS1.img, system_OS2.img, and system_OS3.img.
每个***自身的启动镜像文件boot_OSX.img、***升级镜像文件recovery_OSX.img和***镜像文件system_OSX.img,能够组成该***的自身升级包。Each system's own boot image file boot_OSX.img, system upgrade image file recovery_OSX.img and system image file system_OSX.img can form the system's own upgrade package.
对整体升级包拆分后,每个***均有自身独立的升级包,各个***升级包之间相互独立、互不干扰。在***升级时,各个***之间无依赖关系,使得各个***可以分开升级。After the overall upgrade package is split, each system has its own independent upgrade package, and each system upgrade package is independent of each other and does not interfere with each other. When the system is upgraded, there is no dependency between the systems, so that each system can be upgraded separately.
在需要升级各个***时,由技术人员确定需要升级的内容,并将各个***需要升级的内容,生成各个***的自身升级包。每个***的自身升级包中都包含该***升级所需要的启动镜像文件、***升级镜像文件和***镜像文件。所有***的自身升级包组成整体的升级包,存储于服务器端或者终端内部。 When it is necessary to upgrade each system, the technician needs to determine the content that needs to be upgraded, and each system needs to be upgraded to generate an upgrade package for each system. Each system's own upgrade package contains the boot image file, system upgrade image file, and system image file required for the system upgrade. All system upgrade packages constitute an overall upgrade package, which is stored on the server side or inside the terminal.
下面介绍本申请提供的终端升级方法,本方法主要应用于终端的控制器中。为了对终端各种状态下的升级方式一一说明,本申请提供两种终端升级方式,第一种适用于终端处于正常运行状态使用,第二种适用于终端处于关机状态使用。The terminal upgrade method provided by the present application is described below. The method is mainly applied to the controller of the terminal. In order to explain the upgrade mode of the terminal in various states, the present application provides two terminal upgrade modes, the first one is suitable for the terminal to be in a normal running state, and the second is applicable to the terminal being in a shutdown state.
下面针对两种升级方式一一详细介绍,首先介绍第一种升级方式:The following is a detailed introduction to the two upgrade methods. First, the first upgrade method is introduced:
如图1所示,本实施例提供了一种终端的升级方法,包括:As shown in FIG. 1 , this embodiment provides a method for upgrading a terminal, including:
步骤S101:在终端处于正常运行状态且用户触发***升级的情况下,在至少两个***中确定当前需要升级的目标***,以及,与所述目标***对应的目标升级包;其中,所述目标升级包包括与所述目标***对应的启动镜像文件、***升级镜像文件和***镜像文件。Step S101: In a case where the terminal is in a normal running state and the user triggers the system upgrade, the target system that needs to be upgraded is determined in the at least two systems, and the target upgrade package corresponding to the target system; wherein the target The upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system.
终端中包括至少两个***,至少包括普通***OS1,上网可信***OS2和/或安全***OS3,当然还可以包括其他***,在此不再赘述。当用户在一个***内确认进行***升级时,便将该***作为目标***。目标***在服务器端或者终端内部获得整体升级包,并在整体升级包内查找与目标***对应的自身升级包,作为目标升级包,或者目标***在服务器端或者终端内部直接获得与目标***对应的自身升级包,作为目标升级包。The terminal includes at least two systems, including at least the general system OS1, the Internet trusted system OS2, and/or the security system OS3, and of course other systems, and details are not described herein. When the user confirms the system upgrade in one system, the system is used as the target system. The target system obtains the overall upgrade package on the server side or the terminal, and finds the own upgrade package corresponding to the target system in the overall upgrade package as the target upgrade package, or the target system directly obtains the corresponding target system on the server side or the terminal end. Self-upgrade package as a target upgrade package.
下面介绍用户触发升级的具体过程:当终端处于正常运行状态时各个***均处于正常工作状态,每个***均有设置选项(以下简称Setting),多个***的设置选项组成设置组(以下简称Settings)。当用户在某一个***的Setting中选择升级选项时,便是对该***进行升级,确定当前进行操作的***为待升级的目标***。The following describes the specific process of the user triggering the upgrade: when the terminal is in the normal running state, each system is in the normal working state, each system has a setting option (hereinafter referred to as "Setting"), and multiple system setting options constitute a setting group (hereinafter referred to as Settings) ). When the user selects the upgrade option in the setting of a certain system, the system is upgraded to determine that the currently operating system is the target system to be upgraded.
不同的终端中用户触发终端升级的方式可能略有不同,在此不再一一赘述。需要说明的是:现有技术中所有用户触发终端进入升级的方式,均包含在本申请的保护范围内。The manner in which the user triggers the terminal upgrade in different terminals may be slightly different, and details are not described herein again. It should be noted that all the methods in the prior art that trigger the terminal to enter the upgrade are included in the protection scope of the present application.
步骤S102:重启所述终端,进入所述目标***的***升级模式中;Step S102: Restart the terminal and enter a system upgrade mode of the target system.
对***升级时需要重启终端才能执行升级,所以在用户触发升级后需要终端会重新启动,由于需要进行升级的为目标***,所以重启后进入目标***的***升级模式中。You need to restart the terminal to perform the upgrade when you upgrade the system. Therefore, after the user triggers the upgrade, the terminal needs to be restarted. Because the target system needs to be upgraded, the system upgrade mode is entered after the restart.
步骤S103:在所述***升级模式中按所述目标升级包,分别对所述目标***中独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文 件升级;其中,所述目标***包括独立于其他***的自身升级包,所述自身升级包中包含所述独立的启动镜像文件、所述独立的***升级镜像文件和所述独立的***镜像文件。Step S103: In the system upgrade mode, according to the target upgrade package, respectively, separate boot image files, independent system upgrade image files, and independent system mirror files in the target system. The upgrade includes the independent boot image file, the independent system upgrade image file, and the independent system image file. .
由于目标升级包中包含目标***当前需要的升级内容,所以在***升级模式的支持下,执行目标***的升级过程。具体升级过程为:将目标升级包中的启动镜像文件,更新目标***自身升级包中的启动镜像文件;将目标升级包中的***升级镜像文件,更新目标***自身升级包中的***升级镜像文件;将目标升级包中的***镜像文件,更新目标***自身升级包中的***镜像文件。Since the target upgrade package contains the upgrade content currently required by the target system, the upgrade process of the target system is performed with the support of the system upgrade mode. The specific upgrade process is: update the boot image file in the target upgrade package, update the boot image file in the target system upgrade package, upgrade the system upgrade image file in the target upgrade package, and update the system upgrade image file in the target system upgrade package. The system image file in the target upgrade package is updated with the system image file in the target upgrade package.
为了保证目标***升级成功,在一次升级操作完成后,判断目标***是否升级成功;当目标***升级成功后,则可按上述方法继续对其他***升级,当目标升级不成功时,则可以继续对目标***升级,直到目标***升级成功。In order to ensure the successful upgrade of the target system, after the upgrade operation is completed, it is judged whether the target system is successfully upgraded. After the target system is upgraded successfully, the other systems can be upgraded as described above. When the target upgrade is unsuccessful, the operation can continue. The target system is upgraded until the target system is upgraded successfully.
本申请提供了一种终端的升级方法,本申请将原来所有***的整体升级包进行拆分,使得每个***均有自身独立的升级包,升级包中有自身独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件,这样各个***之间便相互独立,所以在***升级时便可单独升级各个***而无需所有***整包升级。因此本申请能够达到各个***分开升级、各自独立、相互不干扰的目的,解决了普通***控制安全***升级的问题,提高了安全***的安全性。The application provides a method for upgrading a terminal. This application splits the entire upgrade package of all the original systems, so that each system has its own independent upgrade package. The upgrade package has its own independent startup image file and independent The system upgrades the image file and the independent system image file, so that the systems are independent of each other, so each system can be upgraded separately without any system package upgrade when the system is upgraded. Therefore, the application can achieve the purpose of separately upgrading, independent, and non-interference of each system, solving the problem of upgrading the general system control security system, and improving the security of the security system.
在图1的步骤S102中,在所述进入所述目标***的***升级模式中之前还包括判断是否满足预设条件的步骤。如图2所示,所述判断是否满足预设条件的过程包括:In step S102 of FIG. 1, before the entering the system upgrade mode of the target system, a step of determining whether the preset condition is satisfied is further included. As shown in FIG. 2, the process of determining whether the preset condition is met includes:
步骤S201:判断所述目标***是否为普通***;若是,则进入步骤S202,否则进入步骤S203。Step S201: determining whether the target system is a normal system; if yes, proceeding to step S202, otherwise proceeding to step S203.
所述至少两个***中包括上网可信***和/或安全***、以及普通***。可以理解的是,在本申请中对普通***OS1进行身份验证也是可以实现的,只是当普通***OS1的安全级别较低,所以可以不进行身份验证。所以当目标***为普通***时,不进行用户身份验证。在目标***非普通***时,进行用户身份验证。The at least two systems include an online trusted system and/or a security system, and a general system. It can be understood that the authentication of the general system OS1 in this application is also achievable, but when the security level of the general system OS1 is low, the identity verification may not be performed. Therefore, when the target system is a normal system, user authentication is not performed. User authentication is performed when the target system is not a normal system.
在终端的所有***中,普通***的安全性最低,其余***的安全性较高, 为了提高普通***以外其余***的安全性,在执行升级之前还需要对用户身份进行验证。In all systems of the terminal, the security of the common system is the lowest, and the security of the remaining systems is high. In order to improve the security of other systems outside the normal system, the user identity needs to be verified before performing the upgrade.
步骤S202:判定满足预设条件。Step S202: It is determined that the preset condition is satisfied.
步骤S203:接收所述终端的用户身份信息,并验证所述用户身份信息是否正确;若是,则进入步骤S202,否则进入步骤S204。Step S203: Receive user identity information of the terminal, and verify whether the user identity information is correct; if yes, go to step S202, otherwise go to step S204.
当目标***为上网安全***OS2或安全***OS3时,控制器会向目标用户发送身份验证信息,用户得到身份验证信息后,向控制器输入身份验证信息,并由控制器对用户输入的身份验证信息进行验证。When the target system is the Internet security system OS2 or the security system OS3, the controller sends the authentication information to the target user. After the user obtains the authentication information, the authentication information is input to the controller, and the controller inputs the authentication to the user. The information is verified.
具体的,控制器验证用户身份信息是否正确包括两种方式:Specifically, the controller verifies that the user identity information is correct, including two ways:
第一种:在所述目标***的验证模块中验证所述用户身份信息是否正确;The first type: verifying whether the user identity information is correct in the verification module of the target system;
上网可信***OS2和安全***OS3均有自身的验证模块,所以控制器在接收用户身份信息后,直接在上网可信***OS2或安全***OS3中验证即可,验证无误则表示用户身份信息正确。如果控制器验证用户身份信息正确时,则判定当前用户为合法用户判定满足预设条件,可以执行后续的升级。The online trusted system OS2 and the security system OS3 have their own authentication modules. Therefore, after receiving the user identity information, the controller can directly verify it in the online trusted system OS2 or the security system OS3. If the verification is correct, the user identity information is correct. . If the controller verifies that the user identity information is correct, it is determined that the current user is a legitimate user and determines that the preset condition is met, and the subsequent upgrade may be performed.
第二种:在最高级别安全***的验证模块中验证所述用户身份信息是否正确。Second: Verify that the user identity information is correct in the authentication module of the highest level security system.
控制器中除了有普通***OS1、上网可信***OS2和安全***OS3之外,还有最高级别安全***Secure OS,最高级别安全***Secure OS中也有验证模块,控制器也可以采用该验证模块进行验证。In addition to the general system OS1, the Internet trusted system OS2 and the security system OS3, the controller also has the highest level security system Secure OS. The highest level security system Secure OS also has a verification module, and the controller can also use the verification module. verification.
不论采用目标***的验证模块,还是最高级别安全***中的验证模块均可实现本验证目的。可以理解的是,如果普通***OS1中设置有验证模块,还可以采用普通***OS1验证用户身份信息。This verification can be achieved regardless of whether the verification module of the target system or the verification module in the highest level security system is used. It can be understood that if the authentication module is set in the ordinary system OS1, the normal system OS1 can also be used to verify the user identity information.
步骤S204:判定不满足预设条件;Step S204: determining that the preset condition is not met;
如果控制器验证用户身份信息不正确时,则判定当前用户为非法用户,判定不满足预设条件,拒绝执行后续的升级。If the controller verifies that the user identity information is incorrect, it determines that the current user is an illegal user, determines that the preset condition is not met, and refuses to perform subsequent upgrade.
在目标***升级完成后,如图3所示,本申请提供的方法还包括如下操作步骤:After the target system is upgraded, as shown in FIG. 3, the method provided by the present application further includes the following steps:
步骤S301:对其它待升级***执行升级操作;Step S301: Perform an upgrade operation on other systems to be upgraded;
在目标***升级后,如若还有其他***需要升级,则可按如图1所示的 升级方式执行升级,或者按其他方式执行升级。After the target system is upgraded, if there are other systems that need to be upgraded, you can press as shown in Figure 1. Upgrade to perform an upgrade or perform an upgrade in other ways.
步骤S302:将所述目标***升级后的启动镜像文件、所述待升级***升级后的启动镜像文件,以及所有未升级***的启动镜像文件组合,形成所有***的整体启动镜像文件;Step S302: Combine the boot image file after the target system is upgraded, the boot image file after the upgrade of the system to be upgraded, and the boot image files of all the un-upgraded systems to form an overall boot image file of all systems;
步骤S303:将所述整体启动镜像文件存储于所述普通***中。Step S303: Store the entire boot image file in the common system.
在升级模式时由于各个***需要分开升级,所以各个***的启动镜像文件是分开独立的。在非升级模式中各个***需要同时启动,为了保证各个***同时启动,需要将负责各个***启动的启动镜像文件,合并为整体的启动镜像文件。然后将整体的启动镜像文件存储至普通操作***中,以便普通操作***可以依据整体的启动镜像文件,对所有***一并启动。In the upgrade mode, since each system needs to be upgraded separately, the boot image files of each system are separate and independent. In the non-upgrade mode, each system needs to be started at the same time. In order to ensure that each system starts at the same time, the startup image files responsible for the startup of each system need to be merged into the overall startup image file. Then, the entire boot image file is stored in the normal operating system, so that the normal operating system can start all the systems together according to the overall boot image file.
上述为本申请提供的第一种终端升级方式,下面介绍第二种终端升级方式:The above is the first terminal upgrade mode provided by the present application. The following describes the second terminal upgrade mode:
如图4所示,本申请提供了一种终端的升级方法,包括:As shown in FIG. 4, the application provides a method for upgrading a terminal, including:
步骤S401:当终端处于关机状态且用户触发***升级的情况下,在至少两个***的***升级模式中,确定与当前需要升级的目标***对应的***升级模式,和,与所述目标***对应的目标升级包;其中,所述目标升级包中包括与所述目标***对应的启动镜像文件、***升级镜像文件和***镜像文件。Step S401: When the terminal is in the shutdown state and the user triggers the system upgrade, in the system upgrade mode of the at least two systems, determining a system upgrade mode corresponding to the target system that needs to be upgraded, and corresponding to the target system The target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system.
第一种方式为终端处于正常运行状态时的升级的方式,第二种方式中详细介绍终端处于关机时的升级的方式,当终端处于关机状态时用户需采用组合键的方式触发升级。组合键的方式可以为:同时按下电源键和音量上键触发升级,或同时按下电源键和音量下键触发升级。The first mode is the upgrade mode when the terminal is in the normal running state. The second mode describes the upgrade mode when the terminal is powered off. When the terminal is in the shutdown state, the user needs to use the combination key to trigger the upgrade. The combination of keys can be: press the power button and the volume up button at the same time to trigger the upgrade, or press the power button and the volume down button at the same time to trigger the upgrade.
不同的终端在终端关机状态下,触发升级的方式略有不同,需要说明的是:不论采用哪种触发终端升级的方式,均在本申请的保护范围内。When the terminal is powered off, the mode of triggering the upgrade is slightly different. It should be noted that the method of triggering the terminal upgrade is within the protection scope of the present application.
由于终端处于关机状态,各个***均未启动,所以不能直接进入***在Setting中进行升级,所以此时需要用户选择一个需要升级的目标***升级模式,即目标recovery模式。由于一个recovery模式对应一个***,所以将目标recovery模式对应的***作为目标***,并在服务器段或终端内获得目标升级包。 Because the terminal is in the shutdown state, each system is not started, so you cannot directly enter the system to upgrade in the setting. Therefore, you need to select a target system upgrade mode that needs to be upgraded, that is, the target recovery mode. Since one recovery mode corresponds to one system, the system corresponding to the target recovery mode is taken as the target system, and the target upgrade package is obtained in the server segment or terminal.
步骤S402:在所述目标***对应的***升级模式中,按所述目标升级包分别对所述目标***的独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级;其中,所述目标***包括独立于其他***的自身升级包,所述自身升级包中包含所述独立的启动镜像文件、所述独立的***升级镜像文件和所述独立的***镜像文件。Step S402: In the system upgrade mode corresponding to the target system, upgrade the independent boot image file, the independent system upgrade image file, and the independent system image file of the target system according to the target upgrade package; The target system includes a self-upgrade package independent of other systems, and the self-upgrade package includes the independent boot image file, the independent system upgrade image file, and the independent system image file.
控制器在目标***的目标recovery模式中,按目标升级包的内容对目标***内自身升级包进行升级,其具体执行方式图1所示的内容一致,在此不再赘述。In the target recovery mode of the target system, the controller upgrades the upgrade package of the target system according to the content of the target upgrade package. The specific implementation mode is the same as that shown in Figure 1.
图4中步骤S402在具体实现时为:Step S402 in Figure 4 is specifically implemented:
判断是否满足预设条件,在满足预设条件情况下,执行在所述目标***对应的***升级模式中,按所述目标升级包分别对所述目标***的独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级的步骤。Determining whether the preset condition is met, and executing the system upgrade mode corresponding to the target system in the system upgrade mode corresponding to the target system, and independently starting the image file and the independent system for the target system according to the target upgrade package. Steps to upgrade the image file and upgrade the system image file.
其中判断是否满足预设条件的具体执行过程,与如2所示的内容一致,本实施例与图2实施例的区别仅在于:本实施例验证用户身份信息是否正确时只有一种方式:在最高级别安全***的验证模块中验证所述用户身份信息是否正确。因为在本实施例中目标***还未启动,不能采用目标***验证用户身份信息是否正确,最高级别安全***会与目标recovery模式同时启动,启动时间较目标***早,所以采用最高级别安全***的验证模块进行验证。The specific execution process of determining whether the preset condition is met is consistent with the content shown in FIG. 2, and the difference between the embodiment and the embodiment of FIG. 2 is only that: in this embodiment, when the user identity information is verified to be correct, there is only one way: Verify that the user identity information is correct in the verification module of the highest level security system. Because the target system has not been started in this embodiment, the target system cannot be used to verify whether the user identity information is correct. The highest level security system starts at the same time as the target recovery mode, and the startup time is earlier than the target system, so the verification using the highest level security system is adopted. The module is verified.
在***升级完成后,本实施例还包括:对其它待升级***执行升级操作;将所述目标***升级后的启动镜像文件、所述待升级***升级后的启动镜像文件,以及所有未升级***的启动镜像文件组合、形成所有***的整体启动镜像文件;将所述整体启动镜像文件存储于所述普通***中。具体执行过程与图3所示的内容一致,在此不再赘述。After the system upgrade is complete, the embodiment further includes: performing an upgrade operation on the other system to be upgraded; a boot image file after the target system is upgraded, a boot image file after the upgrade of the system to be upgraded, and all un-upgraded systems. The boot image file combination forms an overall boot image file of all systems; the entire boot image file is stored in the common system. The specific implementation process is consistent with the content shown in FIG. 3, and details are not described herein again.
本申请提供了一种终端的升级方法,本申请将原来所有***的整体升级包进行拆分,使得每个***均有自身独立的升级包,升级包中有自身独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件,这样各个***之间便相互独立,所以在***升级时便可单独升级各个***而无需所有***整包升级。因此本申请能够达到各个***分开升级、各自独立、相互不干扰的目的,解决了普通***控制安全***升级的问题,提高了安全***的安全性。 The application provides a method for upgrading a terminal. This application splits the entire upgrade package of all the original systems, so that each system has its own independent upgrade package. The upgrade package has its own independent startup image file and independent The system upgrades the image file and the independent system image file, so that the systems are independent of each other, so each system can be upgraded separately without any system package upgrade when the system is upgraded. Therefore, the application can achieve the purpose of separately upgrading, independent, and non-interference of each system, solving the problem of upgrading the general system control security system, and improving the security of the security system.
如图5所示,本申请提供了一种终端升级装置,包括:As shown in FIG. 5, the application provides a terminal upgrading apparatus, including:
第一确定单元51,用于在终端处于正常运行状态且用户触发***升级的情况下,在至少两个***中确定当前需要升级的目标***,以及,与所述目标***对应的目标升级包;其中,所述目标升级包包括与所述目标***对应的启动镜像文件、***升级镜像文件和***镜像文件;a first determining unit 51, configured to determine, in at least two systems, a target system that needs to be upgraded, and a target upgrade package corresponding to the target system, in a case that the terminal is in a normal running state and the user triggers a system upgrade; The target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system.
重启单元52,用于重启所述终端,进入所述目标***的***升级模式中;a restarting unit 52, configured to restart the terminal and enter a system upgrade mode of the target system;
第一升级单元53,在所述***升级模式中按所述目标升级包,分别对所述目标***中独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级;其中,所述目标***包括独立于其他***的自身升级包,所述自身升级包中包含所述独立的启动镜像文件、所述独立的***升级镜像文件和所述独立的***镜像文件。The first upgrading unit 53 upgrades the independent startup image file, the independent system upgrade image file, and the independent system image file in the target system according to the target upgrade package in the system upgrade mode; The target system includes a self-upgrade package independent of other systems, and the self-upgrade package includes the independent boot image file, the independent system upgrade image file, and the independent system image file.
本申请提供了一种终端升级装置,如图6所示,还包括:用于判断是否满足预设条件的第一判断单元54;The present application provides a terminal upgrading apparatus, as shown in FIG. 6, further comprising: a first determining unit 54 for determining whether a preset condition is met;
所述第一判断单元,具体用于判断所述目标***是否为普通***;如果是,则判定满足预设条件;如果否,则接收所述终端的用户身份信息,并验证所述用户身份信息是否正确;当所述用户身份信息正确的情况下,判定满足预设条件;当所述用户身份信息不正确的情况下,判定不满足预设条件。The first determining unit is specifically configured to determine whether the target system is an ordinary system; if yes, determining that a preset condition is met; if not, receiving user identity information of the terminal, and verifying the user identity information Whether it is correct; when the user identity information is correct, the determination satisfies the preset condition; when the user identity information is incorrect, the determination does not satisfy the preset condition.
其中第一判断单元54在验证所述用户身份信息是否正确时,具体为接在所述目标***的验证模块中验证所述用户身份信息是否正确;或在最高级别安全***的验证模块中验证所述用户身份信息是否正确。The first determining unit 54 verifies whether the user identity information is correct in the verification module of the target system when verifying whether the user identity information is correct, or verifying in the verification module of the highest level security system. Whether the user identity information is correct.
第一组合单元55,用于在对其它待升级***执行升级操作后,将所述目标***升级后的启动镜像文件、所述待升级***升级后的启动镜像文件,以及所有未升级***的启动镜像文件组合、形成所有***的整体启动镜像文件;The first combination unit 55 is configured to: after the upgrade operation is performed on the system to be upgraded, the boot image file after the target system is upgraded, the boot image file after the upgrade of the system to be upgraded, and the startup of all the unupgraded systems. Image file combination, forming an overall boot image file for all systems;
第一存储单元56,用于将所述整体启动镜像文件存储于所述普通***中。The first storage unit 56 is configured to store the entire boot image file in the common system.
本申请提供了一种终端的升级装置,本申请将原来所有***的整体升级包进行拆分,使得每个***均有自身独立的升级包,升级包中有自身独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件,这样各个***之间便相互独立,所以在***升级时便可单独升级各个***而无需所有***整包升级。因此本申请能够达到各个***分开升级、各自独立、相互不 干扰的目的,解决了普通***控制安全***升级的问题,提高了安全***的安全性。The application provides an upgrade device for a terminal. This application splits the entire upgrade package of all the original systems, so that each system has its own independent upgrade package. The upgrade package has its own independent startup image file and independent The system upgrades the image file and the independent system image file, so that the systems are independent of each other, so each system can be upgraded separately without any system package upgrade when the system is upgraded. Therefore, the application can achieve separate upgrades of each system, independent of each other, and not mutually The purpose of interference solves the problem of upgrading the general system control security system and improves the security of the security system.
如图7所示,本申请还提供了一种终端的升级装置,包括:As shown in FIG. 7, the application further provides an upgrade apparatus for a terminal, including:
第二确定单元71,用于当终端处于关机状态且用户触发***升级的情况下,在至少两个***的***升级模式中,确定与当前需要升级的目标***对应的***升级模式,和,与所述目标***对应的目标升级包;其中,所述目标升级包中包括与所述目标***对应的启动镜像文件、***升级镜像文件和***镜像文件;a second determining unit 71, configured to determine, in a system upgrade mode of at least two systems, a system upgrade mode corresponding to a target system that needs to be upgraded, and, in a case that the terminal is in a shutdown state and the user triggers a system upgrade. a target upgrade package corresponding to the target system, where the target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system;
第二升级单元72,用于在所述目标***对应的***升级模式中,按所述目标升级包分别对所述目标***的独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级;其中,所述目标***包括独立于其他***的自身升级包,所述自身升级包中包含所述独立的启动镜像文件、所述独立的***升级镜像文件和所述独立的***镜像文件。The second upgrading unit 72 is configured to: in the system upgrade mode corresponding to the target system, separate boot image files, independent system upgrade image files, and independent system images of the target system according to the target upgrade package. a file upgrade; wherein the target system includes a self-upgrade package independent of other systems, and the self-upgrade package includes the independent boot image file, the independent system upgrade image file, and the independent system image file. .
本申请提供了一种终端升级装置,如图8所示,还包括:用于判断是否满足预设条件的第二判断单元73;The present application provides a terminal upgrading apparatus, as shown in FIG. 8, further comprising: a second determining unit 73 for determining whether a preset condition is met;
所述第二判断单元73,具体用于判断所述目标***是否为普通***;如果是,则判定满足预设条件;如果否,则接收所述终端的用户身份信息,并验证所述用户身份信息是否正确;当所述用户身份信息正确的情况下,判定满足预设条件;当所述用户身份信息不正确的情况下,判定不满足预设条件。The second determining unit 73 is specifically configured to determine whether the target system is a normal system; if yes, determine that the preset condition is met; if not, receive the user identity information of the terminal, and verify the user identity Whether the information is correct; when the user identity information is correct, the determination meets the preset condition; when the user identity information is incorrect, the determination does not satisfy the preset condition.
其中第二判断单元73在验证所述用户身份信息是否正确时,具体为:在最高级别安全***的验证模块中验证所述用户身份信息是否正确。When the second determining unit 73 verifies whether the user identity information is correct, it is specifically: verifying whether the user identity information is correct in the verification module of the highest level security system.
第二组合单元74,用于在对其它待升级***执行升级操作后,将所述目标***升级后的启动镜像文件、所述待升级***升级后的启动镜像文件,以及所有未升级***的启动镜像文件组合、形成所有***的整体启动镜像文件;The second combination unit 74 is configured to: after the upgrade operation is performed on the other systems to be upgraded, the boot image file after the target system is upgraded, the boot image file after the upgrade of the system to be upgraded, and the startup of all the unupgraded systems. Image file combination, forming an overall boot image file for all systems;
第二存储单元75,用于将所述整体启动镜像文件存储于所述普通***中。The second storage unit 75 is configured to store the entire boot image file in the common system.
本申请提供了一种终端的升级装置,本申请将原来所有***的整体升级包进行拆分,使得每个***均有自身独立的升级包,升级包中有自身独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件,这样各个***之间便相互独立,所以在***升级时便可单独升级各个***而无需所有 ***整包升级。因此本申请能够达到各个***分开升级、各自独立、相互不干扰的目的,解决了普通***控制安全***升级的问题,提高了安全***的安全性。The application provides an upgrade device for a terminal. This application splits the entire upgrade package of all the original systems, so that each system has its own independent upgrade package. The upgrade package has its own independent startup image file and independent The system upgrades the image file and the independent system image file, so that the systems are independent of each other, so each system can be upgraded separately without any need when the system is upgraded. The system is upgraded. Therefore, the application can achieve the purpose of separately upgrading, independent, and non-interference of each system, solving the problem of upgrading the general system control security system, and improving the security of the security system.
本实施例方法所述的功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算设备可读取存储介质中。基于这样的理解,本申请实施例对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一台计算设备(可以是个人计算机,服务器,计算设备或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions described in the method of the present embodiment can be stored in a computing device readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, a portion of the embodiments of the present application that contributes to the prior art or a portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a A computing device (which may be a personal computer, server, computing device, or network device, etc.) performs all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same or similar parts of the respective embodiments may be referred to each other.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above description of the disclosed embodiments enables those skilled in the art to make or use the application. Various modifications to these embodiments are obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the application. Therefore, the application is not limited to the embodiments shown herein, but is to be accorded the broadest scope of the principles and novel features disclosed herein.

Claims (12)

  1. 一种终端升级方法,其特征在于,包括:A method for upgrading a terminal, comprising:
    在终端处于正常运行状态且用户触发***升级的情况下,在至少两个***中确定当前需要升级的目标***,以及,与所述目标***对应的目标升级包;其中,所述目标升级包包括与所述目标***对应的启动镜像文件、***升级镜像文件和***镜像文件;Determining, in at least two systems, a target system that needs to be upgraded, and a target upgrade package corresponding to the target system, where the terminal is in a normal running state and the user triggers a system upgrade; wherein the target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system;
    重启所述终端,进入所述目标***的***升级模式中;Restarting the terminal and entering a system upgrade mode of the target system;
    在所述***升级模式中按所述目标升级包,分别对所述目标***中独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级;其中,所述目标***包括独立于其他***的自身升级包,所述自身升级包中包含所述独立的启动镜像文件、所述独立的***升级镜像文件和所述独立的***镜像文件。Upgrading the independent boot image file, the independent system upgrade image file, and the independent system image file in the target system according to the target upgrade package in the system upgrade mode; wherein the target system includes The self-upgrade package of the other system includes the independent boot image file, the independent system upgrade image file, and the independent system image file.
  2. 如权利要求1所述的方法,其特征在于,在所述进入所述目标***的***升级模式中之前还包括判断是否满足预设条件,所述判断是否满足预设条件的过程包括:The method according to claim 1, wherein before the entering the system upgrade mode of the target system, the method further comprises: determining whether the preset condition is met, and the determining whether the predetermined condition is met comprises:
    判断所述目标***是否为普通***;Determining whether the target system is a normal system;
    如果是,则判定满足预设条件;If yes, it is determined that the preset condition is met;
    如果否,则接收所述终端的用户身份信息,并验证所述用户身份信息是否正确;If not, receiving user identity information of the terminal, and verifying whether the user identity information is correct;
    当所述用户身份信息正确的情况下,判定满足预设条件;When the user identity information is correct, it is determined that the preset condition is met;
    当所述用户身份信息不正确的情况下,判定不满足预设条件。When the user identity information is incorrect, it is determined that the preset condition is not satisfied.
  3. 如权利要求2所述的方法,其特征在于,所述验证所述用户身份信息是否正确,包括:The method of claim 2, wherein the verifying that the user identity information is correct comprises:
    在所述目标***的验证模块中验证所述用户身份信息是否正确;或Verifying whether the user identity information is correct in the verification module of the target system; or
    在最高级别安全***的验证模块中验证所述用户身份信息是否正确。Verify that the user identity information is correct in the authentication module of the highest level security system.
  4. 如权利要求2或3所述的方法,其特征在于,还包括:The method of claim 2 or 3, further comprising:
    对其它待升级***执行升级操作;Perform upgrade operations on other systems to be upgraded;
    将所述目标***升级后的启动镜像文件、所述待升级***升级后的启动 镜像文件,以及所有未升级***的启动镜像文件组合、形成所有***的整体启动镜像文件;a boot image file after the upgrade of the target system, and a startup after the upgrade of the system to be upgraded Image file, and a combination of boot image files for all non-upgraded systems, forming an overall boot image file for all systems;
    将所述整体启动镜像文件存储于所述普通***中。The overall boot image file is stored in the general system.
  5. 一种终端升级方法,其特征在于,包括:A method for upgrading a terminal, comprising:
    当终端处于关机状态且用户触发***升级的情况下,在至少两个***的***升级模式中,确定与当前需要升级的目标***对应的***升级模式,和,与所述目标***对应的目标升级包;其中,所述目标升级包中包括与所述目标***对应的启动镜像文件、***升级镜像文件和***镜像文件;When the terminal is in the shutdown state and the user triggers the system upgrade, in the system upgrade mode of the at least two systems, the system upgrade mode corresponding to the target system that needs to be upgraded is determined, and the target upgrade corresponding to the target system is determined. a package, where the target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system;
    在所述目标***对应的***升级模式中,按所述目标升级包分别对所述目标***的独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级;其中,所述目标***包括独立于其他***的自身升级包,所述自身升级包中包含所述独立的启动镜像文件、所述独立的***升级镜像文件和所述独立的***镜像文件。In the system upgrade mode corresponding to the target system, the target upgrade package separately upgrades the independent boot image file, the independent system upgrade image file, and the independent system image file of the target system; wherein, the target The system includes a self-upgrade package independent of other systems, and the self-upgrade package includes the independent boot image file, the independent system upgrade image file, and the independent system image file.
  6. 如权利要求5所述的方法,其特征在于,所述在所述目标***对应的***升级模式中,按所述目标升级包分别对所述目标***的独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级具体为:判断是否满足预设条件,在满足预设条件情况下,执行在所述目标***对应的***升级模式中,按所述目标升级包分别对所述目标***的独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级的步骤;The method according to claim 5, wherein in the system upgrade mode corresponding to the target system, the independent boot image file and the independent system upgrade of the target system are respectively performed according to the target upgrade package. The image file and the independent system image file are upgraded to determine whether the preset condition is met, and if the preset condition is met, executing the system upgrade mode corresponding to the target system, respectively, according to the target upgrade package Steps for upgrading the independent boot image file, the stand-alone system upgrade image file, and the stand-alone system image file of the target system;
    所述判断是否满足预设条件包括:Whether the determining meets the preset condition includes:
    判断所述目标***是否为普通***;Determining whether the target system is a normal system;
    如果是,则判定满足预设条件;If yes, it is determined that the preset condition is met;
    如果否,则接收所述终端的用户身份信息,并验证所述用户身份信息是否正确;If not, receiving user identity information of the terminal, and verifying whether the user identity information is correct;
    当所述用户身份信息正确的情况下,判定满足预设条件;When the user identity information is correct, it is determined that the preset condition is met;
    当所述用户身份信息不正确的情况下,判定不满足预设条件。When the user identity information is incorrect, it is determined that the preset condition is not satisfied.
  7. 如权利要求6所述的方法,其特征在于,所述验证所述用户身份信息是否正确,包括:The method of claim 6, wherein the verifying that the user identity information is correct comprises:
    在最高级别安全***的验证模块中验证所述用户身份信息是否正确。Verify that the user identity information is correct in the authentication module of the highest level security system.
  8. 如权利要求6或7所述的方法,其特征在于,还包括: The method of claim 6 or claim 7, further comprising:
    对其它待升级***执行升级操作;Perform upgrade operations on other systems to be upgraded;
    将所述目标***升级后的启动镜像文件、所述待升级***升级后的启动镜像文件,以及所有未升级***的启动镜像文件组合、形成所有***的整体启动镜像文件;The boot image file after the upgrade of the target system, the boot image file after the upgrade of the system to be upgraded, and the boot image files of all the un-upgraded systems are combined to form an overall boot image file of all systems;
    将所述整体启动镜像文件存储于所述普通***中。The overall boot image file is stored in the general system.
  9. 一种终端升级装置,其特征在于,包括:A terminal upgrading device, comprising:
    第一确定单元,用于在终端处于正常运行状态且用户触发***升级的情况下,在至少两个***中确定当前需要升级的目标***,以及,与所述目标***对应的目标升级包;其中,所述目标升级包包括与所述目标***对应的启动镜像文件、***升级镜像文件和***镜像文件;a first determining unit, configured to determine, in at least two systems, a target system that needs to be upgraded, and a target upgrade package corresponding to the target system, where the terminal is in a normal running state and the user triggers a system upgrade; The target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system;
    重启单元,用于重启所述终端,进入所述目标***的***升级模式中;a restarting unit, configured to restart the terminal and enter a system upgrade mode of the target system;
    第一升级单元,在所述***升级模式中按所述目标升级包,分别对所述目标***中独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级;其中,所述目标***包括独立于其他***的自身升级包,所述自身升级包中包含所述独立的启动镜像文件、所述独立的***升级镜像文件和所述独立的***镜像文件。The first upgrade unit upgrades the independent boot image file, the independent system upgrade image file, and the independent system image file in the target system according to the target upgrade package in the system upgrade mode; The target system includes a self-upgrade package independent of other systems, and the self-upgrade package includes the independent boot image file, the independent system upgrade image file, and the independent system image file.
  10. 如权利要求9所述的装置,其特征在于,还包括用于判断是否满足预设条件的第一判断单元;The apparatus according to claim 9, further comprising: a first determining unit for determining whether the preset condition is satisfied;
    所述第一判断单元,具体用于判断所述目标***是否为普通***;如果是,则判定满足预设条件;如果否,则接收所述终端的用户身份信息,并验证所述用户身份信息是否正确;当所述用户身份信息正确的情况下,判定满足预设条件;当所述用户身份信息不正确的情况下,判定不满足预设条件。The first determining unit is specifically configured to determine whether the target system is an ordinary system; if yes, determining that a preset condition is met; if not, receiving user identity information of the terminal, and verifying the user identity information Whether it is correct; when the user identity information is correct, the determination satisfies the preset condition; when the user identity information is incorrect, the determination does not satisfy the preset condition.
  11. 如权利要求10所述的装置,其特征在于,还包括:The device of claim 10, further comprising:
    第一组合单元,用于在对其它待升级***执行升级操作后,将所述目标***升级后的启动镜像文件、所述待升级***升级后的启动镜像文件,以及所有未升级***的启动镜像文件组合、形成所有***的整体启动镜像文件;The first combination unit is configured to: after the upgrade operation is performed on the system to be upgraded, the boot image file after the target system is upgraded, the boot image file after the upgrade of the system to be upgraded, and the boot image of all the unupgraded systems. File combination, forming an overall boot image file for all systems;
    第一存储单元,用于将所述整体启动镜像文件存储于所述普通***中。And a first storage unit, configured to store the entire boot image file in the common system.
  12. 一种终端升级装置,其特征在于,包括:A terminal upgrading device, comprising:
    第二确定单元,用于当终端处于关机状态且用户触发***升级的情况下,在至少两个***的***升级模式中,确定与当前需要升级的目标***对应的 ***升级模式,和,与所述目标***对应的目标升级包;其中,所述目标升级包中包括与所述目标***对应的启动镜像文件、***升级镜像文件和***镜像文件;a second determining unit, configured to determine, in a system upgrade mode of the at least two systems, a target system that needs to be upgraded, in a case that the terminal is in a shutdown state and the user triggers a system upgrade a system upgrade mode, and a target upgrade package corresponding to the target system; wherein the target upgrade package includes a boot image file, a system upgrade image file, and a system image file corresponding to the target system;
    第二升级单元,用于在所述目标***对应的***升级模式中,按所述目标升级包分别对所述目标***的独立的启动镜像文件、独立的***升级镜像文件和独立的***镜像文件升级;其中,所述目标***包括独立于其他***的自身升级包,所述自身升级包中包含所述独立的启动镜像文件、所述独立的***升级镜像文件和所述独立的***镜像文件。 a second upgrade unit, configured to: in the system upgrade mode corresponding to the target system, separate boot image files, independent system upgrade image files, and independent system image files of the target system according to the target upgrade package The upgrade includes: the independent boot image file, the independent system upgrade image file, and the independent system image file included in the self-upgrade package.
PCT/CN2015/075591 2015-03-16 2015-03-31 Terminal upgrade method and device WO2016145679A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510114265.9A CN104754043B (en) 2015-03-16 2015-03-16 A kind of terminal staging method and device
CN201510114265.9 2015-03-16

Publications (1)

Publication Number Publication Date
WO2016145679A1 true WO2016145679A1 (en) 2016-09-22

Family

ID=53593130

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/075591 WO2016145679A1 (en) 2015-03-16 2015-03-31 Terminal upgrade method and device

Country Status (2)

Country Link
CN (1) CN104754043B (en)
WO (1) WO2016145679A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399153A (en) * 2019-07-25 2019-11-01 Oppo广东移动通信有限公司 Method for upgrading system, device, terminal and computer readable storage medium
CN111857777A (en) * 2020-07-16 2020-10-30 南方电网数字电网研究院有限公司 System updating method and device based on double-core intelligent electric meter and computer equipment
CN112363742A (en) * 2020-11-03 2021-02-12 北京牛电科技有限责任公司 Firmware system upgrading method, device, equipment and medium
CN112631626A (en) * 2020-12-02 2021-04-09 广东中兴新支点技术有限公司 System upgrading method and device based on dual systems and storage medium
CN116800821A (en) * 2023-08-23 2023-09-22 Tcl通讯科技(成都)有限公司 System upgrading method and device, storage medium and electronic equipment

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754043B (en) * 2015-03-16 2018-07-27 西安酷派软件科技有限公司 A kind of terminal staging method and device
CN107809324B (en) * 2016-09-07 2022-01-25 中兴通讯股份有限公司 Vehicle-mounted automatic diagnosis system equipment and upgrading method thereof
CN106897100A (en) * 2017-02-28 2017-06-27 深圳天珑无线科技有限公司 The method and terminal of a kind of firmware upgrade
CN107562439A (en) * 2017-09-29 2018-01-09 河南职业技术学院 Computer based firmware upgrade method and device for upgrading firmware
CN113703797B (en) * 2020-05-20 2023-06-09 成都鼎桥通信技术有限公司 System upgrading method of industry safety terminal
CN112925543A (en) * 2021-02-25 2021-06-08 广东电网有限责任公司电力调度控制中心 Method and device for upgrading embedded application of password chip

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141921A (en) * 2010-02-03 2011-08-03 华为终端有限公司 Method for upgrading system of terminal equipment and terminal equipment
CN102346673A (en) * 2010-07-27 2012-02-08 比亚迪股份有限公司 Method and device for upgrading mobile phone system
CN104754043A (en) * 2015-03-16 2015-07-01 西安酷派软件科技有限公司 Terminal upgrading method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7237238B2 (en) * 2002-03-01 2007-06-26 Dell Products L.P. Method and apparatus for automated operating systems upgrade

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141921A (en) * 2010-02-03 2011-08-03 华为终端有限公司 Method for upgrading system of terminal equipment and terminal equipment
CN102346673A (en) * 2010-07-27 2012-02-08 比亚迪股份有限公司 Method and device for upgrading mobile phone system
CN104754043A (en) * 2015-03-16 2015-07-01 西安酷派软件科技有限公司 Terminal upgrading method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399153A (en) * 2019-07-25 2019-11-01 Oppo广东移动通信有限公司 Method for upgrading system, device, terminal and computer readable storage medium
CN110399153B (en) * 2019-07-25 2023-11-03 Oppo广东移动通信有限公司 System upgrading method, device, terminal and computer readable storage medium
CN111857777A (en) * 2020-07-16 2020-10-30 南方电网数字电网研究院有限公司 System updating method and device based on double-core intelligent electric meter and computer equipment
CN111857777B (en) * 2020-07-16 2024-02-27 南方电网数字电网科技(广东)有限公司 System updating method and device based on double-core intelligent ammeter and computer equipment
CN112363742A (en) * 2020-11-03 2021-02-12 北京牛电科技有限责任公司 Firmware system upgrading method, device, equipment and medium
CN112631626A (en) * 2020-12-02 2021-04-09 广东中兴新支点技术有限公司 System upgrading method and device based on dual systems and storage medium
CN112631626B (en) * 2020-12-02 2023-11-14 广东中兴新支点技术有限公司 System upgrading method and device based on double systems and storage medium
CN116800821A (en) * 2023-08-23 2023-09-22 Tcl通讯科技(成都)有限公司 System upgrading method and device, storage medium and electronic equipment
CN116800821B (en) * 2023-08-23 2023-12-15 Tcl通讯科技(成都)有限公司 System upgrading method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN104754043A (en) 2015-07-01
CN104754043B (en) 2018-07-27

Similar Documents

Publication Publication Date Title
WO2016145679A1 (en) Terminal upgrade method and device
JP6244759B2 (en) Secure boot method, semiconductor device, and secure boot program
US9807268B2 (en) Image forming apparatus having firmware update function, method of controlling the same, program for executing the method, and storage medium
EP1953666A2 (en) Method of booting electronic device and method of authenticating boot of electronic device
US10628588B2 (en) Information processing apparatus and computer readable storage medium
CN109657448B (en) Method and device for acquiring Root authority, electronic equipment and storage medium
US9959125B2 (en) Field update of boot loader using regular device firmware update procedure
JP2013149135A (en) Method for booting computer and computer
EP3153968B1 (en) Multi-system terminal system updating method, updating device and terminal
WO2018024198A1 (en) Application upgrade method and system for set-top box, and set-top box
WO2017219861A1 (en) Method and device for controlling system start-up mode
US11671379B1 (en) System and method for subscription management using dynamically composed management entities
CN111522569A (en) Hypervisor-based embedded multi-system upgrading method and computer-readable storage medium
US20230221784A1 (en) System and method for power state enforced subscription management
US11681809B2 (en) Information processing apparatus, control method, and storage medium
CN111353150B (en) Trusted boot method, trusted boot device, electronic equipment and readable storage medium
WO2024041283A1 (en) Client upgrading method and apparatus, terminal device, and storage medium
CN107615293A (en) Platform management method and equipment including expired detection
WO2021012170A1 (en) Firmware booting method and device, and computer-readable storage medium
US11921599B2 (en) Control method and electronic device
CN110895609B (en) Information processing apparatus, control method therefor, and storage medium
JP2014179039A (en) Information process device, information process method and program
CN110909344B (en) Control method and device
WO2021135995A1 (en) Method and apparatus for processing virtual machine component
JP7440350B2 (en) Electronic control device, control method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15885062

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13/02/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 15885062

Country of ref document: EP

Kind code of ref document: A1