CN107122283A - Temperature monitoring method and device - Google Patents

Temperature monitoring method and device Download PDF

Info

Publication number
CN107122283A
CN107122283A CN201710290355.2A CN201710290355A CN107122283A CN 107122283 A CN107122283 A CN 107122283A CN 201710290355 A CN201710290355 A CN 201710290355A CN 107122283 A CN107122283 A CN 107122283A
Authority
CN
China
Prior art keywords
hardware
temperature
detected
temperature data
rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710290355.2A
Other languages
Chinese (zh)
Other versions
CN107122283B (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.)
Chengdu anyxun Technology Co., Ltd.
Original Assignee
Chengdu Qilu 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 Chengdu Qilu Technology Co Ltd filed Critical Chengdu Qilu Technology Co Ltd
Priority to CN201710290355.2A priority Critical patent/CN107122283B/en
Publication of CN107122283A publication Critical patent/CN107122283A/en
Application granted granted Critical
Publication of CN107122283B publication Critical patent/CN107122283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3031Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a motherboard or an expansion card
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5044Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering hardware capabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The embodiment of the present invention provides a kind of temperature monitoring method and device, applied to including the terminal of hardware to be detected, the temperature monitoring method is by the way that multigroup temperature data under the multiple designated storage locations read is matched with the utilization rate of hardware to be detected, to determine the temperature data group of the belonging hardware to be detected in multigroup temperature data.Temperature numerical corresponding with the currently used rate of hardware to be detected is found out from the temperature data group again as the current temperature value of hardware to be detected.The temperature data of hardware to be detected can be accurately obtained by the temperature monitoring method, is thus solved due to can not accurately obtain the Temperature numerical of hardware to be detected, the problem of causing hardware temperatures to be detected abnormal and influence terminal capabilities.

Description

