CN101996122B - Computer temperature alarming method, device and computer system - Google Patents

Computer temperature alarming method, device and computer system Download PDF

Info

Publication number
CN101996122B
CN101996122B CN 200910109492 CN200910109492A CN101996122B CN 101996122 B CN101996122 B CN 101996122B CN 200910109492 CN200910109492 CN 200910109492 CN 200910109492 A CN200910109492 A CN 200910109492A CN 101996122 B CN101996122 B CN 101996122B
Authority
CN
China
Prior art keywords
temperature
computer
cpu
reference temperature
warning
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
Application number
CN 200910109492
Other languages
Chinese (zh)
Other versions
CN101996122A (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.)
Yanxiang Smart Iot Technology Co ltd
Original Assignee
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 EVOC Intelligent Technology Co Ltd filed Critical EVOC Intelligent Technology Co Ltd
Priority to CN 200910109492 priority Critical patent/CN101996122B/en
Publication of CN101996122A publication Critical patent/CN101996122A/en
Application granted granted Critical
Publication of CN101996122B publication Critical patent/CN101996122B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention is applied in the field of computers, and provides a computer temperature alarming method, a computer temperature alarming device and a computer system. The method comprises the following steps of: reading the system temperature and/or central processing unit (CPU) temperature of the computer from a hardware monitoring module on a computer mainboard by interacting with a computer operating system; judging whether any one of the system temperature and the CPU temperature exceeds a preset reference temperature or not; and if any one of the system temperature and the CPU temperature exceeds the preset reference temperature, controlling a buzzer and/or a sound card of the computer to give an acoustic alarm, and simultaneously outputting one or more temperature alarm processing methods through a human-computer interaction interface for a user to select. The embodiment of the invention can flexibly, quickly and conveniently perform computer temperature alarming, and provides acoustic alarm prompts as well as a plurality of temperature alarm processing methods which can be selected by the user.

Description

