CN202153352U - Watchdog device capable of preventing computer control system from failure - Google Patents
Watchdog device capable of preventing computer control system from failure Download PDFInfo
- Publication number
- CN202153352U CN202153352U CN2011202355912U CN201120235591U CN202153352U CN 202153352 U CN202153352 U CN 202153352U CN 2011202355912 U CN2011202355912 U CN 2011202355912U CN 201120235591 U CN201120235591 U CN 201120235591U CN 202153352 U CN202153352 U CN 202153352U
- Authority
- CN
- China
- Prior art keywords
- control system
- computer control
- computer system
- communication
- actuator
- 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
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The utility model discloses a watchdog device capable of preventing a computer control system from failure. The watchdog device comprises a function judging device, a characteristic state monitoring device, a communication monitoring device and a periodic resetting device, wherein the function judging device is used for analyzing characteristic states and communication data of a communication line, and resolving behaviors of a monitored computer system; the characteristic state monitoring device is used for describing the behaviors of a monitored computer control system by using a group of characteristic states, and deducing whether the monitored computer system can perform normal operations by analyzing the change of the characteristic states; the communication monitoring device is used for resolving characteristic data from the communication data of the monitored computer system according to a communication protocol, and deducing whether the monitored computer system can perform normal operations according to the change of the characteristic states; and the periodic resetting device is used for realizing periodic resetting. The watchdog device can be used for determining whether to reset the monitored computer system or to recover the power supply for the monitored computer control system after several seconds of poweroff according to the behaviors of the system so as to ensure functions of the system to be restored.
Description
Technical field
The utility model relates to a kind of watchdog device, particularly a kind of watchdog device that prevents that computer control system lost efficacy.
Background technology
In the computer control field, temporarily lost efficacy in order to prevent computer software and computer hardware function under specific condition, used a kind of well-known watchdog device.
As shown in Figure 1, existing watchdog device adopts the timing reset circuit, in the time period of setting; If computing machine does not send feeding-dog signal (promptly not detecting feeding-dog signal); Timer 1 overflows, and triggers monostable circuit 2 output reset signals, forces the computer system of being monitored to reset.The principle of work of existing watchdog device is: can select the regularly timer of length, zero clearing when this timer is accepted electrification reset, and the operation of two kinds of zero clearings of feeding-dog signal zero clearing for one.Power on accomplish after; Timer just carries out timer counter to the time clock of oscillator 3 output, and when the timer count value arrived regularly length and selects TG numerical value that circuit 4 sets, timer overflowed; Overflow pulse starts relatively-stationary reset signal of pulsewidth of monostable circuit output; This signal can be directly connected to the input that resets of computing machine, forces computer system to get into reset operation, and starts working again.
Common computer control system is owing to the appearance of inevitable defective or special running status in the software design; The central processing unit (CPU) that can make computing machine is normal executive routine temporarily; Inefficacy on the function appears; At this moment, have only resetting system again, just possibly make computer system recover normal function.
Yet, in actual calculation machine control system, after some systemic-function lost efficacy; Be irreclaimable only, need the power supply of parting system, after all exist the information of memory function parts to eliminate in the computer system with reset operation; Recover the power supply power supply again, system could restore funcitons.There is parasitic memory cell in this or exists the register that do not have the input that resets to cause because plant often in computer control system.
Also having a kind of problem is that the function of computing machine had lost efficacy; But dog feeding operation is still carrying out; Make watchdog device can not monitor the inefficacy of computer system, cause total system from mistake, not recover, this situation generally is that certain defective on the software design causes; Also have plenty of because computer system receives external interference, entered into that wrong program execution state causes.
Because existing watchdog device has above-mentioned two application problems,, can't use the monitoring function of watchdog device or watchdog device to be weakened greatly in special application.
The utility model content
The utility model technical matters to be solved provides a kind of watchdog device that prevents that computer control system lost efficacy; The operation whether its behavior decision according to system will reset and restore electricity after monitored computer system was perhaps cut off the power supply some seconds to monitored computer control system again is to guarantee the function of recovery system.
For solveing the technical problem, the utility model provides a kind of watchdog device that prevents that computer control system lost efficacy, and it is characterized in that, prevents that the watchdog device that computer control system lost efficacy from comprising at least:
The function judgment means, the communication data of its analytical characteristic state and communication line parses by the behavior of supervisory computer system, thereby judges whether can normally be carried out function by the supervisory computer system;
The eigenstate monitoring arrangement, it utilizes a stack features state to describe by the behavior of supervisory computer control system, infers by the supervisory computer system whether can normally carry out function through the variation of analyzing these eigenstates;
The communication monitoring arrangement, it is according to communications protocol, from being parsed characteristic the communication data of supervisory computer system, and the variation behavior of mating feature state, infer by the supervisory computer system whether can normally carry out function;
The periodicity resetting means, it carries out periodicity and resets;
Eigenstate monitoring arrangement, communication monitoring arrangement, periodicity resetting means are connected with the function judgment means.
Preferably; The said watchdog device that prevents that computer control system lost efficacy also comprises reset actuator and outage actuator; Reset actuator, the outage actuator all be connected with the function judgment means; The actuator that resets is used for operation that monitored system implementation is resetted, and the outage actuator is used to break off the primary power of monitored computer control system.
The positive progressive effect of the utility model is: the utility model according to the behavior of system decision whether to reset monitored computer system or monitored computer control system cut off the power supply some seconds after the operation that restores electricity again, to guarantee the function of recovery system.
Description of drawings
Fig. 1 is the theory diagram of existing watchdog device.
Fig. 2 prevents the theory diagram of the watchdog device that computer control system lost efficacy for the utility model.
Embodiment
Lift a preferred embodiment below, and combine accompanying drawing to come the clearer the utility model of intactly explaining.
In order to realize keeping watch on the behavior of monitored computer system, must find out some characteristics of system action to being carried out statistical measurement and analysis: the behavioural characteristic of communication and the behavioural characteristic of state by the behavior of supervisory computer system.Through the description to monitored system action characteristic, house dog just can realize monitored system action is analyzed, and then judges whether it is unusual.
As shown in Figure 2; The utility model prevents that the watchdog device that computer control system lost efficacy from comprising function judgment means 11, eigenstate monitoring arrangement 12, communication monitoring arrangement 13, the actuator 14 that resets, outage actuator 15, periodicity resetting means 16, and eigenstate monitoring arrangement 12, communication monitoring arrangement 13, the actuator 14 that resets, outage actuator 15, periodicity resetting means 16 all are connected with function judgment means 11.Function judgment means 11 is Embedded central processing units (CPU); Utilize central processing unit powerful computing ability and ability to communicate; The communication data of analytical characteristic state and communication line; Parse by the behavior of supervisory computer system, thereby judge whether can normally be carried out function by the supervisory computer system.Eigenstate monitoring arrangement 12 utilizes a stack features state to describe by the behavior of supervisory computer control system, infers by the supervisory computer system whether can normally carry out function through the variation of analyzing these eigenstates; Eigenstate during eigenstate is kept watch on must meet the following conditions: the variation of eigenstate value, can accurate description by the behavior of surveillance, and the major function of system has been represented in this behavior.Communication monitoring arrangement 13 is according to communications protocol, from being parsed characteristic the communication data of supervisory computer system, and the variation behavior of mating feature state, infer by the supervisory computer system whether can normally carry out function; Communication is kept watch on and must be met the following conditions: include in the communications protocol can unique identification ID number and with the relevant data of execution of system's major function.Periodicity resetting means 16 carries out periodicity and resets, and collateral security function judgment means 11 can not crash and lose surveillance coverage.
Function judgment means 11 is during twice reseting interval of periodicity resetting means 16; Keep watch on the eigenstate that the digital signal input circuit is imported through eigenstate monitoring arrangement 12 on the one hand, on the other hand through communication monitoring arrangement 13 monitor communication line input circuit institute incoming traffic data stream.Through the analysis of computer software to communication data and eigenstate data; Judge whether monitored computer control system is in normal state, if find that monitored system exception surpasses certain hour and fails to recover automatically, with the startup operation that 14 pairs of monitored system implementations of actuator reset that resets; If carried out three times reset operation continuously; But monitored computer control system still can not be recovered normal operating conditions, and the function judgment means will start outage actuator 15, break off the primary power of monitored computer control system; Force the work that restores electricity again after the complete power down of whole monitored system, so that make it recover normal operating conditions.If continuous three power-down operation still can not make monitored system recovery normal, will cut off the power supply for a long time, and provide the catastrophic failure indication, to prevent the further damage of monitored computer control system.
The utility model prevents that the principle of work of the watchdog device that computer control system lost efficacy is following: 1) behavior of monitored computer control system is kept watch on, can be realized through the supervision to its running status.In order to reach the purpose of its behavior of supervision, then require to be had plural eigenstate value by surveillance.The eigenstate value is meant combination or the time series through the eigenstate value, and whether major function that can the accurate description system is normal.For example: in the electronic police system that makes a dash across the red light, have very strong relevance between vehicle line ball circle, red signal, candid photograph action and the storage action.Therefore, can coil status signal L, red signal R, candid photograph signal C and storage signal S be formed a stack features state or a time series, show that whether electronic police is in the main function of normal execution.In the function judgment means,, just can judge whether electronic police can normally carry out function through this stack features state of software analysis or this time series.2) behavior of monitored computer control system is kept watch on, can also be realized through supervision or auxiliary the realization its communication behavior.In order to reach this purpose, then require by in the communications protocol of surveillance, there is the characteristic newspaper of uniquely defined request of data and data response more than at least one group.In the function judgment means; Analysis software is according to the agreement of communication; By the response of request of data to external world of supervisory computer system, whether understanding is normal by the inner duty of supervisory computer, thereby infers whether can normally be carried out function by the supervisory computer system in the analysis communication process.For example: in electronic police system, host computer obtains data through network, realizes through a cover communications protocol, between data that occur in the communications such as information content violating the regulations, ID numbering and the candid photograph action storage action very strong relevance is arranged.Analyze these communication datas and can infer whether electronic police system can normally carry out function.
The utility model is after judging monitored system and breaking down, and can select dual mode to accomplish the recovery to the failure system function: failure system one, resets; Two, outage restored electricity after some seconds to failure system.It is if three times reset and can not deal with problems that the utility model is selected the foundation of this dual mode; Select some seconds method of outage; Attempt three recovery after power cut thrashings; Just outage always, and provide system's catastrophic failure warning indication, further enlarge with the fault that prevents monitored computer control system.
In sum, the utility model according to the behavior of system decision whether to reset monitored computer system or monitored computer control system cut off the power supply some seconds after the operation that restores electricity again, to guarantee the function of recovery system.
Though more than described the embodiment of the utility model; But those skilled in the art is to be understood that; These only illustrate, and under the prerequisite of principle that does not deviate from the utility model and essence, can make numerous variations or modification to these embodiments.Therefore, the protection domain of the utility model is limited appended claims.
Claims (2)
1. a watchdog device that prevents that computer control system lost efficacy is characterized in that, prevents that the watchdog device that computer control system lost efficacy from comprising at least:
The function judgment means, the communication data of its analytical characteristic state and communication line parses by the behavior of supervisory computer system, thereby judges whether can normally be carried out function by the supervisory computer system;
The eigenstate monitoring arrangement, it utilizes a stack features state to describe by the behavior of supervisory computer control system, infers by the supervisory computer system whether can normally carry out function through the variation of analyzing these eigenstates;
The communication monitoring arrangement, it is according to communications protocol, from being parsed characteristic the communication data of supervisory computer system, and the variation behavior of mating feature state, infer by the supervisory computer system whether can normally carry out function;
The periodicity resetting means, it carries out periodicity and resets;
Eigenstate monitoring arrangement, communication monitoring arrangement, periodicity resetting means are connected with the function judgment means.
2. the watchdog device that prevents that computer control system lost efficacy as claimed in claim 1; It is characterized in that; The said watchdog device that prevents that computer control system lost efficacy also comprises reset actuator and outage actuator; Reset actuator, outage actuator all is connected with the function judgment means, and the actuator that resets is used for operation that monitored system implementation is resetted, and the actuator that cuts off the power supply is used to break off the primary power of monitored computer control system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011202355912U CN202153352U (en) | 2011-07-06 | 2011-07-06 | Watchdog device capable of preventing computer control system from failure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011202355912U CN202153352U (en) | 2011-07-06 | 2011-07-06 | Watchdog device capable of preventing computer control system from failure |
Publications (1)
Publication Number | Publication Date |
---|---|
CN202153352U true CN202153352U (en) | 2012-02-29 |
Family
ID=45693847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011202355912U Expired - Fee Related CN202153352U (en) | 2011-07-06 | 2011-07-06 | Watchdog device capable of preventing computer control system from failure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN202153352U (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103399813A (en) * | 2013-06-30 | 2013-11-20 | 惠州市德赛西威汽车电子有限公司 | Embedded system offline trace analysis method based on Trace information |
CN103823724A (en) * | 2014-03-18 | 2014-05-28 | 核工业理化工程研究院 | Method for monitoring channel polling and CAN communication through hardware watchdog |
CN108983680A (en) * | 2018-08-23 | 2018-12-11 | 河南东贵电子科技有限公司 | A kind of automation on-off controller |
CN111897670A (en) * | 2020-07-23 | 2020-11-06 | 北京骑胜科技有限公司 | Hardware reset circuit, method, Internet of things equipment and storage medium |
-
2011
- 2011-07-06 CN CN2011202355912U patent/CN202153352U/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103399813A (en) * | 2013-06-30 | 2013-11-20 | 惠州市德赛西威汽车电子有限公司 | Embedded system offline trace analysis method based on Trace information |
CN103399813B (en) * | 2013-06-30 | 2016-05-11 | 惠州市德赛西威汽车电子股份有限公司 | A kind of embedded system off-line trace analysis method based on Trace information |
CN103823724A (en) * | 2014-03-18 | 2014-05-28 | 核工业理化工程研究院 | Method for monitoring channel polling and CAN communication through hardware watchdog |
CN103823724B (en) * | 2014-03-18 | 2017-02-15 | 核工业理化工程研究院 | Method for monitoring channel polling and CAN communication through hardware watchdog |
CN108983680A (en) * | 2018-08-23 | 2018-12-11 | 河南东贵电子科技有限公司 | A kind of automation on-off controller |
CN111897670A (en) * | 2020-07-23 | 2020-11-06 | 北京骑胜科技有限公司 | Hardware reset circuit, method, Internet of things equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114328102B (en) | Equipment state monitoring method, equipment state monitoring device, equipment and computer readable storage medium | |
AU2014399227B2 (en) | Fault Processing Method, Related Apparatus and Computer | |
CN101976217B (en) | Anomaly detection method and system for network processing unit | |
CN110581852A (en) | Efficient mimicry defense system and method | |
CN103116531A (en) | Storage system failure predicting method and storage system failure predicting device | |
CN106789306B (en) | Method and system for detecting, collecting and recovering software fault of communication equipment | |
CN101149636A (en) | Repositioning system and method | |
CN202153352U (en) | Watchdog device capable of preventing computer control system from failure | |
CN101556679A (en) | Method for processing failures in integrated front-end system and computer equipment | |
CN101853191B (en) | Method for detecting task endless loop in operating system and operating system | |
CN101635652A (en) | Method and equipment for recovering fault of multi-core system | |
CN103475696A (en) | System and method for monitoring state of cloud computing cluster server | |
CN101221518B (en) | Method, device and system for preventing timing device overflow of hardware watchdog | |
CN101964724A (en) | Energy conservation method of communication single plate and communication single plate | |
CN103645962A (en) | Watch-dog implementation method and device based on Nios II system | |
CN104104542B (en) | RS 485-based real-time intelligent obstacle removing method | |
CN105426263A (en) | Implementation method and system for secure operation of cashbox system | |
CN102360315A (en) | Management method of watchdog circuit of fault-tolerant control system | |
CN103995759B (en) | High-availability computer system failure handling method and device based on core internal-external synergy | |
CN101964731B (en) | Method and device for monitoring data link | |
CN104486122A (en) | Router abnormality recovery system and method based on watchdog | |
CN112506154A (en) | Internet of things monitoring system for domestic sewage treatment station | |
CN102231124A (en) | Method for guarding tasks of embedded system | |
CN102780576B (en) | Method and device for submitting fault generation and fault disappearing | |
CN109408293B (en) | Method for monitoring RACK cabinet power supply in real time |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
DD01 | Delivery of document by public notice |
Addressee: Shanghai Quhan Industrial Co.,Ltd. Document name: Notification to Pay the Fees |
|
DD01 | Delivery of document by public notice |
Addressee: Shanghai Quhan Industrial Co.,Ltd. Document name: Notification of Termination of Patent Right |
|
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120229 Termination date: 20120706 |