Temperature monitoring method and device
Technical field
The present invention relates to field of terminal technology, in particular to a kind of temperature monitoring method and device.
Background technology
With the rise of internet, the user of intelligent terminal is more and more.Present intelligent terminal is quickly grown, and performance is got over Carry out stronger, equipment size more and more thinner, user has high requirement to the performance and speed of intelligent terminal.In intelligent terminal The temperature change of hardware, has considerable influence to the performance of intelligent terminal, it is therefore desirable to each hardware in monitoring intelligent terminal at any time Temperature numerical, to understand the hardware effort situation of intelligent terminal.But due to the different terminals of different manufacturers, its storage hardware The position of temperature data be also not quite similar, therefore, it tends to be difficult to find the phase of each hardware temperatures data in terminal exactly Storage location is answered to determine the actual temp value of each hardware.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is above-mentioned to solve there is provided a kind of temperature monitoring method and device Problem.
Present pre-ferred embodiments provide a kind of temperature monitoring method, described applied to the terminal of hardware to be detected is included Method includes:
The temperature in multigroup temperature data, temperature data described in each group is obtained from multiple designated storage locations of the terminal Number of degrees value and the utilization rate of the hardware to be detected have corresponding relation;
Utilization rate by the Temperature numerical in multigroup temperature data respectively with the hardware to be detected is matched, and is obtained Obtain the temperature data group of the hardware to be detected;
The temperature corresponding with the currently used rate of the hardware to be detected is found out from the temperature data group obtained Number of degrees value, is used as the current temperature value of the hardware to be detected.
Further, the use of the Temperature numerical by multigroup temperature data respectively with the hardware to be detected Rate is matched, the step of obtaining the temperature data group of the hardware to be detected, including:
Temperature numerical variation characteristic and the to be detected hardware of the multigroup temperature data in preset time is obtained to exist Utilization rate variation characteristic in the preset time;
The Temperature numerical variation characteristic of the multigroup temperature data got is made with the hardware to be detected respectively Matched with rate variation characteristic, using one group of temperature data of matching rate highest as the hardware to be detected temperature data Group.
Further, methods described also includes:
In preset time, the pressure program prestored is run, to increase the utilization rate of the hardware to be detected.
Further, the terminal also includes other hardware in addition to the hardware to be detected, and methods described also includes:
In preset time, keep the load of the hardware to be detected constant and change in the terminal except described to be detected The load of other hardware outside hardware, to change the utilization rate of other hardware.
Further, checking data group is prestored in the terminal, methods described also includes:
Obtain and used with the hardware to be detected from first from the temperature data group and the checking data group respectively The corresponding temperature data rate of change of utilization rate rate of change of rate to the second utilization rate;
The temperature obtained by the temperature data rate of change obtained from the temperature data group and from the checking data group Degrees of data rate of change is contrasted, to verify whether the temperature data group of the hardware to be detected is correct;
If the temperature data rate of change obtained from the temperature data group and the temperature obtained from the checking data group Difference between degrees of data rate of change judges that the temperature data group of the hardware to be detected is correct within a preset range, then.
Another preferred embodiment of the present invention provides a kind of device for detecting temperature, applied to including the terminal of hardware to be detected, The device for detecting temperature includes:
Acquisition module, for obtaining multigroup temperature data from multiple designated storage locations of the terminal, described in each group Temperature numerical and the utilization rate of the hardware to be detected in temperature data have corresponding relation;
Matching module, for the use by the Temperature numerical in multigroup temperature data respectively with the hardware to be detected Rate is matched, and obtains the temperature data group of the hardware to be detected;
Searching modul, it is currently used with the hardware to be detected for being found out from the temperature data group obtained The corresponding Temperature numerical of rate, is used as the current temperature value of the hardware to be detected.
Further, the matching module includes variation characteristic acquiring unit and matching unit;
The variation characteristic acquiring unit is used to obtain Temperature numerical change of the multigroup temperature data in preset time Change the utilization rate variation characteristic of characteristic and the hardware to be detected in the preset time;
The matching unit be used for the Temperature numerical variation characteristic of multigroup temperature data that will get respectively with institute The utilization rate variation characteristic for stating hardware to be detected is matched, using one group of temperature data of matching rate highest as described to be detected The temperature data group of hardware.
Further, the device for detecting temperature also includes operation module;
The operation module is used in preset time, the pressure program prestored is run, to increase the hardware to be detected Utilization rate.
Further, the terminal also includes other hardware in addition to the hardware to be detected, and the device for detecting temperature is also Including load processing module;
The load processing module is used in preset time, keeps the load of the hardware to be detected constant and changes institute The load of other hardware in terminal in addition to the hardware to be detected is stated, to change the utilization rate of other hardware.
Further, checking data group is prestored in the terminal, the device for detecting temperature also includes rate of change and obtained Module, contrast module and determination module;
The rate of change acquisition module is used to obtain and institute from the temperature data group and the checking data group respectively State utilization rate rate of change corresponding temperature data rate of change of the hardware to be detected from the first utilization rate to the second utilization rate;
The contrast module be used for will the temperature data rate of change that be obtained from the temperature data group with from the checking The temperature data rate of change obtained in data group is contrasted, whether just to verify the temperature data group of the hardware to be detected Really;
The determination module be used for the temperature data rate of change that is obtained from the temperature data group with from the checking Difference between the temperature data rate of change obtained in data group within a preset range when, judge the temperature of the hardware to be detected Data group is correct.
A kind of temperature monitoring method and device provided in an embodiment of the present invention, by by the multiple specified storage positions read Multigroup temperature data under putting is matched with the utilization rate of hardware to be detected, to determine belonging institute in multigroup temperature data State the temperature data group of hardware to be detected.Found out again from the temperature data group corresponding with the currently used rate of hardware to be detected Temperature numerical as hardware to be detected current temperature value.It can be accurately obtained by the temperature monitoring scheme to be detected hard The temperature data of part, thus solves due to that can not know the Temperature numerical of hardware to be detected, causes hardware temperatures to be detected different The problem of often influenceing terminal capabilities.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore is not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
A kind of schematic block diagram for terminal that Fig. 1 provides for present pre-ferred embodiments.
A kind of flow chart for temperature monitoring method that Fig. 2 provides for present pre-ferred embodiments.
The flow chart for the sub-step that Fig. 3 is step S103 in Fig. 2.
Another flow chart for the temperature monitoring method that Fig. 4 provides for present pre-ferred embodiments.
A kind of functional block diagram for device for detecting temperature that Fig. 5 provides for present pre-ferred embodiments.
The functional block diagram for the matching module that Fig. 6 provides for present pre-ferred embodiments.
Icon:100- terminals;110- device for detecting temperature;111- temperature data acquisition modules;112- matching modules; 1121- variation characteristic acquiring units;1122- matching units;113- searching moduls;114- runs module;115- load processing moulds Block;116- rate of change acquisition modules;117- contrast modules;118- determination modules;120- processors;130- memories.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described.Obviously, described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally The component for the embodiment of the present invention being described and illustrated herein in the accompanying drawings can be arranged and designed with a variety of configurations.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it further need not be defined and explained in subsequent accompanying drawing.Meanwhile, the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
As shown in figure 1, a kind of schematic block diagram of the terminal 100 provided for present pre-ferred embodiments.The end End 100 includes device for detecting temperature 110, processor 120 and memory 130.The terminal 100 can be computer or other Any computing device with data-handling capacity.The terminal 100 also includes hardware to be detected and except described to be detected hard Other multiple hardware outside part.In the present embodiment, the hardware to be detected can be CPU, video card, hard disk or mainboard etc. Hardware device.
Directly or indirectly it is electrically connected between the memory 130 and processor 120, to realize the transmission or friendship of data Mutually.It is electrically connected with for example, can be realized by one or more communication bus or signal wire.The device for detecting temperature 110 includes At least one can be stored in the memory 130 or be solidificated in the terminal in the form of software or firmware (firmware) Software function module in 100 operating system (operating system, OS).The processor 120 is used to perform storage The executable module stored in device 130, such as software function module or computer journey that described device for detecting temperature 110 includes Sequence.The processor 120 performs the functional module or program after execute instruction is received, and following present invention are any to be implemented The method performed by the device for detecting temperature 110 that the stream process that example is disclosed is defined can apply in processor 120, or Realized by processor 120.
Referring to Fig. 2, being the flow chart for the temperature monitoring method that present pre-ferred embodiments are provided.It should be noted that, Method of the present invention is not using Fig. 2 and particular order as shown below as limitation.Below by the idiographic flow shown in Fig. 2 and Step is described in detail.
Step S101, obtains multigroup temperature data, temperature described in each group from multiple designated storage locations of the terminal 100 Temperature numerical and the utilization rate of the hardware to be detected in degrees of data have corresponding relation.
Alternatively, multiple temperature sensors are installed in the inside of the terminal 100, these temperature sensors can be real-time Monitor the temperature data of the hardware in the terminal 100.The device drives realized by the manufacturer of terminal 100 can be passed from temperature Sensor obtains specific temperature data.The advance call driver of system notifies operating system, then by operating system that these are warm Degrees of data is written in corresponding storage location.
But the different manufacturers of terminal 100 may be different, and the operating system of the different terminal 100 of different manufacturers The temperature data of acquisition can be stored in different storage locations.It thus be accordingly used in the storage for the temperature data for storing hardware to be detected Position naturally may be different.Therefore terminal 100 that can be respectively to different manufacturer's production is analyzed, so as to obtain not Which the storage location that same terminal 100 stores the hardware to be detected has.
The storage location of temperature data in the terminal 100 is analyzed for storing the hardware to be detected may have After which, then the content under the plurality of storage location is read.It should be appreciated that the content of the storage under the plurality of storage location The temperature data of hardware to be detected, which can be included, can also include the temperature data of other hardware devices, or other non-temperature The content of degrees of data.Need from the content read, extract the temperature data under each storage location, obtain multigroup with this Temperature data.
It should be appreciated that the Temperature numerical in each group temperature data of acquisition is that have pair with the utilization rate of hardware to be detected It should be related to.Without loss of generality, the utilization rate of hardware to be detected is higher, then detects and write in corresponding storage location Temperature numerical is bigger, conversely, then smaller.
Step S103, the utilization rate by the Temperature numerical in multigroup temperature data respectively with the hardware to be detected is entered Row matching, obtains the temperature data group of the hardware to be detected.
Referring to Fig. 3, step S103 can include step S1031 and the sub-steps of step S1033 two.
Step S1031, obtains Temperature numerical variation characteristic in preset time of multigroup temperature data and described treats Detect utilization rate variation characteristic of the hardware in the preset time.
Temperature sensor in the inside of the terminal 100 writes the temperature data of the hardware to be detected detected in real time To under corresponding storage location.With the change of the utilization rate of hardware to be detected, detected temperature data is also continually changing. In the present embodiment, can be in preset time, such as 20 minutes or 40 minutes, the specific time did not limited in the present embodiment System, obtains Temperature numerical variation characteristic and the to be detected hardware of multigroup temperature data in the preset time when this is default The variation characteristic of interior utilization rate.Such as rate of change of the Temperature numerical in multigroup temperature data in the preset time.For example, Temperature numerical in temperature data is organized such as certain and has risen to 50 degree from 40 degree in the preset time, then this group of temperature data is pre- at this If the rate of change of the Temperature numerical in the time is+25%.And utilization rate of the hardware to be detected in the preset time Rate of change, such as described hardware to be detected utilization rate in the preset time has risen to 15% from 10%, then when this is default The rate of change of the utilization rate of the interior hardware to be detected is+50%.What wherein symbol "+" was represented is the utilization rate rising of hardware Either Temperature numerical rises, and what symbol "-" was represented is the utilization rate decline either Temperature numerical decline of hardware.
Step S1033, by the Temperature numerical variation characteristic of the multigroup temperature data got respectively with it is described to be checked The utilization rate variation characteristic for surveying hardware is matched, and regard one group of temperature data of matching rate highest as the hardware to be detected Temperature data group.
It should be appreciated that rate of change of the Temperature numerical in the preset time in multigroup temperature data is differentiated, can With the rate of change by the utilization rate rate of change of the hardware to be detected of acquisition respectively with the Temperature numerical in each group temperature data Matched, using one group of temperature data of matching rate highest as the hardware to be detected temperature data group.For example, described treat Detect hardware utilization rate rate of change be+50%, and obtain multigroup temperature data in Temperature numerical rate of change include+ 25%th ,+45% ,+70%, -10% etc..
Then, it is known that, one group of temperature data and the hardware to be detected that wherein the rate of change of Temperature numerical is+45% The rate of change matching degree highest of utilization rate, then can determine that the temperature sensor that this group of temperature data is the hardware to be detected is examined Temperature data measure and write-in, determines the temperature data group that this group of temperature data is the hardware to be detected.
In the specific implementation, if operation program is less, process is less, it is possible that hardware to be detected and other hard The less situation of utilization rate amplitude of variation of part equipment, if the rate of change of the Temperature numerical in multigroup temperature data is very micro- It is small, then it is unfavorable for finding out the temperature data group of the belonging hardware to be detected from multigroup temperature data.Alternatively, at this In embodiment, in order to further find out the temperature data group of the hardware to be detected exactly, it can be transported in preset time The pressure program that row prestores, to increase the utilization rate of the hardware to be detected with the change for the utilization rate for increasing the hardware to be detected Rate, so that the temperature data group of the hardware to be detected be highlighted.
In the present embodiment, the pressure program that operation prestores can increase the operating pressure of the hardware to be detected, with Its utilization rate of the increase of the hardware load to be detected is accordingly raised, and the temperature to be detected can also be raised.
In the present embodiment, the hardware to be detected can be CPU, video card, the hard disk either equipment such as mainboard.It should manage Solution, in the present embodiment, when the type of the hardware to be detected is different, the type of the pressure program prestored of selection also should be It is different.For example, when the hardware to be detected is CPU or video card, compared with some other pressure program, in terms of image procossing Operand is larger, easily increases the utilization rate of the hardware to be detected, so that the temperature rise of the hardware to be detected.Cause This, when the hardware to be detected be CPU or video card when, can prioritizing selection carry out image procossing in terms of pressure program.And work as institute When stating hardware to be detected for hard disk, then the pressure process of frequent reading writing harddisk can be selected, to increase the temperature value of hard disk.
In the present embodiment, in preset time, after the pressure program that operation prestores, the utilization rate of the hardware to be detected Be mutated, correspondingly temperature sensor detect and the temperature data of write-in also has change by a relatively large margin.In this way, can Relatively accurately to match the temperature data group of the belonging hardware to be detected from multigroup temperature data.
In the present embodiment, the pressure program prestored except above-mentioned operation with change the load of the hardware to be detected with Outside the method for the temperature data group for accurately finding out the hardware to be detected, institute can also be accurately found out by following methods State the temperature data group of hardware to be detected:
In preset time, keep the load of the hardware to be detected constant and change in the terminal 100 to treat except described in The load of other hardware outside hardware is detected, to change the utilization rate of other hardware.
It should be appreciated that the load that the load for either changing the hardware to be detected still changes other hardware is big Small, final purpose is all from the multigroup temperature data saliency got by the temperature data group of the belonging hardware to be detected Out, accurately to find out the temperature data group of the hardware to be detected.Therefore, in the present embodiment, can in preset time, Keep the load of the hardware to be detected constant, and change the load of other hardware to change the utilization rate and temperature of other hardware Numerical value.Other hardware loads can be reduced or increase the load of other hardware.If selection increases the negative of other hardware Carry, then for the particular type for the hardware in other hardware, how to select pressure program method can refer to it is above-mentioned for The method how different types of hardware to be detected selects different pressures program, this is no longer going to repeat them.
In preset time, in the terminal 100, the temperature of other hardware in addition to the hardware to be detected is passed Temperature numerical that sensor is detected and write-in can have greatly changed, and wherein, the amplitude of variation in multigroup temperature data That group of minimum temperature data, then be probably the temperature data group of the belonging hardware to be detected.In this way, passing through above-mentioned side Method can come out the temperature data group of the hardware to be detected from multigroup temperature data saliency, then can through processes such as overmatching Relatively accurately to find the temperature data group of the hardware to be detected.
Step S105, finds out the currently used rate phase with the hardware to be detected from the temperature data group obtained Corresponding Temperature numerical, is used as the current temperature value of the hardware to be detected.
By searching, the process such as matching, can be from obtaining after the temperature data group for obtaining the hardware to be detected The Current Temperatures numerical value of the hardware to be detected is found out in temperature data group.Can detect hardware to be detected it is currently used Rate, finds out the Temperature numerical matched with the currently used rate from the temperature data group obtained, then the temperature number It is worth for the current temperature value of the hardware to be detected, thus method determines the temperature spot of the hardware to be detected.
In the present embodiment, in order to further determine that the hardware to be detected found temperature data group it is accurate Property, the temperature data group found can be verified.Referring to Fig. 4, the temperature monitoring method can also include it is following Step:
Step S201, respectively from the temperature data group and the checking data group obtain with the hardware to be detected from The corresponding temperature data rate of change of utilization rate rate of change of first utilization rate to the second utilization rate.
Step S203, by the temperature data rate of change obtained from the temperature data group and from the checking data group The temperature data rate of change of acquisition is contrasted, to verify whether the temperature data group of the hardware to be detected is correct.
Step S205, if the temperature data rate of change obtained from the temperature data group with from it is described checking data group in Difference between the temperature data rate of change of acquisition is judging the temperature data group of the hardware to be detected just within a preset range, then Really.
In the present embodiment, checking data group is also prestored in the database of the terminal 100, the checking data group for institute State the historical temperature data value of the hardware of hardware same model to be detected, be collect a large number of users in use with institute State the temperature data value of the hardware of hardware same model to be detected.The utilization rate of temperature data and hardware in the checking data group With corresponding relation.It can be obtained respectively from the temperature data group and the checking data group of the hardware to be detected got Take with the hardware to be detected from the corresponding temperature data rate of change of the utilization rate rate of change of the first utilization rate to the second utilization rate. For example, obtain the utilization rate of the hardware to be detected from 10% rise to 15%, i.e. utilization rate rate of change for+50% when, it is described The rate of change of Temperature numerical is how many in temperature data group, and in the checking data, with the hardware phase homotype to be detected Number hardware utilization rate from 10% rise to 15%, i.e. utilization rate rate of change for+50% when, temperature in the checking data group The rate of change of numerical value is how many again.
The temperature obtained by the temperature data rate of change obtained from the temperature data group and from the checking data group Degrees of data rate of change carries out making difference processing, difference between the two and preset range is compared, if difference between the two Belong to the preset range, then the temperature data group that can be determined that the hardware to be detected found is correct.It should manage The accuracy for using preset range in solution, the present embodiment to judge the hardware to be detected is allowed for, although the checking number It is the temperature data with the hardware of the hardware same model to be detected according to the temperature data in group, but in actual implementation process In, often there is some other disturbing factor, therefore, be also difficult to even if its temperature data rate of change under identical utilization rate rate of change It is identical, therefore judge that using a value range correctness of the temperature data group of the hardware to be detected is rational.Its In, the preset range can be set according to actual conditions, in the present embodiment and be not specifically limited.
Referring to Fig. 5, the functional block diagram of the device for detecting temperature 110 provided for present pre-ferred embodiments.It is described Device for detecting temperature 110 includes temperature data acquisition module 111, matching module 112, searching modul 113, operation module 114, negative Carry processing module 115, rate of change acquisition module 116, contrast module 117 and determination module 118.Below by shown in Fig. 5 Specific functional modules are described in detail.
The temperature data acquisition module 111 is used to obtain multigroup from multiple designated storage locations of the terminal 100 Temperature numerical and the utilization rate of the hardware to be detected in temperature data, temperature data described in each group have corresponding relation.Tool Body, the temperature data acquisition module 111 can be used for performing the step S101 shown in Fig. 2, and specific operating method is referred to Step S101 detailed description.
The matching module 112 be used for by the Temperature numerical in multigroup temperature data respectively with the hardware to be detected Utilization rate matched, obtain the temperature data group of the hardware to be detected.Specifically, the matching module 112 can be used for holding Step S103 shown in row Fig. 2, specific operating method refers to step S103 detailed description.
The searching modul 113 be used for found out from the temperature data group obtained with the hardware to be detected work as The corresponding Temperature numerical of preceding utilization rate, is used as the current temperature value of the hardware to be detected.Specifically, the searching modul 113 Available for the step S105 performed shown in Fig. 2, specific operating method refers to step S105 detailed description.
The operation module 114 is used in preset time, runs the pressure program prestored, described to be detected hard to increase The utilization rate of part.
The load processing module 115 is used in preset time, keeps the load of the hardware to be detected constant and changes Become the load of other hardware in the terminal 100 in addition to the hardware to be detected, to change the utilization rate of other hardware.
The rate of change acquisition module 116 be used for respectively from the temperature data group and the checking data group obtain with Utilization rate rate of change corresponding temperature data rate of change of the hardware to be detected from the first utilization rate to the second utilization rate.Specifically Ground, the rate of change acquisition module 116 can be used for performing the step S201 shown in Fig. 4, and specific operating method refers to step S201 detailed description.
The contrast module 117 is used for the temperature data rate of change obtained from the temperature data group with being tested from described The temperature data rate of change obtained in card data group is contrasted, whether just to verify the temperature data group of the hardware to be detected Really.Specifically, the contrast module 117 can be used for performing the step S203 shown in Fig. 4, and specific operating method refers to step S203 detailed description.
The determination module 118 is used in the temperature data rate of change obtained from the temperature data group with being tested from described Difference in card data group between the temperature data rate of change that obtains within a preset range when, judge the temperature of the hardware to be detected Degrees of data group is correct.Specifically, the determination module 118 can be used for performing the step S205 shown in Fig. 4, specific operating method Refer to step S205 detailed description.
Referring to Fig. 6, in the present embodiment, the matching module 112 can include the He of variation characteristic acquiring unit 1121 Matching unit 1122.
The variation characteristic acquiring unit 1121 is used to obtain temperature number of the multigroup temperature data in preset time The utilization rate variation characteristic of value changes characteristic and the hardware to be detected in the preset time.Specifically, the variation characteristic Acquiring unit 1121 can be used for performing the step S1031 shown in Fig. 3, and specific operating method refers to the detailed of step S1031 Thin description.
The Temperature numerical variation characteristic that the matching unit 1122 is used for the multigroup temperature data that will be got is distinguished Matched with the utilization rate variation characteristic of the hardware to be detected, one group of temperature data of matching rate highest is treated as described Detect the temperature data group of hardware.Specifically, the matching unit 1122 can be used for performing the step S1033 shown in Fig. 3, specifically Operating method refer to step S1033 detailed description.
In summary, a kind of temperature monitoring method and device provided in an embodiment of the present invention, by multiple by what is read Multigroup temperature data under designated storage location is matched with the utilization rate of hardware to be detected, to determine multigroup temperature data In the belonging hardware to be detected temperature data group.Found out again from the temperature data group current with hardware to be detected The corresponding Temperature numerical of utilization rate as hardware to be detected current temperature value.With this, hardware to be detected can be accurately obtained Temperature data, thus solve due to the Temperature numerical of hardware to be detected can not be known, cause hardware temperatures to be detected abnormal And the problem of influence terminal capabilities.
, can also be by other in embodiment provided herein, it should be understood that disclosed apparatus and method Mode realize.Device embodiment described above is only schematical, for example, the flow chart and block diagram in accompanying drawing are shown Devices in accordance with embodiments of the present invention, architectural framework in the cards, function and the behaviour of method and computer program product Make.At this point, each square frame in flow chart or block diagram can represent a part for a module, program segment or code, institute The part for stating module, program segment or code includes one or more executable instructions for being used to realize defined logic function. It should also be noted that in some implementations as replacement, the function of being marked in square frame can also be with different from accompanying drawing The order marked occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they sometimes can also be by Opposite order is performed, and this is depending on involved function.It is also noted that each square frame in block diagram and/or flow chart, And the combination of the square frame in block diagram and/or flow chart, can be with function or action as defined in performing it is special based on hardware System realize, or can be realized with the combination of specialized hardware and computer instruction.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage, random access memory, magnetic disc or CD etc. are each Planting can be with the medium of store program codes.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or equipment including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or equipment institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including institute Also there is other identical element in process, method, article or the equipment of stating key element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing It is further defined and explained.