A kind of computer temperature alarm method, device and computer system
Technical field
The invention belongs to computer realm, relate in particular to a kind of computer temperature alarm method, device and computer system.
Background technology
Along with improving constantly of performance of computer systems and speed, (Central Processing Unit CPU) will produce a large amount of heats to the CPU of computer system and computing machine, make system for computer temperature and cpu temperature fast rise.Wherein the system for computer temperature is meant the environment temperature of computer system.When system temperature and cpu temperature hot soak condition,, reduce performance of computer systems with the components and parts of major injury computing machine.Therefore, be damaged for fear of the components and parts of computing machine, computer system is protected, existing computing machine generally all provides the temperature alarming function.
Prior art provides a kind of method that realizes temperature alarming through BIOS; Its detailed process is summarized as follows when computer system starting by the input-output device in the BIOS initializing computer system (Super IO, monitoring temperature module SIO), the upper and lower bound of setting CPU or system temperature; When detecting CPU or system temperature and exceed the upper and lower limit scope; Send and interrupt to south bridge, transmission SCI interrupted to CPU after south bridge was received this look-at-me, finally can be handled by computer operating system and be somebody's turn to do interruption; Computer operating system thinks that this interruption is that the user supresses Power Button button, carries out the normal shutdown operation by computer operating system.
Above-mentioned method of interrupting the execution shutdown of notifying operation system through SIO triggering SCI; Can realize defencive function to computer system; But in this method if during the upper limit value and lower limit value of change cpu temperature, system temperature; Need to get into the upper limit value and lower limit value that BIOS sets cpu temperature, system temperature, the upper limit value and lower limit value of cpu temperature of every change, system temperature all must restart computer system one time, brings very big inconvenience to the user.And when cpu temperature or system temperature exceeded standard, computer operating system was carried out power-off operation at once, the audible alarm prompting can't be provided and the various temperature warning processing mode that can supply the user to select is provided.And when the application program of moving in the computer system can't normally withdraw from, computer operating system also can't be carried out automatic power-off operation.
Prior art also provides a kind of temperature alarming device of realizing through hardware circuit, and it comprises pick-up unit, display device, warning device and main control board.Owing to realize the computer temperature warning through hardware circuit, thereby increased the cost of computer system.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of computer temperature alarm method, is intended to solve the problem that existing computer temperature alarm method type of alarm is simple, the warning processing mode is single.
The embodiment of the invention is achieved in that a kind of computer temperature alarm method, and said method comprises the steps:
S101, through mutual with computer operating system, the hardware monitoring module from computer motherboard reads system for computer temperature and/or cpu temperature;
Its body of step S101 comprises:
Call the interface function access driver that the dynamic link library provides; Driver and computer operating system kernel carry out alternately; The function that calls hardware abstraction layer HAL reads the SIO hardware register, reads system for computer temperature and/or cpu temperature with the hardware monitoring module from computer motherboard.
S102, judge that whether wherein any one in system temperature and the cpu temperature surpass preset reference temperature, default reference temperature comprises system reference temperature and CPU reference temperature, if, execution in step S103, otherwise, execution in step S101; The hummer of S103, control computer and/or sound card output alarm sound are exported one or more temperature alarming processing modes through the mode of human-computer interaction interface simultaneously, supply the user to select.
Another purpose of the embodiment of the invention is to provide a kind of computer temperature warning device, and said device comprises:
The temperature reading unit is used for through mutual with computer operating system, and the hardware monitoring module from computer motherboard reads system for computer temperature and/or cpu temperature; Said temperature reading unit is specifically through calling the interface function access driver that the dynamic link library provides; Driver and computer operating system kernel carry out alternately; The function that calls hardware abstraction layer HAL reads the SIO hardware register; Hardware monitoring module with from computer motherboard reads system for computer temperature and/or cpu temperature; And use with in temperature alarming judging unit decision-making system temperature and cpu temperature wherein any one and carry out the temperature reading unit through mutual with computer system all when surpassing preset reference temperature, the hardware monitoring module from computer motherboard reads system for computer temperature and/or cpu temperature;
The temperature alarming judging unit is used for judging whether system temperature that said temperature reading unit reads and wherein any of cpu temperature surpass preset reference temperature, and said preset reference temperature comprises system reference temperature and CPU reference temperature;
The temperature alarming output unit; Be used for wherein any one when surpassing preset reference temperature at said temperature alarming judging unit decision-making system temperature and cpu temperature; The hummer of control computer and/or sound card output alarm sound; Export one or more temperature alarming processing modes through the mode of human-computer interaction interface simultaneously, supply the user to select.
Another purpose of the embodiment of the invention is to provide a kind of computer system, and said system comprises said computer temperature warning device.
In embodiments of the present invention; Through mutual with computer operating system; Hardware monitoring module from computer motherboard reads system for computer temperature and/or cpu temperature, in system temperature and cpu temperature any one when surpassing preset reference temperature, the hummer of control computer and/or sound card output alarm sound; Simultaneously through one or more temperature alarming processing modes of human-computer interaction interface output; Report to the police thereby carry out computer temperature flexibly, efficiently, the audible alarm prompting not only is provided, and the various temperature warning processing mode that can supply the user to select is provided.
Description of drawings
Fig. 1 is the realization flow figure of the computer temperature alarm method that provides of the embodiment of the invention;
Fig. 2 is the realization flow figure that computer system is carried out software cooling that the embodiment of the invention provides;
Fig. 3 is the structured flowchart of the computer temperature warning device that provides of the embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention; Through mutual with computer operating system; Hardware monitoring module from computer motherboard reads system for computer temperature and/or cpu temperature, in system temperature and cpu temperature any one when surpassing preset reference temperature, the hummer of control computer and/or sound card output alarm sound; Simultaneously through one or more temperature alarming processing modes of human-computer interaction interface output; Report to the police thereby carry out computer temperature flexibly, efficiently, the audible alarm prompting not only is provided, and the various temperature warning processing mode that can supply the user to select is provided.
Fig. 1 shows the realization flow of the computer temperature alarm method that the embodiment of the invention provides, and details are as follows:
In step S101, through mutual with computer operating system, the hardware monitoring module from computer motherboard reads system for computer temperature and/or cpu temperature.
In embodiments of the present invention; Through calling the interface function access driver that the dynamic link library provides; Driver is through carrying out alternately with the computer operating system kernel; (Hardware Abstraction Layer, function HAL) reads the SIO hardware register, reads system for computer temperature and/or cpu temperature with the hardware monitoring module from computer motherboard to call hardware abstraction layer.Wherein the function of dynamic link library is API to the user to be provided, and through calling Windows API Access driver, sends read-write requests to driver.Driver is used to receive the read-write requests of dynamic link library, and writes hardware register from the hardware register reading of data or with data.
In another embodiment of the present invention, through mutual with computer operating system, the hardware monitoring module from computer motherboard reads outside system for computer temperature and/or the cpu temperature, also reads rotation speed of the fan.
Wherein driver is used for carrying out alternately with the computer operating system kernel, and the function that calls HAL is realized the read functions of SIO hardware register.Dynamic link library routine call Windows API Access driver is packaged with the function interface that is used to read system for computer temperature, cpu temperature and rotation speed of the fan in this dynamic link library.
In step S102, judge whether wherein any in system temperature and the cpu temperature surpasses preset reference temperature, if, execution in step S103, otherwise, execution in step S101.
In embodiments of the present invention, preset reference temperature comprises preset CPU reference temperature and preset system reference temperature.Wherein preset CPU reference temperature can be consistent with preset system reference temperature, also can be inconsistent.And preset CPU reference temperature can be a value with preset system reference temperature, also can be the value range that is made up of the upper limit, lower limit.
In embodiments of the present invention, judge that the wherein any step that whether surpasses preset reference temperature in system temperature and the cpu temperature is specific as follows:
A, judge that whether cpu temperature surpasses preset CPU reference temperature, if, execution in step S103, otherwise execution in step B;
B, judge that whether system temperature surpasses preset system reference temperature, if, execution in step S103, otherwise execution in step S101.
In another embodiment of the present invention, judge that the wherein any step that whether surpasses preset reference temperature in system temperature and the cpu temperature also can be following:
A1, judge that whether system temperature surpasses preset system reference temperature, if, execution in step S103, otherwise execution in step B1;
B1, judge that whether cpu temperature surpasses preset CPU reference temperature, if, execution in step S103, otherwise execution in step S101.
In step S103, the hummer of control computer and/or sound card output alarm sound are exported one or more temperature alarming processing modes through the mode of human-computer interaction interface simultaneously, supply the user to select.
In embodiments of the present invention, and the API through direct call operation system (Application Programming Interface, the API) file that plays sound, thus realize hummer and/or sound card output alarm sound.
Wherein the temperature alarming processing mode include but not limited to ignore warning, close warning, the software cooling, restart computer system, system etc. shuts down computer.Certainly, can also other temperature alarming processing modes be set, repeat no more at this according to user's needs.
In embodiments of the present invention, through one or more temperature alarming processing modes of human-computer interaction interface output, so that the user selects wherein a kind of temperature alarming of temperature alarming processing mode process computer through this human-computer interaction interface.
In step S104, receive the warning processing instruction that the user sends, adopt the temperature alarming of the temperature alarming processing mode process computer of this warning processing instruction appointment.
In embodiments of the present invention; When the user has selected wherein one or more through human-computer interaction interface from the various temperature warning processing mode of output; Promptly receive the warning processing instruction that the user sends, and temperature alarming processing mode that should the appointment of warning processing instruction is the temperature alarming processing mode of user's selection.
When the temperature alarming processing mode of warning processing instruction appointment was reported to the police for ignoring, the hummer and the sound card of control computer were closed chimes of doom, and after waiting for Preset Time, return step S101;
When the temperature alarming processing mode of warning processing instruction appointment was reported to the police for closing, the hummer and the sound card of control computer were closed chimes of doom, and close warning function, return step S101;
When the temperature alarming processing mode of warning processing instruction appointment is the software cooling, then computer system is carried out the software cooling and handle.During concrete the realization, can be true, be used for sign and to carry out the software cooling and handle, in the time need not carrying out the software cooling and handle, software is set lower the temperature and be designated false through software cooling sign (m_CoolFlag) is set.Wherein software cooling sign is used for identifying whether need carry out software cooling processing to computer system.Wherein computer system is carried out the detailed process that software cooling handles and see also Fig. 2, repeat no more at this.
When the temperature alarming processing mode of warning processing instruction appointment is attached most importance to starting system, then through carrying out restarting computer system through computer operating system alternately with computer operating system.
When the temperature alarming processing mode of warning processing instruction appointment is shutdown system, then through carrying out alternately, through the computer operating system system that shuts down computer with computer operating system.
In order to make the system temperature and the cpu temperature of the understanding computer system that the user can be directly perceived, real-time, in another embodiment of the present invention, after step S101, this method also comprises the steps:
Refresh and show system temperature, cpu temperature and the rotation speed of the fan that reads.Promptly when the system temperature that at every turn reads computer system, cpu temperature and rotation speed of the fan, the system temperature that promptly real-time demonstration reads, cpu temperature and rotation speed of the fan so that the user can be intuitively, the ambient condition of real-time understanding computer system.
Select whether to carry out the computer temperature warning for the user is free to, in another embodiment of the present invention, before step S102, this method also comprises the steps:
Judge whether to open the temperature alarming function, if, execution in step S102 then, otherwise, execution in step S101 continued.During concrete the realization, can be through export the inquiry interface to the user, so that the user selects whether to open the temperature alarming function through this inquiry interface.When the user selects to open the temperature alarming function, execution in step S102 then, otherwise, continue to read system temperature, cpu temperature and the rotation speed of the fan of computer system.
In order to make the user that CPU reference temperature and system reference temperature can be set easily and efficiently, in another embodiment of the present invention, this method also comprises the steps:
The reference temperature that receives user's input is provided with instruction; Export reference temperature to the user interface is set; Receiving the user when CPU reference temperature and/or the system reference temperature of interface input being set through reference temperature; The CPU reference temperature of computer system and/or system reference temperature are set to the CPU reference temperature and/or the system reference temperature of user's input, and preserve CPU reference temperature and/or system reference temperature that the user is provided with.Before the user is provided with the CPU reference temperature and/or system reference temperature of computer system once more, all use the CPU reference temperature of this time setting and system temperature, cpu temperature that the system reference temperature is judged computer system whether to reach temperature conditions.
What Fig. 2 showed that the embodiment of the invention provides carries out the realization flow that the software cooling is handled to computer system, and details are as follows:
In step S201, judge whether that need carry out the software cooling to computer system handles, if, execution in step S202, otherwise finish software cooling processing procedure.
When specifically realizing, judge whether software cooling sign m_CoolFlag is true, if then judgement need be carried out software cooling processing to computer system, otherwise, judge that need not carry out the software cooling to computer system handles.
Whether the CPU that in step S202, judges computer system is idle, if execution in step S203, otherwise, return step S201.
In step S203, carry out the HLT instruction through CPU, the CPU of computer system is lowered the temperature.Its detailed process is following:
The driver of function interface in the present invention through calling dynamic link library among the present invention sends the request of carrying out the HLT instruction; Let CPU carry out the HLT instruction, CPU suspends, up to look-at-me occurring; CPU continues operation again, thereby realizes the CPU of computer system is lowered the temperature.
Fig. 3 shows the structure of the computer temperature warning device that the embodiment of the invention provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention.This computer temperature warning device can be to be built in the unit that software unit, hardware cell or software and hardware in the computer system combine, and perhaps is integrated in the application system of computer system or computer system as suspension member independently.This computer system can be mainboard or computing machine complete machine.Wherein:
Temperature reading unit 31 is through mutual with computer operating system, and the hardware monitoring module from computer motherboard reads system for computer temperature and/or cpu temperature.
In embodiments of the present invention; The interface function access driver that temperature reading unit 31 provides through calling the dynamic link library; Driver is through carrying out alternately with the computer operating system kernel; The function that calls HAL reads the SIO hardware register, reads system for computer temperature and/or cpu temperature with the hardware monitoring module from computer motherboard.In another embodiment of the present invention, through mutual with computer operating system, the hardware monitoring module from computer motherboard reads outside system for computer temperature and/or the cpu temperature, also reads rotation speed of the fan.
Wherein driver is used for carrying out alternately with the computer operating system kernel, and the function that calls HAL is realized the read functions of SIO hardware register.Dynamic link library routine call Windows API Access driver is packaged with the function interface that is used to read system for computer temperature, cpu temperature and rotation speed of the fan in this dynamic link library.
Temperature alarming judging unit 32 judges whether wherein any in system temperature that temperature reading unit 31 reads and the cpu temperature surpasses preset reference temperature.
Wherein preset reference temperature comprises preset CPU reference temperature and preset system reference temperature.Wherein preset CPU reference temperature can be consistent with preset system reference temperature, also can be inconsistent.And preset CPU reference temperature can be a value with preset system reference temperature, also can be the value range that is made up of the upper limit, lower limit.
This temperature alarming judging unit 32 comprises cpu temperature comparison module 321 and system temperature comparison module 322.Wherein:
Cpu temperature comparison module 321 compares the cpu temperature that temperature reading unit 31 reads with preset CPU reference temperature, judge whether cpu temperature surpasses preset CPU reference temperature.
System temperature comparison module 322 compares the system temperature that temperature reading unit 31 reads with preset system reference temperature, judge whether system temperature surpasses preset system reference temperature.
Temperature alarming output unit 33 wherein any when surpassing preset reference temperature in system temperature that temperature alarming judging unit 32 judge temperature reading units 31 read and cpu temperature; The hummer of control computer and sound card output alarm sound are simultaneously through one or more temperature alarming processing modes of human-computer interaction interface output.
Wherein the temperature alarming processing mode include but not limited to ignore warning, close warning, the software cooling, restart computer system, system etc. shuts down computer.Certainly, can also other temperature alarming processing modes be set, repeat no more at this according to user's needs.
In embodiments of the present invention, through one or more temperature alarming processing modes of human-computer interaction interface output, so that the user selects wherein a kind of temperature alarming of temperature alarming processing mode process computer through this human-computer interaction interface.
Temperature alarming processing unit 34 receives the warning processing instruction that the user sends, and adopts the temperature alarming of the temperature alarming processing mode process computer of this warning processing instruction appointment.
In embodiments of the present invention; When the user has selected wherein one or more through human-computer interaction interface from the various temperature warning processing mode of output; Promptly receive the warning processing instruction that the user sends, and temperature alarming processing mode that should the appointment of warning processing instruction is the temperature alarming processing mode of user's selection.
This temperature alarming processing unit 34 comprise report to the police ignore module 341, the cancellation module 342 of reporting to the police, software cooling module 343, system restart module 344 and system closing module 345.Wherein:
Warning is ignored module 341 when the temperature alarming processing mode of the warning processing instruction appointment that receives is reported to the police for ignoring, and the hummer and the sound card of control computer are closed chimes of doom, and after waiting for Preset Time, trigger temperature reading unit 31.
When the cancellation module 342 of reporting to the police was reported to the police for closing in the temperature alarming processing mode of the warning processing instruction appointment that receives, the hummer and the sound card of control computer were closed chimes of doom, and close warning function.
When software cooling module 343 is the software cooling in the temperature alarming processing mode of the warning processing instruction appointment that receives, then computer system is carried out the software cooling and handle.During concrete the realization, can be true, be used for sign and to carry out the software cooling and handle, in the time need not carrying out the software cooling and handle, software is set lower the temperature and be designated false through software cooling sign (m_CoolFlag) is set.Wherein software cooling sign is used for identifying whether need carry out software cooling processing to computer system.
This software cooling module 343 comprises cooling judge module, CPU idle determination module and HLT instruction execution module.Wherein:
The cooling judge module judges whether that need carry out the software cooling to computer system handles.
When specifically realizing, judge whether software cooling sign m_CoolFlag is true, if then judgement need be carried out software cooling processing to computer system, otherwise, judge that need not carry out the software cooling to computer system handles.
When CPU idle determination module need be carried out software cooling processing to computer system in the judgement of cooling judge module, judge whether the CPU of computer system is idle.
When HLT instruction execution module judges that in CPU idle determination module the CPU of computer system is idle, carry out the HLT instruction, the CPU of computer system is lowered the temperature through CPU.
Module 344 is restarted when the temperature alarming processing mode when the appointment of warning processing instruction that receives is attached most importance to starting system in system, through carrying out restarting computer system through computer operating system alternately with computer operating system.
When system closing module 345 is shutdown system in the temperature alarming processing mode when the appointment of warning processing instruction that receives, through carrying out alternately, through the computer operating system system that shuts down computer with computer operating system.
In order to make the system temperature and the cpu temperature of the understanding computer system that the user can be directly perceived, real-time, in another embodiment of the present invention, this device also comprises temperature display unit 35.This temperature display unit 35 refreshes system temperature and/or the cpu temperature that displays temperature reading unit 31 reads.Promptly when system temperature that at every turn reads computer system and/or cpu temperature, system temperature that promptly real-time demonstration reads and/or cpu temperature so that the user can be intuitively, the ambient condition of real-time understanding computer system.
In another embodiment of the present invention, this temperature display unit 35 also refreshes the rotation speed of the fan that displays temperature reading unit 31 reads except that refreshing the system temperature and/or cpu temperature that displays temperature reading unit 31 reads.
Select whether to carry out the computer temperature warning for the user is free to, in another embodiment of the present invention, this device also comprises alarm switch unit 36.The temperature alarming function is opened in this alarm switch unit 36 when receiving the temperature alarming open command of user's input, when receiving the temperature alarming out code of user's input, and the closing temperature warning function.During concrete the realization, can be through export the inquiry interface to the user, so that the user selects whether to open the temperature alarming function through this inquiry interface.When the user selects to open the temperature alarming function, then open the temperature alarming function, otherwise, the closing temperature warning function.
In order to make the user that CPU reference temperature and system reference temperature can be set easily and efficiently, in another embodiment of the present invention, this device also comprises reference temperature dispensing unit 37.The reference temperature that this reference temperature dispensing unit 37 receives user's input is provided with instruction; Export reference temperature to the user interface is set; Receiving the user when CPU reference temperature and/or the system reference temperature of interface input being set through reference temperature; The CPU reference temperature of computer system and/or system reference temperature are set to the CPU reference temperature and/or the system reference temperature of user's input, and preserve CPU reference temperature and/or system reference temperature that the user is provided with.Before the user is provided with the CPU reference temperature and/or system reference temperature of computer system once more, all use the CPU reference temperature of this time setting and system temperature, cpu temperature that the system reference temperature is judged computer system whether to reach temperature conditions.
In embodiments of the present invention; Through mutual with computer operating system; Directly the hardware monitoring module from the computer motherboard reads system for computer temperature and/or cpu temperature, thereby does not need extra temperature-detecting device, has effectively reduced the cost that computer temperature is reported to the police; Through the human-computer interaction interface of hommization is provided, realizes human-computer interaction function, thereby can various temperature warning processing mode be provided for the user; And through human-computer interaction interface system reference temperature and CPU reference temperature are set, are provided with, bring great convenience to the user thereby avoided when system start-up, to get into BIOS; Through sound card and hummer while output temperature chimes of doom, the audible alarm prompting not only is provided, and the various temperature warning processing mode that can supply the user to select is provided.Simultaneously when the system temperature of computer system is too high with cpu temperature, can carries out HLT through CPU and instruct, thereby CPU lowered the temperature through software.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a computer temperature alarm method is characterized in that, said method comprises the steps:
S101, through mutual with computer operating system, the hardware monitoring module from computer motherboard reads system for computer temperature and/or cpu temperature;
Step S101 specifically comprises:
Call the interface function access driver that the dynamic link library provides; Driver and computer operating system kernel carry out alternately; The function that calls hardware abstraction layer HAL reads the SIO hardware register; Hardware monitoring module with from computer motherboard reads system for computer temperature and/or cpu temperature
S102, judge that whether wherein any one in system temperature and the cpu temperature surpass preset reference temperature, said preset reference temperature comprises system reference temperature and CPU reference temperature, if, execution in step S103, otherwise, execution in step S101;
The hummer of S103, control computer and/or sound card output alarm sound are exported one or more temperature alarming processing modes through the mode of human-computer interaction interface simultaneously, supply the user to select.
2. the method for claim 1 is characterized in that, after said mode through human-computer interaction interface was exported the step of one or more temperature alarming processing modes, said method also comprised the steps:
Receive the warning processing instruction that the user sends;
Adopt the temperature alarming of the temperature alarming processing mode process computer of said warning processing instruction appointment,
Said temperature alarming processing mode comprises and ignores warning, closes warning, the software cooling, restart computer system, system shuts down computer.
3. method as claimed in claim 2 is characterized in that, the warning processing instruction that said reception user sends adopts the step of temperature alarming of the temperature alarming processing mode process computer of said warning processing instruction appointment specifically to comprise:
When the temperature alarming processing mode of warning processing instruction appointment is reported to the police for ignoring; The hummer and the sound card of control computer are closed chimes of doom; And after waiting for Preset Time, carry out the step that said hardware monitoring module from the computer motherboard reads system for computer temperature and/or cpu temperature;
When the temperature alarming processing mode of warning processing instruction appointment was reported to the police for closing, the hummer and the sound card of control computer were closed chimes of doom, and close warning function;
When the temperature alarming processing mode of warning processing instruction appointment is the software cooling, computer system is carried out the software cooling handle;
When the temperature alarming processing mode of warning processing instruction appointment is attached most importance to starting system, through carrying out restarting computer system through computer operating system alternately with computer operating system;
When the temperature alarming processing mode of warning processing instruction appointment is shutdown system, through carrying out alternately, through the computer operating system system that shuts down computer with computer operating system.
4. method as claimed in claim 3 is characterized in that, when said temperature alarming processing mode when the appointment of warning processing instruction is the software cooling, computer system is carried out software cooling processed steps specifically comprise:
Whether the CPU that judges computer system is idle;
When the CPU that judges computer system is idle, carry out the HLT instruction through CPU, the CPU of computer system is lowered the temperature.
5. the method for claim 1 is characterized in that, said method also comprises the steps:
The reference temperature that receives user's input is provided with instruction; Export reference temperature to the user interface is set; Receiving the user when CPU reference temperature and/or the system reference temperature of interface input being set through reference temperature; The CPU reference temperature of computer system and/or system reference temperature are set to the CPU reference temperature and/or the system reference temperature of user's input, and preserve CPU reference temperature and/or system reference temperature that the user is provided with.
6. a computer temperature warning device is characterized in that, said device comprises:
The temperature reading unit is used for through mutual with computer operating system, and the hardware monitoring module from computer motherboard reads system for computer temperature and/or cpu temperature; Said temperature reading unit is specifically through calling the interface function access driver that the dynamic link library provides; Driver and computer operating system kernel carry out alternately; The function that calls hardware abstraction layer HAL reads the SIO hardware register; Hardware monitoring module with from computer motherboard reads system for computer temperature and/or cpu temperature; And wherein any of being used at temperature alarming judging unit decision-making system temperature and cpu temperature carries out the temperature reading unit through mutual with computer system all when surpassing preset reference temperature, and the hardware monitoring module from computer motherboard reads system for computer temperature and/or cpu temperature;
The temperature alarming judging unit is used for judging whether system temperature that said temperature reading unit reads and wherein any of cpu temperature surpass preset reference temperature, and said preset reference temperature comprises system reference temperature and CPU reference temperature;
The temperature alarming output unit; Be used for wherein any one when surpassing preset reference temperature at said temperature alarming judging unit decision-making system temperature and cpu temperature; The hummer of control computer and/or sound card output alarm sound; Export one or more temperature alarming processing modes through the mode of human-computer interaction interface simultaneously, supply the user to select.
7. device as claimed in claim 6 is characterized in that, said device also comprises:
The temperature alarming processing unit; After being used for exporting one or more temperature alarming processing modes through the mode of human-computer interaction interface; Receive the warning processing instruction that the user sends; Adopt the temperature alarming of the temperature alarming processing mode process computer of said warning processing instruction appointment, said temperature alarming processing mode comprises and ignores warning, closes warning, the software cooling, restart computer system, system shuts down computer.
8. device as claimed in claim 7 is characterized in that, said temperature alarming processing unit comprises:
Module is ignored in warning; Be used for when the temperature alarming processing mode of the warning processing instruction appointment that receives is reported to the police for ignoring; The hummer and the sound card of control computer are closed chimes of doom; And after waiting for Preset Time, trigger said temperature reading unit execution and read system for computer temperature and/or cpu temperature from the hardware monitoring module on the computer motherboard;
Report to the police and cancel module, be used for when the temperature alarming processing mode of the warning processing instruction appointment that receives is reported to the police for closing, the hummer and the sound card of control computer are closed chimes of doom, and close warning function;
The software cooling module is used for when the temperature alarming processing mode of the warning processing instruction appointment that receives is the software cooling, computer system is carried out the software cooling handling;
Module is restarted in system, is used for when the temperature alarming processing mode of the warning processing instruction appointment that receives is attached most importance to starting system, through carrying out restarting computer system through computer operating system alternately with computer operating system;
The system closing module is used for when the temperature alarming processing mode of the warning processing instruction appointment that receives is shutdown system, through carrying out alternately with computer operating system, through the computer operating system system that shuts down computer.
9. device as claimed in claim 8 is characterized in that, said software cooling module comprises:
The cooling judge module is used to judge whether that need carry out the software cooling to computer system handles;
CPU idle determination module is used for when the judgement of said cooling judge module need be carried out software cooling processing to computer system, judging whether the CPU of computer system is idle;
HLT instructs execution module, is used for when said CPU idle determination module judges that the CPU of computer system is idle, carrying out the HLT instruction through CPU, and the CPU of computer system is lowered the temperature.
10. device as claimed in claim 6 is characterized in that, said device also comprises:
The reference temperature dispensing unit; The reference temperature that is used to receive user's input is provided with instruction; Export reference temperature to the user interface is set; Receiving the user when through reference temperature CPU reference temperature and/or the system reference temperature of interface input being set, the CPU reference temperature of computer system and/or system reference temperature are set to the CPU reference temperature and/or the system reference temperature of user's input, and preserve CPU reference temperature and/or system reference temperature that the user is provided with.
CN 200910109492 2009-08-21 2009-08-21 Computer temperature alarming method, device and computer system Active CN101996122B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910109492 CN101996122B (en) 2009-08-21 2009-08-21 Computer temperature alarming method, device and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910109492 CN101996122B (en) 2009-08-21 2009-08-21 Computer temperature alarming method, device and computer system

