CN103020545B - A kind of excess temperature protection method based on Loongson processor - Google Patents
A kind of excess temperature protection method based on Loongson processor Download PDFInfo
- Publication number
- CN103020545B CN103020545B CN201210560616.5A CN201210560616A CN103020545B CN 103020545 B CN103020545 B CN 103020545B CN 201210560616 A CN201210560616 A CN 201210560616A CN 103020545 B CN103020545 B CN 103020545B
- Authority
- CN
- China
- Prior art keywords
- temperature
- loongson processor
- bmc
- loongson
- processor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000012544 monitoring process Methods 0.000 claims abstract description 9
- 230000001012 protector Effects 0.000 claims abstract description 9
- 101150039033 Eci2 gene Proteins 0.000 description 1
- 102100021823 Enoyl-CoA delta isomerase 2 Human genes 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Microcomputers (AREA)
- Power Sources (AREA)
Abstract
The invention provides a kind of excess temperature protection method based on Loongson processor, comprise the server of built-in Loongson processor, this Loongson processor is connected with monitoring management unit B MC by lpc bus, and it specifically protects process to be: the threshold temperature being set Loongson processor work by BMC; BMC collects the external temperature of Loongson processor; When this temperature reaches the certain threshold values set in above-mentioned steps; BMC sends interrupting information to Loongson processor, and Loongson processor feeds back its internal temperature information to BMC, when exceeding overheat protector temperature maximum; trigger forced shutdown instruction immediately, complete overheat protector.Compared to the prior art this kind of excess temperature protection method based on Loongson processor, neither affects CPU usefulness, can prevent again CPU from damaging because temperature is too high.
Description
Technical field
The present invention relates to computer processor overheat protector technical field, specifically a kind of excess temperature protection method based on Loongson processor.
Background technology
External processor, as Intel general processor, the internal temperature of CPU the internal temperature of CPU can be sent to monitoring management system constantly by PECI bus, also has special function PIN to send a signal to system, make system closedown power-off when temperature reaches threshold values.
But domestic server---Godson CPU does not have above-mentioned functions, very large inconvenience is brought to monitoring management, wonder the internal temperature of Godson CPU, traditional way is the value that BIOS constantly must remove the internal temperature register of poll CPU, a large amount of system resource can be wasted like this, reduce CPU work efficiency, so both affect CPU usefulness, easily cause again CPU to damage because temperature is too high
Summary of the invention
Technical assignment of the present invention solves the deficiencies in the prior art, provides the excess temperature protection method that a kind of work efficiency is high, fully can discharge Loongson processor work load.
Technical scheme of the present invention realizes in the following manner; this a kind of excess temperature protection method based on Loongson processor; comprise the server of built-in Loongson processor, this Loongson processor is connected with monitoring management unit B MC by lpc bus, and it specifically protects process to be:
1) threshold temperature of Loongson processor work is set by BMC;
2) BMC collects the external temperature of Loongson processor;
3) when this temperature reaches above-mentioned steps 1) in setting certain threshold values time; BMC sends interrupting information to Loongson processor, and Loongson processor feeds back its internal temperature information to BMC, when exceeding overheat protector temperature maximum; trigger forced shutdown instruction immediately, complete overheat protector.
Threshold values in described step 1) refers to the temperature value that Loongson processor can bear: generally sequentially arrange N number of by this temperature value, wherein N number of maximum temperature that can bear for Loongson processor.
Described step 2) in the external temperature collection process of Loongson processor be: arrange a thermistor at the back side of Loongson processor, this thermistor is connected with BMC by Smbus bus after being transformed in analog to digital converter by dividing potential drop mode.
The specific implementation process of described step 3) is: after the Loongson processor external temperature that BMC obtains, compare with N-1 threshold values of setting, if external temperature is greater than this threshold values, then BMC sends an interruption to Loongson processor, Loongson processor response is interrupted and the numerical value of its internal temperature register is sent to BMC, compares, when the temperature obtained is higher than N number of threshold values after BMC obtains this temperature value with N number of threshold values, BMC sends shutdown command immediately, forced shutdown.
The beneficial effect that the present invention is compared with prior art produced is:
A kind of excess temperature protection method based on Loongson processor of the present invention carries out analyzing and processing by monitoring management unit B MC to temperature data; if the mxm. that temperature can bear more than CPU will close whole system; can not only effectively prevent CPU from damaging because temperature is too high like this; and access by the mode of interrupting the work load that CPU fully can discharge Loongson processor; ensure that domestic server security effectively runs; neither affect CPU usefulness, can prevent again CPU from damaging because temperature is too high.
Accompanying drawing explanation
Accompanying drawing 1 is Loongson 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 Loongson processor of the present invention is described in detail below.
As shown in accompanying drawing 1, Fig. 2, this kind of excess temperature protection method based on Loongson processor, comprise the server of built-in Loongson processor, this Loongson processor is connected with monitoring management unit B MC by lpc bus, and it specifically protects process to be:
1) because the internal temperature of CPU must be higher than external temperature, so set the threshold temperature of Loongson processor work by BMC, this threshold values and CPU internal temperature one_to_one corresponding, like this by the temperature spot of CPU outside, corresponding internal temperature point can be found, as shown in Figure 1, temperature value is arranged to 5 threshold values from low toward height here: T1, T2, T3, T4, T5, wherein T5 is the maximum temperature that Godson CPU can bear.
2) BMC collects the external temperature of Loongson processor, concrete collection process is: put a thermistor NTC at the back side of Loongson processor, this thermistor NTC is connected with BMC by Smbus bus after being transformed in analog to digital converter by dividing potential drop mode, here the HWMonitor in analog to digital converter and figure, the converter that described HWMonitor can use model to be W83795, BMC by SMbus with the temperature value of the mode of poll from HWMonitor Real-time Obtaining CPU back.
3) when this temperature reaches above-mentioned steps 1) in setting certain threshold values time; BMC sends interrupting information to Loongson processor, and Loongson processor feeds back its internal temperature information to BMC, when exceeding overheat protector temperature maximum; trigger forced shutdown instruction immediately, complete overheat protector.Its specific implementation process is: after the Loongson processor external temperature that BMC obtains; compare with the T4 threshold values of setting; if external temperature is greater than T4; illustrate that now cpu temperature is higher; be necessary to obtain the inner real temperature data of CPU; and send look-at-me to CPU; Loongson processor response is interrupted and the value of now temperature register is fed back to BMC by lpc bus; if the temperature value that BMC obtains is greater than T5; illustrate that now cpu temperature can not accept; there is the risk of burning CPU, close whole system immediately, protection CPU.
Pass through the method, system the mode of obstructed overpolling can access CPU constantly, just when CPU external temperature reaches the threshold points set in advance, monitoring management unit B MC just sends interruption to CPU, CPU sends BMC temperature information to by lpc bus, monitoring management unit B MC carries out analyzing and processing to data, if the threshold values that temperature can bear more than CPU will close whole system; Can not only effectively prevent CPU from damaging because temperature is too high like this, and access by the mode of interrupting the work load that CPU fully can discharge Loongson processor, ensure that domestic server security effectively runs.
Claims (4)
1. based on an excess temperature protection method for Loongson processor, it is characterized in that: the server comprising built-in Loongson processor, this Loongson processor is connected with monitoring management unit B MC by lpc bus, and it specifically protects process to be:
1) threshold temperature of Loongson processor work is set by BMC;
2) BMC collects the external temperature of Loongson processor;
3) when this temperature reaches above-mentioned steps 1) in setting certain threshold values time; BMC sends interrupting information to Loongson processor, and Loongson processor feeds back its internal temperature information to BMC, when exceeding overheat protector temperature maximum; trigger forced shutdown instruction immediately, complete overheat protector.
2. a kind of excess temperature protection method based on Loongson processor according to claim 1; it is characterized in that: the threshold values in described step 1) refers to the temperature value that Loongson processor can bear: generally this temperature value is sequentially arranged 5, wherein the 5th maximum temperature that can bear for Loongson processor.
3. a kind of excess temperature protection method based on Loongson processor according to claim 2; it is characterized in that: described step 2) in the external temperature collection process of Loongson processor be: arrange a thermistor at the back side of Loongson processor, this thermistor is connected with BMC by Smbus bus after being transformed in analog to digital converter by dividing potential drop mode.
4. a kind of excess temperature protection method based on Loongson processor according to claim 3, it is characterized in that: the specific implementation process of described step 3) is: after the Loongson processor external temperature that BMC obtains, compare with the 4th threshold values of setting, if external temperature is greater than this threshold values, then BMC sends an interruption to Loongson processor, Loongson processor response is interrupted and the numerical value of its internal temperature register is sent to BMC, compare with the 5th threshold values after BMC obtains this temperature value, when the temperature obtained is higher than the 5th threshold values, BMC sends shutdown command immediately, forced shutdown.
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 CN103020545A (en) | 2013-04-03 |
CN103020545B true 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) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105320015A (en) * | 2014-06-03 | 2016-02-10 | 中国科学院微电子研究所 | Over-temperature warning and over-temperature protection method and device based on microcontroller |
KR102210770B1 (en) * | 2014-09-02 | 2021-02-02 | 삼성전자주식회사 | 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 |
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 |
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 |
CN108762142B (en) * | 2018-05-24 | 2020-12-29 | 新华三技术有限公司 | Communication equipment and processing method thereof |
CN109871692B (en) * | 2019-01-02 | 2021-05-07 | 新华三技术有限公司 | Over-temperature power failure protection method, logic device, service board and network system |
Citations (3)
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100850711B1 (en) * | 2005-06-17 | 2008-08-06 | 삼성전자주식회사 | Method and apparatus for controlling temperature of printer head chip |
-
2012
- 2012-12-21 CN CN201210560616.5A patent/CN103020545B/en active Active
Patent Citations (3)
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 |
CN1851611A (en) * | 2006-05-19 | 2006-10-25 | 威盛电子股份有限公司 | Central processing unit temperature regulating method and system |
Also Published As
Publication number | Publication date |
---|---|
CN103020545A (en) | 2013-04-03 |
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 | |
EP3036600B1 (en) | Method and controller for power throttling system on portable device, corresponding portable device, and corresponding computer program product | |
CN102789246B (en) | Thermal protection method and device, and equipment with thermal protection function | |
TWI448889B (en) | Electronic device haning operation mode dynamic adjusting mechanism and method of the same | |
US8527788B2 (en) | Network wake up system with protection function | |
JP2017513147A5 (en) | ||
CN103037109B (en) | Multicore equipment energy consumption management method and device | |
CN106371540B (en) | System power management method, chip and electronic equipment | |
CN104932963A (en) | Method and device for terminal management | |
CN105739668A (en) | Power management method and power management system of notebook computers | |
CN203397351U (en) | Computer part monitoring module | |
CN104238714A (en) | Method for protecting computer systems after outage of uninterrupted power supply (UPS) | |
CN205788065U (en) | A kind of fan intelligent control system based on Feiteng processor | |
TW201624191A (en) | System and method for monitoring power consumption | |
WO2016090641A1 (en) | Graphics processing system and power gating method thereof | |
CN203276144U (en) | Temperature control module of embedded computer | |
CN105320246B (en) | A kind of information processing method and electronic equipment | |
TW201541244A (en) | System, method and server for dynamically adjusting monitor model | |
CN103747131A (en) | Mobile terminal power state monitoring method and mobile terminal | |
WO2017016359A1 (en) | Method and apparatus for controlling operation resources, and computer storage medium | |
CN204856463U (en) | Be used for controlling program run's chip main board on digit control machine tool | |
CN101615065A (en) | A kind of method of the power of computer power supply dynamic assignment based on strategy | |
CN210605493U (en) | Real-time control system for running temperature of reactor | |
CN103500004A (en) | Method for saving energy in starting process of cloud equipment |
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 |