CN104765655B - System exception restorative procedure, system exception prosthetic device and terminal - Google Patents
System exception restorative procedure, system exception prosthetic device and terminal Download PDFInfo
- Publication number
- CN104765655B CN104765655B CN201510186041.9A CN201510186041A CN104765655B CN 104765655 B CN104765655 B CN 104765655B CN 201510186041 A CN201510186041 A CN 201510186041A CN 104765655 B CN104765655 B CN 104765655B
- Authority
- CN
- China
- Prior art keywords
- abnormal
- information
- reparation
- carry out
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Hardware Redundancy (AREA)
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention proposes a kind of system exception restorative procedure, a kind of system exception prosthetic device and a kind of terminal, wherein, methods described includes:The running status of the multiple system in the terminal is detected, to judge whether the first system in the multiple system is abnormal;When judging the first system exception, judge whether to carry out abnormal reparation to the first system;And when judging to carry out abnormal repair to the first system, target correcting strategy is determined, to carry out abnormal reparation to the first system.Pass through technical scheme, it can avoid backing up the information of multiple systems of terminal and abnormal reparation is carried out to the abnormal system in multiple systems, and then save the memory space of multiple systems, terminal is also set to carry out abnormal reparation to the system of exception in the state of it can not network simultaneously, so that abnormal system can recover normal running status in time.
Description
Technical field
The present invention relates to field of terminal technology, in particular to a kind of system exception restorative procedure, system exception reparation
Device and a kind of terminal.
Background technology
Current terminal is provided with dual system, the i.e. relatively low general department of the higher security system of safe class and safe class
System, and security system and conventional system independent operating, when any system in the dual system of terminal occurs abnormal, correlation technique
In solution be typically some data that are important and being easily damaged are backed up in dual system, be by the data of backup
The abnormal reparation of system, or repaired by terminal networking downloading data so as to carry out the abnormal of system.But in dual system
Backup Data can take memory space, so as to reduce the available memory space of dual system, and carry out system by terminal networking
It is abnormal when repairing, if terminal is in the state that can not be networked, the abnormal reparation of system can not be completed.
Therefore, when any system in the dual system of terminal occurs abnormal, how to avoid entering the information in dual system
Row backup, so as to ensure the memory space of dual system, while also make terminal can also be to exception in the case where that can not network
System carries out abnormal reparation, turns into urgent problem to be solved.
The content of the invention
The present invention is based on above mentioned problem, it is proposed that a kind of new technical scheme, by determining the different of abnormal system
Normal information, and the system of exception is repaired according to the restoration information matched with abnormal information in the system of normal operation,
Abnormal reparation is carried out to any system in multiple systems so as to avoid to back up the information of multiple systems of terminal,
And then the memory space of multiple systems is saved, while also make terminal can also be to the system of exception in the state of it can not network
Abnormal reparation is carried out, so that abnormal system can recover normal running status in time.
In view of this, an aspect of of the present present invention proposes a kind of system exception restorative procedure, for terminal, in the terminal
Multiple systems are installed, the abnormal restorative procedure includes:The running status of the multiple system in the terminal is detected, with
Judge whether the first system in the multiple system is abnormal;When judging the first system exception, judge whether to described
The first system carries out abnormal reparation;And when judging to carry out abnormal repair to the first system, target correcting strategy is determined,
To carry out abnormal reparation to the first system.
In the technical scheme, the running status of each system in multiple systems of detection terminal, when detecting multiple systems
During the first system exception in system, such as the deadlock number of the first system is more than or equal to the first preset times and/or the first system
System can not start, then judge that the first system is abnormal, now, notify that user's the first system of terminal is abnormal and request is to first
System carries out abnormal reparation, when receiving the instruction repaired extremely to the first system, it is determined that target correcting strategy pair
The first system carries out abnormal reparation, thus, avoids and the data of multiple systems of terminal are backed up, multiple so as to save
The memory space of system, while terminal is carried out abnormal reparation to the system of exception in the state of it can not network,
So that abnormal system can recover normal running status in time;Wherein, the first system is in multiple systems of terminal
Any one.
In the above-mentioned technical solutions, it is preferable that the target correcting strategy is determined, it is abnormal to be carried out to the first system
Repair, specifically include:Judge whether the first system is in deadlock state;Determine that the target repairs plan according to judged result
Slightly, with to the abnormal reparation of the first system progress.
In the above-mentioned technical solutions, it is preferable that the target correcting strategy is determined according to the judged result, with to described
The first system carries out abnormal reparation, specifically includes:When the judgement the first system is in and does not crash state, described first is determined
Abnormal information in system, and when the safe class of the first system is higher than the safe class of second system, according to connecing
The visit order received, the second system is directly accessed, and obtain in the second system and matched with the abnormal information
Restoration information, to carry out abnormal reparation to the first system, or switch to the second system, and according to the control received
System order, the restoration information matched with the abnormal information is downloaded in networking in the second system, and judges the reparation
Whether information is safe, when judging safe, the restoration information is sent to the first system, to enter to the first system
Row is abnormal to be repaired;Or when the safe class of the first system is less than the safe class of second system, according to what is received
Switching command, application switches to the second system, and obtains in the second system and repaiied with what the abnormal information matched
Complex information, to carry out abnormal reparation to the first system, or in the first system, according to the control command received,
The restoration information matched with the abnormal information is downloaded in networking, to carry out abnormal reparation to the first system;It is and described different
Normal restorative procedure also includes:, will according to the backup command received when judging not carry out the first system abnormal repair
Second system in the data backup of the first system to the multiple system;Wherein, the second system is the terminal
The multiple system in one of other systems in addition to the first system.
In the technical scheme, when judging to carry out abnormal repair to the first system, and the first system is not in deadlock shape
State, determine target correcting strategy, it is preferable that on the one hand, if the safe class of the first system is higher than safety of second system etc.
Level, then the first system can obtain the restoration information matched with the abnormal information in the first system directly from second system, from
And abnormal reparation is carried out to the first system by restoration information, thus, the data progress avoided to multiple systems of terminal is standby
Part, so as to save the memory space of multiple systems, while also make terminal can also be to exception in the state of it can not network
System carries out abnormal reparation, so that abnormal system can recover normal running status in time, or is in running status
The restoration information matched with the abnormal information of the first system is downloaded in networking in normal second system, accordingly even when in second system
In the absence of the restoration information matched with the abnormal information in the first system, the first system can also be entered by downloading restoration information
Row is abnormal in time to be repaired, and then improves the fault-tolerant ability of dual system;On the other hand, if the safe class of the first system is low
In the safe class of second system, in order to ensure the safety of the data in the higher second system of safe class, terminal is switched
Into second system, make the leading exception reparation to the first system of second system, and when the first system obtains from second system
, it is necessary to strict purview certification and authority limitation be carried out to the first system, for example, only during the restoration information matched with abnormal information
Allow the first system to obtain the information specified from second system, do not allow the private data for obtaining user in second system, from
And the data in second system can be avoided to be leaked, so by restoration information the first system is being repaired extremely
At the same time it can also be ensured that the safety of second system, certainly, when being not present in second system and the abnormal information in the first system
During the restoration information matched somebody with somebody, the restoration information that the download that can also network matches with abnormal information is repaiied with carrying out exception to the first system
It is multiple, in addition, when judging not carry out the first system abnormal repair, if the safe class of the first system is higher than the second system
The safe class of system, in order to ensure the data safety in the first system, by the data in the first system sent after encryption to
In conventional system, it is preferable that it can be chosen whether the data after encryption uploading to high in the clouds according to the demand of user, if first
The safe class of system is less than the safe class of second system, can be chosen whether the number of the first system according to the demand of user
According to transmission into second system.
In the above-mentioned technical solutions, it is preferable that the target correcting strategy is determined according to the judged result, with to described
The first system carries out abnormal reparation, specifically also includes:When judging that the first system is in deadlock state, according to what is received
Switching command, switch to second system, and the control command that the basis receives, it is determined whether store at the first system
System status information before the deadlock state, and when the safe class of the first system is higher than the second system
Safe class when, according to the acquisition order received, apply for that authority reads the first system in the second system
System operation daily record, and the restoration information matched with the abnormal information is obtained in the second system, with to described first
System carries out abnormal reparation, or according to the acquisition order received, applies for that authority reads described first in the second system
The system operation daily record of system, and according to the control command received, in the second system networking download with it is described different
The restoration information of normal information matches, and judge whether the restoration information is safe, when judging safe, the restoration information is sent out
The first system is delivered to, to carry out abnormal reparation to the first system;Or when the safe class of the first system is low
When the safe class of the second system, according to the switching command received, application switches to the second system, and reads
The system operation daily record of the first system, and the reparation letter matched with the abnormal information is obtained in the second system
Breath, to carry out abnormal reparation to the first system, wherein, the second system is to be removed in the multiple system of the terminal
One of other systems outside the first system.
In the technical scheme, when judging to carry out abnormal repair to the first system, and the first system is in deadlock state,
Determine target correcting strategy, it is preferable that second system is switched to, and in second system at user's the first system of notice terminal
In deadlock state, on the one hand, if the safe class of the first system is higher than the safe class of second system, second system is to the
When one system carries out abnormal repair, in order to ensure the data safety in the higher the first system of safe class, in second system
Apply for that authority reads the system operation daily record of the first system, and the restoration information matched with abnormal information in second system
Abnormal reparation is carried out to the first system, thus, avoids and the data of multiple systems of terminal is backed up, it is more so as to save
The memory space of individual system, while terminal is carried out abnormal repair to the system of exception in the state of it can not network
It is multiple, so that abnormal system can recover normal running status in time, or in running status it is normal second system
The restoration information matched with the abnormal information of the first system is downloaded in middle networking, accordingly even when being not present and the first system in second system
The restoration information of abnormal information matching in system, abnormal in time repair can also be carried out to the first system by downloading restoration information
It is multiple, and then the fault-tolerant ability of dual system is improved, the state for alloing the first system to return to before crashing, of course, it is possible to distich
The restoration information of load off the net carries out safety detection, only when the restoration information of download is safe, could pass through the reparation of download
Information carries out abnormal reparation to the first system, includes virus etc. to the first system so as to avoid in the restoration information of networking download
The information that information in system threatens;On the other hand, when the safe class of the first system is less than the safe class of second system
When, application is switched in second system, and according to the restoration information matched with abnormal information obtained in second system to the
One system carries out abnormal reparation, the data of multiple systems of terminal is backed up so as to avoid, and then save multiple systems
The memory space of system, while terminal is carried out abnormal reparation to the system of exception in the state of it can not network, from
And abnormal system is set to recover normal running status in time.
In the above-mentioned technical solutions, it is preferable that also include:The fortune of the multiple system in the terminal is detected
During row state, according to the storage order received, critical system information is stored;And judging at the first system
In do not crash state when, the match information in the critical system information is obtained, to carry out abnormal reparation to the first system.
In the technical scheme, during the running status of multiple systems is detected, if in preset time, first
The number that system operationally malfunctions is reduced to default more than or equal to the speed of service of the second preset times and/or the first system
Speed, then the first system is judged it is possible that exception, in order to ensure that the first system can be in time to first when occurring abnormal
System carries out abnormal reparation, and the critical system information of the first system is stored, wherein, the critical system information is the second system
The information not matched in system with abnormal information, the first system is entered so as to the match information in critical system information
Row is repaired, meanwhile, the first system is being judged it is possible that when abnormal, is being reminded important in user's preservation the first system of terminal
Data, so as to prevent causing the loss of vital data in the first system because the first system is abnormal.
In the above-mentioned technical solutions, it is preferable that the abnormal restorative procedure also includes:Judging not to the first system
When carrying out abnormal repair, according to the select command received, the exception of the first system is ignored in selection.
In the technical scheme, when judging not carry out the first system abnormal repair, can according to the demand of user come
The exception for ignoring the first system is chosen whether, for example, not repaiied in second system with what the abnormal information of the first system matched
Complex information, and terminal is in the state that can not network, at this point it is possible to select the exception for ignoring the first system, so that terminal can be with
The first system is repaired in networking.
Another aspect of the present invention proposes a kind of system exception prosthetic device, for terminal, is provided with the terminal
Multiple systems, the abnormal prosthetic device include:Detection unit, for detecting the operation of the multiple system in the terminal
State, to judge whether the first system in the multiple system is abnormal;Judging unit, for judging that the first system is different
Chang Shi, judge whether to carry out abnormal reparation to the first system;Processing unit, judging to carry out exception to the first system
During reparation, target correcting strategy is determined, to carry out abnormal reparation to the first system.
In the technical scheme, the running status of each system in multiple systems of detection terminal, when detecting multiple systems
During the first system exception in system, such as the deadlock number of the first system is more than or equal to the first preset times and/or the first system
System can not start, then judge that the first system is abnormal, now, notify that user's the first system of terminal is abnormal and request is to first
System carries out abnormal reparation, when receiving the instruction repaired extremely to the first system, it is determined that target correcting strategy pair
The first system carries out abnormal reparation, thus, avoids and the data of multiple systems of terminal are backed up, multiple so as to save
The memory space of system, while terminal is carried out abnormal reparation to the system of exception in the state of it can not network,
So that abnormal system can recover normal running status in time;Wherein, the first system is in multiple systems of terminal
Any one.
In the above-mentioned technical solutions, it is preferable that the processing unit is specifically used for:Judge whether the first system is in
Deadlock state;The target correcting strategy is determined according to judged result, to carry out abnormal reparation to the first system.
In the above-mentioned technical solutions, it is preferable that the processing unit is specifically used for:Judging the first system in not
During deadlock state, the abnormal information in the first system is determined, and when the safe class of the first system is higher than second
During the safe class of system, according to the visit order received, the second system is directly accessed, and in the second system
The restoration information that is matched with the abnormal information is obtained, with to the abnormal reparation of the first system progress, or switches to described the
Two system, and according to the control command received, network to download in the second system and repaiied with what the abnormal information matched
Complex information, and judge whether the restoration information is safe, when judging safe, the restoration information is sent to described first
System, to carry out abnormal reparation to the first system;Or when the safe class of the first system is less than second system
During safe class, according to the switching command received, application switches to the second system, and is obtained in the second system
The restoration information matched with the abnormal information, to carry out abnormal reparation to the first system, or in the first system,
According to the control command received, the restoration information matched with the abnormal information is downloaded in networking, to enter to the first system
Row is abnormal to be repaired;And the abnormal restorative procedure also includes:When judging not carry out the first system abnormal repair, root
According to the backup command received, by the second system in the data backup of the first system to the multiple system;Wherein, institute
State one of other systems in the multiple system that second system is the terminal in addition to the first system.
In the technical scheme, when judging to carry out abnormal repair to the first system, and the first system is not in deadlock shape
State, determine target correcting strategy, it is preferable that on the one hand, if the safe class of the first system is higher than safety of second system etc.
Level, then the first system can obtain the restoration information matched with the abnormal information in the first system directly from second system, from
And abnormal reparation is carried out to the first system by restoration information, thus, the data progress avoided to multiple systems of terminal is standby
Part, so as to save the memory space of multiple systems, while also make terminal can also be to exception in the state of it can not network
System carries out abnormal reparation, so that abnormal system can recover normal running status in time, or is in running status
The restoration information matched with the abnormal information of the first system is downloaded in networking in normal second system, accordingly even when in second system
In the absence of the restoration information matched with the abnormal information in the first system, the first system can also be entered by downloading restoration information
Row is abnormal in time to be repaired, and then improves the fault-tolerant ability of dual system;On the other hand, if the safe class of the first system is low
In the safe class of second system, in order to ensure the safety of the data in the higher second system of safe class, terminal is switched
Into second system, make the leading exception reparation to the first system of second system, and when the first system obtains from second system
, it is necessary to strict purview certification and authority limitation be carried out to the first system, for example, only during the restoration information matched with abnormal information
Allow the first system to obtain the information specified from second system, do not allow the private data for obtaining user in second system, from
And the data in second system can be avoided to be leaked, so by restoration information the first system is being repaired extremely
At the same time it can also be ensured that the safety of second system, certainly, when being not present in second system and the abnormal information in the first system
During the restoration information matched somebody with somebody, the restoration information that the download that can also network matches with abnormal information is repaiied with carrying out exception to the first system
It is multiple, in addition, when judging not carry out the first system abnormal repair, if the safe class of the first system is higher than the second system
The safe class of system, in order to ensure the data safety in the first system, by the data in the first system sent after encryption to
In conventional system, it is preferable that it can be chosen whether the data after encryption uploading to high in the clouds according to the demand of user, if first
The safe class of system is less than the safe class of second system, can be chosen whether the number of the first system according to the demand of user
According to transmission into second system.
In the above-mentioned technical solutions, it is preferable that the processing unit is specifically used for:Judging the first system in dead
During machine state, according to the switching command received, second system, and the control command that the basis receives are switched to, it is determined that
Whether system status information that the first system be in the deadlock state before, and peace when the first system are stored
When congruent level is higher than the safe class of the second system, according to the acquisition order received, apply in the second system
Authority reads the system operation daily record of the first system, and obtains what is matched with the abnormal information in the second system
Restoration information, to carry out abnormal reparation to the first system, or according to the acquisition order received, in the second system
Apply for that authority reads the system operation daily record of the first system, and according to the control command received, in second system
The restoration information matched with the abnormal information is downloaded in networking in system, and judges whether the restoration information is safe, is judging to pacify
It is full-time, the restoration information is sent to the first system, to carry out abnormal reparation to the first system;Or when described
When the safe class of the first system is less than the safe class of the second system, according to the switching command received, application switching
To the second system, and the system operation daily record of the first system is read, and acquisition and institute in the second system
The restoration information of abnormal information matching is stated, to carry out abnormal reparation to the first system, wherein, the second system is described
One of other systems in the multiple system of terminal in addition to the first system.
In the technical scheme, when judging to carry out abnormal repair to the first system, and the first system is in deadlock state,
Determine target correcting strategy, it is preferable that second system is switched to, and in second system at user's the first system of notice terminal
In deadlock state, on the one hand, if the safe class of the first system is higher than the safe class of second system, second system is to the
When one system carries out abnormal repair, in order to ensure the data safety in the higher the first system of safe class, in second system
Apply for that authority reads the system operation daily record of the first system, and the restoration information matched with abnormal information in second system
Abnormal reparation is carried out to the first system, thus, avoids and the data of multiple systems of terminal is backed up, it is more so as to save
The memory space of individual system, while terminal is carried out abnormal repair to the system of exception in the state of it can not network
It is multiple, so that abnormal system can recover normal running status in time, or in running status it is normal second system
The restoration information matched with the abnormal information of the first system is downloaded in middle networking, accordingly even when being not present and the first system in second system
The restoration information of abnormal information matching in system, abnormal in time repair can also be carried out to the first system by downloading restoration information
It is multiple, and then the fault-tolerant ability of dual system is improved, the state for alloing the first system to return to before crashing, of course, it is possible to distich
The restoration information of load off the net carries out safety detection, only when the restoration information of download is safe, could pass through the reparation of download
Information carries out abnormal reparation to the first system, includes virus etc. to the first system so as to avoid in the restoration information of networking download
The information that information in system threatens;On the other hand, when the safe class of the first system is less than the safe class of second system
When, application is switched in second system, and according to the restoration information matched with abnormal information obtained in second system to the
One system carries out abnormal reparation, the data of multiple systems of terminal is backed up so as to avoid, and then save multiple systems
The memory space of system, while terminal is carried out abnormal reparation to the system of exception in the state of it can not network, from
And abnormal system is set to recover normal running status in time.
In the above-mentioned technical solutions, it is preferable that also include:Memory cell, for described more in the terminal is detected
During the running status of individual system, according to the storage order received, critical system information is stored;Acquiring unit,
For when the judgement the first system is in and does not crash state, the match information in the critical system information being obtained, with right
The first system carries out abnormal reparation.
In the technical scheme, during the running status of multiple systems is detected, if in preset time, first
The number that system operationally malfunctions is reduced to default more than or equal to the speed of service of the second preset times and/or the first system
Speed, then the first system is judged it is possible that exception, in order to ensure that the first system can be in time to first when occurring abnormal
System carries out abnormal reparation, and the critical system information of the first system is stored, wherein, the critical system information is the second system
The information not matched in system with abnormal information, the first system is entered so as to the match information in critical system information
Row is repaired, meanwhile, the first system is being judged it is possible that when abnormal, is being reminded important in user's preservation the first system of terminal
Data, so as to prevent causing the loss of vital data in the first system because the first system is abnormal.
In the above-mentioned technical solutions, it is preferable that the processing unit is additionally operable to:Judging not carry out the first system
During abnormal reparation, according to the select command received, the exception of the first system is ignored in selection.
In the technical scheme, when judging not carry out the first system abnormal repair, can according to the demand of user come
The exception for ignoring the first system is chosen whether, for example, not repaiied in second system with what the abnormal information of the first system matched
Complex information, and terminal is in the state that can not network, at this point it is possible to select the exception for ignoring the first system, so that terminal can be with
The first system is repaired in networking.
Another aspect of the present invention proposes a kind of terminal, including the system exception described in any of the above-described technical scheme is repaiied
Apparatus for coating, therefore, the terminal have and the system exception prosthetic device identical technology any one of above-mentioned technical proposal
Effect, it will not be repeated here.
By technical scheme, it is by determining the abnormal information of abnormal system, and according to normal operation
The restoration information matched with abnormal information in system is repaired to the system of exception, so as to avoid multiple systems to terminal
Information backed up abnormal reparation carried out to any system in multiple systems, and then the storage for saving multiple systems is empty
Between, while terminal is carried out abnormal reparation to the system of exception in the state of it can not network, so that abnormal
System can recover normal running status in time.
Brief description of the drawings
Fig. 1 shows the schematic flow sheet of system exception restorative procedure according to an embodiment of the invention;
Fig. 2 shows the schematic flow sheet of system exception restorative procedure according to another embodiment of the invention;
Fig. 3 shows the schematic flow sheet that the system of deadlock according to an embodiment of the invention is repaired extremely;
Fig. 4 shows the flow signal that the system according to an embodiment of the invention not crashed is repaired extremely
Figure;
Fig. 5 shows the structural representation of system exception prosthetic device according to an embodiment of the invention;
Fig. 6 shows the structural representation of terminal according to an embodiment of the invention;
Fig. 7 shows the principle schematic of system exception prosthetic device according to an embodiment of the invention.
Embodiment
It is below in conjunction with the accompanying drawings and specific real in order to which the above objects, features and advantages of the present invention can be more clearly understood that
Mode is applied the present invention is further described in detail.It should be noted that in the case where not conflicting, the implementation of the application
Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also
To be different from other modes described here using other to implement, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
Fig. 1 shows the schematic flow sheet of system exception restorative procedure according to an embodiment of the invention.
As shown in figure 1, system exception restorative procedure according to an embodiment of the invention, for terminal, the terminal
On multiple systems are installed, the abnormal restorative procedure includes:
Step 102, the running status of the multiple system in the terminal is detected, to judge in the multiple system
Whether the first system is abnormal;
Step 104, when judging the first system exception, judge whether to carry out abnormal reparation to the first system;
Step 106, when judging to carry out abnormal repair to the first system, target correcting strategy is determined, with to described
The first system carries out abnormal reparation.
In the technical scheme, the running status of each system in multiple systems of detection terminal, when detecting multiple systems
During the first system exception in system, such as the deadlock number of the first system is more than or equal to the first preset times and/or the first system
System can not start, then judge that the first system is abnormal, now, notify that user's the first system of terminal is abnormal and request is to first
System carries out abnormal reparation, when receiving the instruction repaired extremely to the first system, it is determined that target correcting strategy pair
The first system carries out abnormal reparation, thus, avoids and the data of multiple systems of terminal are backed up, multiple so as to save
The memory space of system, while terminal is carried out abnormal reparation to the system of exception in the state of it can not network,
So that abnormal system can recover normal running status in time;Wherein, the first system is in multiple systems of terminal
Any one.
In the above-mentioned technical solutions, it is preferable that the step 106, specifically include:Judge whether the first system is in
Deadlock state;The target correcting strategy is determined according to judged result, to carry out abnormal reparation to the first system.
In the above-mentioned technical solutions, it is preferable that the target correcting strategy is determined according to the judged result, with to described
The first system carries out abnormal reparation, specifically includes:When the judgement the first system is in and does not crash state, described first is determined
Abnormal information in system, and when the safe class of the first system is higher than the safe class of second system, according to connecing
The visit order received, the second system is directly accessed, and obtain in the second system and matched with the abnormal information
Restoration information, to carry out abnormal reparation to the first system, or switch to the second system, and according to the control received
System order, the restoration information matched with the abnormal information is downloaded in networking in the second system, and judges the reparation
Whether information is safe, when judging safe, the restoration information is sent to the first system, to enter to the first system
Row is abnormal to be repaired;Or when the safe class of the first system is less than the safe class of second system, according to what is received
Switching command, application switches to the second system, and obtains in the second system and repaiied with what the abnormal information matched
Complex information, to carry out abnormal reparation to the first system, or in the first system, according to the control command received,
The restoration information matched with the abnormal information is downloaded in networking, to carry out abnormal reparation to the first system;It is and described different
Normal restorative procedure also includes:, will according to the backup command received when judging not carry out the first system abnormal repair
Second system in the data backup of the first system to the multiple system;Wherein, the second system is the terminal
The multiple system in one of other systems in addition to the first system.
In the technical scheme, when judging to carry out abnormal repair to the first system, and the first system is not in deadlock shape
State, determine target correcting strategy, it is preferable that on the one hand, if the safe class of the first system is higher than safety of second system etc.
Level, then the first system can obtain the restoration information matched with the abnormal information in the first system directly from second system, from
And abnormal reparation is carried out to the first system by restoration information, thus, the data progress avoided to multiple systems of terminal is standby
Part, so as to save the memory space of multiple systems, while also make terminal can also be to exception in the state of it can not network
System carries out abnormal reparation, so that abnormal system can recover normal running status in time, or is in running status
The restoration information matched with the abnormal information of the first system is downloaded in networking in normal second system, accordingly even when in second system
In the absence of the restoration information matched with the abnormal information in the first system, the first system can also be entered by downloading restoration information
Row is abnormal in time to be repaired, and then improves the fault-tolerant ability of dual system;On the other hand, if the safe class of the first system is low
In the safe class of second system, in order to ensure the safety of the data in the higher second system of safe class, terminal is switched
Into second system, make the leading exception reparation to the first system of second system, and when the first system obtains from second system
, it is necessary to strict purview certification and authority limitation be carried out to the first system, for example, only during the restoration information matched with abnormal information
Allow the first system to obtain the information specified from second system, do not allow the private data for obtaining user in second system, from
And the data in second system can be avoided to be leaked, so by restoration information the first system is being repaired extremely
At the same time it can also be ensured that the safety of second system, certainly, when being not present in second system and the abnormal information in the first system
During the restoration information matched somebody with somebody, the restoration information that the download that can also network matches with abnormal information is repaiied with carrying out exception to the first system
It is multiple, in addition, when judging not carry out the first system abnormal repair, if the safe class of the first system is higher than the second system
The safe class of system, in order to ensure the data safety in the first system, by the data in the first system sent after encryption to
In conventional system, it is preferable that it can be chosen whether the data after encryption uploading to high in the clouds according to the demand of user, if first
The safe class of system is less than the safe class of second system, can be chosen whether the number of the first system according to the demand of user
According to transmission into second system.
In the above-mentioned technical solutions, it is preferable that the target correcting strategy is determined according to the judged result, with to described
The first system carries out abnormal reparation, specifically also includes:When judging that the first system is in deadlock state, according to what is received
Switching command, switch to second system, and the control command that the basis receives, it is determined whether store at the first system
System status information before the deadlock state, and when the safe class of the first system is higher than the second system
Safe class when, according to the acquisition order received, apply for that authority reads the first system in the second system
System operation daily record, and the restoration information matched with the abnormal information is obtained in the second system, with to described first
System carries out abnormal reparation, or according to the acquisition order received, applies for that authority reads described first in the second system
The system operation daily record of system, and according to the control command received, in the second system networking download with it is described different
The restoration information of normal information matches, and judge whether the restoration information is safe, when judging safe, the restoration information is sent out
The first system is delivered to, to carry out abnormal reparation to the first system;Or when the safe class of the first system is low
When the safe class of the second system, according to the switching command received, application switches to the second system, and reads
The system operation daily record of the first system, and the reparation letter matched with the abnormal information is obtained in the second system
Breath, to carry out abnormal reparation to the first system, wherein, the second system is to be removed in the multiple system of the terminal
One of other systems outside the first system.
In the technical scheme, when judging to carry out abnormal repair to the first system, and the first system is in deadlock state,
Determine target correcting strategy, it is preferable that second system is switched to, and in second system at user's the first system of notice terminal
In deadlock state, on the one hand, if the safe class of the first system is higher than the safe class of second system, second system is to the
When one system carries out abnormal repair, in order to ensure the data safety in the higher the first system of safe class, in second system
Apply for that authority reads the system operation daily record of the first system, and the restoration information matched with abnormal information in second system
Abnormal reparation is carried out to the first system, thus, avoids and the data of multiple systems of terminal is backed up, it is more so as to save
The memory space of individual system, while terminal is carried out abnormal repair to the system of exception in the state of it can not network
It is multiple, so that abnormal system can recover normal running status in time, or in running status it is normal second system
The restoration information matched with the abnormal information of the first system is downloaded in middle networking, accordingly even when being not present and the first system in second system
The restoration information of abnormal information matching in system, abnormal in time repair can also be carried out to the first system by downloading restoration information
It is multiple, and then the fault-tolerant ability of dual system is improved, the state for alloing the first system to return to before crashing, of course, it is possible to distich
The restoration information of load off the net carries out safety detection, only when the restoration information of download is safe, could pass through the reparation of download
Information carries out abnormal reparation to the first system, includes virus etc. to the first system so as to avoid in the restoration information of networking download
The information that information in system threatens;On the other hand, when the safe class of the first system is less than the safe class of second system
When, application is switched in second system, and according to the restoration information matched with abnormal information obtained in second system to the
One system carries out abnormal reparation, the data of multiple systems of terminal is backed up so as to avoid, and then save multiple systems
The memory space of system, while terminal is carried out abnormal reparation to the system of exception in the state of it can not network, from
And abnormal system is set to recover normal running status in time.
In the above-mentioned technical solutions, it is preferable that also include:The fortune of the multiple system in the terminal is detected
During row state, according to the storage order received, critical system information is stored;And judging at the first system
In do not crash state when, the match information in the critical system information is obtained, to carry out abnormal reparation to the first system.
In the technical scheme, during the running status of multiple systems is detected, if in preset time, first
The number that system operationally malfunctions is reduced to default more than or equal to the speed of service of the second preset times and/or the first system
Speed, then the first system is judged it is possible that exception, in order to ensure that the first system can be in time to first when occurring abnormal
System carries out abnormal reparation, and the critical system information of the first system is stored, wherein, the critical system information is the second system
The information not matched in system with abnormal information, the first system is entered so as to the match information in critical system information
Row is repaired, meanwhile, the first system is being judged it is possible that when abnormal, is being reminded important in user's preservation the first system of terminal
Data, so as to prevent causing the loss of vital data in the first system because the first system is abnormal.
In the above-mentioned technical solutions, it is preferable that the abnormal restorative procedure also includes:Judging not to the first system
When carrying out abnormal repair, according to the select command received, the exception of the first system is ignored in selection.
In the technical scheme, when judging not carry out the first system abnormal repair, can according to the demand of user come
The exception for ignoring the first system is chosen whether, for example, not repaiied in second system with what the abnormal information of the first system matched
Complex information, and terminal is in the state that can not network, at this point it is possible to select the exception for ignoring the first system, so that terminal can be with
The first system is repaired in networking.
Fig. 2 shows the schematic flow sheet of system exception restorative procedure according to another embodiment of the invention.
As shown in Fig. 2 system exception restorative procedure according to another embodiment of the invention is (in this embodiment, eventually
Hold as mobile phone, dual system, the i.e. relatively low conventional system such as the higher security system of safe class and safety be installed on mobile phone),
Including:
Step 202, the running status of the dual system of mobile phone is detected.
Step 204, judge whether the first system in dual system exception will occurs, when judged result is to be, for example,
The first system reaches 10 times in the number of the first intersegmental interior runtimeerror, and the speed of service is reduced to the usually speed of service
70%, then judge that the first system will appear from exception, and enter step 206.
Step 206, when the first system i.e. exception will occur, in order that the first system occur it is abnormal when in time can be right
The first system carries out abnormal reparation, then backs up critical system information, the critical system information be in second system not with exception
The information of information matches.
Step 208, judge whether the first system is abnormal, when judged result is to be, into step 210, in judged result
For it is no when, into step 202.
Step 210, judge whether the first system crashes, when judged result is to be, into step 212, in judged result
For it is no when, illustrate that the first system occurs abnormal but do not crashed, into step 214.
Step 212, abnormal reparation is carried out to the first system according to deadlock correcting strategy (target correcting strategy).
Step 214, abnormal reparation is carried out to the first system according to the correcting strategy that do not crash (target correcting strategy).
Fig. 3 shows the schematic flow sheet that the system of deadlock according to an embodiment of the invention is repaired extremely.
As shown in figure 3, the system of deadlock according to an embodiment of the invention carries out abnormal reparation (in the embodiment
In, terminal is mobile phone, and dual system, the i.e. relatively low general department such as the higher security system of safe class and safety are provided with mobile phone
System), including:
Step 302, whether the first system for judging to crash is the higher security system of safe class, is yes in judged result
When, into step 304, when judged result is no, into step 320.
Step 304, security system deadlock correcting strategy.
Step 306, switched to from security system in conventional system, and according to the selection of user, it is determined whether storage safety
The system status information that system is in before deadlock state, and may be selected in step 308, step 312, step 316 or step 318
A step repaired.
Step 308, apply for that authority reads the system operation daily record of security system in conventional system, and in conventional system
The restoration information matched with abnormal information is obtained, to carry out abnormal reparation to security system.
Step 310, judge whether the restoration information in conventional system completes the exception reparation to security system, sentencing
Disconnected result is when being, to terminate the exception reparation to security system.
Step 312, abnormal reparation is carried out to security system using the critical system information of backup.
Step 314, judge whether exception reparation to security system is completed according to the critical system information of backup, judging
As a result it is when being, to terminate the exception reparation to security system.
Step 316, apply for that authority reads the system operation daily record of security system in conventional system, and according to receiving
Control command, the restoration information that is matched with abnormal information is downloaded in networking in conventional system, and judges whether restoration information pacifies
Entirely, when judging safe, restoration information is sent to security system, to carry out abnormal reparation to security system.
Step 318, the exception of security system is ignored according to the select command received, selection.
Step 320, when the first system is the relatively low conventional system of safe class, then carry out conventional system deadlock and repair plan
Slightly.
Step 322, application switches and logs in security system, and according to the selection of user, it is determined whether storage conventional system
System status information before deadlock state, and the step that may be selected in step 324, step 328 or step 330 is entered
Row is repaired.
Step 324, the restoration information matched with abnormal information is obtained in the security system, it is abnormal to be carried out to conventional system
Repair.
Step 326, judge whether complete pair according to the restoration information matched with abnormal information that is obtained from security system
The abnormal reparation of conventional system, when judged result is to be, terminate the exception reparation to conventional system.
Step 328, abnormal reparation is carried out to conventional system using the critical system information of backup.
Step 330, the exception of conventional system is ignored according to the select command received, selection.
Fig. 4 shows the flow signal that the system according to an embodiment of the invention not crashed is repaired extremely
Figure.
As shown in figure 4, the system according to an embodiment of the invention not crashed carries out abnormal reparation (in the embodiment
In, terminal is mobile phone, and dual system, the i.e. relatively low general department such as the higher security system of safe class and safety are provided with mobile phone
System), including:
Step 402, judge occur whether abnormal but in the state that do not crash system is security system, be in judged result
When being, into step 404, when judged result is no, into step 422.
Step 404, when it is security system abnormal the first system occur, then according to security system exception correcting strategy pair
Security system carries out abnormal reparation, and one in step 406, step 410, step 414, step 418 or step 420 may be selected
Step is repaired.
Step 406, conventional system is directly accessed, and the restoration information matched with abnormal information is obtained in conventional system,
To carry out abnormal reparation to security system.
Step 408, judge whether the restoration information in conventional system completes the exception reparation to security system, sentencing
Disconnected result is when being, to terminate the exception reparation to security system.
Step 410, abnormal reparation is carried out to security system using the critical system information of backup.
Step 412, judge whether exception reparation to security system is completed according to the critical system information of backup, judging
As a result it is when being, to terminate the exception reparation to security system.
Step 414, conventional system is switched to, the restoration information that networking download matches with abnormal information in conventional system,
And judge whether restoration information is safe, when judging safe, restoration information is sent to security system, to enter to security system
Row is abnormal to be repaired.
Step 416, judge whether complete to security system according to the restoration information matched with abnormal information that networking is downloaded
Abnormal reparation, in judged result when being, to terminate the exception reparation to security system.
Step 418, in order to ensure the Information Security in security system, the data of security system are encrypted, and it is right
The data of encryption are preserved into conventional system.
Step 420, the exception of conventional system is ignored according to the select command received, selection.
Step 422, when it is conventional system abnormal the first system occur, then according to conventional system exception correcting strategy pair
Conventional system carries out abnormal reparation, and a step in step 424, step 428, step 432 or step 434 may be selected and carry out
Repair.
Step 424, application switches to security system, and obtains the reparation letter matched with abnormal information in the security system
Breath, to carry out abnormal reparation to conventional system.
Step 426, judge whether complete to general according to the restoration information matched with abnormal information obtained in security system
The abnormal reparation of way system, when judged result is to be, terminate the exception reparation to conventional system.
Step 428, abnormal reparation is carried out to conventional system using the critical system information of backup.
Step 430, judge whether exception reparation to conventional system is completed according to the critical system information of backup, judging
As a result it is when being, to terminate the exception reparation to conventional system.
Step 432, by the data backup in conventional system into security system.
Step 434, the exception of conventional system is ignored according to the select command received, selection.
Fig. 5 shows the structural representation of system exception prosthetic device according to an embodiment of the invention.
As shown in figure 5, system exception prosthetic device 500 according to an embodiment of the invention, for terminal, the end
Multiple systems are installed, the abnormal prosthetic device includes on end:Detection unit 502, judging unit 504 and processing unit 506,
Wherein, the detection unit 502 is used for the running status for detecting the multiple system in the terminal, the multiple to judge
Whether the first system in system is abnormal, wherein, the first system is any system in the multiple system;Judging unit
504, for when judging the first system exception, judging whether to carry out abnormal reparation to the first system;Processing unit
506, when judging to carry out abnormal repair to the first system, target correcting strategy is determined, to be carried out to the first system
It is abnormal to repair.
In the technical scheme, the running status of each system in multiple systems of detection terminal, when detecting multiple systems
During the first system exception in system, such as the deadlock number of the first system is more than or equal to the first preset times and/or the first system
System can not start, then judge that the first system is abnormal, now, notify that user's the first system of terminal is abnormal and request is to first
System carries out abnormal reparation, when receiving the instruction repaired extremely to the first system, it is determined that target correcting strategy pair
The first system carries out abnormal reparation, thus, avoids and the data of multiple systems of terminal are backed up, multiple so as to save
The memory space of system, while terminal is carried out abnormal reparation to the system of exception in the state of it can not network,
So that abnormal system can recover normal running status in time;Wherein, the first system is in multiple systems of terminal
Any one.
In the above-mentioned technical solutions, it is preferable that the processing unit 506 is specifically used for:Whether judge the first system
In deadlock state;The target correcting strategy is determined according to judged result, to carry out abnormal reparation to the first system.
In the above-mentioned technical solutions, it is preferable that the processing unit 506 is specifically used for:Judging at the first system
In do not crash state when, determine the abnormal information in the first system, and when the safe class of the first system is higher than
During the safe class of second system, according to the visit order received, the second system is directly accessed, and in second system
The restoration information matched with the abnormal information is obtained in system, to carry out abnormal reparation to the first system, or switches to institute
Second system is stated, and according to the control command received, network to download in the second system matches with the abnormal information
Restoration information, and judge the restoration information whether safety, judge it is safe when, the restoration information is sent to described
The first system, to carry out abnormal reparation to the first system;Or when the safe class of the first system is less than the second system
During the safe class of system, according to the switching command received, application switches to the second system, and in the second system
The restoration information matched with the abnormal information is obtained, to carry out abnormal reparation to the first system, or in first system
In system, according to the control command received, the restoration information matched with the abnormal information is downloaded in networking, with to first system
System carries out abnormal reparation;And the abnormal restorative procedure also includes:Judging not carry out abnormal reparation to the first system
When, according to the backup command received, by the second system in the data backup of the first system to the multiple system;Its
In, the second system is one of other systems in the multiple system of the terminal in addition to the first system.
In the technical scheme, when judging to carry out abnormal repair to the first system, and the first system is not in deadlock shape
State, determine target correcting strategy, it is preferable that on the one hand, if the safe class of the first system is higher than safety of second system etc.
Level, then the first system can obtain the restoration information matched with the abnormal information in the first system directly from second system, from
And abnormal reparation is carried out to the first system by restoration information, thus, the data progress avoided to multiple systems of terminal is standby
Part, so as to save the memory space of multiple systems, while also make terminal can also be to exception in the state of it can not network
System carries out abnormal reparation, so that abnormal system can recover normal running status in time, or is in running status
The restoration information matched with the abnormal information of the first system is downloaded in networking in normal second system, accordingly even when in second system
In the absence of the restoration information matched with the abnormal information in the first system, the first system can also be entered by downloading restoration information
Row is abnormal in time to be repaired, and then improves the fault-tolerant ability of dual system;On the other hand, if the safe class of the first system is low
In the safe class of second system, in order to ensure the safety of the data in the higher second system of safe class, terminal is switched
Into second system, make the leading exception reparation to the first system of second system, and when the first system obtains from second system
, it is necessary to strict purview certification and authority limitation be carried out to the first system, for example, only during the restoration information matched with abnormal information
Allow the first system to obtain the information specified from second system, do not allow the private data for obtaining user in second system, from
And the data in second system can be avoided to be leaked, so by restoration information the first system is being repaired extremely
At the same time it can also be ensured that the safety of second system, certainly, when being not present in second system and the abnormal information in the first system
During the restoration information matched somebody with somebody, the restoration information that the download that can also network matches with abnormal information is repaiied with carrying out exception to the first system
It is multiple, in addition, when judging not carry out the first system abnormal repair, if the safe class of the first system is higher than the second system
The safe class of system, in order to ensure the data safety in the first system, by the data in the first system sent after encryption to
In conventional system, it is preferable that it can be chosen whether the data after encryption uploading to high in the clouds according to the demand of user, if first
The safe class of system is less than the safe class of second system, can be chosen whether the number of the first system according to the demand of user
According to transmission into second system.
In the above-mentioned technical solutions, it is preferable that the processing unit 506 is specifically used for:Judging at the first system
When deadlock state, according to the switching command received, second system, and the control command that the basis receives are switched to,
Determine whether to store the system status information that the first system is in before the deadlock state, and when the first system
Safe class be higher than the second system safe class when, according to the acquisition order received, in the second system
Apply for that authority reads the system operation daily record of the first system, and obtained and the abnormal information in the second system
The restoration information matched somebody with somebody, to carry out abnormal reparation to the first system, or according to the acquisition order received, in second system
Apply for that authority reads the system operation daily record of the first system in system, and according to the control command received, described the
The restoration information matched with the abnormal information is downloaded in networking in two system, and judges whether the restoration information is safe, is sentencing
Dingan County is full-time, and the restoration information is sent to the first system, to carry out abnormal reparation to the first system;Or work as
When the safe class of the first system is less than the safe class of the second system, according to the switching command received, application
The second system is switched to, and reads the system operation daily record of the first system, and is obtained in the second system
The restoration information matched with the abnormal information, to carry out abnormal reparation to the first system, wherein, the second system is
One of other systems in the multiple system of the terminal in addition to the first system.
In the technical scheme, when judging to carry out abnormal repair to the first system, and the first system is in deadlock state,
Determine target correcting strategy, it is preferable that second system is switched to, and in second system at user's the first system of notice terminal
In deadlock state, on the one hand, if the safe class of the first system is higher than the safe class of second system, second system is to the
When one system carries out abnormal repair, in order to ensure the data safety in the higher the first system of safe class, in second system
Apply for that authority reads the system operation daily record of the first system, and the restoration information matched with abnormal information in second system
Abnormal reparation is carried out to the first system, thus, avoids and the data of multiple systems of terminal is backed up, it is more so as to save
The memory space of individual system, while terminal is carried out abnormal repair to the system of exception in the state of it can not network
It is multiple, so that abnormal system can recover normal running status in time, or in running status it is normal second system
The restoration information matched with the abnormal information of the first system is downloaded in middle networking, accordingly even when being not present and the first system in second system
The restoration information of abnormal information matching in system, abnormal in time repair can also be carried out to the first system by downloading restoration information
It is multiple, and then the fault-tolerant ability of dual system is improved, the state for alloing the first system to return to before crashing, of course, it is possible to distich
The restoration information of load off the net carries out safety detection, only when the restoration information of download is safe, could pass through the reparation of download
Information carries out abnormal reparation to the first system, includes virus etc. to the first system so as to avoid in the restoration information of networking download
The information that information in system threatens;On the other hand, when the safe class of the first system is less than the safe class of second system
When, application is switched in second system, and according to the restoration information matched with abnormal information obtained in second system to the
One system carries out abnormal reparation, the data of multiple systems of terminal is backed up so as to avoid, and then save multiple systems
The memory space of system, while terminal is carried out abnormal reparation to the system of exception in the state of it can not network, from
And abnormal system is set to recover normal running status in time.
In the above-mentioned technical solutions, it is preferable that also include:Memory cell 508, described in the terminal is detected
During the running status of multiple systems, according to the storage order received, critical system information is stored;Acquiring unit
510, for when the judgement the first system is in and does not crash state, obtaining the match information in the critical system information,
To carry out abnormal reparation to the first system.
In the technical scheme, during the running status of multiple systems is detected, if in preset time, first
The number that system operationally malfunctions is reduced to default more than or equal to the speed of service of the second preset times and/or the first system
Speed, then the first system is judged it is possible that exception, in order to ensure that the first system can be in time to first when occurring abnormal
System carries out abnormal reparation, and the critical system information of the first system is stored, wherein, the critical system information is the second system
The information not matched in system with abnormal information, the first system is entered so as to the match information in critical system information
Row is repaired, meanwhile, the first system is being judged it is possible that when abnormal, is being reminded important in user's preservation the first system of terminal
Data, so as to prevent causing the loss of vital data in the first system because the first system is abnormal.
In the above-mentioned technical solutions, it is preferable that the processing unit 506 is additionally operable to:Judging not to the first system
When carrying out abnormal repair, according to the select command received, the exception of the first system is ignored in selection.
In the technical scheme, when judging not carry out the first system abnormal repair, can according to the demand of user come
The exception for ignoring the first system is chosen whether, for example, not repaiied in second system with what the abnormal information of the first system matched
Complex information, and terminal is in the state that can not network, at this point it is possible to select the exception for ignoring the first system, so that terminal can be with
The first system is repaired in networking.
Fig. 6 shows the structural representation of terminal according to an embodiment of the invention.
As shown in fig. 6, terminal 600 according to an embodiment of the invention, including described in any of the above-described technical scheme
System exception prosthetic device 500, therefore, the terminal 600 have and above-mentioned technical proposal any one of system exception
The identical technique effect of prosthetic device 500, will not be repeated here.
Fig. 7 shows the principle schematic of system exception prosthetic device according to an embodiment of the invention.
As shown in fig. 7, system exception prosthetic device (in this embodiment, terminal according to an embodiment of the invention
For mobile phone, dual system, the i.e. relatively low conventional system such as the higher security system of safe class and safety are installed on mobile phone), under
Face describes the system exception prosthetic device of the present invention in detail.
1. count the running status of the dual system of mobile phone
Voluntarily detected during each self-operating of dual system and the running status of statistical system, there are two purposes:
(1), prejudge the first system and will appear from exception, the critical system information that there will be no match information saves.
Specific method of discrimination:If within a period of time, the first system operation error number reaches 10 times, and the speed of service is reduced to usually
70%, then critical system information is saved, and remind user to preserve personal significant data.
(2), after the first system exception, the abnormal information for causing the system abnormal can be searched.Specifically, if a period of time
Interior deadlock number more than 5 times, or can not activation system, then it is abnormal to judge that the first system occurs, the first system is carried out
It is abnormal to repair.
2. the foundation of correcting strategy
, it is necessary to pre-establish the correcting strategy that dual system is mutually repaired when Dual System Design, generally comprise:Statistics
The file that can be repaired and the path of matching files;Specifically included using what matching files were repaired:
(1) the first system exception but remain to start (do not crash correcting strategy):
Monitoring system running situation, it is found that the first system is abnormal but can start, prompt user's the first system file (plus tool
Body path) occur abnormal, the first system may be caused to crash, loss of data equivalent risk, and prompt the user whether selection repair or
Person backs up.
If it is security system abnormal the first system (i) occur, the first system can be repaiied by following several ways
It is multiple:
1st, search match information from other conventional system and directly access conventional system to repair security system, looked into according to strategy
Matching files are looked for, are then repaired.
2nd, match information is searched from the critical system information of backup
3rd, network to download by conventional system and repair, first switch to conventional system, networking, which is downloaded, repairs file, close inspection
Afterwards, put files into by user-driven in security system, then switch to security system and repaired.
4th, do not repair, only back up data to another system, data are added in conventional system after encryption,
And whether high in the clouds is uploaded to by user-driven.
5th, the exception of the first system is ignored.
If it is conventional system abnormal the first system (ii) occur, the first system can be repaiied by following several ways
It is multiple:
1st, match information is searched to repair from security system, switch first to security system, repaired by security system is leading.
2nd, search match information from the critical system information of backup and abnormal reparation is carried out to the first system.
3rd, networking downloads restoration information and carries out abnormal reparation to the first system.
4th, do not repair, only back up data to another system, because the data security system of conventional system is relatively low, by
User-driven, if the data in conventional system are imported into security system.
5th, the exception of the first system is ignored.
(2) the first system is abnormal and can not start (deadlock correcting strategy):
Find that the first system crashes, then automatically switches in second system, while preserve the first system when dual system is run
Status information.And after second system is switched to, notify user's the first system of terminal exception occur, and according to the choosing of user
Select the method repaired extremely to the first system.
If the first system for (i) occurring crashing is security system, the first system can be repaiied by following several ways
It is multiple:
1st, match information is searched from conventional system to go to repair the security system to crash, specifically, after switching to conventional system,
Apply for authority, read security system running log, and search the restoration information to match with the abnormal information of the first system, and profit
Gone to repair security system with restoration information.
2nd, match information is searched from the critical system information of backup, it is abnormal so as to be carried out according to match information to the first system
Repair.
3rd, switch to conventional system networking and download restoration information, specifically, the power of conventional system application access safety system
Limit, and the running log of security system read when allowing access safety system, find that match information is not present in conventional system,
Restoration information then is downloaded by networking, so as to carry out abnormal reparation to the first system according to the restoration information of download.
4th, the exception of the first system is ignored.
If the first system for (ii) occurring crashing is conventional system, the first system can be repaiied by following several ways
It is multiple:
1st, it is to copy match information in security system to go to repair the conventional system to crash from another system, specifically, cuts
Change and sign in security system, read conventional system running log, search the reparation letter matched with the abnormal information of conventional system
Breath, and remove reparation conventional system using restoration information.
2nd, restoration information is searched from the critical system information of backup, to be repaired according to restoration information to conventional system.
3rd, the exception of the first system is ignored.
In addition, in view of security system is higher to security requirement, when correcting strategy is performed, it is necessary to difference
Conventional system and dual system are treated, i.e. security system goes wrong, and can directly access common;And when conventional system goes wrong,
When asking for information from security system, strict purview certification and authority limitation are carried out, for such as only allowing search copy to specify
With file, do not allow any data for touching user;When being backed up from security system copy information, do not allow to data deciphering
Deng.
Technical scheme is described in detail above in association with accompanying drawing, by determining the abnormal information of abnormal system,
And the system of exception is repaired according to the restoration information matched with abnormal information in the system of normal operation, so as to avoid
The information of multiple systems of terminal is backed up abnormal reparation is carried out to any system in multiple systems, and then saved
The memory spaces of multiple systems, while it is abnormal terminal is carried out in the state of it can not network to the system of exception
Repair, so that abnormal system can recover normal running status in time.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.
Claims (9)
- A kind of 1. system exception restorative procedure, for terminal, it is characterised in that multiple systems are installed in the terminal, it is described Abnormal restorative procedure includes:The running status of the multiple system in the terminal is detected, whether to judge the first system in the multiple system It is abnormal;When judging the first system exception, judge whether to carry out abnormal reparation to the first system;And in judgement pair When the first system carries out abnormal repair, target correcting strategy is determined, to carry out abnormal reparation to the first system;The target correcting strategy is determined, to carry out abnormal reparation to the first system, is specifically included:Judge whether the first system is in deadlock state;The target correcting strategy is determined according to judged result, to carry out abnormal reparation to the first system;The target correcting strategy is determined according to the judged result, to carry out abnormal reparation, specific bag to the first system Include:When the judgement the first system is in and does not crash state, the abnormal information in the first system is determined, andWhen the safe class of the first system is higher than the safe class of second system, according to the visit order received, directly The second system is asked in receiving, and the restoration information matched with the abnormal information is obtained in the second system, with to institute State the first system and carry out abnormal reparation, orSwitch to the second system, and according to the control command received, in the second system networking download with it is described The restoration information of abnormal information matching, and judge whether the restoration information is safe, when judging safe, described repair is believed Breath is sent to the first system, to carry out abnormal reparation to the first system;OrWhen the safe class of the first system is less than the safe class of second system, according to the switching command received, Shen The second system please be switch to, and the restoration information matched with the abnormal information is obtained in the second system, with right The first system carries out abnormal reparation, orIn the first system, according to the control command received, the reparation letter matched with the abnormal information is downloaded in networking Breath, to carry out abnormal reparation to the first system;And the abnormal restorative procedure also includes:When judging not carry out the first system abnormal repair, according to the backup command received, by the first system Data backup to the multiple system in second system;Wherein, the second system is the multiple system of the terminal One of other systems in system in addition to the first system.
- 2. system exception restorative procedure according to claim 1, it is characterised in that according to determining the judged result Target correcting strategy, to carry out abnormal reparation to the first system, specifically also include:When judging that the first system is in deadlock state, according to the switching command received, second system, and institute are switched to State according to the control command received, it is determined whether store the system mode that the first system is in before the deadlock state Information, andWhen the safe class of the first system is higher than the safe class of the second system, ordered according to the acquisition received Order, apply for that authority reads the system operation daily record of the first system in the second system, and in the second system The restoration information matched with the abnormal information is obtained, to carry out abnormal reparation to the first system, orAccording to the acquisition order received, apply for that authority reads the system operation day of the first system in the second system Will, and according to the control command received, the reparation that networking download matches with the abnormal information in the second system Information, and judge whether the restoration information is safe, when judging safe, the restoration information is sent to first system System, to carry out abnormal reparation to the first system;OrWhen the safe class of the first system is less than the safe class of the second system, ordered according to the switching received Order, application switches to the second system, and reads the system operation daily record of the first system, and in the second system It is middle to obtain the restoration information matched with the abnormal information, to carry out abnormal reparation to the first system, wherein, described second System is one of other systems in the multiple system of the terminal in addition to the first system.
- 3. system exception restorative procedure according to claim 1, it is characterised in that also include:In the terminal is detected The multiple system the running status during, according to the storage order received, store critical system information;With AndWhen the judgement the first system is in and does not crash state, the match information in the critical system information is obtained, with right The first system carries out abnormal reparation.
- 4. system exception restorative procedure according to any one of claim 1 to 3, it is characterised in that the abnormal reparation Method also includes:When judging not carry out the first system abnormal repair, according to the select command received, selection ignores described the The exception of one system.
- A kind of 5. system exception prosthetic device, for terminal, it is characterised in that multiple systems are installed in the terminal, it is described Abnormal prosthetic device includes:Detection unit, for detecting the running status of the multiple system in the terminal, to judge in the multiple system The first system it is whether abnormal;Judging unit, for when judging the first system exception, judging whether to carry out abnormal reparation to the first system;Processing unit, when judging to carry out abnormal repair to the first system, target correcting strategy is determined, with to described first System carries out abnormal reparation;The processing unit is specifically used for:Judge whether the first system is in deadlock state;The target correcting strategy is determined according to judged result, to carry out abnormal reparation to the first system;The processing unit is specifically used for:When the judgement the first system is in and does not crash state, the abnormal information in the first system is determined, andWhen the safe class of the first system is higher than the safe class of second system, according to the visit order received, directly The second system is asked in receiving, and the restoration information matched with the abnormal information is obtained in the second system, with to institute State the first system and carry out abnormal reparation, orSwitch to the second system, and according to the control command received, in the second system networking download with it is described The restoration information of abnormal information matching, and judge whether the restoration information is safe, when judging safe, described repair is believed Breath is sent to the first system, to carry out abnormal reparation to the first system;OrWhen the safe class of the first system is less than the safe class of second system, according to the switching command received, Shen The second system please be switch to, and the restoration information matched with the abnormal information is obtained in the second system, with right The first system carries out abnormal reparation, orIn the first system, according to the control command received, the reparation letter matched with the abnormal information is downloaded in networking Breath, to carry out abnormal reparation to the first system;And the abnormal restorative procedure also includes:When judging not carry out the first system abnormal repair, according to the backup command received, by the first system Data backup to the multiple system in second system;Wherein, the second system is the multiple system of the terminal One of other systems in system in addition to the first system.
- 6. system exception prosthetic device according to claim 5, it is characterised in that the processing unit is specifically used for:When judging that the first system is in deadlock state, according to the switching command received, second system, and institute are switched to State according to the control command received, it is determined whether store the system mode that the first system is in before the deadlock state Information, andWhen the safe class of the first system is higher than the safe class of the second system, ordered according to the acquisition received Order, apply for that authority reads the system operation daily record of the first system in the second system, and in the second system The restoration information matched with the abnormal information is obtained, to carry out abnormal reparation to the first system, orAccording to the acquisition order received, apply for that authority reads the system operation day of the first system in the second system Will, and according to the control command received, the reparation that networking download matches with the abnormal information in the second system Information, and judge whether the restoration information is safe, when judging safe, the restoration information is sent to first system System, to carry out abnormal reparation to the first system;OrWhen the safe class of the first system is less than the safe class of the second system, ordered according to the switching received Order, application switches to the second system, and reads the system operation daily record of the first system, and in the second system It is middle to obtain the restoration information matched with the abnormal information, to carry out abnormal reparation to the first system, wherein, described second System is one of other systems in the multiple system of the terminal in addition to the first system.
- 7. system exception prosthetic device according to claim 5, it is characterised in that also include:Memory cell, during the running status for the multiple system in the terminal is detected, according to connecing The storage order received, store critical system information;Acquiring unit, for when the judgement the first system is in and does not crash state, obtaining in the critical system information Match information, to carry out abnormal reparation to the first system.
- 8. the system exception prosthetic device according to any one of claim 5 to 7, it is characterised in that the processing unit It is additionally operable to:When judging not carry out the first system abnormal repair, according to the select command received, selection ignores described the The exception of one system.
- A kind of 9. terminal, it is characterised in that including:System exception prosthetic device as any one of claim 5 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510186041.9A CN104765655B (en) | 2015-04-17 | 2015-04-17 | System exception restorative procedure, system exception prosthetic device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510186041.9A CN104765655B (en) | 2015-04-17 | 2015-04-17 | System exception restorative procedure, system exception prosthetic device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104765655A CN104765655A (en) | 2015-07-08 |
CN104765655B true CN104765655B (en) | 2018-03-16 |
Family
ID=53647500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510186041.9A Expired - Fee Related CN104765655B (en) | 2015-04-17 | 2015-04-17 | System exception restorative procedure, system exception prosthetic device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104765655B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109062730A (en) * | 2018-07-12 | 2018-12-21 | 江苏慧学堂系统工程有限公司 | A kind of computer data backup method |
CN113760635A (en) * | 2020-09-21 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Method and device for determining connection abnormity, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103885863A (en) * | 2012-12-24 | 2014-06-25 | 腾讯科技(深圳)有限公司 | System fault processing method and virtual machine |
US8819483B2 (en) * | 2006-09-27 | 2014-08-26 | L-3 Communications Corporation | Computing device with redundant, dissimilar operating systems |
CN104123208A (en) * | 2014-07-30 | 2014-10-29 | 深圳市中兴移动通信有限公司 | System abnormality repairing method and device and mobile terminal |
CN104133730A (en) * | 2014-07-30 | 2014-11-05 | 深圳市中兴移动通信有限公司 | Method and device for repairing system abnormality and mobile terminal |
CN104156273A (en) * | 2014-07-30 | 2014-11-19 | 深圳市中兴移动通信有限公司 | System exception repair method, system exception repair device and mobile terminal |
-
2015
- 2015-04-17 CN CN201510186041.9A patent/CN104765655B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8819483B2 (en) * | 2006-09-27 | 2014-08-26 | L-3 Communications Corporation | Computing device with redundant, dissimilar operating systems |
CN103885863A (en) * | 2012-12-24 | 2014-06-25 | 腾讯科技(深圳)有限公司 | System fault processing method and virtual machine |
CN104123208A (en) * | 2014-07-30 | 2014-10-29 | 深圳市中兴移动通信有限公司 | System abnormality repairing method and device and mobile terminal |
CN104133730A (en) * | 2014-07-30 | 2014-11-05 | 深圳市中兴移动通信有限公司 | Method and device for repairing system abnormality and mobile terminal |
CN104156273A (en) * | 2014-07-30 | 2014-11-19 | 深圳市中兴移动通信有限公司 | System exception repair method, system exception repair device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104765655A (en) | 2015-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102509046B (en) | The operating system effectively measured with the overall situation of dormancy support is started | |
CN108363659B (en) | Method and device for processing abnormity of electronic equipment | |
CN102016868B (en) | Method for detecting improper removal of electronic equipment | |
CN112685236A (en) | Dual-computer mutual backup method and system of data management system | |
CN102833281B (en) | It is a kind of distributed from the implementation method counted up, apparatus and system | |
CN104765655B (en) | System exception restorative procedure, system exception prosthetic device and terminal | |
CN101799776A (en) | Fault processing method of multi-core processor, multi-core processor and communication device | |
CN103559098B (en) | Smart card test number control, Apparatus and system | |
CN102737192B (en) | A kind of trusted program operation file backup method stored based on cloud | |
US20220401825A1 (en) | Alarm method and apparatus for tabletop game, electronic device and storage medium | |
CN111015359B (en) | Reset method and device of tool magazine | |
CN110502894A (en) | Recognition methods, equipment and the system of operation behavior | |
CN113608930A (en) | System chip and electronic device | |
CN116260707B (en) | Block chain node disaster recovery method, device and equipment based on consensus and storage medium | |
CN106406963B (en) | Initialization method and device of Linux system | |
CN110781039B (en) | Sentinel process election method and device | |
CN112307647A (en) | Charging pile communication interruption testing method and device, storage medium and processor | |
CN107943613A (en) | Data back up method and system, data reconstruction method and system and usb terminal | |
CN115002782A (en) | Account login verification method, device, equipment and storage medium | |
CN106846169B (en) | Method and device for controlling nuclear power plant under fire condition | |
CN110733037B (en) | Signal processing method and device, storage medium and processor | |
KR101428233B1 (en) | Method of storing vehicle identification number, apparatus performing the same and system perfroming the same | |
CN110908947A (en) | Hot plug method and device for frame type equipment line card, main control board and frame type equipment | |
CN103248507B (en) | Single-board power-down device and method | |
EP3278298A1 (en) | Method and system for handling exams |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180316 Termination date: 20210417 |
|
CF01 | Termination of patent right due to non-payment of annual fee |