CN105446851A - Processor monitoring method and system and MCU (Microprogrammed Control Unit) for monitoring processor - Google Patents

Processor monitoring method and system and MCU (Microprogrammed Control Unit) for monitoring processor Download PDF

Info

Publication number
CN105446851A
CN105446851A CN201410506040.3A CN201410506040A CN105446851A CN 105446851 A CN105446851 A CN 105446851A CN 201410506040 A CN201410506040 A CN 201410506040A CN 105446851 A CN105446851 A CN 105446851A
Authority
CN
China
Prior art keywords
circuit
processor
mcu
power
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410506040.3A
Other languages
Chinese (zh)
Other versions
CN105446851B (en
Inventor
窦红权
李耀彬
庞观士
陈志列
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yanxiang Intelligent Iot Technology Co ltd
Shenzhen Yanxiang Smart Technology Co ltd
Yanxiang Smart Iot Technology Co ltd
EVOC Intelligent Technology Co Ltd
Original Assignee
SHENZHEN EVOC SPECIAL COMPUTER SOFTWARE Co Ltd
EVOC Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by SHENZHEN EVOC SPECIAL COMPUTER SOFTWARE Co Ltd, EVOC Intelligent Technology Co Ltd filed Critical SHENZHEN EVOC SPECIAL COMPUTER SOFTWARE Co Ltd
Priority to CN201410506040.3A priority Critical patent/CN105446851B/en
Publication of CN105446851A publication Critical patent/CN105446851A/en
Application granted granted Critical
Publication of CN105446851B publication Critical patent/CN105446851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a processor monitoring method, which comprises the following steps that: an MCU (Microprogrammed Control Unit) is started up after being powered on, and the MCU is in communication connection with a processor; the MCU controls each circuit in the processor to be sequentially powered on and started up according to a preset power-on time sequence, monitors whether a previous circuit is normally powered on and started up in the process of controlling each circuit to be powered on and started up, controls a next circuit to be powered on and started up after monitoring the previous circuit is normally powered on and started up, and if monitoring a random circuit is abnormally powered on and started up, sends a power-on abnormality signal corresponding to the circuit to an alarm circuit; and the alarm circuit, according to the power-on abnormality signal, gives an alarm. According to the method, the abnormal circuit in the processor can be rapidly positioned in the starting process of the processor so as to find fault generation reasons. Moreover, the invention also provides the MCU for monitoring the processor and a processor monitoring system.

Description

A kind of processor method for supervising and system, MCU for monitoring processor
[technical field]
The present invention relates to field of computer technology, particularly a kind of processor method for supervising, a kind of MCU for monitoring processor and a kind of processor supervisory system.
[background technology]
Various computing machine is widely used in every field, such as Industry Control, military project, track traffic etc. on the market at present.The reliability and stability of some of them field to computer system have very high requirement, once break down, require location rapidly.
But in prior art, generally after processor runs, just can only carry out self-inspection by software, and if in processor start-up course processor break down, then cannot position fault.
[summary of the invention]
Based on this, be necessary to provide a kind of can in processor start-up course the processor method for supervising of rapid location processor fault.
A kind of processor method for supervising, comprises the following steps:
MCU starts after acquisition power supply, and described MCU is connected with described processor communication;
Described MCU controls each circuit in described processor according to the electrifying timing sequence electrifying startup successively preset, in each circuit electrifying startup process of control, whether normally monitor previous circuit electrifying startup, monitor previous circuit electrifying startup normal after, control a rear circuit again and carry out electrifying startup, if it is abnormal to monitor any one circuit electrifying startup, then send the power on abnormal signal corresponding with this circuit to warning circuit;
Described warning circuit according to described in the abnormal signal that powers on report to the police.
Wherein in an embodiment, described method is further comprising the steps of:
Described MCU monitors the running temperature in described processor operational process, when described running temperature is in default high temperature range, sends down-scaled signals to described processor; When described running temperature is in default risk range, send normal shutdown signal to described processor, and monitor described processor and whether shut down successfully in preset time period, if not, then send forced shutdown signal to described processor.
Wherein in an embodiment, built-in configurable watchdog circuit in described MCU; Described method is further comprising the steps of:
Described MCU receives hello dog time interval parameter and the house dog startup command that described processor transmits;
Described MCU according to the counter overflow parameter of feeding the described configurable watchdog circuit of dog time interval parameter configuration, and starts described configurable watchdog circuit;
Described MCU, whenever receiving the feeding-dog signal of described processor, transmits feeding-dog signal to described configurable watchdog circuit;
After described MCU receives the reset signal of described configurable watchdog circuit, transmit reset signal to described processor.
Wherein in an embodiment, further comprising the steps of:
Described MCU also receives the charged of described processor transmission and restarts condition and power-off restarting condition;
The step transmitting reset signal to described processor comprises:
Described MCU judges describedly chargedly to restart condition and whether described power-off restarting condition is set up, when described charged restart condition set up time, control that described processor is charged restarts, when described power-off restarting condition is set up, control described processor power-off restarting.
Wherein in an embodiment, described method is further comprising the steps of:
Described MCU controls each circuit in described processor according to the power-off sequential power-off successively preset, in each down circuitry process of control, monitor the whether complete power-off of previous circuit, after monitoring the complete power-off of previous circuit, control a rear circuit again and carry out power-off, can not power-off completely if monitor any one circuit, then send the power-off abnormal signal corresponding with this circuit to described warning circuit;
Described warning circuit is reported to the police according to described power-off abnormal signal.
In addition, there is a need to provide a kind of MCU for monitoring processor that can help rapid location processor fault in processor start-up course.
A kind of MCU for monitoring processor, described MCU is used for starting after acquisition power supply, and each circuit controlled in the processor communicated to connect with described MCU is according to the electrifying timing sequence electrifying startup successively preset, in each circuit electrifying startup process of control, whether normally monitor previous circuit electrifying startup, monitor previous circuit electrifying startup normal after, control a rear circuit again and carry out electrifying startup, if it is abnormal to monitor any one circuit electrifying startup, then send the power on abnormal signal corresponding with this circuit to warning circuit, make described warning circuit according to described in the abnormal signal that powers on report to the police.
Wherein in an embodiment, described MCU is also for monitoring the running temperature in described processor operational process, when described running temperature is in default high temperature range, down-scaled signals is sent to described processor, when described running temperature is in default risk range, send normal shutdown signal to described processor, and monitor described processor and whether shut down successfully in preset time period, if not, then forced shutdown signal is sent to described processor.
Wherein in an embodiment, built-in configurable watchdog circuit in described MCU;
Described MCU is also for receiving hello dog time interval parameter and the house dog startup command that described processor transmits;
Described MCU also for the counter overflow parameter according to the described configurable watchdog circuit of hello dog time interval parameter configuration, and starts described configurable watchdog circuit;
Described MCU, also for whenever receiving the feeding-dog signal of described processor, transmits feeding-dog signal to described configurable watchdog circuit;
Described MCU also restarts condition and power-off restarting condition for receiving the charged of described processor transmission;
Described MCU also for receive described configurable watchdog circuit reset signal after, judge describedly chargedly to restart condition and whether described power-off restarting condition is set up, when described charged restart condition set up time, control that described processor is charged restarts, when described power-off restarting condition is set up, control described processor power-off restarting.
Wherein in an embodiment, described MCU is also for controlling each circuit in described processor according to the power-off sequential power-off successively preset, in each down circuitry process of control, monitor the whether complete power-off of previous circuit, after monitoring the complete power-off of previous circuit, control a rear circuit again and carry out power-off, can not power-off completely if monitor any one circuit, then send the power-off abnormal signal corresponding with this circuit to described warning circuit, described warning circuit is reported to the police according to described power-off abnormal signal.
In addition, there is a need to provide a kind of can in start-up course the processor supervisory system of rapid location processor fault.
A kind of processor supervisory system, the warning circuit comprising the MCU for monitoring processor described in above-mentioned any embodiment and communicate to connect with described MCU;
Described warning circuit be used for when receive described MCU transmission power on abnormal signal time, report to the police according to the described abnormal signal that powers on;
Described warning circuit also for when receiving the power-off abnormal signal that described MCU sends, is reported to the police according to described power-off abnormal signal.
Above-mentioned processor method for supervising, in the MCU of monitoring processor and processor supervisory system, MCU starts prior to processor, and the electrifying startup of control processor: each circuit in MCU control processor is according to the electrifying timing sequence electrifying startup successively preset, and after controlling the normal electrifying startup of previous circuit, control a rear circuit again and carry out electrifying startup, if it is abnormal to monitor any one circuit electrifying startup, then send the power on abnormal signal corresponding with this circuit to warning circuit, make warning circuit can send abnormal alarm corresponding to this circuit; Therefore in processor start-up course, the circuit of the generation exception in processor can be oriented rapidly, thus find out the reason of fault generation.
[accompanying drawing explanation]
Fig. 1 is the schematic flow sheet of the processor method for supervising in an embodiment;
Fig. 2 is the schematic flow sheet of the process of running temperature in an embodiment in MCU monitoring processor operational process;
Fig. 3 be in an embodiment MCU by the schematic flow sheet of the process of built-in configurable house dog control processor;
Fig. 4 be in another embodiment MCU by the schematic flow sheet of the process of built-in configurable house dog control processor;
Fig. 5 is the schematic flow sheet of the process of MCU control processor power-off in another embodiment;
Fig. 6 is the structural representation of the processor supervisory system in an embodiment;
Fig. 7 is the structural representation of the processor supervisory system in another embodiment.
[embodiment]
As shown in Figure 1, a kind of processor method for supervising, comprises the following steps:
Step S102, MCU start after acquisition power supply, and MCU is connected with processor communication.
MCU (MicroControlUnit) Chinese is micro-control unit, also known as one chip microcomputer (SingleChipMicrocomputer) or single-chip microcomputer, refer to the CPU of computing machine, RAM, ROM, timer conter and the multiple I/O Interface integration computing machine of the chip-scale formed on one chip.
In one embodiment, processor can be X 86 processor etc.X86 is a kind of sophisticated vocabulary released by Intel, and for the operation of control chip, X 86 processor can think the central processing unit (CPU) run based on X86.
Step S104, each circuit in MCU control processor is according to the electrifying timing sequence electrifying startup successively preset, in each circuit electrifying startup process of control, whether normally monitor previous circuit electrifying startup, monitor previous circuit electrifying startup normal after, control a rear circuit again and carry out electrifying startup, if it is abnormal to monitor any one circuit electrifying startup, then send the power on abnormal signal corresponding with this circuit to warning circuit.
Previous circuit when above-mentioned previous circuit and a rear circuit each circuit referred in processor is arranged in order according to the electrifying timing sequence preset in adjacent two circuit and a rear circuit.
Concrete, in one embodiment, the step controlling a circuit electrifying startup is: to voltage chips input enable signal (enable signal) of this circuit, and enable signal is the signal of instructed voltage chip to normal voltage required during circuit output operation; Monitoring the whether normal step of a circuit electrifying startup is: whether the voltage chips of monitoring this circuit returns the signal representing running status, and judges the whether corresponding normal operating condition of level of the signal of the expression running status that the voltage chips of this circuit returns.The signal of the expression running status that the voltage chips of circuit returns is commonly referred to powergood signal, the level of powergood signal be 3 volts then indication circuit normally run, powergood signal is 0 volt of then complete power-off of indication circuit.
In one embodiment, if it is abnormal to monitor a circuit electrifying startup, then control this circuit again and carry out electrifying startup, until carried out the electrifying startup of preset times to this circuit after, this circuit still normally after electrifying startup, just can not send the power on abnormal signal corresponding with this circuit to warning circuit.
Step S106, warning circuit is reported to the police according to the abnormal signal that powers on.
In one embodiment, warning circuit can send sound and the light of varying strength according to the different abnormal signals that powers on; In another embodiment, warning circuit can control the different numeral of numeral method according to the different abnormal signals that powers on; Thus indicate the physical circuit broken down.
Above-mentioned processor method for supervising, MCU starts prior to processor, and the electrifying startup of control processor: each circuit in MCU control processor is according to the electrifying timing sequence electrifying startup successively preset, and after controlling the normal electrifying startup of previous circuit, control a rear circuit again and carry out electrifying startup, if it is abnormal to monitor any one circuit electrifying startup, then send the abnormal alarm that this circuit is corresponding; Therefore above-mentioned processor method for supervising can orient rapidly the circuit of the generation exception in processor in processor start-up course, thus finds out the reason of fault generation.
As shown in Figure 2, in one embodiment, above-mentioned processor method for supervising also comprises the process of the running temperature in MCU monitoring processor operational process, and this process comprises the following steps:
Step S202, MCU monitor the running temperature in processor operational process.
In one embodiment, be integral to the processor the temperature of the temperature sensor senses processor on same mainboard, this temperature sensor and MCU communicate to connect, and send the signal of the temperature representing processor to MCU.The scope of MCU residing for the running temperature of the signal decision processor received from temperature sensor.
Step S204, when running temperature is in default high temperature range, sends down-scaled signals to processor.
In one embodiment, if the running temperature of processor is more than or equal to first threshold and is less than Second Threshold, then the running temperature of MCU decision processor is in high temperature range, and wherein first threshold is less than Second Threshold.
In one embodiment, processor carries out frequency reducing operation after receiving down-scaled signals.The running temperature of self generally can be reduced after processor frequency reducing operation.
Whether step S206, when running temperature is in default risk range, sends normal shutdown signal to processor, and monitor processor and shut down successfully in preset time period, if not, then sends forced shutdown signal to processor.
In one embodiment, if the running temperature of processor is greater than Second Threshold, then the running temperature of MCU decision processor is in risk range.
Processor, after receiving normal shutdown signal, cuts out all programs run according to the logic of normal bolt down procedure; Processor after receiving forced shutdown signal, all programs run of compulsory withdrawal.
Above-mentioned processor method for supervising, by the running temperature of the MCU monitoring processor independent of processor, and when the running temperature of processor is in high temperature range, control processor carries out frequency reducing, the running temperature of processor can be avoided to raise further, and when the running temperature of processor is in risk range, control processor shuts down, processor can be avoided to damage.
In one embodiment, built-in configurable watchdog circuit in MCU; Above-mentioned processor method for supervising also comprises the process of MCU by built-in configurable house dog control processor, and as shown in Figure 3, this process comprises the following steps:
What step S302, MCU receiving processor transmitted feeds dog time interval parameter and house dog startup command.
Before step S302, processor sends hello dog time interval parameter and house dog startup command according to application program instructions to MCU.The concrete value of feeding dog time interval parameter is determined by each concrete application program.
Step S304, MCU according to the counter overflow parameter of feeding the above-mentioned configurable watchdog circuit of dog time interval parameter configuration, and start configurable watchdog circuit.
After configurable house dog starts, its counter starts counting, when aggregate-value reaches the value of counter overflow parameter, to MCU transmission reset signal and by counter O reset, and when receiving the feeding-dog signal of MCU also by counter O reset, and start counter and again count.
Step S306, MCU, whenever receiving the feeding-dog signal of processor, transmit feeding-dog signal to configurable watchdog circuit.
In one embodiment, processor sends feeding-dog signal according to application program instructions to MCU, when the application program belonging to this application program instructions is normally run, this application program instructions is performed once every preset duration, namely processor sends feeding-dog signal every preset duration to MCU, and this preset duration is less than above-mentioned value of feeding dog time interval parameter.
After step S308, MCU receive the reset signal of configurable watchdog circuit, transmit reset signal to processor.
Above-mentioned processor method for supervising, whether the application program that MCU performs by its built-in configurable house dog monitoring processor is normally run, if because application program is absorbed in endless loop, processor time-out does not send feeding-dog signal to MCU, then MCU transmits reset signal to processor, and the application program performed by processor can be avoided to be absorbed in endless loop for a long time.
As shown in Figure 4, in one embodiment, above-mentioned MCU is comprised the following steps by the process of built-in configurable house dog control processor:
What step S402, MCU receiving processor transmitted feeds dog time interval parameter and house dog startup command, and MCU also receiving processor transmit chargedly restart condition and power-off restarting condition.
Step S404, MCU according to the counter overflow parameter of feeding the above-mentioned configurable watchdog circuit of dog time interval parameter configuration, and start configurable watchdog circuit.
Step S406, MCU, whenever receiving the feeding-dog signal of processor, transmit feeding-dog signal to configurable watchdog circuit.
After step S408, MCU receive the reset signal of configurable watchdog circuit, judge chargedly to restart condition and whether power-off restarting condition is set up, when charged restart condition set up time, perform step S410, when power-off restarting condition is set up, execution step S412.
Step S410, MCU control processor is charged restarts.
Concrete, MCU sends Restart Signal to processor, after processor receives Restart Signal, closes all programs run, comprise application program and system program according to the logic of normal bolt down procedure, and further start up system program.
Step S412, MCU control processor power-off restarting.
Concrete, MCU sends normal shutdown signal to processor; Processor, after receiving normal shutdown signal, cuts out all programs run according to the logic of normal bolt down procedure; MCU monitors processor and whether closes all programs completely, and when processor cuts out all programs completely, each circuit in MCU control processor is according to the power-off sequential power-off successively preset; After the whole power-off of each circuit, each circuit in further MCU control processor is according to the electrifying timing sequence electrifying startup successively preset, after the whole electrifying startup of each circuit, MCU sends start up system signal to processor, processor after receiving start up system signal, start up system program.
In one embodiment, above-mentioned processor method for supervising also comprises the process of MCU control processor power-off, such as, the process of MCU control processor power-off is comprised in the process of above-mentioned control processor power-off restarting, and when not needing to restart after processor shutdown, also need the power-off of MCU control processor.
As shown in Figure 5, in one embodiment, the process of MCU control processor power-off comprises the following steps:
Step S502, each circuit in MCU control processor is according to the power-off sequential power-off successively preset, in each down circuitry process of control, monitor the whether complete power-off of previous circuit, after monitoring the complete power-off of previous circuit, control a rear circuit again and carry out power-off, can not power-off completely if monitor any one circuit, then send the power-off abnormal signal corresponding with this circuit to warning circuit.
Previous circuit when above-mentioned previous circuit and a rear circuit each circuit referred in processor is arranged in order according to the power-off sequential preset in adjacent two circuit and a rear circuit.
Concrete, in one embodiment, the step controlling a down circuitry is: to the voltage chips input inhibit signal (disable signal) of this circuit, and inhibit signal is the signal that instructed voltage chip stops to circuit output voltage; The step of monitoring the whether complete power-off of a circuit is: whether the voltage chips of monitoring this circuit returns the signal representing running status, and judges the whether corresponding off-position completely of the level of the signal of the expression running status that the voltage chips of this circuit returns.
Step S504, warning circuit is reported to the police according to power-off abnormal signal.
In above-described embodiment, each circuit in MCU control processor, according to the power-off sequential power-off successively preset, and after controlling the complete power-off of previous circuit, then controls a rear circuit and carries out power-off, can not power-off completely if monitor any one circuit, then send the abnormal alarm that this circuit is corresponding; Thus in processor power process, the circuit of the generation exception in processor can be oriented rapidly, and find out the reason of fault generation further.
As shown in Figure 6, a kind of processor supervisory system, comprise processor 602, with the MCU604 that communicate to connect of process 602 and the warning circuit 606 that communicates to connect with MCU604, wherein:
MCU604 is used for starting after acquisition power supply, and each circuit in control processor 602 is according to the electrifying timing sequence electrifying startup successively preset, in each circuit electrifying startup process of control, whether normally monitor previous circuit electrifying startup, monitor previous circuit electrifying startup normal after, control a rear circuit again and carry out electrifying startup, if it is abnormal to monitor any one circuit electrifying startup, then send the power on abnormal signal corresponding with this circuit to warning circuit 606.
In one embodiment, processor can be X 86 processor etc.X86 is a kind of sophisticated vocabulary released by Intel, and for the operation of control chip, X 86 processor can think the central processing unit (CPU) run based on X86.
Previous circuit when above-mentioned previous circuit and a rear circuit each circuit referred in processor is arranged in order according to the electrifying timing sequence preset in adjacent two circuit and a rear circuit.
Concrete, in one embodiment, MCU604 controls a circuit electrifying startup and monitors the whether normal process of this circuit electrifying startup: MCU604 is to voltage chips input enable signal (enable signal) of this circuit, enable signal is the signal of instructed voltage chip to normal voltage required during circuit output operation, whether the voltage chips of monitoring this circuit returns the signal representing running status, and judges the whether corresponding normal operating condition of level of the signal of the expression running status that the voltage chips of this circuit returns.The signal of the expression running status that the voltage chips of circuit returns is commonly referred to powergood signal, the level of powergood signal be 3 volts then indication circuit normally run, powergood signal is 0 volt of then complete power-off of indication circuit.
In one embodiment, if MCU604 is also abnormal for monitoring a circuit electrifying startup, then control this circuit again and carry out electrifying startup, until carried out the electrifying startup of preset times to this circuit after, this circuit still normally after electrifying startup, just can not send the power on abnormal signal corresponding with this circuit to warning circuit.
Warning circuit 606 is for reporting to the police according to the abnormal signal that powers on.
In one embodiment, warning circuit 606 can send sound and the light of varying strength according to the different abnormal signals that powers on; In another embodiment, warning circuit 606 can control the different numeral of numeral method according to the different abnormal signals that powers on; Thus indicate the physical circuit broken down.
Above-mentioned processor supervisory system, MCU604 starts prior to processor 602, and the electrifying startup of control processor 602: each circuit in MCU604 control processor 602 is according to the electrifying timing sequence electrifying startup successively preset, and after controlling the normal electrifying startup of previous circuit, control a rear circuit again and carry out electrifying startup, if it is abnormal to monitor any one circuit electrifying startup, then send the power on abnormal signal corresponding with this circuit to warning circuit 606, make warning circuit 606 can send abnormal alarm corresponding to this circuit; Therefore above-mentioned processor supervisory system can orient rapidly the circuit of the generation exception in processor 602 in processor 602 start-up course, thus finds out the reason of fault generation.
In one embodiment, MCU is also for the running temperature in monitoring processor operational process.
As shown in Figure 7, above-mentioned processor supervisory system also comprises temperature sensor 702; In one embodiment, temperature sensor 702 and processor 602 are integrated on same mainboard, and communicate to connect with MCU604; Temperature sensor 702 for responding to the temperature of processor 602, and sends the signal of the temperature representing processor 602 to MCU604.
In the present embodiment, MCU604 is also for the scope residing for the running temperature of the signal decision processor 602 received from temperature sensor 702.
MCU604 is also for being in default high temperature range during when running temperature, send down-scaled signals to processor 602.
In one embodiment, if the running temperature of processor 602 is more than or equal to first threshold and is less than Second Threshold, then the running temperature of MCU decision processor 602 is in high temperature range, and wherein first threshold is less than Second Threshold.
In the present embodiment, processor 602 for carrying out frequency reducing operation after receiving down-scaled signals.The running temperature of self generally can be reduced after processor 602 frequency reducing operation.
MCU604 is also for being in default risk range during when running temperature, send normal shutdown signal to processor 602, and monitor processor 602 and whether shut down successfully in preset time period, if not, then send forced shutdown signal to processor.
In one embodiment, if the running temperature of processor 602 is greater than Second Threshold, then the running temperature of MCU decision processor is in risk range.
In the present embodiment, processor 602, for after receiving normal shutdown signal, cuts out all programs run according to the logic of normal bolt down procedure; Processor 602 also for after receiving forced shutdown signal, all programs run of compulsory withdrawal.
Above-mentioned processor supervisory system, by the running temperature of the MCU604 monitoring processor 602 independent of processor 602, and when the running temperature of processor 602 is in high temperature range, control processor 602 carries out frequency reducing, the running temperature of processor 602 can be avoided to raise further, and when the running temperature of processor 602 is in risk range, control processor 602 shuts down, processor 602 can be avoided to damage.
In one embodiment, built-in configurable watchdog circuit in MCU604; Processor 602 is also for sending hello dog time interval parameter and house dog startup command according to application program instructions to MCU.The concrete value of feeding dog time interval parameter is determined by each concrete application program.
What MCU604 also transmitted for receiving processor 602 feeds dog time interval parameter and house dog startup command.
MCU604 also for the counter overflow parameter according to the above-mentioned configurable watchdog circuit of hello dog time interval parameter configuration, and starts configurable watchdog circuit.
After configurable house dog starts, its counter starts counting, when aggregate-value reaches the value of counter overflow parameter, configurable house dog is to MCU604 transmission reset signal and by counter O reset, and when receiving the feeding-dog signal of MCU604 also by counter O reset, and start counter and again count.
Processor 602 is also for sending feeding-dog signal according to application program instructions to MCU; When the application program belonging to this application program instructions is normally run, this application program instructions is performed once every preset duration, namely processor 602 sends feeding-dog signal every preset duration to MCU, and this preset duration is less than above-mentioned value of feeding dog time interval parameter.
MCU604, also for whenever receiving the feeding-dog signal of processor 602, transmits feeding-dog signal to configurable watchdog circuit.
MCU604 also for receive configurable watchdog circuit reset signal after, transmit reset signal to processor 602.
Above-mentioned processor supervisory system, whether the application program that MCU604 performs by its built-in configurable house dog monitoring processor 602 is normally run, if because application program is absorbed in endless loop, processor time-out does not send feeding-dog signal to MCU604, then MCU604 transmits reset signal to processor 602, and the application program performed by processor 602 can be avoided to be absorbed in endless loop for a long time.
In one embodiment, processor 604 is also for restarting condition and power-off restarting condition to MCU transmission is charged; MCU604 also restarts condition and power-off restarting condition for the charged of receiving processor 604 transmission.In the present embodiment, MCU604 also for receive configurable watchdog circuit reset signal after, judge chargedly to restart condition and whether power-off restarting condition is set up, when charged restart condition set up time, control processor 602 is charged restarts, when power-off restarting condition is set up, control processor 602 power-off restarting.
Concrete, when charged restart condition set up time, MCU604 is used for sending Restart Signal to processor 602; After processor is used for receiving Restart Signal, closes all programs run according to the logic of normal bolt down procedure, comprise application program and system program, and further start up system program.
Concrete, when power-off restarting condition is set up, MCU604 is used for sending normal shutdown signal to processor 602; Processor 602, for after receiving normal shutdown signal, cuts out all programs run according to the logic of normal bolt down procedure; Whether MCU604 also closes all programs completely for monitoring processor 602, when processor 602 cuts out all programs completely, MCU604 also for each circuit in control processor 602 according to preset the power-off successively of power-off sequential; After the whole power-off of each circuit, further MCU604 also for each circuit in control processor 602 according to preset electrifying timing sequence electrifying startup successively, after the whole electrifying startup of each circuit, MCU604 is also for sending start up system signal to processor, processor 602 also for after receiving start up system signal, start up system program.
In one embodiment, MCU604 is also for control processor 602 power-off, such as, MCU604 control processor 602 power-off is needed in the process of MCU604 control processor power-off restarting, and when not needing to restart after processor 602 shuts down, also need MCU604 control processor 602 power-off.
Concrete, in one embodiment, MCU604 is used for each circuit in control processor 602 according to the power-off sequential power-off successively preset, in each down circuitry process of control, monitor the whether completely power-off of previous circuit, after monitoring the complete power-off of previous circuit, then control a rear circuit and carry out power-off, can not power-off completely if monitor any one circuit, then send the power-off abnormal signal corresponding with this circuit to warning circuit.
Previous circuit when above-mentioned previous circuit and a rear circuit each circuit referred in processor 602 is arranged in order according to the power-off sequential preset in adjacent two circuit and a rear circuit.
Concrete, in one embodiment, MCU604 controls a down circuitry and the process of monitoring the whether completely power-off of this circuit is: to the voltage chips input inhibit signal (disable signal) of this circuit, inhibit signal is the signal that instructed voltage chip stops to circuit output voltage; Whether the voltage chips of monitoring this circuit returns the signal representing running status, and judges the whether corresponding off-position completely of the level of the signal of the expression running status that the voltage chips of this circuit returns.
In the present embodiment, warning circuit 606 is for reporting to the police according to power-off abnormal signal.
In above-described embodiment, each circuit in MCU604 control processor 602 is according to the power-off sequential power-off successively preset, and after controlling the complete power-off of previous circuit, control a rear circuit again and carry out power-off, can not power-off completely if monitor any one circuit, then send the abnormal alarm that this circuit is corresponding; Thus in processor 602 power process, the circuit of the generation exception in processor 602 can be oriented rapidly, and find out the reason of fault generation further.
For a MCU for monitoring processor, its function is identical with the MCU604 described in above-mentioned any embodiment, does not repeat them here.
Above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. a processor method for supervising, comprises the following steps:
MCU starts after acquisition power supply, and described MCU is connected with described processor communication;
Described MCU controls each circuit in described processor according to the electrifying timing sequence electrifying startup successively preset, in each circuit electrifying startup process of control, whether normally monitor previous circuit electrifying startup, monitor previous circuit electrifying startup normal after, control a rear circuit again and carry out electrifying startup, if it is abnormal to monitor any one circuit electrifying startup, then send the power on abnormal signal corresponding with this circuit to warning circuit;
Described warning circuit according to described in the abnormal signal that powers on report to the police.
2. processor method for supervising according to claim 1, is characterized in that, further comprising the steps of:
Described MCU monitors the running temperature in described processor operational process, when described running temperature is in default high temperature range, sends down-scaled signals to described processor; When described running temperature is in default risk range, send normal shutdown signal to described processor, and monitor described processor and whether shut down successfully in preset time period, if not, then send forced shutdown signal to described processor.
3. processor method for supervising according to claim 1, is characterized in that, built-in configurable watchdog circuit in described MCU; Described method is further comprising the steps of:
Described MCU receives hello dog time interval parameter and the house dog startup command that described processor transmits;
Described MCU according to the counter overflow parameter of feeding the described configurable watchdog circuit of dog time interval parameter configuration, and starts described configurable watchdog circuit;
Described MCU, whenever receiving the feeding-dog signal of described processor, transmits feeding-dog signal to described configurable watchdog circuit;
After described MCU receives the reset signal of described configurable watchdog circuit, transmit reset signal to described processor.
4. processor method for supervising according to claim 3, is characterized in that, further comprising the steps of:
Described MCU also receives the charged of described processor transmission and restarts condition and power-off restarting condition;
The step transmitting reset signal to described processor comprises:
Described MCU judges describedly chargedly to restart condition and whether described power-off restarting condition is set up, when described charged restart condition set up time, control that described processor is charged restarts, when described power-off restarting condition is set up, control described processor power-off restarting.
5. processor method for supervising according to claim 1, is characterized in that, further comprising the steps of:
Described MCU controls each circuit in described processor according to the power-off sequential power-off successively preset, in each down circuitry process of control, monitor the whether complete power-off of previous circuit, after monitoring the complete power-off of previous circuit, control a rear circuit again and carry out power-off, can not power-off completely if monitor any one circuit, then send the power-off abnormal signal corresponding with this circuit to described warning circuit;
Described warning circuit is reported to the police according to described power-off abnormal signal.
6. the MCU for monitoring processor, it is characterized in that, described MCU is used for starting after acquisition power supply, and each circuit controlled in the processor communicated to connect with described MCU is according to the electrifying timing sequence electrifying startup successively preset, in each circuit electrifying startup process of control, whether normally monitor previous circuit electrifying startup, monitor previous circuit electrifying startup normal after, control a rear circuit again and carry out electrifying startup, if it is abnormal to monitor any one circuit electrifying startup, then send the power on abnormal signal corresponding with this circuit to warning circuit, make described warning circuit according to described in the abnormal signal that powers on report to the police.
7. the MCU for monitoring processor according to claim 6, it is characterized in that, described MCU is also for monitoring the running temperature in described processor operational process, when described running temperature is in default high temperature range, down-scaled signals is sent to described processor, when described running temperature is in default risk range, normal shutdown signal is sent to described processor, and monitor described processor and whether shut down successfully in preset time period, if not, then forced shutdown signal is sent to described processor.
8. the MCU for monitoring processor according to claim 6, is characterized in that, built-in configurable watchdog circuit in described MCU;
Described MCU is also for receiving hello dog time interval parameter and the house dog startup command that described processor transmits;
Described MCU also for the counter overflow parameter according to the described configurable watchdog circuit of hello dog time interval parameter configuration, and starts described configurable watchdog circuit;
Described MCU, also for whenever receiving the feeding-dog signal of described processor, transmits feeding-dog signal to described configurable watchdog circuit;
Described MCU also restarts condition and power-off restarting condition for receiving the charged of described processor transmission;
Described MCU also for receive described configurable watchdog circuit reset signal after, judge describedly chargedly to restart condition and whether described power-off restarting condition is set up, when described charged restart condition set up time, control that described processor is charged restarts, when described power-off restarting condition is set up, control described processor power-off restarting.
9. the MCU for monitoring processor according to claim 6, it is characterized in that, described MCU is also for controlling each circuit in described processor according to the power-off sequential power-off successively preset, in each down circuitry process of control, monitor the whether complete power-off of previous circuit, after monitoring the complete power-off of previous circuit, control a rear circuit again and carry out power-off, can not power-off completely if monitor any one circuit, then send the power-off abnormal signal corresponding with this circuit to described warning circuit, described warning circuit is reported to the police according to described power-off abnormal signal.
10. a processor supervisory system, is characterized in that, comprise as arbitrary in claim 6 to 9 as described in the MCU for monitoring processor and with as described in the warning circuit that communicates to connect of MCU;
Described warning circuit be used for when receive described MCU transmission power on abnormal signal time, report to the police according to the described abnormal signal that powers on;
Described warning circuit also for when receiving the power-off abnormal signal that described MCU sends, is reported to the police according to described power-off abnormal signal.
CN201410506040.3A 2014-09-27 2014-09-27 Processor monitoring method and system and MCU for monitoring processor Active CN105446851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410506040.3A CN105446851B (en) 2014-09-27 2014-09-27 Processor monitoring method and system and MCU for monitoring processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410506040.3A CN105446851B (en) 2014-09-27 2014-09-27 Processor monitoring method and system and MCU for monitoring processor

Publications (2)

Publication Number Publication Date
CN105446851A true CN105446851A (en) 2016-03-30
CN105446851B CN105446851B (en) 2021-03-05

Family

ID=55557083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410506040.3A Active CN105446851B (en) 2014-09-27 2014-09-27 Processor monitoring method and system and MCU for monitoring processor

Country Status (1)

Country Link
CN (1) CN105446851B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824388A (en) * 2016-04-05 2016-08-03 浪潮电子信息产业股份有限公司 Power-on/off detection method, device and system
CN107797050A (en) * 2017-10-20 2018-03-13 郑州云海信息技术有限公司 A kind of method of location-server mainboard electrifying timing sequence abnormal state
CN107861818A (en) * 2017-11-30 2018-03-30 努比亚技术有限公司 Internal memory method for cleaning, mobile terminal and storage medium based on TP and LCD
CN108446204A (en) * 2018-03-30 2018-08-24 联想(北京)有限公司 A kind of chip and electronic equipment
CN108491057A (en) * 2018-04-03 2018-09-04 郑州云海信息技术有限公司 A kind of starting-up method and its server of server
CN109709963A (en) * 2018-12-29 2019-05-03 百度在线网络技术(北京)有限公司 Unmanned controller and automatic driving vehicle
CN110032264A (en) * 2019-04-16 2019-07-19 苏州浪潮智能科技有限公司 A kind of progress control method of server, equipment and storage medium
CN111090566A (en) * 2019-12-27 2020-05-01 亚瑞源科技(深圳)有限公司 MCU operating condition monitoring circuit
CN111308934A (en) * 2020-02-27 2020-06-19 浪潮商用机器有限公司 Power supply time sequence power-on monitoring circuit
CN112953817A (en) * 2019-11-26 2021-06-11 中车株洲电力机车研究所有限公司 Real-time communication gateway device
CN113407020A (en) * 2021-06-09 2021-09-17 北京集创北方科技股份有限公司 Component starting method and device, touch chip and electronic equipment
CN113687986A (en) * 2021-08-31 2021-11-23 上海商汤阡誓科技有限公司 Recovery method for chip and processing unit
CN114740783A (en) * 2022-04-27 2022-07-12 歌尔股份有限公司 Monitoring method, system and device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004213621A (en) * 2002-12-17 2004-07-29 Nec Corp Remote monitoring system, remote monitoring method, and program therefor
CN2655309Y (en) * 2003-07-16 2004-11-10 华为技术有限公司 Power supply time sequence controlling circuit
CN1599893A (en) * 2001-09-19 2005-03-23 飞思卡尔半导体公司 CPU powerdown method and apparatus therefor
CN101488038A (en) * 2008-01-16 2009-07-22 上海研祥智能科技有限公司 CPU high temperature alarm circuit
CN102722420A (en) * 2011-10-25 2012-10-10 中国电力科学研究院 Self-diagnosis terminal, detection method and remote maintenance system
CN202711110U (en) * 2012-06-14 2013-01-30 武汉凌控自动化技术有限公司 Low-cost power-on sequence control circuit
CN102999140A (en) * 2012-05-30 2013-03-27 国家计算机网络与信息安全管理中心 Power-on timing sequence control system and method of PCIE (Peripheral Component Interface Express) board card
CN104021057A (en) * 2014-06-27 2014-09-03 上海斐讯数据通信技术有限公司 CPU (Central Processing Unit) startup fault positioning system and positioning method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599893A (en) * 2001-09-19 2005-03-23 飞思卡尔半导体公司 CPU powerdown method and apparatus therefor
JP2004213621A (en) * 2002-12-17 2004-07-29 Nec Corp Remote monitoring system, remote monitoring method, and program therefor
CN2655309Y (en) * 2003-07-16 2004-11-10 华为技术有限公司 Power supply time sequence controlling circuit
CN101488038A (en) * 2008-01-16 2009-07-22 上海研祥智能科技有限公司 CPU high temperature alarm circuit
CN102722420A (en) * 2011-10-25 2012-10-10 中国电力科学研究院 Self-diagnosis terminal, detection method and remote maintenance system
CN102999140A (en) * 2012-05-30 2013-03-27 国家计算机网络与信息安全管理中心 Power-on timing sequence control system and method of PCIE (Peripheral Component Interface Express) board card
CN202711110U (en) * 2012-06-14 2013-01-30 武汉凌控自动化技术有限公司 Low-cost power-on sequence control circuit
CN104021057A (en) * 2014-06-27 2014-09-03 上海斐讯数据通信技术有限公司 CPU (Central Processing Unit) startup fault positioning system and positioning method thereof

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824388A (en) * 2016-04-05 2016-08-03 浪潮电子信息产业股份有限公司 Power-on/off detection method, device and system
CN107797050B (en) * 2017-10-20 2021-07-02 郑州云海信息技术有限公司 Method for positioning abnormal power-on time sequence state of server mainboard
CN107797050A (en) * 2017-10-20 2018-03-13 郑州云海信息技术有限公司 A kind of method of location-server mainboard electrifying timing sequence abnormal state
CN107861818A (en) * 2017-11-30 2018-03-30 努比亚技术有限公司 Internal memory method for cleaning, mobile terminal and storage medium based on TP and LCD
CN107861818B (en) * 2017-11-30 2022-01-14 努比亚技术有限公司 Memory cleaning method based on TP and LCD, mobile terminal and storage medium
CN108446204A (en) * 2018-03-30 2018-08-24 联想(北京)有限公司 A kind of chip and electronic equipment
CN108491057A (en) * 2018-04-03 2018-09-04 郑州云海信息技术有限公司 A kind of starting-up method and its server of server
CN109709963A (en) * 2018-12-29 2019-05-03 百度在线网络技术(北京)有限公司 Unmanned controller and automatic driving vehicle
CN109709963B (en) * 2018-12-29 2022-05-13 阿波罗智能技术(北京)有限公司 Unmanned controller and unmanned vehicle
CN110032264A (en) * 2019-04-16 2019-07-19 苏州浪潮智能科技有限公司 A kind of progress control method of server, equipment and storage medium
CN112953817A (en) * 2019-11-26 2021-06-11 中车株洲电力机车研究所有限公司 Real-time communication gateway device
CN112953817B (en) * 2019-11-26 2023-03-24 中车株洲电力机车研究所有限公司 Real-time communication gateway device
CN111090566B (en) * 2019-12-27 2022-07-01 亚瑞源科技(深圳)有限公司 MCU operating condition monitoring circuit
CN111090566A (en) * 2019-12-27 2020-05-01 亚瑞源科技(深圳)有限公司 MCU operating condition monitoring circuit
CN111308934A (en) * 2020-02-27 2020-06-19 浪潮商用机器有限公司 Power supply time sequence power-on monitoring circuit
CN113407020A (en) * 2021-06-09 2021-09-17 北京集创北方科技股份有限公司 Component starting method and device, touch chip and electronic equipment
CN113407020B (en) * 2021-06-09 2024-03-22 北京集创北方科技股份有限公司 Component starting method and device, touch chip and electronic equipment
CN113687986A (en) * 2021-08-31 2021-11-23 上海商汤阡誓科技有限公司 Recovery method for chip and processing unit
CN114740783A (en) * 2022-04-27 2022-07-12 歌尔股份有限公司 Monitoring method, system and device and electronic equipment

Also Published As

Publication number Publication date
CN105446851B (en) 2021-03-05

Similar Documents

Publication Publication Date Title
CN105446851A (en) Processor monitoring method and system and MCU (Microprogrammed Control Unit) for monitoring processor
US8527788B2 (en) Network wake up system with protection function
US20190052355A1 (en) Network switching system
CN104932653A (en) Computer startup management control system
CN102163071A (en) Control circuit and power control method during reset thereof
JP2016036222A (en) System control device for distributed power source, system control method for distributed power source, and power conditioner
CN105242608A (en) Vehicle control unit and control method thereof
US9308820B2 (en) Power-supply control device
CN105204601A (en) System automatic power-on circuit and method
US10223902B2 (en) Methods and systems for operating a point device included in a system of point devices
CN105974906B (en) Double-monitoring-activating measurement and control device
US20130215549A1 (en) Power-supply control device
TWI531133B (en) Charging method and electronic device
CN112099412B (en) Safety redundancy architecture of micro control unit
CN103427403A (en) Electronic equipment protection method and electronic equipment
CN110797841A (en) Power supply management device, electronic apparatus, and management device control method
CN110908834A (en) Power failure restart device and method and electronic equipment
CN209805472U (en) Detection circuit of charging station and detection device of charging station
CN101788929A (en) Baseband chip monitoring device and working method thereof
CN103226507A (en) Method for preventing system crash in embedded system
CN102810840A (en) Voltage protection system and voltage protection method
CN107179911A (en) A kind of method and apparatus for restarting management engine
CN102141787B (en) Singlechip monitoring system and control method
CN108388481B (en) Intelligent watchdog circuit system of OLT equipment
CN103092317A (en) Electronic device and operation method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518057 Guangdong city of Shenzhen province Nanshan District high in the four EVOC Technology Building No. 31

Patentee after: EVOC INTELLIGENT TECHNOLOGY Co.,Ltd.

Patentee after: Yanxiang smart IOT Technology Co.,Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District high in the four EVOC Technology Building No. 31

Patentee before: EVOC INTELLIGENT TECHNOLOGY Co.,Ltd.

Patentee before: Shenzhen Yanxiang intelligent IOT Technology Co.,Ltd.

Address after: 518057 Guangdong city of Shenzhen province Nanshan District high in the four EVOC Technology Building No. 31

Patentee after: EVOC INTELLIGENT TECHNOLOGY Co.,Ltd.

Patentee after: Shenzhen Yanxiang intelligent IOT Technology Co.,Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District high in the four EVOC Technology Building No. 31

Patentee before: EVOC INTELLIGENT TECHNOLOGY Co.,Ltd.

Patentee before: SHENZHEN EVOC SPECIAL COMPUTER SOFTWARE Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230710

Address after: 518057 1701, Yanxiang science and technology building, 31 Gaoxin middle Fourth Road, Maling community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Yanxiang Smart Technology Co.,Ltd.

Patentee after: Yanxiang smart IOT Technology Co.,Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District high in the four EVOC Technology Building No. 31

Patentee before: EVOC INTELLIGENT TECHNOLOGY Co.,Ltd.

Patentee before: Yanxiang smart IOT Technology Co.,Ltd.