CN103024531A - Hardware monitoring method and system - Google Patents

Hardware monitoring method and system Download PDF

Info

Publication number
CN103024531A
CN103024531A CN2012104521225A CN201210452122A CN103024531A CN 103024531 A CN103024531 A CN 103024531A CN 2012104521225 A CN2012104521225 A CN 2012104521225A CN 201210452122 A CN201210452122 A CN 201210452122A CN 103024531 A CN103024531 A CN 103024531A
Authority
CN
China
Prior art keywords
hardware
alarm
temperature
temperatures
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012104521225A
Other languages
Chinese (zh)
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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN2012104521225A priority Critical patent/CN103024531A/en
Publication of CN103024531A publication Critical patent/CN103024531A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Alarm Systems (AREA)

Abstract

The invention discloses a hardware monitoring method and system. The method comprises the following steps that: after a smart television provided with an operating system is started, a background service program in the operating system uses a system journal file and/or a software development kit interface provided by the operating system to obtain a hardware temperature and monitors the hardware temperature in real time; and when a temperature exceeding a set threshold exists in monitored hardware temperatures, alarming is performed. By adopting the hardware monitoring method and system, real-time monitoring of hardware of the smart television provided with the operating system can be realized, and the normal work of the smart television is ensured.

Description

Hardware monitoring method and system
Technical field
The present invention relates to the intelligent television technical field, be specifically related to a kind of hardware monitoring method and system.
Background technology
As everyone knows, the display mode of liquid crystal TV set is identical with the display mode of computer monitor, and this is that the high definition of digital multimedia content, especially computword shows and to provide the foundation.For this reason, intelligent television has appearred.So-called intelligent television refers to have the full open model platform, carried the TV of operation control system and application system, the user can install and unload types of applications software voluntarily when appreciating the common TV content, continue the new tv product that function is expanded and upgrades.
Intelligent television will be realized the various application services such as web search, Internet Protocol Television, netview, video request program, digital music, Internet news, network video telephone.Intelligent television is becoming the third message reference terminal after computer, mobile phone, and the user can access the information that oneself needs at any time; Intelligent television also will become a kind of smart machine, realize cross-platform search between TV, network and the program; Intelligent television also will be one " recreation center ", and the user can television channel searching, recording TV program, can play satellite and cable television program and Internet video.
As seen, intelligent television will be closely related with people's life, and the power that intelligent television provides also can aggravate its hardware energy consumption, especially CPU and the video card temperature can increase.If excess Temperature may cause hardware damage, and system also crashes or autoboot easily.Therefore how to realize the Real-Time Monitoring to intelligent television hardware, guarantee that the normal operation of intelligent television is also especially aobvious important.
Summary of the invention
In view of the above problems, the invention provides a kind of hardware monitoring method and system, to realize the Real-Time Monitoring to intelligent television hardware, guarantee the normal operation of intelligent television.
According to one aspect of the present invention, a kind of hardware monitoring method is provided, comprising:
After carrying the intelligent television startup of operating system, syslog file and/or SDK interface that the background service program in the described operating system utilizes described operating system to provide obtain hardware temperatures, and the Real-Time Monitoring hardware temperatures;
When the temperature that has in the hardware temperatures that monitors above setting threshold, carry out alarm.
Alternatively, the described background service program syslog file that utilizes described operating system to provide obtains hardware temperatures and comprises:
Described background service program reads the journal file under the device file catalogue in the described operating system and/or drives information in the journal file under the file directory, obtains hardware temperatures.
Alternatively, described method also comprises:
The temperature of corresponding each hardware is set respectively the threshold value of a correspondence; Perhaps
The temperature of corresponding all hardware is set a threshold value.
Alternatively, described carry out alarm comprise following any one or multiple:
The user is carried out alarm;
Hardware management program in backstage is carried out alarm;
Server is carried out alarm.
Alternatively, described to the user carry out alarm comprise following any one or multiple:
Utilize the pop-up box mode that the user is carried out alarm;
Utilize not with focus and have the mode that shows the time limit user is carried out alarm;
Utilize the suspended window mode that the user is carried out alarm.
Preferably, describedly hardware management program in backstage is carried out alarm comprise: send a warning message to backstage hardware management program.
Alternatively, described warning information comprises: hardware information corresponding to temperature that surpasses setting threshold;
Correspondingly, described method also comprises:
After described backstage hardware management program was received described warning information, the fan of controlling the hardware in the described warning information improved rotating speed.
Preferably, described method also comprises:
After described backstage hardware management program is received described warning information, interrupt the process that committed memory surpasses set point.
Preferably, describedly server is carried out alarm comprise: send alarm information to server;
Described method also comprises:
After described server is received described alarm information, to address transmission note, mail or the instant message of user's registration.
Preferably, describedly server carried out alarm also comprise:
Send switch fault report to described server, described switch fault report be described background service sequential monitoring to hardware temperatures in generate when temperature above setting threshold is arranged;
Comprise described switch fault report in described note, mail or the instant message.
Preferably, described switch fault report comprises: all programs of current operation or subprogram and shared resource information thereof; Described method also comprises:
Described server is added up the application program in the switch fault report of different intelligent television transmission;
Determine to cause the related application of hardware temperatures superthreshold situation according to statistics;
Comprise described related application and information in described note, mail or the instant message.
Preferably, described switch fault report also comprises: the temperature of current hardware and corresponding threshold value.Preferably, described method also comprises:
When the temperature that has in the hardware temperatures that monitors above setting threshold, generate dangerous daily record, described dangerous daily record comprises the temperature value of current hardware;
The dangerous daily record that generates is kept at this locality.
According to a further aspect in the invention, provide a kind of hardware monitoring system, having comprised: monitoring means and Alarm Unit;
Described monitoring means is used for after the intelligent television that carries operating system starts, and the syslog file and/or the SDK interface that utilize described operating system to provide obtain hardware temperatures, and the Real-Time Monitoring hardware temperatures;
Described Alarm Unit is used for carrying out alarm when the hardware temperatures that described monitoring means monitors has temperature above setting threshold.
Alternatively, described monitoring means comprises: first reads subelement and/or second reads subelement, also comprises the monitoring subelement;
Described first reads subelement, is used for after the intelligent television that carries operating system starts, and reads the journal file under the device file catalogue in the described operating system and/or drives information in the journal file under the file directory, obtains hardware temperatures;
Described second reads subelement, is used for after the intelligent television that carries operating system starts, and the SDK interface that utilizes described operating system to provide obtains hardware temperatures;
Described monitoring subelement reads subelement and/or described second for Real-Time Monitoring described first and reads the hardware temperatures that subelement obtains.
Preferably, described device also comprises:
Setup unit for the temperature of corresponding each hardware, is set respectively the threshold value of a correspondence; Perhaps the temperature of corresponding all hardware is set a threshold value.
Alternatively, described Alarm Unit comprises following any one or a plurality of unit:
User's Alarm Unit is used for when the hardware temperatures that described monitoring means monitors has temperature above setting threshold the user being carried out alarm;
The program Alarm Unit is used for when the hardware temperatures that described monitoring means monitors has temperature above setting threshold hardware management unit, backstage being carried out alarm;
The server Alarm Unit is used for when the hardware temperatures that described monitoring means monitors has temperature above setting threshold server being carried out alarm.
Alternatively, described user's Alarm Unit comprises following any one or a plurality of subelement:
The first alarm subelement is used for utilizing pop-up box that the user is carried out alarm;
The second alarm subelement is used for utilizing not with focus and has the mode that shows the time limit user is carried out alarm;
The 3rd alarm subelement is used for utilizing the suspended window mode that the user is carried out alarm.
Preferably, described program Alarm Unit when concrete hardware temperatures for monitoring at described monitoring means has above the temperature of setting threshold, sends a warning message to hardware management unit, backstage.Preferably, described warning information comprises: hardware corresponding to temperature that surpasses setting threshold;
Correspondingly, hardware management unit, described backstage, after being used for receiving described warning information, the fan of controlling the hardware in the described warning information improves rotating speed.
Preferably, hardware management unit, described backstage after being used for receiving described warning information, interrupts the process that committed memory surpasses set point.
Preferably, described server Alarm Unit when concrete hardware temperatures for monitoring at described monitoring means has above the temperature of setting threshold, sends alarm information to server;
Correspondingly, described server is after being used for receiving described alarm information, to address transmission note, mail or the instant message of user's registration.
Preferably, described system also comprises:
The switch fault report generation unit is used for generating switch fault report when the hardware temperatures that described monitoring means monitors has temperature above setting threshold;
Correspondingly, described server Alarm Unit also is used for sending described switch fault report to described server;
Comprise described switch fault report in described note, mail or the instant message.
Preferably, described switch fault report comprises: all programs of current operation or subprogram and shared resource information thereof;
Described server also is used for the application program of the switch fault report of different intelligent television transmission is added up, and determines to cause the related application of hardware temperatures superthreshold situation according to statistics;
Comprise described related application and information in described note, mail or the instant message.
Preferably, described switch fault report also comprises: the temperature of current hardware and corresponding threshold value.
Preferably, described system also comprises:
The daily record generation unit is used for generating dangerous daily record when the hardware temperatures that described monitoring means monitors has temperature above setting threshold, and described dangerous daily record comprises the temperature value of current hardware;
Storage unit, land used is kept at this locality with the dangerous daily record that described daily record generation unit generates.
According to hardware monitoring method of the present invention and system, after carrying the intelligent television startup of operating system, syslog file and/or SDK interface that background service program in the described operating system utilizes described operating system to provide obtain hardware temperatures, and the Real-Time Monitoring hardware temperatures; When the temperature that has in the hardware temperatures that monitors above setting threshold, carry out alarm.Can make thus intelligent television not rely on the temperature framework interface of system, hardware temperatures is carried out Real-Time Monitoring, effectively make early warning and remind, guarantee better the normal operation of intelligent television.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 shows the according to an embodiment of the invention flow chart of hardware monitoring method;
Fig. 2 shows according to an embodiment of the invention a kind of structural representation of hardware monitoring system;
Fig. 3 shows the according to an embodiment of the invention another kind of structural representation of hardware monitoring system;
Fig. 4 shows the according to an embodiment of the invention another kind of structural representation of hardware monitoring system;
Fig. 5 shows the according to an embodiment of the invention another kind of structural representation of hardware monitoring system;
Fig. 6 shows the according to an embodiment of the invention another kind of structural representation of hardware monitoring system.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
Main characteristics of intelligent television are to have carried operating system, and has an open platform, make the user not only can watch the common TV content, but also can install voluntarily and unload types of applications software, therefore the stability of intelligent television work reaches and reliably becomes more important, and one of key that supports the reliable and stable work of intelligent television will guarantee the normal operation of its hardware exactly.In existing computer operating system, normally rely on the temperature framework interface (being the file that control generates some special bunkerage temperature informations in the operating system) of system to obtain the temperature of hardware).And the operating system that intelligent television carries is different from the operating system in the active computer, and such temperature framework interface can't be provided.For this reason, the present invention is directed to this intelligent television, a kind of hardware monitoring method is provided, the syslog file and/or the SDK interface that utilize described operating system to provide carry out Real-Time Monitoring to hardware temperatures, effectively make early warning and remind, guarantee the normal operation of intelligent television.
As shown in Figure 1, be a kind of flow chart of the method, this flow process may further comprise the steps:
Step 101, after the intelligent television of lift-launch operating system started, syslog file and/or SDK interface that the background service program in the described operating system utilizes described operating system to provide obtained hardware temperatures, and the Real-Time Monitoring hardware temperatures.
Described background service program can read the journal file under the device file catalogue in the described operating system and/or drive information in the journal file under the file directory, obtains hardware temperatures.
Such as, for the intelligent television that carries Android operating system, can by/sys/class or/information that provides in the power_supply file under the sys/devices catalogue obtains the temperature of battery or power supply; By/sys/class or/the sys/devices catalogue under information in the file such as cpu or thermal obtain the temperature of cpu or other hardware.
Described background service program also can be obtained hardware temperatures by the SDK interface, such as the intelligent television for lift-launch Android operating system, battery change broadcasting equipment (ACTION BATTERY CHANGED) is monitored in registration, when battery changes, resolution data field " temperature " just can be obtained the current battery temperature value.
Certainly, different operating system can have different syslog files and SDK interface, therefore, in actual applications, can process accordingly according to the specific operating system that intelligent television carries, and this embodiment of the invention is not done restriction.
Step 102 when the temperature that has in the hardware temperatures that monitors above setting threshold, is carried out alarm.
Particularly, can set respectively the threshold value of a correspondence for the temperature of each hardware, temperature that also can corresponding all hardware is set a threshold value.
In actual applications, the mode of carrying out alarm can have multiple, such as, can be following any one or various ways:
(1) user is carried out alarm;
(2) hardware management program in backstage is carried out alarm;
(3) server is carried out alarm.
The below is elaborated to above-mentioned several alarm modes respectively.
In embodiments of the present invention, it can be the display alarm information that the user is carried out alarm, such as, can the current hardware temperatures of prompting user too high, and eject dialog box, whether suspend the present procedure operation by user selection.For another example, can also utilize and not be with focus and have the mode (such as the toast mode in the peace table operating system) that shows the time limit, display alarm information, toast mode can not stop user's operation.For another example, can also utilize suspended window mode display alarm information.
Certainly, can also there be alternate manner that the user is carried out alarm, such as the audio prompt modes such as corresponding buzz are set.
In embodiments of the present invention, hardware management program in backstage being carried out alarm can be to send a warning message to backstage hardware management program.
Correspondingly, after described backstage hardware management program is received described warning information, can interrupt the process that committed memory surpasses set point, thereby can reduce the use of intelligent television internal memory, reduce the energy consumption of related hardware, and then reduce hardware temperatures, avoid making its excess Temperature to cause damage.
In another embodiment, above-mentioned warning information can comprise: hardware information corresponding to temperature that surpasses setting threshold.Correspondingly, after described backstage hardware management program was received this warning information, the fan of controlling the hardware in the described warning information improved rotating speed, thereby improves the thermal diffusivity of hardware, avoids making its excess Temperature to cause damage.
In embodiments of the present invention, server being carried out alarm can be to send alarm information to server.
Correspondingly, after described server is received described alarm information, can send note, mail or instant message to the address of user's registration.
In addition, when the background service program has above the temperature of setting threshold, can also generate switch fault report in the hardware temperatures that monitors.Correspondingly, server being carried out alarm can also comprise to described server and send above-mentioned switch fault report.Correspondingly, in note, mail or the instant message of the address transmission of user's registration, also can comprise above-mentioned switch fault report at server.
In a specific embodiment, above-mentioned switch fault report can comprise: all programs of current operation or subprogram and shared resource information thereof;
Correspondingly, described server can be added up the application program in the switch fault report of different intelligent television transmission, and determines to cause the related application of hardware temperatures superthreshold situation according to statistics.Described server can be included in above-mentioned related application and the corresponding information of determining in said short message, mail or the instant message, which application program can make hardware produce more heat transfer so that the user can understand better, make easily hardware temperatures too high, thereby when this class application program of follow-up unlatching, can close consciously other application program, reduce the resource consumption, avoid hardware temperatures too high.Such as adding up through server, per 1000 TVs that moved " Need For Speed 12 " just have 467 the temperature warning situation has occured, server can be notified the user following information: " " Need For Speed 12 " that you move in XXX model intelligent television causes excess Temperature in this TV probability please be optimized rear operation or not re-use this program up to 46.7% ".
Certainly, above-mentioned switch fault report also can further comprise: the temperature of current hardware and corresponding threshold value, so that server can be done is more detailed, statistics accurately, for providing, the user more enriches perfect information.
Need to prove, in another implementation column of hardware monitoring method of the present invention, can further include following steps:
When the temperature that has in the hardware temperatures that monitors above setting threshold, generate dangerous daily record, described dangerous daily record comprises the temperature value of current hardware, and the dangerous daily record that will generate is kept at this locality.
Like this, can provide reference for the user carries out malfunction elimination.
As seen, embodiment of the invention hardware monitoring method, the syslog file and/or the SDK interface that utilize described operating system to provide carry out Real-Time Monitoring to hardware temperatures, effectively making early warning reminds, avoid the too high fault that causes of hardware temperatures, guaranteed the normal operation of intelligent television.
Correspondingly, the embodiment of the invention also provides a kind of hardware monitoring system, as shown in Figure 2, is a kind of structural representation of this system.
In this embodiment, described system comprises: monitoring means 201 and Alarm Unit 202.Wherein:
Described monitoring means 201 is used for after the intelligent television that carries operating system starts, and the syslog file and/or the SDK interface that utilize described operating system to provide obtain hardware temperatures, and the Real-Time Monitoring hardware temperatures;
Described Alarm Unit 202 is used for carrying out alarm when the hardware temperatures that described monitoring means monitors has temperature above setting threshold.
A kind of implementation of monitoring means 201 comprises: first reads subelement and/or second reads subelement, also comprises monitoring subelement (not shown).Wherein:
Described first reads subelement, is used for after the intelligent television that carries operating system starts, and reads the journal file under the device file catalogue in the described operating system and/or drives information in the journal file under the file directory, obtains hardware temperatures.Such as, for the intelligent television that carries Android operating system, can by/sys/class or/information that provides in the power_supply file under the sys/devices catalogue obtains the temperature of battery or power supply; By/sys/class or/the sys/devices catalogue under information in the file such as cpu or thermal obtain the temperature of cpu or other hardware.
Certainly, different operating system can have different syslog files and SDK interface, therefore, and in actual applications, described first reads subelement can process accordingly according to the specific operating system that intelligent television carries, and this embodiment of the invention is not done restriction.
Described second reads subelement, is used for after the intelligent television that carries operating system starts, and the SDK interface that utilizes described operating system to provide obtains hardware temperatures.Such as for the intelligent television that carries Android operating system, register and monitor battery change broadcasting equipment (ACTION_BATTERY_CHANGED), when battery changed, resolution data field " temperature " just can be obtained the current battery temperature value.
Described monitoring subelement reads subelement and/or described second for Real-Time Monitoring described first and reads the hardware temperatures that subelement obtains.
Need to prove, in embodiments of the present invention, can set respectively the threshold value of a correspondence for the temperature of each hardware, temperature that also can corresponding all hardware is set a threshold value, and this function can be finished by setup unit (not shown).
Embodiment of the invention hardware monitoring system, the syslog file and/or the SDK interface that utilize described operating system to provide carry out Real-Time Monitoring to hardware temperatures, effectively make early warning and remind, avoid the too high fault that causes of hardware temperatures, guaranteed the normal operation of intelligent television.
In actual applications, described Alarm Unit 202 can have multiple implementation, as shown in Figure 3, can comprise following any one or multiple unit: user's Alarm Unit 211, program Alarm Unit 212, server Alarm Unit 213.Wherein:
Described user's Alarm Unit 211 is used for when the hardware temperatures that described monitoring means 201 monitors has temperature above setting threshold the user being carried out alarm;
Described program Alarm Unit 212 is used for when the hardware temperatures that described monitoring means 201 monitors has temperature above setting threshold hardware management unit, backstage being carried out alarm;
Described server Alarm Unit 213 is used for when the hardware temperatures that described monitoring means 201 monitors has temperature above setting threshold server being carried out alarm.
The below is elaborated to above-mentioned several Alarm Units respectively.
The Alarm Unit of user described in the embodiment of the invention 211 can comprise following any one or a plurality of subelement:
The first alarm subelement is used for utilizing pop-up box that the user is carried out alarm.Such as, can the current hardware temperatures of prompting user too high, and eject dialog box, whether suspend the present procedure operation by user selection.
The second alarm subelement is used for utilizing not with focus and has the mode that shows the time limit user is carried out alarm.Such as the toast mode in the peace table operating system, this mode can not stop user's operation.
The 3rd alarm subelement is used for utilizing the suspended window mode that the user is carried out alarm.
Certainly, described user's Alarm Unit 211 can also have alternate manner that the user is carried out alarm, such as the audio prompt modes such as corresponding buzz are set.
As shown in Figure 4, be the structured flowchart of another embodiment of embodiment of the invention hardware monitoring system.
In this embodiment, backstage hardware management unit 401 is as the part of this system.
When program Alarm Unit 212 concrete hardware temperatures for monitoring at described monitoring means 201 have above the temperature of setting threshold, send a warning message to hardware management unit, backstage 401.
Correspondingly, hardware management unit, backstage 401 after being used for receiving described warning information, interrupts the process that committed memory surpasses set point.
In another embodiment, described warning information can comprise: hardware corresponding to temperature that surpasses setting threshold.Correspondingly, hardware management unit, backstage 401 can also be after receiving described warning information, and the fan of controlling the hardware in the described warning information improves rotating speed.
Embodiment of the invention hardware monitoring system, the syslog file and/or the SDK interface that utilize described operating system to provide carry out Real-Time Monitoring to hardware temperatures, when the temperature above setting threshold is arranged in the hardware temperatures that described monitoring means monitors, send a warning message to hardware management unit, backstage, thereby make hardware management unit, backstage by controlling the process in the described operating system or improving the rotation speed of the fan of corresponding hardware, effectively reduce the temperature of corresponding hardware, avoid the too high fault that causes of hardware temperatures, guaranteed the normal operation of intelligent television.
As shown in Figure 5, be the structured flowchart of another embodiment of embodiment of the invention hardware monitoring system.
In this embodiment, server 501 is as the part of this system.
When server Alarm Unit 213, concrete hardware temperatures for monitoring at described monitoring means 201 have above the temperature of setting threshold, send alarm informations to server 501.
Correspondingly, described server 501 is after being used for receiving described alarm information, to address transmission note, mail or the instant message of user's registration.
As shown in Figure 6, be the structured flowchart of another embodiment of embodiment of the invention hardware monitoring system.
From embodiment illustrated in fig. 5 different be that in this embodiment, described system also comprises:
Switch fault report generation unit 601 is used for generating switch fault report when the hardware temperatures that described monitoring means 201 monitors has temperature above setting threshold.
Correspondingly, server Alarm Unit 213 also is used for sending described switch fault report to described server 501.
In addition, server 501 also can comprise described switch fault report in note, mail or the instant message of the address transmission of user's registration.
In concrete the application, described switch fault report can comprise: all programs of current operation or subprogram and shared resource information thereof.
Correspondingly, described server 501 also can further be added up the application program in the switch fault report of different intelligent television transmission, and determines to cause the related application of hardware temperatures superthreshold situation according to statistics.In addition, server 501 also can comprise described related application and information in note, mail or the instant message of the address transmission of user's registration.
In addition, described switch fault report also can further comprise: the temperature of current hardware and corresponding threshold value.
Embodiment of the invention hardware monitoring system, the syslog file and/or the SDK interface that utilize described operating system to provide carry out Real-Time Monitoring to hardware temperatures, when the temperature above setting threshold is arranged in the hardware temperatures that described monitoring means monitors, send a warning message to server, thereby make server to note, mail or the instant message of the address transmission of user's registration, effectively making early warning reminds, avoid the too high fault that causes of hardware temperatures, guaranteed the normal operation of intelligent television.
Need to prove that in the various embodiments described above, described hardware monitoring system also can further comprise: daily record generation unit and storage unit (not shown).Wherein:
Described daily record generation unit is used for generating dangerous daily record when the hardware temperatures that described monitoring means 201 monitors has temperature above setting threshold, and described dangerous daily record comprises the temperature value of current hardware;
Storage unit, land used is kept at this locality with the dangerous daily record that described daily record generation unit generates.
Like this, can provide reference for the user carries out malfunction elimination.
Need to prove, intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the specification that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice in the situation of these details not having.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment among the embodiment.Can be combined into a module or unit or assembly to the module among the embodiment or unit or assembly, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless in addition clearly statement, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this specification (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of the feature of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in the hardware monitoring system of the embodiment of the invention.The present invention can also be embodied as be used to part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computer of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.
Herein disclosed is A1, a kind of hardware monitoring method, it is characterized in that, comprise: after carrying the intelligent television startup of operating system, syslog file and/or SDK interface that background service program in the described operating system utilizes described operating system to provide obtain hardware temperatures, and the Real-Time Monitoring hardware temperatures; When the temperature that has in the hardware temperatures that monitors above setting threshold, carry out alarm.A2, such as the described method of A1, it is characterized in that, the syslog file that described background service program utilizes described operating system to provide obtains hardware temperatures and comprises: described background service program reads the journal file under the device file catalogue in the described operating system and/or drives information in the journal file under the file directory, obtains hardware temperatures.A3, such as the described method of A1, it is characterized in that described method also comprises: the temperature of corresponding each hardware, set respectively the threshold value of a correspondence; Perhaps the temperature of corresponding all hardware is set a threshold value.A4, such as the described method of A1, it is characterized in that, described carry out alarm comprise following any one or multiple: the user is carried out alarm; Hardware management program in backstage is carried out alarm; Server is carried out alarm.A5, such as the described method of A1, it is characterized in that, described to the user carry out alarm comprise following any one or multiple: utilize the pop-up box mode that the user is carried out alarm; Utilize not with focus and have the mode that shows the time limit user is carried out alarm; Utilize the suspended window mode that the user is carried out alarm.A6, such as the described method of A4, it is characterized in that, describedly hardware management program in backstage carried out alarm comprise: send a warning message to backstage hardware management program.A7, such as the described method of A6, it is characterized in that described warning information comprises: hardware information corresponding to temperature that surpasses setting threshold; Described method also comprises: after described backstage hardware management program was received described warning information, the fan of controlling the hardware in the described warning information improved rotating speed.A8, such as the described method of A6, it is characterized in that described method also comprises: after described backstage hardware management program is received described warning information, interrupt the process that committed memory surpasses set point.A9, such as the described method of A4, it is characterized in that, describedly server carried out alarm comprise: send alarm information to server; Described method also comprises: after described server is received described alarm information, to address transmission note, mail or the instant message of user's registration.A10, such as the described method of A9, it is characterized in that, describedly server carried out alarm also comprise: send switch fault report to described server, described switch fault report be described background service sequential monitoring to hardware temperatures in generate when temperature above setting threshold is arranged; Comprise described switch fault report in described note, mail or the instant message.A11, such as the described method of A10, it is characterized in that described switch fault report comprises: all programs of current operation or subprogram and shared resource information thereof; Described method also comprises: described server is added up the application program in the switch fault report of different intelligent television transmission; Determine to cause the related application of hardware temperatures superthreshold situation according to statistics; Comprise described related application and information in described note, mail or the instant message.A12, such as the described method of A11, it is characterized in that described switch fault report also comprises: the temperature of current hardware and corresponding threshold value.A13, such as each described method of A1 to A12, it is characterized in that described method also comprises: when the temperature that has in the hardware temperatures that monitors above setting threshold, generate dangerous daily record, described dangerous daily record comprises the temperature value of current hardware; The dangerous daily record that generates is kept at this locality.
Herein disclosed is B14, a kind of hardware monitoring system, it is characterized in that, comprising: monitoring means and Alarm Unit; Described monitoring means is used for after the intelligent television that carries operating system starts, and the syslog file and/or the SDK interface that utilize described operating system to provide obtain hardware temperatures, and the Real-Time Monitoring hardware temperatures; Described Alarm Unit is used for carrying out alarm when the hardware temperatures that described monitoring means monitors has temperature above setting threshold.B15, such as the described system of B14, it is characterized in that described monitoring means comprises: first reads subelement and/or second reads subelement, also comprises the monitoring subelement; Described first reads subelement, is used for after the intelligent television that carries operating system starts, and reads the journal file under the device file catalogue in the described operating system and/or drives information in the journal file under the file directory, obtains hardware temperatures; Described second reads subelement, is used for after the intelligent television that carries operating system starts, and the SDK interface that utilizes described operating system to provide obtains hardware temperatures; Described monitoring subelement reads subelement and/or described second for Real-Time Monitoring described first and reads the hardware temperatures that subelement obtains.B16, such as the described system of B14, it is characterized in that described device also comprises: setup unit, be used for the temperature of corresponding each hardware, set respectively the threshold value of a correspondence; Perhaps the temperature of corresponding all hardware is set a threshold value.B17, such as the described system of B14, it is characterized in that, described Alarm Unit comprises following any one or a plurality of unit: user's Alarm Unit is used for when the hardware temperatures that described monitoring means monitors has temperature above setting threshold the user being carried out alarm; The program Alarm Unit is used for when the hardware temperatures that described monitoring means monitors has temperature above setting threshold hardware management unit, backstage being carried out alarm; The server Alarm Unit is used for when the hardware temperatures that described monitoring means monitors has temperature above setting threshold server being carried out alarm.B18, such as the described system of B17, it is characterized in that described user's Alarm Unit comprises following any one or a plurality of subelement: the first alarm subelement is used for utilizing pop-up box that the user is carried out alarm; The second alarm subelement is used for utilizing not with focus and has the mode that shows the time limit user is carried out alarm; The 3rd alarm subelement is used for utilizing the suspended window mode that the user is carried out alarm.B19, such as the described system of B17, it is characterized in that, described program Alarm Unit, concrete being used for sends a warning message to hardware management unit, backstage when the hardware temperatures that described monitoring means monitors has temperature above setting threshold.B20, such as the described system of B19, it is characterized in that described warning information comprises: hardware corresponding to temperature that surpasses setting threshold; Hardware management unit, described backstage, after being used for receiving described warning information, the fan of controlling the hardware in the described warning information improves rotating speed.B21, such as the described system of B19, it is characterized in that hardware management unit, described backstage after being used for receiving described warning information, interrupts the process that committed memory surpasses set point.B22, such as B 17 described systems, it is characterized in that, described server Alarm Unit, concrete being used for sends alarm information to server when the hardware temperatures that described monitoring means monitors has temperature above setting threshold; Described server is after being used for receiving described alarm information, to address transmission note, mail or the instant message of user's registration.B23, such as the described system of B22, it is characterized in that described system also comprises: the switch fault report generation unit is used for generating switch fault report when the hardware temperatures that described monitoring means monitors has temperature above setting threshold; Described server Alarm Unit also is used for sending described switch fault report to described server; Comprise described switch fault report in described note, mail or the instant message.B24, such as the described system of B23, it is characterized in that described switch fault report comprises: all programs of current operation or subprogram and shared resource information thereof; Described server also is used for the application program of the switch fault report of different intelligent television transmission is added up, and determines to cause the related application of hardware temperatures superthreshold situation according to statistics; Comprise described related application and information in described note, mail or the instant message.B25, such as the described system of B24, it is characterized in that described switch fault report also comprises: the temperature of current hardware and corresponding threshold value.B26, such as each described system of B14 to B25, it is characterized in that described system also comprises: the daily record generation unit is used for when the hardware temperatures that described monitoring means monitors has temperature above setting threshold, generate dangerous daily record, described dangerous daily record comprises the temperature value of current hardware; Storage unit, land used is kept at this locality with the dangerous daily record that described daily record generation unit generates.

Claims (20)

1. a hardware monitoring method is characterized in that, comprising:
After carrying the intelligent television startup of operating system, syslog file and/or SDK interface that the background service program in the described operating system utilizes described operating system to provide obtain hardware temperatures, and the Real-Time Monitoring hardware temperatures;
When the temperature that has in the hardware temperatures that monitors above setting threshold, carry out alarm.
2. the method for claim 1 is characterized in that, the syslog file that described background service program utilizes described operating system to provide obtains hardware temperatures and comprises:
Described background service program reads the journal file under the device file catalogue in the described operating system and/or drives information in the journal file under the file directory, obtains hardware temperatures.
3. the method for claim 1 is characterized in that, described method also comprises:
The temperature of corresponding each hardware is set respectively the threshold value of a correspondence; Perhaps
The temperature of corresponding all hardware is set a threshold value.
4. the method for claim 1 is characterized in that, described carry out alarm comprise following any one or multiple:
The user is carried out alarm;
Hardware management program in backstage is carried out alarm;
Server is carried out alarm.
5. the method for claim 1 is characterized in that, described to the user carry out alarm comprise following any one or multiple:
Utilize the pop-up box mode that the user is carried out alarm;
Utilize not with focus and have the mode that shows the time limit user is carried out alarm;
Utilize the suspended window mode that the user is carried out alarm.
6. method as claimed in claim 4 is characterized in that, describedly hardware management program in backstage is carried out alarm comprises: send a warning message to backstage hardware management program.
7. method as claimed in claim 6 is characterized in that, described warning information comprises: hardware information corresponding to temperature that surpasses setting threshold;
Described method also comprises:
After described backstage hardware management program was received described warning information, the fan of controlling the hardware in the described warning information improved rotating speed.
8. method as claimed in claim 6 is characterized in that, described method also comprises:
After described backstage hardware management program is received described warning information, interrupt the process that committed memory surpasses set point.
9. method as claimed in claim 4 is characterized in that, describedly server is carried out alarm comprises: send alarm information to server;
Described method also comprises:
After described server is received described alarm information, to address transmission note, mail or the instant message of user's registration.
10. method as claimed in claim 9 is characterized in that, describedly server is carried out alarm also comprises:
Send switch fault report to described server, described switch fault report be described background service sequential monitoring to hardware temperatures in generate when temperature above setting threshold is arranged;
Comprise described switch fault report in described note, mail or the instant message.
11. method as claimed in claim 10 is characterized in that, described switch fault report comprises: all programs of current operation or subprogram and shared resource information thereof; Described method also comprises:
Described server is added up the application program in the switch fault report of different intelligent television transmission;
Determine to cause the related application of hardware temperatures superthreshold situation according to statistics;
Comprise described related application and information in described note, mail or the instant message.
12. method as claimed in claim 11 is characterized in that, described switch fault report also comprises: the temperature of current hardware and corresponding threshold value.
13. such as each described method of claim 1 to 12, it is characterized in that described method also comprises:
When the temperature that has in the hardware temperatures that monitors above setting threshold, generate dangerous daily record, described dangerous daily record comprises the temperature value of current hardware;
The dangerous daily record that generates is kept at this locality.
14. a hardware monitoring system is characterized in that, comprising: monitoring means and Alarm Unit;
Described monitoring means is used for after the intelligent television that carries operating system starts, and the syslog file and/or the SDK interface that utilize described operating system to provide obtain hardware temperatures, and the Real-Time Monitoring hardware temperatures;
Described Alarm Unit is used for carrying out alarm when the hardware temperatures that described monitoring means monitors has temperature above setting threshold.
15. system as claimed in claim 14 is characterized in that, described monitoring means comprises: first reads subelement and/or second reads subelement, also comprises the monitoring subelement;
Described first reads subelement, is used for after the intelligent television that carries operating system starts, and reads the journal file under the device file catalogue in the described operating system and/or drives information in the journal file under the file directory, obtains hardware temperatures;
Described second reads subelement, is used for after the intelligent television that carries operating system starts, and the SDK interface that utilizes described operating system to provide obtains hardware temperatures;
Described monitoring subelement reads subelement and/or described second for Real-Time Monitoring described first and reads the hardware temperatures that subelement obtains.
16. system as claimed in claim 14 is characterized in that, described device also comprises:
Setup unit for the temperature of corresponding each hardware, is set respectively the threshold value of a correspondence; Perhaps the temperature of corresponding all hardware is set a threshold value.
17. system as claimed in claim 14 is characterized in that, described Alarm Unit comprises following any one or a plurality of unit:
User's Alarm Unit is used for when the hardware temperatures that described monitoring means monitors has temperature above setting threshold the user being carried out alarm;
The program Alarm Unit is used for when the hardware temperatures that described monitoring means monitors has temperature above setting threshold hardware management unit, backstage being carried out alarm;
The server Alarm Unit is used for when the hardware temperatures that described monitoring means monitors has temperature above setting threshold server being carried out alarm.
18. system as claimed in claim 17 is characterized in that, described user's Alarm Unit comprises following any one or a plurality of subelement:
The first alarm subelement is used for utilizing pop-up box that the user is carried out alarm;
The second alarm subelement is used for utilizing not with focus and has the mode that shows the time limit user is carried out alarm;
The 3rd alarm subelement is used for utilizing the suspended window mode that the user is carried out alarm.
19. system as claimed in claim 17 is characterized in that,
When described program Alarm Unit, concrete hardware temperatures for monitoring at described monitoring means have above the temperature of setting threshold, send a warning message to hardware management unit, backstage.
20. system as claimed in claim 19 is characterized in that, described warning information comprises: hardware corresponding to temperature that surpasses setting threshold;
Hardware management unit, described backstage, after being used for receiving described warning information, the fan of controlling the hardware in the described warning information improves rotating speed.
CN2012104521225A 2012-11-12 2012-11-12 Hardware monitoring method and system Pending CN103024531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104521225A CN103024531A (en) 2012-11-12 2012-11-12 Hardware monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104521225A CN103024531A (en) 2012-11-12 2012-11-12 Hardware monitoring method and system

Publications (1)

Publication Number Publication Date
CN103024531A true CN103024531A (en) 2013-04-03

Family

ID=47972583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104521225A Pending CN103024531A (en) 2012-11-12 2012-11-12 Hardware monitoring method and system

Country Status (1)

Country Link
CN (1) CN103024531A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024532A (en) * 2012-11-12 2013-04-03 北京奇虎科技有限公司 Hardware monitoring method and system
CN103595999A (en) * 2013-11-19 2014-02-19 深圳创维-Rgb电子有限公司 Automatic detection method and automatic detection device of intelligent television
CN103699471A (en) * 2014-01-13 2014-04-02 浪潮(北京)电子信息产业有限公司 Method and device for controlling temperature of computer hardware
CN104244089A (en) * 2014-09-02 2014-12-24 广东长虹电子有限公司 Fault monitoring method and system for television
CN105260291A (en) * 2015-09-29 2016-01-20 小米科技有限责任公司 System log capture method and apparatus
CN113377599A (en) * 2021-06-10 2021-09-10 深圳忆联信息系统有限公司 Low-power-consumption hard disk test method and device for Windows system and computer equipment
CN113539351A (en) * 2021-07-12 2021-10-22 深圳忆联信息系统有限公司 Solid state hard disk controller identity testing method and device and computer equipment
CN116028314A (en) * 2022-05-16 2023-04-28 荣耀终端有限公司 Temperature parameter reading method, electronic device, and computer-readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2872760Y (en) * 2005-12-20 2007-02-21 海信集团有限公司 TV-set with fault inspecting and alarming circuit
CN201355846Y (en) * 2008-11-26 2009-12-02 康佳集团股份有限公司 Television with automatic protection against overheating
CN201540495U (en) * 2009-12-04 2010-08-04 深圳创维数字技术股份有限公司 Digital television receiver and intelligent temperature control circuit thereof
CN101996122A (en) * 2009-08-21 2011-03-30 研祥智能科技股份有限公司 Computer temperature alarming method, device and computer system
CN102141942A (en) * 2011-04-01 2011-08-03 奇智软件(北京)有限公司 Method and device for monitoring and protecting equipment
CN202501933U (en) * 2012-03-30 2012-10-24 青岛海信电器股份有限公司 Television set temperature monitoring device, television set mainboard and television set
CN103024532A (en) * 2012-11-12 2013-04-03 北京奇虎科技有限公司 Hardware monitoring method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2872760Y (en) * 2005-12-20 2007-02-21 海信集团有限公司 TV-set with fault inspecting and alarming circuit
CN201355846Y (en) * 2008-11-26 2009-12-02 康佳集团股份有限公司 Television with automatic protection against overheating
CN101996122A (en) * 2009-08-21 2011-03-30 研祥智能科技股份有限公司 Computer temperature alarming method, device and computer system
CN201540495U (en) * 2009-12-04 2010-08-04 深圳创维数字技术股份有限公司 Digital television receiver and intelligent temperature control circuit thereof
CN102141942A (en) * 2011-04-01 2011-08-03 奇智软件(北京)有限公司 Method and device for monitoring and protecting equipment
CN202501933U (en) * 2012-03-30 2012-10-24 青岛海信电器股份有限公司 Television set temperature monitoring device, television set mainboard and television set
CN103024532A (en) * 2012-11-12 2013-04-03 北京奇虎科技有限公司 Hardware monitoring method and system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024532A (en) * 2012-11-12 2013-04-03 北京奇虎科技有限公司 Hardware monitoring method and system
CN103595999A (en) * 2013-11-19 2014-02-19 深圳创维-Rgb电子有限公司 Automatic detection method and automatic detection device of intelligent television
CN103595999B (en) * 2013-11-19 2015-12-02 深圳创维-Rgb电子有限公司 The automatic testing method of intelligent television and automatic detection device
CN103699471A (en) * 2014-01-13 2014-04-02 浪潮(北京)电子信息产业有限公司 Method and device for controlling temperature of computer hardware
CN104244089A (en) * 2014-09-02 2014-12-24 广东长虹电子有限公司 Fault monitoring method and system for television
CN105260291A (en) * 2015-09-29 2016-01-20 小米科技有限责任公司 System log capture method and apparatus
CN113377599A (en) * 2021-06-10 2021-09-10 深圳忆联信息系统有限公司 Low-power-consumption hard disk test method and device for Windows system and computer equipment
CN113539351A (en) * 2021-07-12 2021-10-22 深圳忆联信息系统有限公司 Solid state hard disk controller identity testing method and device and computer equipment
CN116028314A (en) * 2022-05-16 2023-04-28 荣耀终端有限公司 Temperature parameter reading method, electronic device, and computer-readable storage medium
CN116028314B (en) * 2022-05-16 2023-11-14 荣耀终端有限公司 Temperature parameter reading method, electronic device, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN103024531A (en) Hardware monitoring method and system
CN103024532A (en) Hardware monitoring method and system
Liu et al. Research on development of android applications
CN104679581B (en) The method and device of running background program
CN109656440B (en) Application icon display method, device and medium
CN104360852A (en) Application program management method and application program management device of mobile terminal
AU2013232671A1 (en) Method, apparatus and computer storage medium for plug-in management and control
JP2017510864A (en) Method, terminal and system for pushing information
WO2019062391A1 (en) Method and device for pushing anchor information to user
CN105224343A (en) A kind of renewal reminding method of application program and device
CN106844026B (en) Method and system for cleaning terminal equipment process
CN110266505A (en) A kind of method and apparatus managing session group
WO2016049008A1 (en) Communication method, apparatus, and system
CN103034540A (en) Distributed information system, device and coordinating method thereof
EP2972728A1 (en) Tracking application usage in a computing environment
WO2021018186A1 (en) Video update push method and terminal
CN110262810A (en) A kind of method and apparatus of installation application
CN103365672B (en) A kind of method and system processing the descriptor of application program
CN110286920A (en) A kind of method and apparatus of installation application
CN102984282B (en) Intelligent terminal obtains the method and apparatus of the media data of cloud storage file
CN105204720A (en) Method and device for displaying background image on mobile terminal
WO2021047278A1 (en) Method and device for posting sharing information in social networking space
WO2021120612A1 (en) Method and device for presenting message notification
TWI264894B (en) System and method for monitoring and managing connection manager activity
US20130054580A1 (en) Data Point Dictionary

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130403