Publications (2)

Publication Number Publication Date
CN101996122A CN101996122A (en) 2011-03-30
CN101996122B true CN101996122B (en) 2012-12-26

Family

ID=43786299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910109492 Active CN101996122B (en) 2009-08-21 2009-08-21 Computer temperature alarming method, device and computer system

Country Status (1)

Country Link
CN (1) CN101996122B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951390A (en) * 2015-07-07 2015-09-30 安徽康成工业产品设计有限公司 Notebook computer overheating monitoring device

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102243520B (en) * 2010-05-13 2015-02-18 英业达科技有限公司 Method for controlling fan
CN102141942B (en) * 2011-04-01 2015-11-25 北京奇虎科技有限公司 A kind of monitoring and protection method of equipment and device
TWI424309B (en) * 2012-08-24 2014-01-21 Msi Electronic Kun Shan Co Ltd Computer and controlling method for smart fan thereof
CN103024531A (en) * 2012-11-12 2013-04-03 北京奇虎科技有限公司 Hardware monitoring method and system
CN103024532A (en) * 2012-11-12 2013-04-03 北京奇虎科技有限公司 Hardware monitoring method and system
CN103116621B (en) * 2013-01-29 2016-08-24 北京奇虎科技有限公司 The detection method of computer hardware temperature, system and the method identifying ardware model number
CN104142721A (en) * 2013-11-05 2014-11-12 上海仪电物联技术股份有限公司 Intelligent control method for fan of digital video recorder
CN104636221B (en) * 2013-11-12 2020-03-17 研祥智能科技股份有限公司 Computer system fault processing method and device
CN103593032B (en) * 2013-11-20 2019-07-05 上海斐讯数据通信技术有限公司 A kind of electronic equipment and its control method
CN105320587A (en) * 2014-06-24 2016-02-10 鸿合科技有限公司 High temperature early warning method and device for processor of large intelligent electronic screen
CN105373461A (en) * 2014-08-22 2016-03-02 国基电子(上海)有限公司 Terminal device and heat dissipation detection method therefor
CN106201835A (en) * 2016-07-14 2016-12-07 浪潮软件股份有限公司 The method that the implementation method that a kind of early warning manages automatically is put
CN107682562A (en) * 2017-11-12 2018-02-09 佛山市百里洲科技有限公司 One kind can carry out temperature controlled mobile phone
CN107797830A (en) * 2017-11-12 2018-03-13 佛山市百里洲科技有限公司 A kind of temperature controlled method of mobile terminal
CN108334431A (en) * 2018-01-31 2018-07-27 上海与德科技有限公司 A kind of method for early warning and terminal of mainboard temperature
CN108959033A (en) * 2018-07-05 2018-12-07 郑州云海信息技术有限公司 A kind of cpu monitor pre-warning management system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1603994A (en) * 2003-09-30 2005-04-06 联想(北京)有限公司 Back board environment monitoring system
CN1889054A (en) * 2006-07-13 2007-01-03 浪潮电子信息产业股份有限公司 Server fan rotating speed long-distance monitoring and alarming method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1603994A (en) * 2003-09-30 2005-04-06 联想(北京)有限公司 Back board environment monitoring system
CN1889054A (en) * 2006-07-13 2007-01-03 浪潮电子信息产业股份有限公司 Server fan rotating speed long-distance monitoring and alarming method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951390A (en) * 2015-07-07 2015-09-30 安徽康成工业产品设计有限公司 Notebook computer overheating monitoring device