Claims (10)

1. a kind of temperature monitoring method, applied to including the terminal of hardware to be detected, it is characterised in that methods described includes:
The temperature number in multigroup temperature data, temperature data described in each group is obtained from multiple designated storage locations of the terminal Value and the utilization rate of the hardware to be detected have corresponding relation;
Utilization rate by the Temperature numerical in multigroup temperature data respectively with the hardware to be detected is matched, and obtains institute State the temperature data group of hardware to be detected;
The temperature number corresponding with the currently used rate of the hardware to be detected is found out from the temperature data group obtained Value, is used as the current temperature value of the hardware to be detected.
2. temperature monitoring method according to claim 1, it is characterised in that the temperature by multigroup temperature data Utilization rate of the number of degrees value respectively with the hardware to be detected is matched, and obtains the step of the temperature data group of the hardware to be detected Suddenly, including:
Temperature numerical variation characteristic and the to be detected hardware of the multigroup temperature data in preset time are obtained described Utilization rate variation characteristic in preset time;
By the utilization rate of the Temperature numerical variation characteristic of the multigroup temperature data got respectively with the hardware to be detected Variation characteristic is matched, using one group of temperature data of matching rate highest as the hardware to be detected temperature data group.
3. temperature monitoring method according to claim 1, it is characterised in that methods described also includes:
In preset time, the pressure program prestored is run, to increase the utilization rate of the hardware to be detected.
4. temperature monitoring method according to claim 1, it is characterised in that the terminal is also in addition to the hardware to be detected Including other hardware, methods described also includes:
In preset time, keep the load of the hardware to be detected constant and change to remove the hardware to be detected in the terminal The load of other outer hardware, to change the utilization rate of other hardware.
5. temperature monitoring method according to claim 1, it is characterised in that checking data group is prestored in the terminal, Methods described also includes:
Respectively from the temperature data group and the checking data group obtain with the hardware to be detected from the first utilization rate to The corresponding temperature data rate of change of utilization rate rate of change of second utilization rate;
The temperature number obtained by the temperature data rate of change obtained from the temperature data group and from the checking data group Contrasted according to rate of change, to verify whether the temperature data group of the hardware to be detected is correct;
If the temperature data rate of change obtained from the temperature data group and the temperature number obtained from the checking data group According to the difference between rate of change within a preset range, then judge that the temperature data group of the hardware to be detected is correct.
6. a kind of device for detecting temperature, applied to including the terminal of hardware to be detected, it is characterised in that the device for detecting temperature Including:
Acquisition module, for obtaining multigroup temperature data, temperature described in each group from multiple designated storage locations of the terminal Temperature numerical and the utilization rate of the hardware to be detected in data have corresponding relation;
Matching module, enters for the utilization rate by the Temperature numerical in multigroup temperature data respectively with the hardware to be detected Row matching, obtains the temperature data group of the hardware to be detected;
Searching modul, for finding out the currently used rate phase with the hardware to be detected from the temperature data group obtained Corresponding Temperature numerical, is used as the current temperature value of the hardware to be detected.
7. device for detecting temperature according to claim 6, it is characterised in that the matching module is obtained including variation characteristic Unit and matching unit;
The variation characteristic acquiring unit is used to obtain Temperature numerical change spy of the multigroup temperature data in preset time The utilization rate variation characteristic of property and the hardware to be detected in the preset time;
The matching unit is used to respectively wait the Temperature numerical variation characteristic of the multigroup temperature data got with described The utilization rate variation characteristic of detection hardware is matched, and regard one group of temperature data of matching rate highest as the hardware to be detected Temperature data group.
8. device for detecting temperature according to claim 6, it is characterised in that the device for detecting temperature also includes operation mould Block;
The operation module is used in preset time, the pressure program prestored is run, to increase making for the hardware to be detected With rate.
9. device for detecting temperature according to claim 6, it is characterised in that the terminal is also in addition to the hardware to be detected Including other hardware, the device for detecting temperature also includes load processing module;
The load processing module is used in preset time, keeps the load of the hardware to be detected constant and changes the end The load of other hardware in end in addition to the hardware to be detected, to change the utilization rate of other hardware.
10. device for detecting temperature according to claim 6, it is characterised in that checking data group is prestored in the terminal, The device for detecting temperature also includes rate of change acquisition module, contrast module and determination module;
The rate of change acquisition module is used to obtain from the temperature data group and the checking data group respectively to treat with described Detect utilization rate rate of change corresponding temperature data rate of change of the hardware from the first utilization rate to the second utilization rate;
The contrast module be used for will the temperature data rate of change that be obtained from the temperature data group with from the checking data The temperature data rate of change obtained in group is contrasted, to verify whether the temperature data group of the hardware to be detected is correct;
The determination module be used for the temperature data rate of change that is obtained from the temperature data group with from the checking data Difference between the temperature data rate of change obtained in group within a preset range when, judge the temperature data of the hardware to be detected Group is correct.
CN201710290355.2A 2017-04-27 2017-04-27 Temperature monitoring method and device Active CN107122283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710290355.2A CN107122283B (en) 2017-04-27 2017-04-27 Temperature monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710290355.2A CN107122283B (en) 2017-04-27 2017-04-27 Temperature monitoring method and device

