CN103020545A - Over-temperature protection method based on Loongson processor - Google Patents
Over-temperature protection method based on Loongson processor Download PDFInfo
- Publication number
- CN103020545A CN103020545A CN2012105606165A CN201210560616A CN103020545A CN 103020545 A CN103020545 A CN 103020545A CN 2012105606165 A CN2012105606165 A CN 2012105606165A CN 201210560616 A CN201210560616 A CN 201210560616A CN 103020545 A CN103020545 A CN 103020545A
- Authority
- CN
- China
- Prior art keywords
- temperature
- bmc
- godson processor
- processor
- godson
- 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
Links
Images
Landscapes
- Microcomputers (AREA)
- Power Sources (AREA)
Abstract
The invention provides an over-temperature protection method based on Loongson processor, which comprises a server of an embedded Loongson processor, the Loongson processor is connected with a monitoring management unit BMC through a linear power controller (LPC) bus, and the specific protection process is as follows: the working temperature threshold value of the Loongson processor is set through the BMC; the BMC collects external temperature of the Loongson processor; and when the temperature reaches the certain threshold value which is set in the step, BMC transmits an interruption message to the Loongson processor, the Loongson processor feeds the internal temperature information back to the BMC, when the temperature exceeds the maximal over-temperature protection value, a forced power-off instruction is triggered immediately, and the over-temperature protection is completed. Compared with the prior art, the over-temperature protection method is not only free from influencing the efficiency of a central processing unit (CPU), but also capable of preventing the damage of the CPU caused by overhigh temperature.
Description
Technical field
The present invention relates to computer processor overheat protector technical field, specifically a kind of excess temperature protection method based on the Godson processor.
Background technology
External processor, such as the Intel general processor, the internal temperature of CPU is can send to constantly monitoring management system to the internal temperature of CPU by the PECI bus, also has special function PIN to send a signal to system when temperature reaches threshold values, makes the system closedown outage.
But domestic server---Godson CPU does not have above-mentioned functions, bring very large inconvenience to monitoring management, wonder the internal temperature of Godson CPU, traditional way is the value that BIOS must constantly remove the internal temperature register of poll CPU, can waste a large amount of system resource like this, reduce the CPU work efficiency, so both affected CPU usefulness, easily cause again CPU to damage because of excess Temperature
Summary of the invention
Technical assignment of the present invention is to solve the deficiencies in the prior art, a kind of high efficiency is provided, can fully discharges the excess temperature protection method of Godson processor work load.
Technical scheme of the present invention realizes in the following manner; this a kind of excess temperature protection method based on the Godson processor; the server that comprises built-in Godson processor, this Godson processor is connected with monitoring management unit B MC by lpc bus, and its specifically protection process is:
1) sets the temperature threshold values of Godson processor work by BMC;
2) BMC collects the external temperature of Godson processor;
3) reach above-mentioned steps 1 when this temperature) in set certain threshold values the time; BMC sends interrupting information to the Godson processor, and the Godson processor feeds back its internal temperature information to BMC, when surpassing overheat protector temperature mxm.; trigger immediately the forced shutdown instruction, finish overheat protector.
Threshold values in the described step 1) refers to the temperature value that the Godson processor can bear: generally this temperature value is sequentially increased progressively N is set, wherein N maximum temperature that can bear for the Godson processor.
Described step 2) the external temperature collection process of Godson processor is in: a thermistor is set at the back side of Godson processor, and this thermistor is connected with BMC by the Smbus bus after transforming in analog to digital converter by the dividing potential drop mode.
The specific implementation process of described step 3) is: behind the Godson processor external temperature that BMC obtains, compare with N-1 the threshold values of setting, if external temperature is greater than this threshold values, then BMC sends an interruption to the Godson processor, Godson processor response is interrupted and the numerical value of its internal temperature register is sent to BMC, and BMC obtains to compare with N threshold values behind this temperature value, when the temperature that obtains is higher than N threshold values, BMC sends shutdown command, forced shutdown immediately.
The beneficial effect that the present invention compared with prior art produces is:
A kind of excess temperature protection method based on the Godson processor of the present invention carries out analyzing and processing by monitoring management unit B MC to temperature data; if temperature will be closed whole system above the mxm. that CPU can bear; can not only prevent effectively that like this CPU from damaging because of excess Temperature; and access the work load that CPU can fully discharge the Godson processor by the mode of interrupting; ensured that domestic server security effectively moves; neither affect CPU usefulness, can prevent that again CPU from damaging because of excess Temperature.
Description of drawings
Accompanying drawing 1 is Godson processor internal temperature of the present invention and external temperature corresponding relation figure.
Accompanying drawing 2 is one-piece construction schematic block diagrams of the present invention.
Embodiment
Below in conjunction with accompanying drawing a kind of excess temperature protection method based on the Godson processor of the present invention is described in detail below.
Such as accompanying drawing 1, shown in Figure 2, this a kind of excess temperature protection method based on the Godson processor comprises the server of built-in Godson processor, and this Godson processor is connected with monitoring management unit B MC by lpc bus, and its specifically protection process is:
1) because the internal temperature of CPU must be higher than external temperature, so set the temperature threshold values of Godson processor work by BMC, this threshold values is corresponding one by one with the CPU internal temperature, pass through like this temperature spot of CPU outside, can find corresponding internal temperature point, as shown in Figure 1, temperature value is arranged to 5 threshold values: T1, T2, T3, T4, T5 by low toward height here, wherein T5 is the maximum temperature that Godson CPU can bear.
2) BMC collects the external temperature of Godson processor, concrete collection process is: put a thermistor NTC at the back side of Godson processor, this thermistor NTC is connected with BMC by the Smbus bus after transforming in analog to digital converter by the dividing potential drop mode, the analog to digital converter here i.e. HW Monitor among the figure, described HW Monitor can use model to be the converter of W83795, BMC by SMbus with the mode of the poll temperature value from HW Monitor Real-time Obtaining CPU back.
3) reach above-mentioned steps 1 when this temperature) in set certain threshold values the time; BMC sends interrupting information to the Godson processor, and the Godson processor feeds back its internal temperature information to BMC, when surpassing overheat protector temperature mxm.; trigger immediately the forced shutdown instruction, finish overheat protector.Its specific implementation process is: behind the Godson processor external temperature that BMC obtains; compare with the T4 threshold values of setting; if external temperature is greater than T4; illustrate that cpu temperature is higher at this moment; be necessary to obtain the inner real temperature data of CPU; and send look-at-me to CPU; the response of Godson processor is interrupted and the value of general's temperature register this moment feeds back to BMC by lpc bus; if the temperature value that BMC obtains is greater than T5; illustrate that this moment, cpu temperature can not be accepted; the risk of burning CPU is arranged, close immediately whole system, protection CPU.
Pass through the method, system can obstructed overpolling mode access constantly CPU, just when the CPU external temperature reaches the threshold points of setting in advance, monitoring management unit B MC just sends interruption to CPU, CPU sends temperature information to BMC by lpc bus, monitoring management unit B MC carries out analyzing and processing to data, if temperature will be closed whole system above the threshold values that CPU can bear; Can not only prevent effectively that like this CPU from damaging because of excess Temperature, and access the work load that CPU can fully discharge the Godson processor by the mode of interrupting, ensure that domestic server security effectively moves.
Claims (4)
1. excess temperature protection method based on the Godson processor, it is characterized in that: comprise the server of built-in Godson processor, this Godson processor is connected with monitoring management unit B MC by lpc bus, and its specifically protection process is:
1) sets the temperature threshold values of Godson processor work by BMC;
2) BMC collects the external temperature of Godson processor;
3) reach above-mentioned steps 1 when this temperature) in set certain threshold values the time; BMC sends interrupting information to the Godson processor, and the Godson processor feeds back its internal temperature information to BMC, when surpassing overheat protector temperature mxm.; trigger immediately the forced shutdown instruction, finish overheat protector.
2. a kind of excess temperature protection method based on the Godson processor according to claim 1; it is characterized in that: the threshold values in the described step 1) refers to the temperature value that the Godson processor can bear: generally this temperature value is sequentially increased progressively N is set, wherein N maximum temperature that can bear for the Godson processor.
3. a kind of excess temperature protection method based on the Godson processor according to claim 2; it is characterized in that: the external temperature collection process of Godson processor is described step 2): a thermistor is set at the back side of Godson processor, and this thermistor is connected with BMC by the Smbus bus after transforming in analog to digital converter by the dividing potential drop mode.
4. a kind of excess temperature protection method based on the Godson processor according to claim 3; it is characterized in that: the specific implementation process of described step 3) is: behind the Godson processor external temperature that BMC obtains; compare with N-1 the threshold values of setting; if external temperature is greater than this threshold values; then BMC sends an interruption to the Godson processor; Godson processor response is interrupted and the numerical value of its internal temperature register is sent to BMC; BMC obtains to compare with N threshold values behind this temperature value; when the temperature that obtains is higher than N threshold values; BMC sends shutdown command, forced shutdown immediately.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210560616.5A CN103020545B (en) | 2012-12-21 | 2012-12-21 | A kind of excess temperature protection method based on Loongson processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210560616.5A CN103020545B (en) | 2012-12-21 | 2012-12-21 | A kind of excess temperature protection method based on Loongson processor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103020545A true CN103020545A (en) | 2013-04-03 |
CN103020545B CN103020545B (en) | 2016-03-02 |
Family
ID=47969139
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210560616.5A Active CN103020545B (en) | 2012-12-21 | 2012-12-21 | A kind of excess temperature protection method based on Loongson processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103020545B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572535A (en) * | 2014-12-26 | 2015-04-29 | 中国电子科技集团公司第十五研究所 | Autonomous and controllable computing device based on CPCI-E (compact peripheral component interconnect-express) bus |
CN105320015A (en) * | 2014-06-03 | 2016-02-10 | 中国科学院微电子研究所 | Over-temperature early warning and over-temperature protection method and device based on microcontroller |
CN105388785A (en) * | 2014-09-02 | 2016-03-09 | 三星电子株式会社 | Semiconductor device, semiconductor system, and method for controlling the same |
CN106886477A (en) * | 2017-02-20 | 2017-06-23 | 郑州云海信息技术有限公司 | Threshold setting method and device are monitored in a kind of cloud system |
CN106998060A (en) * | 2017-03-31 | 2017-08-01 | 山东超越数控电子有限公司 | A kind of CPU method for excessive heating protection based on BMC |
CN108304295A (en) * | 2018-01-29 | 2018-07-20 | 郑州云海信息技术有限公司 | A kind of method, apparatus and computer readable storage medium of control GPU frequency reducings |
CN108762142A (en) * | 2018-05-24 | 2018-11-06 | 新华三技术有限公司 | A kind of communication equipment and its processing method |
CN109491813A (en) * | 2017-09-11 | 2019-03-19 | 技嘉科技股份有限公司 | ARM IA frame serverPC and its management method |
CN109871692A (en) * | 2019-01-02 | 2019-06-11 | 新华三技术有限公司 | Excess temperature power-off protection method, logic device, business board and network system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1828548A (en) * | 2005-03-05 | 2006-09-06 | 鸿富锦精密工业(深圳)有限公司 | CPU temperature sensing and correction device and method |
CN1851611A (en) * | 2006-05-19 | 2006-10-25 | 威盛电子股份有限公司 | Central processing unit temperature regulating method and system |
CN1855062A (en) * | 2005-04-29 | 2006-11-01 | 乐金电子(昆山)电脑有限公司 | Method for controlling computer system and cooling fan |
US20060284915A1 (en) * | 2005-06-17 | 2006-12-21 | Chun-Ku Han | Method and apparatus to control a temperature of a printer head chip |
-
2012
- 2012-12-21 CN CN201210560616.5A patent/CN103020545B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1828548A (en) * | 2005-03-05 | 2006-09-06 | 鸿富锦精密工业(深圳)有限公司 | CPU temperature sensing and correction device and method |
CN1855062A (en) * | 2005-04-29 | 2006-11-01 | 乐金电子(昆山)电脑有限公司 | Method for controlling computer system and cooling fan |
US20060284915A1 (en) * | 2005-06-17 | 2006-12-21 | Chun-Ku Han | Method and apparatus to control a temperature of a printer head chip |
CN1851611A (en) * | 2006-05-19 | 2006-10-25 | 威盛电子股份有限公司 | Central processing unit temperature regulating method and system |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105320015A (en) * | 2014-06-03 | 2016-02-10 | 中国科学院微电子研究所 | Over-temperature early warning and over-temperature protection method and device based on microcontroller |
CN105388785A (en) * | 2014-09-02 | 2016-03-09 | 三星电子株式会社 | Semiconductor device, semiconductor system, and method for controlling the same |
CN104572535A (en) * | 2014-12-26 | 2015-04-29 | 中国电子科技集团公司第十五研究所 | Autonomous and controllable computing device based on CPCI-E (compact peripheral component interconnect-express) bus |
CN106886477A (en) * | 2017-02-20 | 2017-06-23 | 郑州云海信息技术有限公司 | Threshold setting method and device are monitored in a kind of cloud system |
CN106886477B (en) * | 2017-02-20 | 2021-06-29 | 郑州云海信息技术有限公司 | Method and device for setting monitoring threshold in cloud system |
CN106998060A (en) * | 2017-03-31 | 2017-08-01 | 山东超越数控电子有限公司 | A kind of CPU method for excessive heating protection based on BMC |
CN109491813A (en) * | 2017-09-11 | 2019-03-19 | 技嘉科技股份有限公司 | ARM IA frame serverPC and its management method |
CN109491813B (en) * | 2017-09-11 | 2022-07-08 | 技嘉科技股份有限公司 | ARM architecture server and management method thereof |
CN108304295A (en) * | 2018-01-29 | 2018-07-20 | 郑州云海信息技术有限公司 | A kind of method, apparatus and computer readable storage medium of control GPU frequency reducings |
CN108762142A (en) * | 2018-05-24 | 2018-11-06 | 新华三技术有限公司 | A kind of communication equipment and its processing method |
CN109871692A (en) * | 2019-01-02 | 2019-06-11 | 新华三技术有限公司 | Excess temperature power-off protection method, logic device, business board and network system |
Also Published As
Publication number | Publication date |
---|---|
CN103020545B (en) | 2016-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103020545B (en) | A kind of excess temperature protection method based on Loongson processor | |
US9235243B2 (en) | Thermal profile optimization techniques | |
US8539269B2 (en) | Apparatus and method for high current protection | |
EP3036600B1 (en) | Method and controller for power throttling system on portable device, corresponding portable device, and corresponding computer program product | |
KR101534450B1 (en) | System and method for determining thermal management policy from leakage current measurement | |
CN104781751B (en) | Method and apparatus for managing computing system power | |
CN106371540B (en) | System power management method, chip and electronic equipment | |
CN104932963A (en) | Method and device for terminal management | |
CN104238714A (en) | Method for protecting computer systems after outage of uninterrupted power supply (UPS) | |
CN105739668A (en) | Power management method and power management system of notebook computers | |
CN100435070C (en) | Active and negative switching radiating system for notebook computer | |
CN105487638A (en) | Electronic circuit system and power consumption reducing method thereof | |
CN101399439B (en) | Battery protection method and apparatus used for electronic product | |
CN102929381A (en) | Electronic system and power management system thereof | |
TWI517033B (en) | Conversion method for reducing power consumption and computing apparatus using the same | |
CN205788065U (en) | A kind of fan intelligent control system based on Feiteng processor | |
CN202871074U (en) | Wireless communication collecting module for electric energy meter | |
TW201624191A (en) | System and method for monitoring power consumption | |
CN203276144U (en) | Temperature control module of embedded computer | |
CN105518568A (en) | Drawing processing system and power supply gating method | |
CN103747131A (en) | Mobile terminal power state monitoring method and mobile terminal | |
CN101615065B (en) | Method for dynamically distributing power of computer power supply based on strategy | |
MY174440A (en) | System and method for performance optimization in usb operations | |
CN102541665A (en) | Method and device for decreasing temperature of electronic chip | |
CN204733516U (en) | A kind of rack |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |