CN104754043A - Terminal upgrading method and device - Google Patents
Terminal upgrading method and device Download PDFInfo
- Publication number
- CN104754043A CN104754043A CN201510114265.9A CN201510114265A CN104754043A CN 104754043 A CN104754043 A CN 104754043A CN 201510114265 A CN201510114265 A CN 201510114265A CN 104754043 A CN104754043 A CN 104754043A
- Authority
- CN
- China
- Prior art keywords
- image file
- goal systems
- independently
- upgrade
- upgrading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000001143 conditioned effect Effects 0.000 claims description 47
- 230000009897 systematic effect Effects 0.000 claims description 20
- 238000011084 recovery Methods 0.000 description 14
- 230000002452 interceptive effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 238000005194 fractionation Methods 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 239000000203 mixture Substances 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 238000000151 deposition Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000010008 shearing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a terminal upgrading method and device. The method includes determining a target system requiring upgrading and a target upgrading package corresponding to the target system in at least two systems under the condition that the terminal is in the normal operation state and a user triggers system upgrading; restarting the terminal to enter a system upgrading mode of the target system; upgrading an independent starting mirror image document, an independent system upgrading mirror image document and an independent system mirror image document in the target system according to the target upgrading package. By means of the method and device, a whole upgrading package of the original system is disassembled to enable each system to have an independent upgrading package, the systems are independent of each other and can be upgraded singly during system upgrading without upgrading of all packages. Safety system upgrading of a common system is controlled, and the system safety is improved.
Description
Technical field
The application relates to technical field of automation, particularly relates to a kind of terminal staging method and device.
Background technology
At present, terminal, or be communication terminal, refer to the computer equipment that can use in communication, in general terminal, multiple system can be comprised, such as: conventional system, safety system and online trusted system.
System more than one in the terminal of depositing, the level of security of each system is different under normal circumstances, such as: a multisystem terminal comprises conventional system OS1, and (OS is Operating System, operating system), online trusted system OS2 and safety system OS3, OS3>OS2 > OS1 on level of security.
Prior art is for being arranged in an AKU by systematic for institute updated contents, when performing upgrading, all systems are upgraded simultaneously, but terminal only has a system upgrade pattern (hereinafter referred to as recovery pattern), and recovery pattern is controlled by conventional system OS1, so the situation that conventional system OS1 controls online trusted system OS2 and safety system OS3 can be produced.
For online trusted system and safety system, there is very large security risk.
Summary of the invention
This application provides a kind of terminal staging method and device, the AKU of each system is separately upgraded, the object reducing safety system upgrading risk can be reached.
To achieve these goals, the invention provides following technological means:
A kind of terminal staging method, comprising:
When terminal is in normal operating condition and user's triggering system is upgraded, at least two systems, determine the current goal systems needing upgrading, and, the targeted update bag corresponding with described goal systems; Wherein, described targeted update handbag draws together the startup image file corresponding with described goal systems, system upgrade image file and system image file;
Restart described terminal, enter in the system upgrade pattern of described goal systems;
By described targeted update bag in described system upgrade pattern, respectively to independently starting image file, independently system upgrade image file and independently system image document upgrading in described goal systems; Wherein, described goal systems comprises self AKU independent of other system, independently starts image file, described independently system upgrade image file and described independently system image file in self AKU described described in comprising.
Preferably, described enter in the system upgrade pattern of described goal systems before also comprise judge whether to meet pre-conditioned, described in judge whether that meeting pre-conditioned process comprises:
Judge whether described goal systems is conventional system;
If so, then judgement meets pre-conditioned;
If not, then receive the subscriber identity information of described terminal, and verify that whether described subscriber identity information is correct;
When described subscriber identity information is correct, judgement meets pre-conditioned;
When in the incorrect situation of described subscriber identity information, judgement does not meet pre-conditioned.
Preferably, whether the described subscriber identity information of described checking is correct, comprising:
In the authentication module of described goal systems, verify that whether described subscriber identity information is correct; Or
In the authentication module of highest level safety system, verify that whether described subscriber identity information is correct.
Preferably, also comprise:
Updating operation is performed to other system to be upgraded;
Startup image file after described goal systems is upgraded, the startup image file after described system upgrade to be upgraded, and the startup image file of all non-upgrade-systems combines, forms systematic overall startup image file;
Described overall startup image file is stored in described conventional system.
A kind of terminal staging method, comprising:
When terminal be in off-mode and user's triggering system upgrading when, in the system upgrade pattern of at least two systems, determine the system upgrade pattern corresponding with the current goal systems needing to upgrade, and, the targeted update bag corresponding with described goal systems; Wherein, described targeted update bag comprises the startup image file corresponding with described goal systems, system upgrade image file and system image file;
In the system upgrade pattern that described goal systems is corresponding, by described targeted update bag respectively to the independently startup image file of described goal systems, independently system upgrade image file and independently system image document upgrading; Wherein, described goal systems comprises self AKU independent of other system, independently starts image file, described independently system upgrade image file and described independently system image file in self AKU described described in comprising.
Preferably, in the described system upgrade pattern corresponding in described goal systems, by described targeted update bag respectively to the independently startup image file of described goal systems, independently system upgrade image file and independently system image document upgrading be specially: judge whether to meet pre-conditioned, meeting in pre-conditioned situation, perform in the system upgrade pattern that described goal systems is corresponding, by described targeted update bag respectively to the independently startup image file of described goal systems, the independently step of system upgrade image file and independently system image document upgrading,
Described judging whether meets pre-conditioned comprising:
Judge whether described goal systems is conventional system;
If so, then judgement meets pre-conditioned;
If not, then receive the subscriber identity information of described terminal, and verify that whether described subscriber identity information is correct;
When described subscriber identity information is correct, judgement meets pre-conditioned;
When in the incorrect situation of described subscriber identity information, judgement does not meet pre-conditioned.
Preferably, whether the described subscriber identity information of described checking is correct, comprising:
In the authentication module of highest level safety system, verify that whether described subscriber identity information is correct.
Preferably, also comprise:
Updating operation is performed to other system to be upgraded;
Startup image file after described goal systems is upgraded, the startup image file after described system upgrade to be upgraded, and the startup image file of all non-upgrade-systems combines, forms systematic overall startup image file;
Described overall startup image file is stored in described conventional system.
A kind of terminal staging device, comprising:
First determining unit, for be in normal operating condition in terminal and user's triggering system upgrading, determine at least two systems current need upgrading goal systems, and, the targeted update bag corresponding with described goal systems; Wherein, described targeted update handbag draws together the startup image file corresponding with described goal systems, system upgrade image file and system image file;
Restarting unit, for restarting described terminal, entering in the system upgrade pattern of described goal systems;
First upgrade unit, by described targeted update bag in described system upgrade pattern, respectively to independently starting image file, independently system upgrade image file and independently system image document upgrading in described goal systems; Wherein, described goal systems comprises self AKU independent of other system, independently starts image file, described independently system upgrade image file and described independently system image file in self AKU described described in comprising.
Preferably, also comprise and meet the first pre-conditioned judging unit for judging whether;
Described first judging unit, specifically for judging whether described goal systems is conventional system; If so, then judgement meets pre-conditioned; If not, then receive the subscriber identity information of described terminal, and verify that whether described subscriber identity information is correct; When described subscriber identity information is correct, judgement meets pre-conditioned; When in the incorrect situation of described subscriber identity information, judgement does not meet pre-conditioned.
Preferably, also comprise:
First assembled unit, for after performing updating operation to other system to be upgraded, startup image file after described goal systems is upgraded, the startup image file after described system upgrade to be upgraded, and the startup image file of all non-upgrade-systems combines, forms systematic overall startup image file;
First memory cell, for being stored in described overall startup image file in described conventional system.
A kind of terminal staging device, comprising:
Second determining unit, for when terminal be in off-mode and user's triggering system upgrading when, in the system upgrade pattern of at least two systems, determine the system upgrade pattern corresponding with the current goal systems needing to upgrade, with, the targeted update bag corresponding with described goal systems; Wherein, described targeted update bag comprises the startup image file corresponding with described goal systems, system upgrade image file and system image file;
Second upgrade unit, in the system upgrade pattern that described goal systems is corresponding, by described targeted update bag respectively to the independently startup image file of described goal systems, independently system upgrade image file and independently system image document upgrading; Wherein, described goal systems comprises self AKU independent of other system, independently starts image file, described independently system upgrade image file and described independently system image file in self AKU described described in comprising.
Compared with existing, the application has following technological means:
This application provides a kind of terminal staging method and device, original systematic overall AKU splits by the application, each system is made all to have self independently AKU, have in AKU and self independently start image file, independently system upgrade image file and independently system image file, just separate between each system like this, so each system and without the need to the upgrading of all systems whole bag of just can upgrading separately when system upgrade.Therefore the application can reach the separately upgrading of each system, separately independent, mutually non-interfering object, solves the problem that conventional system controls safety system upgrading, improves the fail safe of safety system.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The flow chart of Fig. 1 a kind of upgrade method of terminal disclosed in the embodiment of the present application;
Fig. 2 is the flow chart of the upgrade method of the embodiment of the present application another terminal disclosed;
Fig. 3 is the flow chart of the upgrade method of the embodiment of the present application another terminal disclosed;
Fig. 4 is the flow chart of the upgrade method of the embodiment of the present application another terminal disclosed;
The structural representation of Fig. 5 a kind of update device of terminal disclosed in the embodiment of the present application;
Fig. 6 is the structural representation of the update device of the embodiment of the present application another terminal disclosed;
Fig. 7 is the structural representation of the update device of the embodiment of the present application another terminal disclosed;
Fig. 8 is the structural representation of the update device of the embodiment of the present application another terminal disclosed.
Embodiment
Present inventor finds in research process: be mainly operating system update and upgrade to the system image file system.img in operating system, system upgrade image file recovery.img, startup image file boot.img tri-subregions.
Under the non-upgrade status of operating system, each system requires when starting to start simultaneously, so be responsible for boot.img that all systems starts integrally for conventional system, startup stage conventional system use entirety boot.img start all systems.
System upgrade image file recovery.img depends on and starts image file boot.img, therefore the systematic system upgrade image file recovery.img of institute is also integrally for conventional system, so systematic updated contents must combine when performing upgrading, by conventional system, all systems are upgraded simultaneously.
But the operating right of conventional system is too low, controls safety system by conventional system and upgrade, the risk of safety system can be reduced.The startup image file boot.img run in conventional system and system upgrade image file recovery.img can be transferred to safety system in theory to run.Which can not produce the problem that conventional system controls safety system, but the working procedure of safety system can be increased like this, reduce the speed of service of safety system, increase the design difficulty of safety system, and this design is not inconsistent with conventional Terminal Design, cannot be applicable in existing terminal even if design yet.
Therefore needing a kind of terminal staging mode to solve now can the problems referred to above.
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
At present, terminal, or be communication terminal, refers to the computer equipment that can use in communication, and the saying of broad sense comprises personal computer, mobile phone, notebook, panel computer, POS even comprise the equipment such as vehicle-mounted computer.
At present, needing the system file of often upgrading for being combined in an overall AKU in all systems, sharing for all systems.Split by the overall AKU that all systems share before the application performs, after splitting, each system all has independently self AKU.And comprise in self AKU of each system and independently start image file, independently system upgrade image file and independently system image file.Then by each system self independently AKU, corresponding stored, to each internal system, uses for during system upgrade.
Below to the split process of the overall AKU that all systems share, describe in detail:
The first step: the startup image file generating each system.
The basic reason that each system cannot be upgraded separately is: systematic startup image file boot.img combine.So the startup image file boot.img of entirety is split.
In overall startup image file boot.img, some data belongs to all systems and shares, and this part data is just copied into many parts when fractionation, and each system all has portion, is stored to respectively in the startup image file of each system.
In overall startup image file boot.img, some data is that certain system uses alone, by this part data direct shearing in the startup image file of corresponding system, until complete the fractionation of overall boot.img.
After the fractionation completing overall boot.img, each system just has and self independently starts image file.Comprise conventional system OS1 with terminal, online trusted system OS2 and safety system OS3 is example, the startup image file of three systems, respectively called after system_OS1.img, system_OS2.img and system_OS3.img.
Second step: the system upgrade image file recovery.img generating each system.
Because the recovery.img used of each system is consistent, so the recovery.img of conventional system is copied to each system, each system is made to have self independently system upgrade image file.Comprise conventional system OS1 with terminal, online trusted system OS2 and safety system OS3 is example, the startup image file of three systems, respectively called after recovery_OS1.img, recovery_OS2.img and recovery_OS3.img.
3rd step: the system image file generating each system.
The system image file system.img of each system is separated originally, and therefore the system.img of each system still keeps independent.
Comprise conventional system OS1 with terminal, online trusted system OS2 and safety system OS3 is example, image file called after system_OS1.img, system_OS2.img and system_OS3.img respectively of three systems.
Startup image file boot_OSX.img, the system upgrade image file recovery_OSX.img of each system self and system image file system_OSX.img, can form self AKU of this system.
After splitting overall AKU, each system all has self independently AKU, separate between each system upgrade bag, do not interfere with each other.When system upgrade, without dependence between each system, each system can separately be upgraded.
When each system upgraded by needs, determine by technical staff the content needing upgrading, and each system is needed the content of upgrading, generate self AKU of each system.The startup image file required for this system upgrade, system upgrade image file and system image file is comprised in self AKU of each system.The overall AKU of systematic self AKU composition, be stored in server end or terminal inner.
Introduce the terminal staging method that the application provides below, this method is mainly used in the controller of terminal.In order to illustrate one by one the upgrading mode under the various state of terminal, the application provides two kinds of terminal staging modes, and the first is applicable to terminal and is in normal operating condition use, and the second is applicable to terminal and is in off-mode use.
Introduce in detail one by one for two kinds of upgrading modes below, first introduce the first upgrading mode:
As shown in Figure 1, present embodiments provide a kind of upgrade method of terminal, comprising:
Step S101: when terminal is in normal operating condition and user's triggering system is upgraded, determines the current goal systems needing upgrading at least two systems, and, the targeted update bag corresponding with described goal systems; Wherein, described targeted update handbag draws together the startup image file corresponding with described goal systems, system upgrade image file and system image file.
Terminal comprises at least two systems, at least comprises conventional system OS1, and online trusted system OS2 and/or safety system OS3, certainly can also comprise other system, not repeat them here.When user confirms to carry out system upgrade in a system, just using this system as goal systems.Goal systems obtains overall AKU at server end or terminal inner, and in overall AKU, search self AKU corresponding with goal systems, as targeted update bag, or goal systems directly obtains self AKU corresponding with goal systems, as targeted update bag at server end or terminal inner.
Introduce the detailed process that user triggers upgrading below: each system is all in normal operating conditions when terminal is in normal operating condition, each system all has setting options (hereinafter referred to as Setting), and the setting options composition of multiple system arranges group (hereinafter referred to as Settings).When user selects upgrade option in the Setting of some systems, be that this system is upgraded, determine that current system of carrying out operating is goal systems to be upgraded.
The mode of user's triggering terminal upgrading in different terminals may be slightly different, and this is no longer going to repeat them.It should be noted that: in prior art, all user's triggering terminal enter the mode of upgrading, are all included in the protection range of the application.
Step S102: restart described terminal, enters in the system upgrade pattern of described goal systems;
Could perform upgrading to needing to restart terminal during system upgrade, so need terminal to restart after user triggers upgrading, be goal systems due to what need to carry out upgrading, so enter after restarting in the system upgrade pattern of goal systems.
Step S103: by described targeted update bag in described system upgrade pattern, respectively to independently starting image file, independently system upgrade image file and independently system image document upgrading in described goal systems; Wherein, described goal systems comprises self AKU independent of other system, independently starts image file, described independently system upgrade image file and described independently system image file in self AKU described described in comprising.
Owing to comprising the updated contents of the current needs of goal systems in targeted update bag, so under the support of system upgrade pattern, the escalation process of performance objective system.Concrete escalation process is: by the startup image file in targeted update bag, upgrades the startup image file in goal systems self AKU; By the system upgrade image file in targeted update bag, upgrade the system upgrade image file in goal systems self AKU; By the system image file in targeted update bag, upgrade the system image file in goal systems self AKU.
In order to ensure that goal systems upgrades successfully, after a updating operation completes, judge whether goal systems upgrades successfully; After goal systems upgrades successfully, then can continue other system upgrading as stated above, when targeted update is unsuccessful, then can continue goal systems upgrading, until goal systems upgrades successfully.
This application provides a kind of upgrade method of terminal, original systematic overall AKU splits by the application, each system is made all to have self independently AKU, have in AKU and self independently start image file, independently system upgrade image file and independently system image file, just separate between each system like this, so each system and without the need to the upgrading of all systems whole bag of just can upgrading separately when system upgrade.Therefore the application can reach the separately upgrading of each system, separately independent, mutually non-interfering object, solves the problem that conventional system controls safety system upgrading, improves the fail safe of safety system.
In the step S102 of Fig. 1, described enter in the system upgrade pattern of described goal systems before also comprise and judge whether to meet pre-conditioned step.As shown in Figure 2, judge whether described in that meeting pre-conditioned process comprises:
Step S201: judge whether described goal systems is conventional system; If so, then enter step S202, otherwise enter step S203.
Described at least two systems comprise online trusted system and/or safety system and conventional system.Be understandable that, carry out authentication in this application also can realize conventional system OS1, the level of security just as conventional system OS1 is lower, so can not carry out authentication.So when goal systems is conventional system, do not carry out subscriber authentication.When goal systems non-generic system, carry out subscriber authentication.
In all systems of terminal, the fail safe of conventional system is minimum, and the fail safe of all the other systems is higher, in order to improve the fail safe of all the other systems beyond conventional system, also needs to verify user identity before execution upgrading.
Step S202: judgement meets pre-conditioned.
Step S203: the subscriber identity information receiving described terminal, and verify that whether described subscriber identity information is correct; If so, then enter step S202, otherwise enter step S204.
When goal systems is Internet Security system OS2 or safety system OS3, controller can send authentication information to targeted customer, after user obtains authentication information, to controller input authentication information, and by controller, the authentication information that user inputs is verified.
Concrete, whether controller verification subscriber identity information correctly comprises two kinds of modes:
The first: in the authentication module of described goal systems, verify that whether described subscriber identity information is correct;
Online trusted system OS2 and safety system OS3 all has self authentication module, so controller is after reception subscriber identity information, directly verifies in online trusted system OS2 or safety system OS3, verifies that errorless then expression subscriber identity information is correct.If when controller verification subscriber identity information is correct, then judges that active user meets pre-conditioned as validated user judgement, follow-up upgrading can be performed.
The second: verify that in the authentication module of highest level safety system whether described subscriber identity information is correct.
In controller except having conventional system OS1, online trusted system OS2 and safety system OS3, also has highest level safety system Secure OS, also have authentication module in highest level safety system Secure OS, controller also can adopt this authentication module to verify.
No matter adopt the authentication module of goal systems, or the authentication module in highest level safety system all can realize this checking object.Be understandable that, if be provided with authentication module in conventional system OS1, conventional system OS1 identifying user identity information can also be adopted.
Step S204: judgement does not meet pre-conditioned;
If when controller verification subscriber identity information is incorrect, then judge that active user is as disabled user, judgement does not meet pre-conditioned, and refusal performs follow-up upgrading.
After goal systems has been upgraded, as shown in Figure 3, the method that the application provides also comprises following operating procedure:
Step S301: updating operation is performed to other system to be upgraded;
After goal systems upgrading, if also have other system to need upgrading, then can perform upgrading by upgrading mode as shown in Figure 1, or perform upgrading by other means.
Step S302: the startup image file after described goal systems being upgraded, the startup image file after described system upgrade to be upgraded, and the startup image file combination of all non-upgrade-systems, form systematic overall startup image file;
Step S303: described overall startup image file is stored in described conventional system.
When upgrade mode because each system needs separately upgrading, so the startup image file of each system is separately independently.In non-upgrade mode, each system needs to start simultaneously, in order to ensure that each system starts simultaneously, needing the startup image file by being responsible for the startup of each system, merging into overall startup image file.Then normal operating system the startup image file of entirety is stored in normal operating system, so that according to the startup image file of entirety, can start to all systems in the lump.
Above-mentioned the first terminal staging mode provided for the application, introduce the second terminal staging mode below:
As shown in Figure 4, this application provides a kind of upgrade method of terminal, comprising:
Step S401: when terminal be in off-mode and user's triggering system upgrading when, in the system upgrade pattern of at least two systems, determine the system upgrade pattern corresponding with the current goal systems needing to upgrade, and, the targeted update bag corresponding with described goal systems; Wherein, described targeted update bag comprises the startup image file corresponding with described goal systems, system upgrade image file and system image file.
First kind of way is the mode of the upgrading of terminal when being in normal operating condition, and introduce the mode of upgrading when terminal is in shutdown in the second way in detail, when terminal is in off-mode, user need adopt the mode of Macintosh to trigger upgrading.The mode of Macintosh can be: press key in power key and volume simultaneously and trigger upgrading, or under pressing power key and volume, key triggers upgrading simultaneously.
Different terminals is under terminal power-off state, and the mode triggering upgrading is slightly different, it should be noted that: no matter adopt the mode of which kind of triggering terminal upgrading, all in the protection range of the application.
Because terminal is in off-mode, each system does not all start, so can not the system that directly enters upgrade in Setting, so now need user to select the goal systems upgrade mode of a needs upgrading, i.e. target recovery pattern.Due to the corresponding system of a recovery pattern, so using system corresponding for target recovery pattern as goal systems, and obtain targeted update bag in server section or terminal.
Step S402: in the system upgrade pattern that described goal systems is corresponding, by described targeted update bag respectively to the independently startup image file of described goal systems, independently system upgrade image file and independently system image document upgrading; Wherein, described goal systems comprises self AKU independent of other system, independently starts image file, described independently system upgrade image file and described independently system image file in self AKU described described in comprising.
Controller is in the target recovery pattern of goal systems, and according to target the content of AKU is upgraded to self AKU in goal systems, and its content shown in concrete executive mode Fig. 1 is consistent, does not repeat them here.
In Fig. 4, step S402 when specific implementation is:
Judge whether to meet pre-conditioned, meeting in pre-conditioned situation, perform in the system upgrade pattern that described goal systems is corresponding, by described targeted update bag respectively to the step independently starting image file, independently system upgrade image file and independently system image document upgrading of described goal systems.
Wherein, the present embodiment judges whether to meet pre-conditioned concrete implementation, consistent with the most contents shown in Fig. 2.The difference of the present embodiment and Fig. 2 embodiment is only: only have a kind of mode when whether the present embodiment identifying user identity information is correct: in the authentication module of highest level safety system, verify that whether described subscriber identity information is correct.Because goal systems does not also start in the present embodiment, goal systems identifying user identity information can not be adopted whether correct, highest level safety system can start with target recovery pattern simultaneously, start-up time comparatively goal systems early, so adopt the authentication module of highest level safety system to verify.
After system upgrade completes, the present embodiment also comprises: perform updating operation to other system to be upgraded; Startup image file after described goal systems is upgraded, the startup image file after described system upgrade to be upgraded, and the startup image file of all non-upgrade-systems combines, forms systematic overall startup image file; Described overall startup image file is stored in described conventional system.Concrete implementation is consistent with the content shown in Fig. 3, does not repeat them here.
This application provides a kind of upgrade method of terminal, original systematic overall AKU splits by the application, each system is made all to have self independently AKU, have in AKU and self independently start image file, independently system upgrade image file and independently system image file, just separate between each system like this, so each system and without the need to the upgrading of all systems whole bag of just can upgrading separately when system upgrade.Therefore the application can reach the separately upgrading of each system, separately independent, mutually non-interfering object, solves the problem that conventional system controls safety system upgrading, improves the fail safe of safety system.
As shown in Figure 5, this application provides a kind of terminal staging device, comprising:
First determining unit 51, for be in normal operating condition in terminal and user's triggering system upgrading, determine at least two systems current need upgrading goal systems, and, the targeted update bag corresponding with described goal systems; Wherein, described targeted update handbag draws together the startup image file corresponding with described goal systems, system upgrade image file and system image file;
Restarting unit 52, for restarting described terminal, entering in the system upgrade pattern of described goal systems;
First upgrade unit 53, by described targeted update bag in described system upgrade pattern, respectively to independently starting image file, independently system upgrade image file and independently system image document upgrading in described goal systems; Wherein, described goal systems comprises self AKU independent of other system, independently starts image file, described independently system upgrade image file and described independently system image file in self AKU described described in comprising.
This application provides a kind of terminal staging device, as shown in Figure 6, also comprise: meeting the first pre-conditioned judging unit 54 for judging whether;
Described first judging unit, specifically for judging whether described goal systems is conventional system; If so, then judgement meets pre-conditioned; If not, then receive the subscriber identity information of described terminal, and verify that whether described subscriber identity information is correct; When described subscriber identity information is correct, judgement meets pre-conditioned; When in the incorrect situation of described subscriber identity information, judgement does not meet pre-conditioned.
Wherein the first judging unit 54 is when verifying that whether described subscriber identity information is correct, is specially in the authentication module being connected on described goal systems and verifies that whether described subscriber identity information is correct; Or in the authentication module of highest level safety system, verify that whether described subscriber identity information is correct.
First assembled unit 55, for after performing updating operation to other system to be upgraded, startup image file after described goal systems is upgraded, the startup image file after described system upgrade to be upgraded, and the startup image file of all non-upgrade-systems combines, forms systematic overall startup image file;
First memory cell 56, for being stored in described overall startup image file in described conventional system.
This application provides a kind of update device of terminal, original systematic overall AKU splits by the application, each system is made all to have self independently AKU, have in AKU and self independently start image file, independently system upgrade image file and independently system image file, just separate between each system like this, so each system and without the need to the upgrading of all systems whole bag of just can upgrading separately when system upgrade.Therefore the application can reach the separately upgrading of each system, separately independent, mutually non-interfering object, solves the problem that conventional system controls safety system upgrading, improves the fail safe of safety system.
As shown in Figure 7, present invention also provides a kind of update device of terminal, comprising:
Second determining unit 71, for when terminal be in off-mode and user's triggering system upgrading when, in the system upgrade pattern of at least two systems, determine the system upgrade pattern corresponding with the current goal systems needing to upgrade, with, the targeted update bag corresponding with described goal systems; Wherein, described targeted update bag comprises the startup image file corresponding with described goal systems, system upgrade image file and system image file;
Second upgrade unit 72, in the system upgrade pattern that described goal systems is corresponding, by described targeted update bag respectively to the independently startup image file of described goal systems, independently system upgrade image file and independently system image document upgrading; Wherein, described goal systems comprises self AKU independent of other system, independently starts image file, described independently system upgrade image file and described independently system image file in self AKU described described in comprising.
This application provides a kind of terminal staging device, as shown in Figure 8, also comprise: meeting the second pre-conditioned judging unit 73 for judging whether;
Described second judging unit 73, specifically for judging whether described goal systems is conventional system; If so, then judgement meets pre-conditioned; If not, then receive the subscriber identity information of described terminal, and verify that whether described subscriber identity information is correct; When described subscriber identity information is correct, judgement meets pre-conditioned; When in the incorrect situation of described subscriber identity information, judgement does not meet pre-conditioned.
Wherein the second judging unit 73 is when verifying that whether described subscriber identity information is correct, is specially: in the authentication module of highest level safety system, verify that whether described subscriber identity information is correct.
Second assembled unit 74, for after performing updating operation to other system to be upgraded, startup image file after described goal systems is upgraded, the startup image file after described system upgrade to be upgraded, and the startup image file of all non-upgrade-systems combines, forms systematic overall startup image file;
Second memory cell 75, for being stored in described overall startup image file in described conventional system.
This application provides a kind of update device of terminal, original systematic overall AKU splits by the application, each system is made all to have self independently AKU, have in AKU and self independently start image file, independently system upgrade image file and independently system image file, just separate between each system like this, so each system and without the need to the upgrading of all systems whole bag of just can upgrading separately when system upgrade.Therefore the application can reach the separately upgrading of each system, separately independent, mutually non-interfering object, solves the problem that conventional system controls safety system upgrading, improves the fail safe of safety system.
If the function described in the present embodiment method using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computing equipment read/write memory medium.Based on such understanding, the part of the part that the embodiment of the present application contributes to prior art or this technical scheme can embody with the form of software product, this software product is stored in a storage medium, comprising some instructions in order to make a computing equipment (can be personal computer, server, computing equipment or the network equipment etc.) perform all or part of step of method described in each embodiment of the application.And aforesaid storage medium comprises: USB flash disk, hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, between each embodiment same or similar part mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the application.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein when not departing from the spirit or scope of the application, can realize in other embodiments.Therefore, the application can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (12)
1. a terminal staging method, is characterized in that, comprising:
When terminal is in normal operating condition and user's triggering system is upgraded, at least two systems, determine the current goal systems needing upgrading, and, the targeted update bag corresponding with described goal systems; Wherein, described targeted update handbag draws together the startup image file corresponding with described goal systems, system upgrade image file and system image file;
Restart described terminal, enter in the system upgrade pattern of described goal systems;
By described targeted update bag in described system upgrade pattern, respectively to independently starting image file, independently system upgrade image file and independently system image document upgrading in described goal systems; Wherein, described goal systems comprises self AKU independent of other system, independently starts image file, described independently system upgrade image file and described independently system image file in self AKU described described in comprising.
2. the method for claim 1, is characterized in that, described enter in the system upgrade pattern of described goal systems before also comprise judge whether to meet pre-conditioned, described in judge whether that meeting pre-conditioned process comprises:
Judge whether described goal systems is conventional system;
If so, then judgement meets pre-conditioned;
If not, then receive the subscriber identity information of described terminal, and verify that whether described subscriber identity information is correct;
When described subscriber identity information is correct, judgement meets pre-conditioned;
When in the incorrect situation of described subscriber identity information, judgement does not meet pre-conditioned.
3. method as claimed in claim 2, is characterized in that, whether the described subscriber identity information of described checking is correct, comprising:
In the authentication module of described goal systems, verify that whether described subscriber identity information is correct; Or
In the authentication module of highest level safety system, verify that whether described subscriber identity information is correct.
4. method as claimed in claim 2 or claim 3, is characterized in that, also comprise:
Updating operation is performed to other system to be upgraded;
Startup image file after described goal systems is upgraded, the startup image file after described system upgrade to be upgraded, and the startup image file of all non-upgrade-systems combines, forms systematic overall startup image file;
Described overall startup image file is stored in described conventional system.
5. a terminal staging method, is characterized in that, comprising:
When terminal be in off-mode and user's triggering system upgrading when, in the system upgrade pattern of at least two systems, determine the system upgrade pattern corresponding with the current goal systems needing to upgrade, and, the targeted update bag corresponding with described goal systems; Wherein, described targeted update bag comprises the startup image file corresponding with described goal systems, system upgrade image file and system image file;
In the system upgrade pattern that described goal systems is corresponding, by described targeted update bag respectively to the independently startup image file of described goal systems, independently system upgrade image file and independently system image document upgrading; Wherein, described goal systems comprises self AKU independent of other system, independently starts image file, described independently system upgrade image file and described independently system image file in self AKU described described in comprising.
6. method as claimed in claim 5, it is characterized in that, in the described system upgrade pattern corresponding in described goal systems, by described targeted update bag respectively to the independently startup image file of described goal systems, independently system upgrade image file and independently system image document upgrading be specially: judge whether to meet pre-conditioned, meeting in pre-conditioned situation, perform in the system upgrade pattern that described goal systems is corresponding, by described targeted update bag respectively to the independently startup image file of described goal systems, the independently step of system upgrade image file and independently system image document upgrading,
Described judging whether meets pre-conditioned comprising:
Judge whether described goal systems is conventional system;
If so, then judgement meets pre-conditioned;
If not, then receive the subscriber identity information of described terminal, and verify that whether described subscriber identity information is correct;
When described subscriber identity information is correct, judgement meets pre-conditioned;
When in the incorrect situation of described subscriber identity information, judgement does not meet pre-conditioned.
7. method as claimed in claim 6, is characterized in that, whether the described subscriber identity information of described checking is correct, comprising:
In the authentication module of highest level safety system, verify that whether described subscriber identity information is correct.
8. method as claimed in claims 6 or 7, is characterized in that, also comprise:
Updating operation is performed to other system to be upgraded;
Startup image file after described goal systems is upgraded, the startup image file after described system upgrade to be upgraded, and the startup image file of all non-upgrade-systems combines, forms systematic overall startup image file;
Described overall startup image file is stored in described conventional system.
9. a terminal staging device, is characterized in that, comprising:
First determining unit, for be in normal operating condition in terminal and user's triggering system upgrading, determine at least two systems current need upgrading goal systems, and, the targeted update bag corresponding with described goal systems; Wherein, described targeted update handbag draws together the startup image file corresponding with described goal systems, system upgrade image file and system image file;
Restarting unit, for restarting described terminal, entering in the system upgrade pattern of described goal systems;
First upgrade unit, by described targeted update bag in described system upgrade pattern, respectively to independently starting image file, independently system upgrade image file and independently system image document upgrading in described goal systems; Wherein, described goal systems comprises self AKU independent of other system, independently starts image file, described independently system upgrade image file and described independently system image file in self AKU described described in comprising.
10. device as claimed in claim 9, is characterized in that, also comprise and meet the first pre-conditioned judging unit for judging whether;
Described first judging unit, specifically for judging whether described goal systems is conventional system; If so, then judgement meets pre-conditioned; If not, then receive the subscriber identity information of described terminal, and verify that whether described subscriber identity information is correct; When described subscriber identity information is correct, judgement meets pre-conditioned; When in the incorrect situation of described subscriber identity information, judgement does not meet pre-conditioned.
11. devices as claimed in claim 10, is characterized in that, also comprise:
First assembled unit, for after performing updating operation to other system to be upgraded, startup image file after described goal systems is upgraded, the startup image file after described system upgrade to be upgraded, and the startup image file of all non-upgrade-systems combines, forms systematic overall startup image file;
First memory cell, for being stored in described overall startup image file in described conventional system.
12. 1 kinds of terminal staging devices, is characterized in that, comprising:
Second determining unit, for when terminal be in off-mode and user's triggering system upgrading when, in the system upgrade pattern of at least two systems, determine the system upgrade pattern corresponding with the current goal systems needing to upgrade, with, the targeted update bag corresponding with described goal systems; Wherein, described targeted update bag comprises the startup image file corresponding with described goal systems, system upgrade image file and system image file;
Second upgrade unit, in the system upgrade pattern that described goal systems is corresponding, by described targeted update bag respectively to the independently startup image file of described goal systems, independently system upgrade image file and independently system image document upgrading; Wherein, described goal systems comprises self AKU independent of other system, independently starts image file, described independently system upgrade image file and described independently system image file in self AKU described described in comprising.
Priority Applications (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 |
PCT/CN2015/075591 WO2016145679A1 (en) | 2015-03-16 | 2015-03-31 | Terminal upgrade method and device |
Applications Claiming Priority (1)
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 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104754043A true CN104754043A (en) | 2015-07-01 |
CN104754043B CN104754043B (en) | 2018-07-27 |
Family
ID=53593130
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510114265.9A Active CN104754043B (en) | 2015-03-16 | 2015-03-16 | A kind of terminal staging method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104754043B (en) |
WO (1) | WO2016145679A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016145679A1 (en) * | 2015-03-16 | 2016-09-22 | 宇龙计算机通信科技(深圳)有限公司 | Terminal upgrade method and device |
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 |
WO2018045700A1 (en) * | 2016-09-07 | 2018-03-15 | 中兴通讯股份有限公司 | On-board automatic diagnosis system device and upgrading method therefor |
CN112925543A (en) * | 2021-02-25 | 2021-06-08 | 广东电网有限责任公司电力调度控制中心 | Method and device for upgrading embedded application of password chip |
CN113703797A (en) * | 2020-05-20 | 2021-11-26 | 成都鼎桥通信技术有限公司 | System upgrading method for industry safety terminal |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110399153B (en) * | 2019-07-25 | 2023-11-03 | Oppo广东移动通信有限公司 | System upgrading method, device, terminal and computer readable storage medium |
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 |
CN112631626B (en) * | 2020-12-02 | 2023-11-14 | 广东中兴新支点技术有限公司 | System upgrading method and device based on double systems and storage medium |
CN116800821B (en) * | 2023-08-23 | 2023-12-15 | Tcl通讯科技(成都)有限公司 | System upgrading method and device, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030167354A1 (en) * | 2002-03-01 | 2003-09-04 | Dell Products L.P. | Method and apparatus for automated operating systems upgrade |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104754043B (en) * | 2015-03-16 | 2018-07-27 | 西安酷派软件科技有限公司 | A kind of terminal staging method and device |
-
2015
- 2015-03-16 CN CN201510114265.9A patent/CN104754043B/en active Active
- 2015-03-31 WO PCT/CN2015/075591 patent/WO2016145679A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030167354A1 (en) * | 2002-03-01 | 2003-09-04 | Dell Products L.P. | Method and apparatus for automated operating systems upgrade |
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 |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016145679A1 (en) * | 2015-03-16 | 2016-09-22 | 宇龙计算机通信科技(深圳)有限公司 | Terminal upgrade method and device |
WO2018045700A1 (en) * | 2016-09-07 | 2018-03-15 | 中兴通讯股份有限公司 | On-board automatic diagnosis system device and upgrading method therefor |
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 |
CN113703797A (en) * | 2020-05-20 | 2021-11-26 | 成都鼎桥通信技术有限公司 | System upgrading method for industry safety terminal |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104754043B (en) | 2018-07-27 |
WO2016145679A1 (en) | 2016-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104754043A (en) | Terminal upgrading method and device | |
EP2962241B1 (en) | Continuation of trust for platform boot firmware | |
JP6319609B2 (en) | Reliable kernel booting method and apparatus | |
US8972966B2 (en) | Updating firmware in a hybrid computing environment | |
CN105573780B (en) | A kind of mobile terminal operating system upgrade method and device based on container | |
EP2746982B1 (en) | Method and apparatus for supporting dynamic change of authentication means for secure booting | |
US9959125B2 (en) | Field update of boot loader using regular device firmware update procedure | |
US9507604B2 (en) | Boot method and boot system | |
US20150019856A1 (en) | Secure download and security function execution method and apparatus | |
CN103826215B (en) | A kind of method and apparatus for carrying out Root authority management on the terminal device | |
US20140122329A1 (en) | Secure Computing Device and Method | |
US20140250290A1 (en) | Method for Software Anti-Rollback Recovery | |
US20190079746A1 (en) | Software updating methods and systems | |
US20150067311A1 (en) | Method and system for verifying proper operation of a computing device after a system change | |
EP3153968B1 (en) | Multi-system terminal system updating method, updating device and terminal | |
US20180314832A1 (en) | Information processing apparatus and computer readable storage medium | |
WO2017045627A1 (en) | Control board secure start method, and software package upgrade method and device | |
CN103377054A (en) | Starting method and starting device | |
CN105824648A (en) | Unattended BIOS configuration method | |
CN111143031A (en) | Method and device for changing capacity of virtual machine | |
CN110750794B (en) | BIOS (basic input output System) safe starting method and system | |
CN110908706B (en) | Multi-version software management method | |
CN107360167B (en) | Authentication method and device | |
CN111353150A (en) | Trusted boot method, trusted boot device, electronic equipment and readable storage medium | |
US20220318110A1 (en) | Control method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220413 Address after: 518000 floor 20, block a, Kupai building, intersection of Keyuan Avenue and Baoshen Road, north high tech Zone, songpingshan community, Xili street, Nanshan District, Shenzhen, Guangdong Patentee after: Shenzhen Coolpad Technology Co.,Ltd. Address before: 710065 block a, No. 8, Tangyan South Road, high tech Zone, Xi'an, Shaanxi Province Patentee before: XI'AN KUPAI SOFTWARE TECHNOLOGY Co.,Ltd. |