CN109032883A - A kind of software and hardware house dog structure and implementation method applied to stand module - Google Patents
A kind of software and hardware house dog structure and implementation method applied to stand module Download PDFInfo
- Publication number
- CN109032883A CN109032883A CN201810570430.5A CN201810570430A CN109032883A CN 109032883 A CN109032883 A CN 109032883A CN 201810570430 A CN201810570430 A CN 201810570430A CN 109032883 A CN109032883 A CN 109032883A
- Authority
- CN
- China
- Prior art keywords
- chip
- signal
- module management
- heartbeat
- power source
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
- G06F11/3093—Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Stored Programmes (AREA)
Abstract
The present invention relates to a kind of software and hardware house dog structure pole implementation methods applied to stand module, it is characterized in that, it includes modular power source managing chip and module management control chip, the module management control chip is connected to modular power source managing chip by commencing signal line, heartbeat signal line and stop signal line, and the modular power source managing chip is connected to module management by reseting signal line and controls chip.
Description
Technical field
The invention belongs to house dog design fields, and in particular to a kind of software and hardware house dog applied to stand module
Structure and implementation method.
Background technique
Stand module is the nodes such as calculating, service, storage or the exchange of a kind of high density slot position, is that a kind of level of confidentiality is not belonging to
The functional module of rack slot position plays the key effect of core in system application.
It is analyzed in terms of security reliability, it is most important for undertaking the monitoring of stand module of key core business, it needs
The lasting normal operation of key core business is ensured to the monitoring of its operating status real-time perfoming and troubleshooting.Therefore, in real time
Guarantee the method that core business module continually and steadily works, is the basis for guaranteeing stand module function-stable.
In the prior art, the house dog design method based on pure hardware or pure software, logic is relatively simple, and function is simple,
Movement directly, can not carry out fault detection and recovery to module according to failure rank by different level, sometimes in the feelings being not necessarily to
Module has been carried out under condition the movement such as to reset or shut down, meaningless task is caused to be interrupted, waste etc. is caused to the resource of system
Problem.This is in place of the deficiencies in the prior art.
In view of the above-mentioned drawbacks in the prior art, it provides and designs a kind of software and hardware house dog structure applied to stand module
And implementation method;To solve drawbacks described above in the prior art, it is necessary.
Summary of the invention
It is an object of the present invention to be applied to rack mould in view of the above-mentioned drawbacks of the prior art, providing and designing one kind
The software and hardware house dog structure and implementation method of block, to solve the above technical problems.
To achieve the above object, the present invention provides following technical scheme:
A kind of software and hardware house dog structure applied to stand module, which is characterized in that it include modular power source managing chip and
Module management controls chip, and the module management control chip passes through commencing signal line, heartbeat signal line and stop signal
Line is connected to modular power source managing chip, and the modular power source managing chip is connected to module management control by reseting signal line
Coremaking piece.
Preferably, the commencing signal line, heartbeat signal line, stop signal line and reseting signal line are to pass through
GPIO bus is realized.
Preferably, commencing signal is set to the pulse that continuous 3 periods are 400ms in commencing signal line;Heartbeat signal
Heartbeat signal is set to the pulse that the continuous period is 800ms in line;Stop signal is set to continuous 7 week in stop signal line
Phase is the pulse of 400ms;Reset signal is set to the low pulse of 3s in reseting signal line.
A kind of software and hardware house dog implementation method applied to stand module, which comprises the following steps:
S1: setting house dog program switching mechanism;
S2: it is not enabled state that modular power source managing chip, which powers on default module management control function, is opened in heartbeat detection function
In the case where opening: if not receiving heartbeat signal in 60 seconds, issuing reset signal, wait heartbeat signal 60 seconds, if Lungs from Non-Heart-Beating
Continue reseting module management and control chip, still Lungs from Non-Heart-Beating signal after being repeated 3 times does not continue reseting module management control chip then;
If receiving heartbeat signal in 60 seconds, start normally to detect heartbeat signal, and restores at most to restart 3 states again;And
It works normally;
S3: modular power source managing chip, which is opened in heartbeat detection function and receives module management control chip, issues heartbeat signal
Afterwards, start continuous monitoring heartbeat signal;If do not monitored in continuous 3 seconds module management control chip issue rising edge or under
Edge drops, then reseting module management controls chip, monitors heartbeat signal again after waiting 60 seconds after reset;If receiving heartbeat in 3 seconds
Signal restarts timing in 3 seconds, and restores at most continuously to restart 3 subfunctions;And it works normally.
Preferably, the step S1 specifically includes the following steps:
S11: after modular power source managing chip powers on, default heartbeat detection function is closed, only when interval continuously receiving less than 2 seconds
When the failing edge number that module management controls chip sending is more than or equal to 2, watchdog function is opened;
S12: modular power source managing chip power-down rebooting, or when interval continuously received module management control chip less than 2 seconds
When the failing edge number of sending is more than or equal to 5, watchdog function is closed.
Preferably, the implementation method after system worked well, further includes the steps that monitoring whether to update firmware,
It is specific as follows:
After having monitored that firmware needs to update, new firmware is updated, module management controls chip and sends to modular power source managing chip
Stop signal;Firmware program is updated, module management control chip restarts, sends commencing signal, send heartbeat signal;
Preferably, the implementation method after system worked well, include thes steps that whether monitoring key business is normal, tool
Body is as follows:
After monitoring that key business can not work normally, module management, which controls chip and sends to modular power source managing chip, stops letter
Number, module management control chip is restarted, and is sent commencing signal, is sent heartbeat signal.
The beneficial effects of the present invention are stand module is under the control of software and hardware house dog mechanism, hence it is evident that improves system
Troubleshooting efficiency, system operation reliability and duration are also very significantly improved.In addition, design principle of the present invention can
It leans on, structure is simple, has very extensive application prospect.
It can be seen that compared with prior art, the present invention have substantive distinguishing features outstanding and it is significant ground it is progressive, implementation
Beneficial effect be also obvious.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of software and hardware house dog structure applied to stand module provided by the invention.
Fig. 2 is a kind of flow chart of software and hardware house dog implementation method applied to stand module provided by the invention.
Wherein, 1- modular power source managing chip, 2- module management control chip, 3- commencing signal line, 4- heartbeat signal line,
5- stop signal line, 6- reseting signal line.
Specific embodiment
The present invention will be described in detail with reference to the accompanying drawing and by specific embodiment, and following embodiment is to the present invention
Explanation, and the invention is not limited to following implementation.
As shown in Figure 1, a kind of software and hardware house dog structure applied to stand module provided by the invention, feature exist
In it includes modular power source managing chip 1 and module management control chip 2, and the module management control chip 1 passes through beginning
Signal wire 3, heartbeat signal line 4 and stop signal line 5 are connected to modular power source managing chip 2, the modular power source management
Chip 2 is connected to module management by reseting signal line 6 and controls chip 1.
In the present embodiment, the commencing signal line 3, heartbeat signal line 4, stop signal line 5 and reseting signal line 6 are equal
To be realized by GPIO bus.
In the present embodiment, commencing signal is set to the pulse that continuous 3 periods are 400ms in commencing signal line;Heartbeat letter
Heartbeat signal is set to the pulse that the continuous period is 800ms in number line;Stop signal is set to continuous 7 in stop signal line
Period is the pulse of 400ms;Reset signal is set to the low pulse of 3s in reseting signal line.
As shown in Fig. 2, a kind of software and hardware house dog implementation method applied to stand module provided by the invention, feature
It is, comprising the following steps:
S1: setting house dog program switching mechanism;
S2: it is not enabled state that modular power source managing chip, which powers on default module management control function, is opened in heartbeat detection function
In the case where opening: if not receiving heartbeat signal in 60 seconds, issuing reset signal, wait heartbeat signal 60 seconds, if Lungs from Non-Heart-Beating
Continue reseting module management and control chip, still Lungs from Non-Heart-Beating signal after being repeated 3 times does not continue reseting module management control chip then;
If receiving heartbeat signal in 60 seconds, start normally to detect heartbeat signal, and restores at most to restart 3 states again;And
It works normally;
S3: modular power source managing chip, which is opened in heartbeat detection function and receives module management control chip, issues heartbeat signal
Afterwards, start continuous monitoring heartbeat signal;If do not monitored in continuous 3 seconds module management control chip issue rising edge or under
Edge drops, then reseting module management controls chip, monitors heartbeat signal again after waiting 60 seconds after reset;If receiving heartbeat in 3 seconds
Signal restarts timing in 3 seconds, and restores at most continuously to restart 3 subfunctions;And it works normally.
In the present embodiment, the step S1 specifically includes the following steps:
S11: after modular power source managing chip powers on, default heartbeat detection function is closed, only when interval continuously receiving less than 2 seconds
When the failing edge number that module management controls chip sending is more than or equal to 2, watchdog function is opened;
S12: modular power source managing chip power-down rebooting, or when interval continuously received module management control chip less than 2 seconds
When the failing edge number of sending is more than or equal to 5, watchdog function is closed.
In the present embodiment, which further includes the steps that monitoring whether to update firmware after system worked well,
It is specific as follows:
After having monitored that firmware needs to update, new firmware is updated, module management controls chip and sends to modular power source managing chip
Stop signal;Firmware program is updated, module management control chip restarts, sends commencing signal, send heartbeat signal;
In the present embodiment, which include thes steps that whether monitoring key business is normal after system worked well,
It is specific as follows:
After monitoring that key business can not work normally, module management, which controls chip and sends to modular power source managing chip, stops letter
Number, module management control chip is restarted, and is sent commencing signal, is sent heartbeat signal.
Disclosed above is only the preferred embodiment of the present invention, but the present invention is not limited to this, any this field
What technical staff can think does not have creative variation, and without departing from the principles of the present invention made by several improvement and
Retouching, should all be within the scope of the present invention.
Claims (7)
1. a kind of software and hardware house dog structure applied to stand module, which is characterized in that it includes modular power source managing chip
Chip is controlled with module management, the module management control chip is by commencing signal line, heartbeat signal line and stops letter
Number line is connected to modular power source managing chip, and the modular power source managing chip is connected to module management by reseting signal line
Control chip.
2. a kind of software and hardware house dog structure applied to stand module according to claim 1, which is characterized in that described
Commencing signal line, heartbeat signal line, stop signal line and reseting signal line be to be realized by GPIO bus.
3. a kind of software and hardware house dog structure applied to stand module according to claim 2, which is characterized in that start
Commencing signal is set to the pulse that continuous 3 periods are 400ms in signal wire;Heartbeat signal is set to continuous in heartbeat signal line
Period be 800ms pulse;Stop signal is set to the pulse that continuous 7 periods are 400ms in stop signal line;Reset letter
Reset signal is set to the low pulse of 3s in number line.
4. a kind of software and hardware house dog implementation method applied to stand module, which comprises the following steps:
S1: setting house dog program switching mechanism;
S2: it is not enabled state that modular power source managing chip, which powers on default module management control function, is opened in heartbeat detection function
In the case where opening: if not receiving heartbeat signal in 60 seconds, issuing reset signal, wait heartbeat signal 60 seconds, if Lungs from Non-Heart-Beating
Continue reseting module management and control chip, still Lungs from Non-Heart-Beating signal after being repeated 3 times does not continue reseting module management control chip then;
If receiving heartbeat signal in 60 seconds, start normally to detect heartbeat signal, and restores at most to restart 3 states again;And
It works normally;
S3: modular power source managing chip, which is opened in heartbeat detection function and receives module management control chip, issues heartbeat signal
Afterwards, start continuous monitoring heartbeat signal;If do not monitored in continuous 3 seconds module management control chip issue rising edge or under
Edge drops, then reseting module management controls chip, monitors heartbeat signal again after waiting 60 seconds after reset;If receiving heartbeat in 3 seconds
Signal restarts timing in 3 seconds, and restores at most continuously to restart 3 subfunctions;And it works normally.
5. a kind of software and hardware house dog implementation method applied to stand module according to claim 4, which is characterized in that
The step S1 specifically includes the following steps:
S11: after modular power source managing chip powers on, default heartbeat detection function is closed, only when interval continuously receiving less than 2 seconds
When the failing edge number that module management controls chip sending is more than or equal to 2, watchdog function is opened;
S12: modular power source managing chip power-down rebooting, or when interval continuously received module management control chip less than 2 seconds
When the failing edge number of sending is more than or equal to 5, watchdog function is closed.
6. a kind of software and hardware house dog implementation method applied to stand module according to claim 5, which is characterized in that
The implementation method further includes the steps that monitoring whether to update firmware after system worked well, specific as follows:
After having monitored that firmware needs to update, new firmware is updated, module management controls chip and sends to modular power source managing chip
Stop signal;Firmware program is updated, module management control chip restarts, sends commencing signal, send heartbeat signal.
7. a kind of software and hardware house dog implementation method applied to stand module according to claim 6, which is characterized in that
The implementation method include thes steps that whether monitoring key business is normal after system worked well, specific as follows:
After monitoring that key business can not work normally, module management, which controls chip and sends to modular power source managing chip, stops letter
Number, module management control chip is restarted, and is sent commencing signal, is sent heartbeat signal.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810214671 | 2018-03-15 | ||
CN2018102146716 | 2018-03-15 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109032883A true CN109032883A (en) | 2018-12-18 |
Family
ID=64612261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810570430.5A Pending CN109032883A (en) | 2018-03-15 | 2018-06-05 | A kind of software and hardware house dog structure and implementation method applied to stand module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109032883A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110069381A (en) * | 2019-03-20 | 2019-07-30 | 山东超越数控电子股份有限公司 | A method of Domestic Platform heartbeat detection is realized by CPLD |
CN111487954A (en) * | 2020-04-30 | 2020-08-04 | 深圳市鼎盛光电有限公司 | Control device and control method of electronic equipment and advertisement delivery equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101271415A (en) * | 2008-05-07 | 2008-09-24 | 深圳国人通信有限公司 | Monitoring watchdog implementing method of built-in equipment |
CN102902599A (en) * | 2012-09-17 | 2013-01-30 | 华为技术有限公司 | Virtual machine internal fault processing method, device and system |
CN104049702A (en) * | 2014-06-16 | 2014-09-17 | 京信通信系统(中国)有限公司 | Single chip microcomputer-based CPU (Central Processing Unit) reset control system, method and device |
CN107239360A (en) * | 2017-06-08 | 2017-10-10 | 山东超越数控电子有限公司 | A kind of linux Implementation of Embedded System methods based on Godson hardware platform |
-
2018
- 2018-06-05 CN CN201810570430.5A patent/CN109032883A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101271415A (en) * | 2008-05-07 | 2008-09-24 | 深圳国人通信有限公司 | Monitoring watchdog implementing method of built-in equipment |
CN102902599A (en) * | 2012-09-17 | 2013-01-30 | 华为技术有限公司 | Virtual machine internal fault processing method, device and system |
CN104049702A (en) * | 2014-06-16 | 2014-09-17 | 京信通信系统(中国)有限公司 | Single chip microcomputer-based CPU (Central Processing Unit) reset control system, method and device |
CN107239360A (en) * | 2017-06-08 | 2017-10-10 | 山东超越数控电子有限公司 | A kind of linux Implementation of Embedded System methods based on Godson hardware platform |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110069381A (en) * | 2019-03-20 | 2019-07-30 | 山东超越数控电子股份有限公司 | A method of Domestic Platform heartbeat detection is realized by CPLD |
CN111487954A (en) * | 2020-04-30 | 2020-08-04 | 深圳市鼎盛光电有限公司 | Control device and control method of electronic equipment and advertisement delivery equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102132523B (en) | Device power management using network connections | |
DE102010032758B4 (en) | Computer system, method of programming a real time clock and computer program product | |
WO2016041468A1 (en) | Wakeup method, device and terminal | |
CN101154130B (en) | Virtual machine system and its power supply management method | |
CN100518069C (en) | Power management method, system, main control board and intelligent interface board | |
CN101526845B (en) | Power management method and related chipset thereof | |
CN109032883A (en) | A kind of software and hardware house dog structure and implementation method applied to stand module | |
CN102428424A (en) | Information Processing Apparatus And Power Supply Control Circuit | |
CN102929381B (en) | Electronic system and method for managing power supply thereof | |
CN103853301A (en) | Server system and automatic reset method thereof | |
CN111831488A (en) | TCMS-MPU control unit with safety level design | |
EP2159667B1 (en) | Computer system and method for energy-efficient operation of a computer system | |
CN1967489A (en) | Method and system for preventing computer down | |
CN105739665A (en) | UPS (Uninterrupted Power Supply) monitoring management method | |
CN101930382B (en) | Method, circuit and terminal for starting terminal with memory | |
CN113721751A (en) | Low-power-consumption management method and system based on event and dormancy timer | |
CN109408269A (en) | A kind of baseboard management controller delay machine restarts system and method for restarting | |
CN101661404A (en) | Computer system and method thereof for entering standby mode | |
CN109408293B (en) | Method for monitoring RACK cabinet power supply in real time | |
CN205750367U (en) | Intelligent medical socket box | |
CN107621995B (en) | System and method for preventing BMC (baseboard management controller) from being hung up due to continuous triggering of restart key | |
CN104360913B (en) | Monitoring module for computer operating system | |
CN114816930A (en) | Active service self-healing operation and maintenance system and method | |
CN104679709A (en) | Computer system | |
US7809968B2 (en) | Method and system for managing ecosystem sleep |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181218 |