Also Published As

Publication number Publication date
CN101996122A (en) 2011-03-30

Similar Documents

Publication Publication Date Title
CN101996122B (en) Computer temperature alarming method, device and computer system
US6854064B2 (en) ACPI complaint computer system and overtemperature protection method therefor
EP1653331B1 (en) An apparatus and method for entering and exiting low power mode
US6446213B1 (en) Software-based sleep control of operating system directed power management system with minimum advanced configuration power interface (ACPI)-implementing hardware
EP1481310B1 (en) Method and apparatus to monitor performance of a process
US6832311B2 (en) Information processing system and resume processing method used in the system
US20070214349A1 (en) Driver/variable cache and batch reading system and method for fast resume
US5537656A (en) Method and apparatus for a microprocessor to enter and exit a reduced power consumption state
JP2000029737A (en) Processor having real-time outer instruction insertion for debugging functions
JPH05257712A (en) Microprocessor device and method for restarting automated stop state
WO2011054271A1 (en) Hard disk control method, hard disk control device and computer
US7774629B2 (en) Method for power management of central processing unit and system thereof
JP4155545B2 (en) Computer system and data transfer control method
US20080005594A1 (en) Halt state for protection of hard disk drives in a mobile computing environment
CN108228109B (en) Method and device for protecting data of electronic equipment and computer storage medium
US7565558B2 (en) Power saving method and system for a central processing unit disposed in a non-snooping sleep state when a peripheral device sends a bus master request
US9207742B2 (en) Power saving operating method for an electronic device by disabling a connection port to a touch device before the touch device enters power-saving mode
JP2753781B2 (en) Microprocessor unit and method for interrupt and automated input / output trap restart
CN102044201A (en) Constant-brightness display device and method for screen of mobile device
CN108181983B (en) Electronic device with controller entering low power mode
US5845140A (en) Method and apparatus for ensuring CPU halts during idle processing
JP3961669B2 (en) Computer system and data transfer control method
JP4585249B2 (en) Information processing device
CN101510169B (en) Multiple microprocessor system and monitoring method thereof
CN115993996B (en) Method and system for realizing sleep mode based on RTOS

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
TR01 Transfer of patent right

Effective date of registration: 20230713

Address after: 518000 1701, Yanxiang Science and Technology Building, No. 31, High-tech Middle 4th Road, Maling Community, Yuehai Street, Nanshan District, Shenzhen, Guangdong Province

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.

TR01 Transfer of patent right