Publications (2)

Publication Number Publication Date
CN107122283A true CN107122283A (en) 2017-09-01
CN107122283B CN107122283B (en) 2020-08-25

Family

ID=59725068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710290355.2A Active CN107122283B (en) 2017-04-27 2017-04-27 Temperature monitoring method and device

Country Status (1)

Country Link
CN (1) CN107122283B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032913A (en) * 2018-08-20 2018-12-18 郑州云海信息技术有限公司 A kind of stabilization of equipment performance detection method and relevant apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150130629A1 (en) * 2013-11-11 2015-05-14 Qualcomm Incorporated Determining utilization of electronic assets
CN105183616A (en) * 2015-08-17 2015-12-23 浪潮(北京)电子信息产业有限公司 Processor temperature monitoring apparatus and method
CN105335267A (en) * 2014-05-30 2016-02-17 华为技术有限公司 Server temperature prediction method, apparatus and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150130629A1 (en) * 2013-11-11 2015-05-14 Qualcomm Incorporated Determining utilization of electronic assets
CN105335267A (en) * 2014-05-30 2016-02-17 华为技术有限公司 Server temperature prediction method, apparatus and system
CN105183616A (en) * 2015-08-17 2015-12-23 浪潮(北京)电子信息产业有限公司 Processor temperature monitoring apparatus and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王俭,施教芳,林志浩: "《CPU芯片温升与其使用率关系研究》", 《微电子学与计算机》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032913A (en) * 2018-08-20 2018-12-18 郑州云海信息技术有限公司 A kind of stabilization of equipment performance detection method and relevant apparatus

Also Published As

Publication number Publication date
CN107122283B (en) 2020-08-25

Similar Documents

Publication Publication Date Title
US10585774B2 (en) Detection of misbehaving components for large scale distributed systems
US10216558B1 (en) Predicting drive failures
US10288653B2 (en) Time series analytics
CN109558416A (en) A kind of detection method traded extremely, device and storage medium
CN110032490A (en) Method and device thereof for detection system exception
US20140032450A1 (en) Classifying unclassified samples
CN109583470A (en) A kind of explanation feature of abnormality detection determines method and apparatus
CN108399115B (en) Operation and maintenance operation detection method and device and electronic equipment
CN105488331B (en) Data processing method and device
CN110858072A (en) Method and device for determining running state of equipment
CN114610572A (en) Service abnormity detection method, device, computer equipment and storage medium
CN107122283A (en) Temperature monitoring method and device
CN115932144B (en) Chromatograph performance detection method, chromatograph performance detection device, chromatograph performance detection equipment and computer medium
US10839258B2 (en) Computer-readable recording medium, detection method, and detection device
CN111275135A (en) Fault diagnosis method, device, equipment and medium
CN113986671A (en) Operation and maintenance data anomaly detection method, device, equipment and medium
US20160162778A1 (en) Using radial basis function networks and hyper-cubes for excursion classification in semi-conductor processing equipment
TWI694344B (en) Apparatus and method for detecting impact factor for an operating environment
CN111883226A (en) Information processing and model training method, device, equipment and storage medium
CN117571321B (en) Bearing fault detection method, device, equipment and storage medium
CN117073728B (en) Flexible capacitive touch sensor
CN115237739B (en) Analysis method, device and equipment for board card running environment and readable storage medium
US9111025B2 (en) Providing automated performance test execution
CN117421551A (en) Sensor detection method, device, computer equipment and storage medium
CN115237736A (en) Data mart anomaly detection method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20181010

Address after: 610000 No. 1, 24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Applicant after: Chengdu anyxun Technology Co., Ltd.

Address before: 610000 No. 2, No. 5, Tianfu four street, 66 High-tech Zone, Chengdu, Sichuan.

Applicant before: CHENGDU QILU TECHNOLOGY CO., LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 610000 Chengdu City, Sichuan Province, China (Sichuan) Free Trade Pilot Zone 1268 Tianfu Avenue Middle Section, Chengdu High-tech Zone, 11 Floor 21

Patentee after: CHENGDU ANYIXUN TECHNOLOGY Co.,Ltd.

Address before: 610000 No. 1, 24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Patentee before: CHENGDU ANYIXUN TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder