CN102955722B - A kind of method for detecting abnormality, device, electric terminal and system - Google Patents
A kind of method for detecting abnormality, device, electric terminal and system Download PDFInfo
- Publication number
- CN102955722B CN102955722B CN201110236615.0A CN201110236615A CN102955722B CN 102955722 B CN102955722 B CN 102955722B CN 201110236615 A CN201110236615 A CN 201110236615A CN 102955722 B CN102955722 B CN 102955722B
- Authority
- CN
- China
- Prior art keywords
- terminal
- data
- interface
- abnormal detector
- operating system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000002159 abnormal effect Effects 0.000 claims abstract description 94
- 238000001514 detection method Methods 0.000 claims abstract description 46
- 238000007405 data analysis Methods 0.000 claims abstract description 19
- 238000011084 recovery Methods 0.000 claims description 40
- 230000005540 biological transmission Effects 0.000 claims description 2
- 238000000034 method Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 4
- 230000000875 corresponding Effects 0.000 description 3
- 230000004069 differentiation Effects 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 230000004301 light adaptation Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006011 modification reaction Methods 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000004573 interface analysis Methods 0.000 description 1
Abstract
The embodiment of the present invention provides a kind of method for detecting abnormality, abnormal detector, electric terminal, abnormality detection system and terminal system.Described method for detecting abnormality, is applied to first terminal, and described first terminal is connected by first interface and the second terminal, and described first terminal is connected with third terminal by the second interface;Wherein, described method includes: when meeting predetermined condition, is obtained the first data of described second terminal by described first interface;By described second interface, described first data are sent to described third terminal;Obtained the second data of third terminal feedback by the second interface, wherein, described second data are that described third terminal obtains according to described first data analysis, and described second data represent that described second terminal is in abnormality;Export described second data.The present invention solves the technical problem that can carry out abnormality detection under user terminal does not possesses network condition, and improve user makes expenditure.
Description
Technical field
The present invention relates to terminal detection technique field, particularly to a kind of method for detecting abnormality, abnormal detector, electronics
Terminal, abnormality detection system and terminal system.
Background technology
Along with the development of terminal technology, people are more and more higher to the requirement of computer, such as, when event occurs in subscriber's main station
Barrier, or when not can connect to network, then need this subscriber's main station remotely to be detected or repairs.
But, in the research of prior art and practice process, it was found by the inventors of the present invention that existing implementation
In, if subscriber's main station breaks down, or not can connect to network, then by network, this user terminal cannot be carried out exception
Detection, thus reduce user make expenditure.
Summary of the invention
The embodiment of the present invention provide a kind of method for detecting abnormality, abnormal detector, electric terminal, abnormality detection system and
Terminal system, to solve carry out the technical problem of abnormality detection under user terminal does not possesses network condition, improves user's
Make expenditure.
For solving above-mentioned technical problem, the embodiment of the present invention provides a kind of method for detecting abnormality, and described method is applied to the
One terminal, described first terminal is connected by first interface and the second terminal, and described first terminal by the second interface and
Third terminal connects;Wherein, described method includes:
When meeting predetermined condition, obtained the first data of described second terminal by described first interface;
By described second interface, described first data are sent to described third terminal;
Obtained the second data of described third terminal feedback by described second interface, wherein, described second data are institutes
Stating what third terminal obtained according to described first data analysis, described second data represent that described second terminal is in abnormal shape
State;
Export described second data.
Preferably, described meet predetermined condition and include: receive the 3rd detection instruction from described third terminal;Or
Person, receives the second detection instruction from described second terminal;Or, receive the first detection from described first terminal
Instruction.
Preferably, described obtain the first data of described second terminal by first interface and include:
By described first interface, described second terminal is scanned, it is thus achieved that the first data of described second terminal;Or
Person
Receive the first data that described second terminal sends.
Preferably, described second terminal includes the second scanning element, the first number that described second terminal of described reception sends
According to including:
Described second scanning element is started by described first interface;
Receiving the first data of described second terminal, described first data are described second scanning element scanning described second
Obtain after terminal.
Preferably, described method also includes:
Obtaining the 3rd data from described third terminal, there is exception for recovering described second terminal in described 3rd data
Recover data;
Recover according to the exception that described second terminal is existed by described 3rd data.
Preferably, described method also includes: described first interface is data bus interface, and described second interface is that network connects
Mouthful.
Accordingly, the embodiment of the present invention also provides for a kind of abnormal detector, is applied to first terminal, described first terminal
Connected by first interface and the second terminal, and described first terminal is connected with third terminal by the second interface;Wherein, institute
State abnormal detector to include:
First acquiring unit, for when meeting predetermined condition, obtains described second terminal by described first interface
First data;
Transmitting element, for being sent to described third terminal by described second interface by described first data;
Receive unit, for being obtained the second data of described third terminal feedback by described second interface, wherein, described
Second data are that described third terminal obtains according to described first data analysis, and described second data represent described second terminal
It is in abnormality;
Output unit, is used for exporting described second data.
Preferably, described acquiring unit includes:
First scanning element, for being scanned described second terminal by described first interface, it is thus achieved that described second
First data of terminal;And/or
Receive unit, for receiving the first data of this second terminal detection that described second terminal sends.
Preferably, described abnormal detector also includes:
Remotely judging unit, is used for judging whether to meet predetermined condition, if it is satisfied, start described acquiring unit to pass through institute
State first interface and obtain the first data of described second terminal;Wherein, described meet predetermined condition and include: receive from described
3rd detection instruction of third terminal;Or, receive the second detection instruction from described second terminal;Or, receive
The first detection instruction from described first terminal.
Preferably, described abnormal detector also includes:
Second acquisition unit, for obtaining the 3rd data from described third terminal, described 3rd data are used for recovering described
There are abnormal recovery data in the second terminal;
Recovery unit, recovers for the exception that there is described second terminal according to described 3rd data.
Preferably, described first terminal includes the first processing unit, runs the first operation based on described first processing unit
System;
Described second terminal includes the second processing unit, runs the second operating system based on described second processing unit;
Wherein, described first terminal includes that display unit, described display unit are used for showing described first operating system fortune
Capable or described second operating system, or described second terminal includes that display unit, described display unit are used for showing institute
State the first operating system or described second operating system.
Accordingly, the embodiment of the present invention also provides for a kind of electric terminal, including:
First interface, for being connected with the second terminal;
Second interface, for being connected with third terminal;
First processing unit, for when meeting predetermined condition, obtains described second terminal by described first interface
First data, and by described second interface, described first data are sent to described third terminal, and by described second
Interface obtains the second data of described third terminal feedback, and wherein, described second data are described third terminals according to described the
One data analysis obtains, and described second data represent that described second terminal is in abnormality;
Output unit, is used for exporting described second data.
Accordingly, the embodiment of the present invention also provides for a kind of abnormality detection system, including: first terminal, the second terminal and the
Three terminals, described first terminal is connected with described second terminal by described first interface, and described first terminal passes through institute
Stating the second interface to be connected with described third terminal, wherein, described first terminal includes abnormal detector, wherein,
Described abnormal detector, for when meeting predetermined condition, obtains described second eventually by described first interface
First data of end, and by described second interface, described first data are sent to described third terminal;And by described
Second interface obtains the second data of described third terminal feedback, and described second data are that described third terminal is according to described first
Data analysis obtains, and described second data represent that described second terminal is in abnormality;Export described second data;
Described third terminal, for receiving the first data that described abnormal detector sends, and according to described first number
According to analyzing whether described second terminal exists exception, if there is exception, then send described second to described abnormal detector
Data.
Preferably, described abnormal detector abnormal detector as above.
Accordingly, the embodiment of the present invention also provides for a kind of terminal system, including first terminal, the second terminal and the 3rd eventually
End, described first terminal is connected with described second terminal by first interface, and described first terminal pass through the second interface and
Described third terminal connects, and wherein, described first terminal includes: abnormal detector, and described second terminal includes monitoring device,
Described third terminal includes analytical equipment;
Described abnormal detector, for when meeting predetermined condition, by described first interface to described supervising device
Send Monitoring instruction, and receive, by described first interface, the first data that described monitoring device sends;And by described the
Described first data are sent to described analytical equipment by two interfaces;And by the of described second interface analytical equipment feedback
Two data, described second data are that described analytical equipment obtains according to described first data analysis, and described second data represent
Described second terminal is in abnormality;Export described second data;
Described monitoring device, for when receiving described Monitoring instruction, is monitored described second terminal, obtains institute
State the first data, and described first data are sent to described abnormal detector;
Described analytical equipment, for being analyzed described first data received, generates described second data, and leads to
Cross described second interface and described second data are sent to described abnormal detector.
Preferably, described third terminal also includes recovery device,
Described abnormal detector, the recovery being additionally operable to send acquisition recovery the second terminal abnormal to described recovery device is asked
Ask, receive described 3rd data that described analytical equipment sends;Or, receive described 3rd number that described recovery device sends
According to;Wherein, there are the recovery data of abnormality for recovering described second terminal in described 3rd data;And by the described 3rd
Data are sent to described monitoring device by first interface;
Described recovery device, is additionally operable to after receiving described recovery request, according to described in described analytical equipment
3rd data described in two data genaration, and send described 3rd data to described abnormal detector;Or analyze dress described
Put after described second data are sent to described abnormal detector, according to described second data genaration in described analytical equipment
Described 3rd data, and send described 3rd data to described abnormal detector;
Described monitoring device, is additionally operable to according to described 3rd data received, the exception that there is described second terminal
Recover.
As shown from the above technical solution, in the embodiment of the present invention, when meeting predetermined condition, first terminal can be to second
Terminal detects, and the first data detection acquired are sent to third terminal, in order to third terminal is to this first number
According to being analyzed, so that it is determined that whether the second terminal exists exception, and receiving this second terminal that third terminal sends
When there are the second abnormal data, export described second data.Solve the user terminal to not possessing network environment and carry out different
The often technical problem of detection, that improves user makes expenditure.Further, in the embodiment of the present invention, different determining that user terminal exists
Chang Shi, and when this user terminal does not possesses network environment, this user terminal can be carried out remote recovery.
Accompanying drawing explanation
The flow chart of a kind of method for detecting abnormality that Fig. 1 provides for the embodiment of the present invention;
The structural representation of a kind of abnormal detector that Fig. 2 provides for the embodiment of the present invention;
The second structural representation of a kind of abnormal detector that Fig. 3 provides for the embodiment of the present invention;
The third structural representation of a kind of abnormal detector that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of abnormality detection system that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of terminal system that Fig. 6 provides for the embodiment of the present invention;
The structural representation of a kind of electronic equipment that Fig. 7 provides for the embodiment of the present invention.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the scheme of the embodiment of the present invention, below in conjunction with the accompanying drawings and implement
The embodiment of the present invention is described in further detail by mode.
Refer to Fig. 1, for the flow chart of a kind of method for detecting abnormality that the embodiment of the present invention provides;Described method is applied to
First terminal, described first terminal is connected by first interface and the second terminal, and described first terminal is by the second interface
It is connected with third terminal;Wherein, described method includes:
Step 101: when meeting predetermined condition, obtains the first data of described second terminal by described first interface;
In this step, meet predetermined condition and may is that described first terminal receives the 3rd from described third terminal
Detection instruction;Or, described first terminal receives the second detection instruction from described second terminal;Or, described first
Terminal receives the first detection instruction from described first terminal.
In this step, described the first data by described first interface described second terminal of acquisition include two ways,
One is: described second terminal can be scanned by first terminal by described first interface, it is thus achieved that described second terminal
First data;
Another kind is: first terminal receives the first data that described second terminal sends.For this mode, described first
Terminal can start described second scanning element by first interface;Or first terminal receives the first number that the second terminal sends
According to, described first data are to obtain after described second scanning element scans described second terminal.
Certainly, for this mode, the second terminal can also start the second scanning element automatically, and by the second scanning element
The first data obtained by scanning are sent to first terminal.
In this embodiment, first interface can be data bus interface, such as USB (universal serial bus) (USB) interface, logical
With serial data bus (UART) interface or 1394 Network adaptation EBIs, but it is not limited to this.
Step 102: described first data are sent to described third terminal by described second interface;
In this step, the first data obtained are sent to third terminal, third terminal by the second interface by first terminal
The first data received are analyzed, and judge whether the second terminal exists exception, if there is exception, then generate the 3rd
Data, afterwards, perform step 103.Wherein, the second interface is network interface, such as RJ45 etc..
In this step, if third terminal judges that the second terminal does not exist exception, it is also possible to it is sentenced to notify first terminal
Disconnected result is the second non-exception of terminal.
Step 103: obtained the second data of third terminal feedback by the second interface, wherein, described second data are institutes
Stating what third terminal obtained according to described first data analysis, described second data represent that described second terminal is in abnormal shape
State;
From above-mentioned steps, if third terminal judges the second terminal abnormal, then by the second network interface to first
Terminal sends the second data, and the second data represent that described second terminal is in abnormality.
Certainly, if third terminal judges that the second terminal is in non-abnormality, it is also possible to then by the second network interface
Sending the 4th data to first terminal, the 4th data represent that described second terminal is in non-abnormality.
Step 104: export described second data.
After first terminal receives the second data that third terminal sends, described second data can be exported extremely and it
User's (i.e. this second terminal works of prompting user is abnormal) it is shown to, it is also possible to by described second data on the display unit connected
Output is to the second terminal, and described second data are shown to user by connected display unit and (i.e. point out use by the second terminal
This second terminal works of family is abnormal).
Certainly, in above process, if the first data are analyzed by third terminal, determine that described second terminal does not has
Existing abnormal, then send the 4th data to first terminal, the 4th data are that described third terminal is according to described first data analysis
Obtaining, described 4th data represent that described second terminal is in non-abnormality;
Described 4th data, after receiving the 4th data that third terminal sends, can be exported extremely by described first terminal
User's (i.e. prompting this second terminal works of user is normal) it is shown to, it is also possible to by the described 4th on connected display unit
Data export to the second terminal, and described 4th data are shown to user by connected display unit and (i.e. carry by the second terminal
Show that this second terminal works of user is normal).
On the basis of above-described embodiment, described method can also include:
First terminal obtains the 3rd data from described third terminal, and described 3rd data are used for recovering described second terminal and deposit
In abnormal recovery data;The exception that described second terminal is existed by first terminal according to described 3rd data is recovered.
In this step, a kind of mode is: first terminal can automatically or receiving after the recovery that user sends instructs
To third terminal send obtain recover the second terminal abnormal recovery request, third terminal after receiving described recovery request,
If it is determined that this can recover extremely, then according to described second data genaration for recovering the 3rd data of the second terminal abnormal, and
Described 3rd data are sent to first terminal, and described first terminal can to described second eventually according to the 3rd data received
End recovers, or described 3rd data are directly sent to the second terminal by first terminal, the second terminal recover it voluntarily
Abnormal.
Another way is: third terminal is sending after the second terminal exists the second abnormal data to first terminal, as
Fruit is thought and can recover this exception, then according to described second data genaration for recovering the 3rd number of the second terminal abnormal
According to, and sending described 3rd data to first terminal, described first terminal, can be to described after receiving described 3rd data
Second terminal is recovered, or described 3rd data are sent to the second terminal, the second terminal recover it voluntarily abnormal.
In the embodiment of the present invention, when meeting predetermined condition, the second terminal can be detected by first terminal, and will inspection
Survey the first data acquired and be sent to third terminal, in order to these first data are analyzed by third terminal, so that it is determined that
Whether the second terminal exists exception, and is receiving the second data of this second terminal existence exception that third terminal sends
Time, export described second data.Solve the technology that the second terminal not possessed under network condition also can be carried out abnormality detection
Problem, that improves user makes expenditure.
Further, in the embodiment of the present invention, when third terminal determines that the second terminal exists abnormal, and when can recover,
Second terminal does not possess under network environment, this second terminal can be carried out remote recovery.Certainly, if can not recover, it is possible to
To notify that this exception can not be recovered.
Accordingly, a kind of abnormal detector that the embodiment of the present invention also provides for, its structural representation refers to Fig. 2, described
Abnormal detector is applied to first terminal, described first terminal by the connection of first interface and the second terminal, and described the
One terminal is connected with third terminal by the second interface;Wherein, described abnormal detector includes: the first acquiring unit 21, sends out
Send unit 22, receive unit 23 and output unit 24, wherein,
Described first acquiring unit 21, for when meeting predetermined condition, obtains described second terminal by first interface
The first data;
Described transmitting element 22, for being sent to described third terminal by the second interface by described first data;
Described reception unit 23, for being obtained the second data of third terminal feedback by the second interface, described second number
According to being that third terminal obtains according to described first data analysis, described second data represent that described second terminal is in abnormal shape
State;
Described output unit 24, is used for exporting described second data.
Second terminal is carried out, in abnormality detecting process, meeting predetermined condition by the abnormal detector in first terminal
(such as, receive the 3rd detection instruction from described third terminal;Or, receive second from described second terminal
Detection instruction;Or, receive the first detection instruction from described first terminal) time, the in described abnormal detector
One acquiring unit 21 obtains the first data of described second terminal by first interface;Specifically include: the first scanning element, be used for
By first interface, described second terminal is scanned, it is thus achieved that the first data of described second terminal;And/or, receive unit,
For receiving the first data of this second terminal detection that the second terminal sends;Then, described transmitting element 22 is by described first
Data are sent to third terminal;And described reception unit 23 obtains the second data of third terminal feedback by the second interface,
Described second data are that third terminal obtains according to described first data analysis, and described second data represent described second terminal
Be in abnormality, then, described output unit 24, be used for exporting described second data, this output unit can by this second
In the first display unit that data output is extremely connected with this first terminal, i.e. show described second number by this first display unit
According to;These second data can also be exported to the second terminal, in order to the second terminal passes through connected second display unit
Show this second data.
Preferably, on the basis of this embodiment, described abnormal detector may include that long-range judging unit 25, uses
Meet predetermined condition, if it is satisfied, start described acquiring unit to obtain described second terminal by first interface in judging whether
The first data;Wherein, described meet predetermined condition and include: receive the 3rd detection instruction from described third terminal;Or
Person, receives the second detection instruction from described second terminal;Or, receive the first detection from described first terminal
Instruction.Its structural representation refers to Fig. 3, for the second structural representation of the abnormal detector that the embodiment of the present invention provides.
Preferably, on the basis of this embodiment, described abnormal detector can also include: second acquisition unit 26 He
Recovery unit 27, its structural representation refers to Fig. 4, and the third structure for the abnormal detector of embodiment of the present invention offer is shown
It is intended to.
Wherein, described second acquisition unit, for obtaining the 3rd data from described third terminal, described 3rd data are used for
Recover described second terminal and there are abnormal recovery data;Its process obtained may include that second acquisition unit is actively from the
Three terminals obtain the 3rd data;Or, if this can recover extremely, described 3rd data are actively sent to second and obtain by third terminal
Taking unit, its concrete implementation process refers to above-mentioned;If this exception can not be recovered, then third terminal also notifies that first terminal should
Extremely can not recover;Described recovery unit, carries out extensive for the exception that there is described second terminal according to described 3rd data
Multiple, its process recovered, can directly the second terminal be recovered, it is also possible to by the 3rd data notification the second terminal, with
It is easy to the second terminal recover voluntarily.
Preferably, described first terminal includes the first processing unit, runs the first operation based on described first processing unit
System;
Described second terminal includes the second processing unit, runs the second operating system based on described second processing unit;
Wherein, described first terminal includes that display unit, described display unit are used for showing described first operating system fortune
Capable or described second operating system, or described second terminal includes that display unit, described display unit are used for showing institute
State the first operating system or described second operating system.
The embodiment of the present invention, solves the technical problem that the terminal not possessing network environment carries out abnormality detection, improves
User makes expenditure.
Further, in the embodiment of the present invention, when determining that user terminal exists abnormal, and this user terminal does not the most possess net
During network environment, this user can be carried out remote recovery.
Accordingly, the embodiment of the present invention also provides for a kind of abnormality detection system, and its structural representation is as it is shown in figure 5, described
Abnormality detection system includes: first terminal the 51, second terminal 52 and third terminal 53, and described first terminal 51 passes through first interface
54 are connected with the second terminal 52, and described first terminal 51 is connected with third terminal 53 by the second interface 55, wherein, described
First terminal 51 includes abnormal detector 511, wherein,
Described abnormal detector 511, for when meeting predetermined condition, obtains described second terminal by first interface
First data of 52, and by the second interface, described first data are sent to described third terminal 53;And connect by second
Mouth obtains the second data of third terminal 53 feedback, and described second data are that third terminal 53 obtains according to described first data analysis
, described second data represent that described second terminal 52 is in abnormality;Export described second data;
Described third terminal 53, for receiving the first data that described abnormal detector 511 sends, and according to described the
Described in one data analysis, whether the second terminal 52 exists exception, if there is exception, then sends the second data to first terminal 51.
In this embodiment, described abnormal detector as Fig. 2, Fig. 3 or with the abnormal detector shown in 4, the most in detail
See above-mentioned, do not repeat them here.
Accordingly, the embodiment of the present invention also provides for a kind of terminal system, its structural representation as shown in Figure 6, described terminal
System includes: first terminal the 61, second terminal 62 and third terminal 63, and described first terminal 61 is by first interface 64 and second
Terminal 62 connects, and described first terminal 61 is connected with third terminal 63 by the second interface 65, wherein, and described first terminal
61 include: abnormal detector 611, and described second terminal 62 includes that monitoring device 621, described third terminal 63 include analyzing dress
Put 631,
Described abnormal detector 611, for when meeting predetermined condition, by described first interface to described monitoring dress
Put 621 transmission Monitoring instructions, and receive, by described first interface, the first data that described monitoring device 621 sends;And it is logical
Cross described second interface and described first data are sent to described analytical equipment 631;And by described second interface analysis
Second data of device 631 feedback, described second data are that described analytical equipment obtains according to described first data analysis, institute
State the second data and represent that described second terminal is in abnormality;Export described second data;
Described monitoring device 621, for when receiving the Monitoring instruction that described abnormal detector 611 sends, to institute
State the second terminal to be monitored, obtain the first data, and described first data are sent to different detection device 611.
Preferably, described third terminal also includes recovery device,
Described abnormal detector, the recovery being additionally operable to send acquisition recovery the second terminal abnormal to described recovery device is asked
Ask, receive described 3rd data that described analytical equipment sends;Or, receive described 3rd number that described recovery device sends
According to;Wherein, there are the recovery data of abnormality for recovering described second terminal in described 3rd data;And by the described 3rd
Data are sent to described monitoring device by first interface;
Described recovery device, is additionally operable to after receiving described recovery request, according to described in described analytical equipment
3rd data described in two data genaration, and send described 3rd data to described abnormal detector;Or analyze dress described
Put after described second data are sent to described abnormal detector, according to described second data genaration in described analytical equipment
Described 3rd data, and send described 3rd data to described abnormal detector;
Described monitoring device, is additionally operable to according to described 3rd data received, the exception that there is described second terminal
Recover.
Wherein, in the present embodiment, described analytical equipment and recovery device can integrate, it is also possible to independent deployment,
The present embodiment is not restricted.
The process that implements of above terminal embodiment refer to the associated description of preceding method embodiment, the most superfluous at this
State.
Accordingly, the embodiment of the present invention also provides for a kind of electric terminal, and its structural representation refers to Fig. 7, and described electronics is eventually
End includes: first interface 71, the second interface 72, the first processing unit 73 and output unit 74, wherein,
Described first interface 71, for being connected with the second terminal;Wherein, described first interface can be that data/address bus connects
Mouthful, such as USB (universal serial bus) (USB) interface, Universal Serial Bus (UART) interface or 1394 Network adaptation buses connect
Mouthful, but it is not limited to this.
Described second interface 72, for being connected with third terminal;Wherein, described second interface is network interface, such as
RJ45 etc..
Described first processing unit 73, for when meeting predetermined condition, obtains described the by described first interface 71
First data of two terminals, and by described second interface 72, described first data are sent to described third terminal, Yi Jitong
Crossing described second interface 72 and obtain the second data of described third terminal feedback, wherein, described second data are described 3rd ends
Holding according to described first data analysis acquisition, described second data represent that described second terminal is in abnormality;
Wherein, in this embodiment, described meet predetermined condition and may is that described first terminal receives from the described 3rd
3rd detection instruction of terminal;Or, described first terminal receives the second detection instruction from described second terminal;Or
Person, described first terminal receives the first detection instruction from described first terminal.
Described output unit 74, is used for exporting described second data.Wherein, receive third terminal at first terminal to send
The second data after, (can i.e. point out use by described second data output to being shown to user on connected display unit
This second terminal works of family is abnormal), it is also possible to by described second data output to the second terminal, the second terminal is by connected
Described second data are shown to user's (i.e. this second terminal works of prompting user is abnormal) by display unit.
In the embodiment of the present invention, when meeting predetermined condition, the second terminal can be detected by first terminal, and will inspection
Survey the first data acquired and be sent to third terminal, in order to these first data are analyzed by third terminal, so that it is determined that
Whether the second terminal exists exception, and is receiving the second data of this second terminal existence exception that third terminal sends
Time, export described second data.Solve user terminal under not possessing network condition, also to carry out the technology of abnormality detection ask
Topic, that improves user makes expenditure.
Further, in the embodiment of the present invention, when determining that user terminal exists abnormal, and this user terminal does not the most possess net
During network environment, this user can be carried out remote recovery.
The embodiment of the present invention can be applied in mixed architecture (hybrid) system being made up of first terminal and the second terminal
In, described first terminal and the second terminal are connected by data bus interface, and first terminal is by network interface and the 3rd eventually
End connect, wherein, mixed architecture system can be that two independent terminal units combine, it is also possible to comprise first terminal and
One portable terminal device of the second terminal.Such as mixed architecture system can by the notebook of a platform independent triangular web and
One smart mobile phone composition, it is also possible to be the notebook with mixed architecture system.
Certainly, first terminal can include the first hardware system, such as based on X86-based or ARM architecture processor from
System;Second terminal can include the second hardware system, such as based on X86-based or the main system of ARM architecture processor.I.e.
One terminal can be based on identical hardware structure with the second terminal, it is also possible to according to different hardware structures.Additionally, main system and
Differentiation (such as, the principal series that two systems are carried out by importance or priority or disposal ability or power consumption can be based on from system
The corresponding importance of system is high, priority is high, disposal ability is strong or power consumption big, and contrary to the above from system), it is also possible to be only
The differentiation of name, and the importance of non-limiting system or priority or disposal ability or power consumption.
Further, first terminal can include first hardware system with the first operating system, is such as provided with desktop
Device operating system (such as Windows, Linux or MacOS) or be provided with portable device system (such as Android,
Symbian or iOS) the first hardware system;Second terminal can include second hardware system with the second operating system, than
As being provided with desk device operating system (such as Windows, Linux or MacOS) or being provided with portable device system (ratio
Such as Android, Symbian or iOS) the second hardware system;I.e. first operating system and the second operating system can identical also
Can be different, as long as may operate in corresponding hardware system.
Preferably, the second terminal, based on X86-based processor, is provided with the main system of desktop operating system
(BASE);First terminal based on ARM architecture processor, be provided with portable device system from system (PAD), the 3rd
Terminal is that remote analysis recovers terminal or management terminal (SERVER) etc.;When being not limited to this, first terminal and the second terminal are also
Can exchange, first terminal is BASE, and the second terminal is PAD.
Wherein, first terminal has first interface, first terminal and the second terminal by corresponding first interface realization even
Connect or separate.First interface can be wireline interface can also be wave point, do not limit.
When first interface is wireline interface, first interface can be specially data bus interface, such as USB interface, or
UART interface, or self defined interface meets the connection between two equipment or separation.When first interface is wave point,
The blue tooth interface that can be, or infrared interface, or Wifi interface.
As a example by the notebook of hybrid system configuration, first terminal and the second terminal are two relative independent system, permissible
Independently work or the work that links together.Second terminal is arranged at the host computer side relative to single system notebook, possesses
Processing unit, input block, memory element, but do not possess display unit;First terminal is arranged at relative to single system notebook
Display screen side, possess processing unit, input block, memory element, display unit.Connect also at first terminal and the second terminal
During in conjunction with work, two terminals can share fractional hardware unit, such as display unit.Due to display unit and first terminal collection
Become, therefore when first terminal and the disconnection of the second terminal or wired separation, be intended for first terminal and use;When first terminal and second
When terminal connects, can use for first terminal, it is also possible to for the second terminal, i.e. in first terminal and/or the second terminal
Operation result/output the content of application (containing operating system) can be shown by display unit.
As a example by the notebook of another kind of hybrid system configuration, first terminal and the second terminal are two relatively independent systems
System, after linking together, can respectively/work alone.Second terminal is arranged at the host computer side relative to single system notebook, tool
Standby processing unit, input block, memory element, display unit;First terminal is integrally disposed with board form, possesses process single
Unit, memory element.When first terminal and the second terminal are connected by slot (first terminal inserts in the slot of the second terminal),
Two terminals can share fractional hardware unit, such as display unit, and described display unit can use for first terminal, it is possible to
For the operation result/output content applying (containing operating system) in the second terminal use, i.e. first terminal and/or the second terminal
Can be shown by display unit.
It should be noted that in this article, the relational terms of such as first and second or the like is used merely to a reality
Body or operation separate with another entity or operating space, and deposit between not necessarily requiring or imply these entities or operating
Relation or order in any this reality.And, term " includes ", " comprising " or its any other variant are intended to
Comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include that those are wanted
Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that
Other identical element is there is also in including the process of described key element, method, article or equipment.
Through the above description of the embodiments, those skilled in the art is it can be understood that can be by the present invention
Software adds the mode of required general hardware platform and realizes, naturally it is also possible to by hardware, but a lot of in the case of the former is more
Good embodiment.Based on such understanding, prior art is contributed by technical scheme the most in other words
Part can embody with the form of software product, and this computer software product can be stored in storage medium, such as ROM/
RAM, magnetic disc, CD etc., including some instructions with so that computer equipment (can be personal computer, server, or
Person's network equipment etc.) perform each embodiment of the present invention or the method described in some part of embodiment.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For Yuan, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (16)
1. a method for detecting abnormality, it is characterised in that be applied to first terminal, described first terminal is by first interface and the
Two terminals connect, and described first terminal is connected with third terminal by the second interface, and described first terminal includes having the
First hardware system of one operating system, described second terminal includes second hardware system with the second operating system;Wherein,
Described method includes:
When meeting predetermined condition, obtained the first data of described second terminal by described first interface;
By described second interface, described first data are sent to described third terminal, so that described third terminal is to described
First data are analyzed;
Obtained the second data of described third terminal feedback by described second interface, wherein, described second data are described the
Three terminals obtain according to described first data analysis, and described second data represent that described second terminal is in abnormality;
Export described second data.
Method the most according to claim 1, it is characterised in that described meet predetermined condition and include: receive from described
3rd detection instruction of third terminal;Or, receive the second detection instruction from described second terminal;Or, receive
The first detection instruction from described first terminal.
Method the most according to claim 1 and 2, it is characterised in that described obtain described second terminal by first interface
The first data include:
By described first interface, described second terminal is scanned, it is thus achieved that the first data of described second terminal;Or
Receive the first data that described second terminal sends.
Method the most according to claim 3, it is characterised in that described second terminal includes the second scanning element, described in connect
The first data receiving described second terminal transmission include:
Described second scanning element is started by described first interface;
Receiving the first data of described second terminal, described first data are that described second scanning element scans described second terminal
Rear acquisition.
Method the most according to claim 1 and 2, it is characterised in that also include:
Obtaining the 3rd data from described third terminal, there is abnormal recovery for recovering described second terminal in described 3rd data
Data;
Recover according to the exception that described second terminal is existed by described 3rd data.
Method the most according to claim 1 and 2, it is characterised in that also include: described first interface is that data/address bus connects
Mouthful, described second interface is network interface.
7. an abnormal detector, is applied to first terminal, it is characterised in that described first terminal is by first interface and the
Two terminals connect, and described first terminal is connected with third terminal by the second interface, and described first terminal includes having the
First hardware system of one operating system, described second terminal includes second hardware system with the second operating system;Wherein,
Described abnormal detector includes:
First acquiring unit, for when meeting predetermined condition, obtains the first of described second terminal by described first interface
Data;
Transmitting element, for described first data being sent to described third terminal by described second interface, so that described
Described first data are analyzed by third terminal;
Receive unit, for being obtained the second data of described third terminal feedback, wherein, described second by described second interface
Data are that described third terminal obtains according to described first data analysis, and described second data represent that described second terminal is in
Abnormality;
Output unit, is used for exporting described second data.
Abnormal detector the most according to claim 7, it is characterised in that described acquiring unit includes:
First scanning element, for being scanned described second terminal by described first interface, it is thus achieved that described second terminal
The first data;And/or
Receive unit, for receiving the first data of this second terminal detection that described second terminal sends.
9. according to the abnormal detector described in claim 7 or 8, it is characterised in that described abnormal detector also includes:
Remotely judging unit, is used for judging whether to meet predetermined condition, if it is satisfied, start described acquiring unit by described the
One interface obtains the first data of described second terminal;Wherein, described meet predetermined condition and include: receive from the described 3rd
3rd detection instruction of terminal;Or, receive the second detection instruction from described second terminal;Or, receive from
First detection instruction of described first terminal.
10. according to the abnormal detector described in claim 7 or 8, it is characterised in that described abnormal detector also includes:
Second acquisition unit, for obtaining the 3rd data from described third terminal, described 3rd data are used for recovering described second
There are abnormal recovery data in terminal;
Recovery unit, recovers for the exception that there is described second terminal according to described 3rd data.
11. according to the abnormal detector described in claim 7 or 8, it is characterised in that
Described first terminal includes the first processing unit, runs the first operating system based on described first processing unit;
Described second terminal includes the second processing unit, runs the second operating system based on described second processing unit;
Wherein, described first terminal include display unit, described display unit be used for showing described first operating system or
Described second operating system, or described second terminal includes that display unit, described display unit are used for showing described
One operating system or described second operating system.
12. 1 kinds of electric terminals, it is characterised in that including:
First interface, for being connected with the second terminal, described electric terminal includes the first hardware system with the first operating system
System, described second terminal includes second hardware system with the second operating system;
Second interface, for being connected with third terminal;
First processing unit, for when meeting predetermined condition, obtains the first of described second terminal by described first interface
Data, and by described second interface, described first data are sent to described third terminal, so that described third terminal pair
Described first data are analyzed, and are obtained the second data of described third terminal feedback by described second interface, wherein,
Described second data are that described third terminal obtains according to described first data analysis, and described second data represent described second
Terminal is in abnormality;
Output unit, is used for exporting described second data.
13. 1 kinds of abnormality detection systems, it is characterised in that including: first terminal, the second terminal and third terminal, described first
Terminal is connected with described second terminal by first interface, and described first terminal is by the second interface and described third terminal
Connecting, wherein, described first terminal includes that abnormal detector, described first terminal include having the first of the first operating system
Hardware system, described second terminal includes second hardware system with the second operating system, wherein,
Described abnormal detector, for when meeting predetermined condition, obtains described second terminal by described first interface
First data, and by described second interface, described first data are sent to described third terminal, so that the described 3rd is whole
Described first data are analyzed by end;And obtain, by described second interface, the second data that described third terminal feeds back,
Described second data are that described third terminal obtains according to described first data analysis, and described second data represent described second
Terminal is in abnormality;Export described second data;
Described third terminal, for receiving the first data that described abnormal detector sends, and divides according to described first data
Analyse whether described second terminal exists exception, if there is exception, then send described second data to described abnormal detector.
14. abnormality detection systems according to claim 13, it is characterised in that described abnormal detector such as claim
Abnormal detector described in 7 to 11 any one.
15. 1 kinds of terminal systems, it is characterised in that include first terminal, the second terminal and third terminal, described first terminal leads to
Cross first interface to be connected with described second terminal, and described first terminal be connected with described third terminal by the second interface,
Wherein, described first terminal includes: abnormal detector, and described second terminal includes that monitoring device, described third terminal include
Analytical equipment, described first terminal includes first hardware system with the first operating system, and described second terminal includes having
Second hardware system of the second operating system;
Described abnormal detector, for when meeting predetermined condition, is sent to described monitoring device by described first interface
Monitoring instruction, and receive, by described first interface, the first data that described monitoring device sends;And connect by described second
Described first data are sent to described analytical equipment, so that described first data are analyzed by described analytical equipment by mouth;
And by the second data of described second interface analytical equipment feedback, described second data are that described analytical equipment is according to institute
Stating what the first data analysis obtained, described second data represent that described second terminal is in abnormality;Export described second number
According to;
Described monitoring device, for when receiving described Monitoring instruction, is monitored described second terminal, obtains described the
One data, and described first data are sent to described abnormal detector;
Described analytical equipment, for being analyzed described first data received, generates described second data, and passes through institute
State the second interface and described second data are sent to described abnormal detector.
16. terminal systems according to claim 15, it is characterised in that described third terminal also includes recovery device,
Described abnormal detector, is additionally operable to send to described recovery device obtain the recovery request recovering the second terminal abnormal,
Receive the 3rd data that described analytical equipment sends;Or, receive the 3rd data that described recovery device sends;Wherein, described
There are the recovery data of abnormality in the 3rd data for recovering described second terminal;And by described 3rd data by first
Interface is sent to described monitoring device;
Described recovery device, is additionally operable to after receiving described recovery request, according to described second number in described analytical equipment
According to generating described 3rd data, and send described 3rd data to described abnormal detector;Or will at described analytical equipment
After described second data are sent to described abnormal detector, described in described second data genaration in described analytical equipment
3rd data, and send described 3rd data to described abnormal detector;
Described monitoring device, is additionally operable to according to described 3rd data received, and the exception that there is described second terminal is carried out
Recover.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110236615.0A CN102955722B (en) | 2011-08-17 | A kind of method for detecting abnormality, device, electric terminal and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110236615.0A CN102955722B (en) | 2011-08-17 | A kind of method for detecting abnormality, device, electric terminal and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102955722A CN102955722A (en) | 2013-03-06 |
CN102955722B true CN102955722B (en) | 2016-12-14 |
Family
ID=
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1508689A (en) * | 2002-12-19 | 2004-06-30 | 联想(北京)有限公司 | System and method for long-distace obtaining informtion of monitroed computer |
CN101719836A (en) * | 2008-10-09 | 2010-06-02 | 联想(北京)有限公司 | Method and device for fault detection |
CN102096617A (en) * | 2009-12-14 | 2011-06-15 | 联想(北京)有限公司 | Detection device and detection method |
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1508689A (en) * | 2002-12-19 | 2004-06-30 | 联想(北京)有限公司 | System and method for long-distace obtaining informtion of monitroed computer |
CN101719836A (en) * | 2008-10-09 | 2010-06-02 | 联想(北京)有限公司 | Method and device for fault detection |
CN102096617A (en) * | 2009-12-14 | 2011-06-15 | 联想(北京)有限公司 | Detection device and detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103152353A (en) | Unified management method and device of interactive information | |
CN102799408A (en) | Mobile terminal with voice-operated unlocking function and voice-operated unlocking method for mobile terminals | |
CN106851513A (en) | The method of testing and system of a kind of electronic product | |
CN101616023A (en) | A kind of method of cluster being implemented monitoring by note | |
CN104270740A (en) | Slot-sharing T card and SIM card detection method | |
CN102708125A (en) | Synchronization method between two electronic devices installed on the same operation system | |
CN103905506B (en) | A kind of Mobile solution offline access method, processing method, device and system | |
CN103092721B (en) | Application backing up method, electronic equipment and system | |
CN102955722B (en) | A kind of method for detecting abnormality, device, electric terminal and system | |
CN105227399A (en) | Based on network equipment Debugging message acquisition methods and the system of User space | |
CN107528677A (en) | Information sends failure way to play for time and device | |
CN103020500B (en) | Login authentication method and electronic equipment | |
CN106612215A (en) | Integrated remote detection device and method based on Ethernet | |
CN102999407A (en) | Computer hardware fault diagnosis system based on PCI (Peripheral Component Interconnect) bus | |
CN102437974B (en) | The method and system of network linking are obtained by JICQ | |
CN1445670A (en) | System of monitoring information on hot plug devices of computer system in real time | |
Maemunah et al. | The Architecture of Device Communication in Internet of Things using inter-integrated circuit and serial peripheral interface method | |
CN107750054A (en) | Network collision-proof method and device | |
CN100517409C (en) | System and method for collecting test data | |
CN102955722A (en) | Abnormality detection method, abnormality detection device, electronic terminal and abnormality detection system | |
CN106161066A (en) | A kind of log collection method and server | |
CN102904779A (en) | Communication protocol consistency detection method and system | |
CN100395721C (en) | System and method for centralized monitoring of limited program | |
CN110096002A (en) | A kind of automatization test system and test method based on CANFD bus | |
CN209057227U (en) | A kind of Internet of Things card batch detection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |