[go: up one dir, main page]

CN103196574B - The method of measures ambient temperature and device - Google Patents

The method of measures ambient temperature and device Download PDF

Info

Publication number
CN103196574B
CN103196574B CN201310090211.4A CN201310090211A CN103196574B CN 103196574 B CN103196574 B CN 103196574B CN 201310090211 A CN201310090211 A CN 201310090211A CN 103196574 B CN103196574 B CN 103196574B
Authority
CN
China
Prior art keywords
measured value
value
mobile terminal
environment temperature
ambient temperature
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.)
Expired - Fee Related
Application number
CN201310090211.4A
Other languages
Chinese (zh)
Other versions
CN103196574A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310090211.4A priority Critical patent/CN103196574B/en
Publication of CN103196574A publication Critical patent/CN103196574A/en
Application granted granted Critical
Publication of CN103196574B publication Critical patent/CN103196574B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了测量环境温度的方法及装置,预先设定第一测量值、第二测量值与校正值的对应关系,获取当前移动终端对环境温度的第一测量值和移动终端对内部热源温度的第二测量值后,通过查表即可确定对应的校正值,再利用确定出的校正值对获取的第一测量值进行校正,由此可以减小移动终端内部热源的温度对环境温度测量的影响,提高环境温度测量的准确性。

The invention discloses a method and device for measuring ambient temperature, which presets the corresponding relationship between the first measured value, the second measured value and the correction value, and obtains the first measured value of the current mobile terminal to the ambient temperature and the internal heat source temperature of the mobile terminal After the second measurement value, the corresponding correction value can be determined by looking up the table, and then the correction value can be used to correct the obtained first measurement value, thereby reducing the impact of the temperature of the heat source inside the mobile terminal on the measurement of the ambient temperature. influence, improve the accuracy of ambient temperature measurement.

Description

测量环境温度的方法及装置Method and device for measuring ambient temperature

技术领域technical field

本发明涉及测温技术,尤其涉及测量环境温度的方法及装置。The invention relates to temperature measurement technology, in particular to a method and device for measuring ambient temperature.

背景技术Background technique

随着移动终端可执行的功能越来越丰富,人们利用移动终端可以完成越来越多的事情,测量环境温度就是其中一种。As the functions executable by the mobile terminal become more and more abundant, people can use the mobile terminal to accomplish more and more things, and measuring the ambient temperature is one of them.

目前移动终端中存在温度传感器,基于该温度传感器,移动终端可以感测外部环境温度,并将感测到的环境温度显示给用户。At present, there is a temperature sensor in the mobile terminal, based on the temperature sensor, the mobile terminal can sense the external environment temperature, and display the sensed environment temperature to the user.

但移动终端基于温度传感器测量出的环境温度并不准确,这是因为移动终端内部存在一些热源,例如中央处理器和电源模块,即使温度传感器被放置在远离这些热源的地方,环境温度的测量准确性也仍然会受到影响,具体来说,基于温度传感器测量出的环境温度会高于实际环境温度。However, the ambient temperature measured by the mobile terminal based on the temperature sensor is not accurate, because there are some heat sources inside the mobile terminal, such as the central processing unit and power module, even if the temperature sensor is placed far away from these heat sources, the measurement of the ambient temperature is accurate. Performance will still be affected, specifically, the ambient temperature measured based on the temperature sensor will be higher than the actual ambient temperature.

发明内容Contents of the invention

本发明实施例提供测量环境温度的方法及装置,能够考虑移动终端内部热源的影响,对移动终端测量出的环境温度进行校正,提高环境温度测量的准确性。Embodiments of the present invention provide a method and device for measuring ambient temperature, which can correct the ambient temperature measured by the mobile terminal by considering the influence of the internal heat source of the mobile terminal, and improve the accuracy of ambient temperature measurement.

本发明实施例提供一种测量环境温度的方法,该方法包括:An embodiment of the present invention provides a method for measuring ambient temperature, the method comprising:

获取当前移动终端对环境温度的第一测量值、及所述移动终端对内部热源的第二测量值;Acquiring the first measurement value of the current mobile terminal to the ambient temperature and the second measurement value of the mobile terminal to the internal heat source;

在对应关系中查找与获取的第一测量值相同或相近的第一测量值;Finding the first measured value that is the same as or similar to the acquired first measured value in the corresponding relationship;

在所述对应关系中查找与获取的第二测量值相同或相近的第二测量值;Finding a second measurement value that is the same as or similar to the acquired second measurement value in the correspondence relationship;

确定查找出的所述第一测量值及查找出的所述第二测量值对应的校正值;determining a correction value corresponding to the found first measurement value and the found second measurement value;

用所述获取的第一测量值减去确定出的所述校正值,得到环境温度测量值;Subtracting the determined correction value from the acquired first measurement value to obtain a measurement value of ambient temperature;

其中,所述对应关系中的各个第一测量值,由所述移动终端处于设定的不同实际环境温度下、并基于设定的不同第二测量值指示的移动终端内部热源温度对环境温度进行测量得出,所述对应关系中的各个校正值,由对应的第一测量值减去所述移动终端得出该第一测量值时所处的实际环境温度值得出。Wherein, each of the first measured values in the corresponding relationship is based on the temperature of the internal heat source of the mobile terminal indicated by the different set actual ambient temperatures of the mobile terminal and the ambient temperature based on the set different second measured values. It is obtained from the measurement that each correction value in the corresponding relationship is obtained by subtracting the corresponding first measurement value from the actual ambient temperature value where the mobile terminal obtains the first measurement value.

本发明实施例提供一种测量环境温度的方法,该方法包括:An embodiment of the present invention provides a method for measuring ambient temperature, the method comprising:

获取当前移动终端对环境温度的第一测量值、及所述移动终端对内部热源的第二测量值;Acquiring the first measurement value of the current mobile terminal to the ambient temperature and the second measurement value of the mobile terminal to the internal heat source;

根据预先设定的第一测量值、第二测量值与实际环境温度值的第一对应关系,确定获取的第一测量值对应的由第二测量值与实际环境温度值组成的一个以上数组;According to the preset first corresponding relationship between the first measured value, the second measured value and the actual ambient temperature value, determine more than one array composed of the second measured value and the actual ambient temperature value corresponding to the obtained first measured value;

在确定出的所有数组中查找包含获取的第二测量值的数组;Find an array containing the acquired second measurement value in all determined arrays;

根据预先设定的第二测量值、实际环境温度值与校正值的第二对应关系,确定查找出的数组对应的校正值;According to the preset second measurement value, the second corresponding relationship between the actual ambient temperature value and the correction value, determine the correction value corresponding to the found array;

用所述获取的第一测量值减去确定出的所述校正值,得到环境温度测量值;Subtracting the determined correction value from the acquired first measurement value to obtain a measurement value of ambient temperature;

其中,所述第一对应关系中的各个第一测量值,由所述移动终端处于设定的不同实际环境温度下、并基于设定的不同第二测量值指示的移动终端内部热源温度对环境温度进行测量得出,所述第二对应关系中的各个校正值,由对应的第一测量值减去所述移动终端得出该第一测量值时所处的实际环境温度值得出。Wherein, each of the first measured values in the first corresponding relationship refers to the effect of the temperature of the internal heat source of the mobile terminal on the environment indicated by the different set actual ambient temperatures of the mobile terminal and based on the set different second measured values. The temperature is measured, and each correction value in the second correspondence relationship is obtained by subtracting the corresponding first measurement value from the actual ambient temperature value where the mobile terminal obtains the first measurement value.

本发明实施例提供一种测量环境温度的装置,该装置包括:An embodiment of the present invention provides a device for measuring ambient temperature, which includes:

获取单元,用于获取移动终端对环境温度的第一测量值、及移动终端对内部热源的第二测量值;An acquisition unit, configured to acquire a first measurement value of the mobile terminal for the ambient temperature and a second measurement value of the mobile terminal for the internal heat source;

确定单元,用于根据预先设定的第一测量值与校正值的对应关系,确定获取的第一测量值及第二测量值对应的校正值;A determining unit, configured to determine the acquired first measured value and the corrected value corresponding to the second measured value according to the preset correspondence between the first measured value and the corrected value;

校正单元,用于用所述获取的第一测量值减去确定出的所述校正值,得到环境温度测量值;a correction unit, configured to subtract the determined correction value from the obtained first measurement value to obtain a measurement value of ambient temperature;

其中,所述对应关系中的各个第一测量值,由所述移动终端处于设定的不同实际环境温度下、并基于设定的不同第二测量值指示的移动终端内部热源温度对环境温度进行测量得出,所述对应关系中的各个校正值,由对应的第一测量值减去所述移动终端得出该第一测量值时所处的实际环境温度值得出;Wherein, each of the first measured values in the corresponding relationship is based on the temperature of the internal heat source of the mobile terminal indicated by the different set actual ambient temperatures of the mobile terminal and the ambient temperature based on the set different second measured values. According to the measurement, each correction value in the corresponding relationship is obtained by subtracting the actual ambient temperature value in which the mobile terminal obtains the first measurement value from the corresponding first measurement value;

所述确定单元包括:The determination unit includes:

第一查找模块,在预先设定的第一测量值与校正值的对应关系中,查找与所述获取的第一测量值相同或相近的第一测量值;The first search module, in the preset correspondence between the first measured value and the correction value, searches for the first measured value that is the same as or similar to the acquired first measured value;

第二查找模块,用于在预先设定的第一测量值与校正值的对应关系中,查找与所述获取的第二测量值相同或相近的第二测量值;A second search module, configured to search for a second measured value that is the same as or similar to the acquired second measured value in the preset correspondence between the first measured value and the correction value;

确定模块,用于确定查找出的所述第一测量值及查找出的所述第二测量值对应的校正值。A determining module, configured to determine a correction value corresponding to the found first measurement value and the found second measurement value.

本发明实施例提供一种测量环境温度的装置,该装置包括:An embodiment of the present invention provides a device for measuring ambient temperature, which includes:

获取单元,用于获取移动终端对环境温度的第一测量值、及所述移动终端对内部热源的第二测量值;An acquisition unit, configured to acquire a first measurement value of the mobile terminal for the ambient temperature and a second measurement value of the mobile terminal for the internal heat source;

确定单元,用于根据预先设定的第一测量值与校正值的对应关系,确定所述获取的第一测量值及所述第二测量值对应的校正值;A determining unit, configured to determine the acquired first measured value and the corrected value corresponding to the second measured value according to the preset correspondence between the first measured value and the corrected value;

校正单元,用于用所述获取的第一测量值减去确定出的所述校正值,得到环境温度测量值;a correction unit, configured to subtract the determined correction value from the obtained first measurement value to obtain a measurement value of ambient temperature;

其中,所述对应关系中的各个第一测量值,由所述移动终端处于设定的不同实际环境温度下、并基于设定的不同第二测量值指示的移动终端内部热源温度对环境温度进行测量得出,所述对应关系中的各个校正值,由对应的第一测量值减去所述移动终端得出该第一测量值时所处的实际环境温度值得出;Wherein, each of the first measured values in the corresponding relationship is based on the temperature of the internal heat source of the mobile terminal indicated by the different set actual ambient temperatures of the mobile terminal and the ambient temperature based on the set different second measured values. According to the measurement, each correction value in the corresponding relationship is obtained by subtracting the actual ambient temperature value in which the mobile terminal obtains the first measurement value from the corresponding first measurement value;

所述确定单元包括:The determination unit includes:

第一确定模块,用于根据预先设定的第一测量值、第二测量值与实际环境温度值的第一对应关系,确定所述获取的第一测量值对应的由所述第二测量值与实际环境温度组成的数组;The first determining module is configured to determine the second measured value corresponding to the obtained first measured value according to the preset first corresponding relationship between the first measured value, the second measured value and the actual ambient temperature value An array composed of the actual ambient temperature;

查找模块,用于在确定出的所有数组中查找包含所述获取的第二测量值的数组;A search module, configured to search for an array containing the acquired second measurement value among all determined arrays;

第二确定模块,用于根据预先设定的第二测量值、实际环境温度值与校正值的第二对应关系,确定查找出的数组对应的校正值。The second determination module is configured to determine the correction value corresponding to the found array according to the preset second measurement value, the second corresponding relationship between the actual ambient temperature value and the correction value.

可见,本发明实施例中预先设定第一测量值、第二测量值与校正值的对应关系,获取当前移动终端对环境温度的第一测量值和移动终端对内部热源的第二测量值后,通过查表即可确定对应的校正值,再利用确定出的校正值对获取的第一测量值进行校正,由此可以减小移动终端内部热源的温度对环境温度测量的影响,提高环境温度测量的准确性。It can be seen that in the embodiment of the present invention, the corresponding relationship between the first measured value, the second measured value and the correction value is preset, and after obtaining the first measured value of the current mobile terminal for the ambient temperature and the second measured value of the mobile terminal for the internal heat source , the corresponding correction value can be determined by looking up the table, and then use the determined correction value to correct the acquired first measurement value, thereby reducing the influence of the temperature of the internal heat source of the mobile terminal on the measurement of the ambient temperature and improving the ambient temperature Accuracy of measurement.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明实施例的一些举例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some examples of the embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings on the premise of not paying creative work.

图1是本发明实施例一中测量环境温度的方法流程图;Fig. 1 is the flow chart of the method for measuring ambient temperature in embodiment one of the present invention;

图2是本发明实施例二中测量环境温度的方法流程图;Fig. 2 is the flow chart of the method for measuring ambient temperature in the second embodiment of the present invention;

图3是本发明实施例三中测量环境温度的装置的结构示意图;Fig. 3 is a schematic structural view of a device for measuring ambient temperature in Embodiment 3 of the present invention;

图4是本发明实施例四中测量环境温度的装置的结构示意图。Fig. 4 is a schematic structural diagram of a device for measuring ambient temperature in Embodiment 4 of the present invention.

具体实施方式Detailed ways

为了使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施例作进一步地详细描述,显然,所描述的实施例仅仅是本发明实施例一部份举例,而不是全部的举例。基于本发明实施例描述的内容,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它内容,都属于本发明实施例保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention. Not all examples. Based on the contents described in the embodiments of the present invention, all other contents obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the embodiments of the present invention.

实施例一Embodiment one

本实施例一中,预先通过大量测量,设定第一测量值、第二测量值与校正值的对应关系,供后续方法流程使用,其中第一测量值指示环境温度,第二测量值指示移动终端内部热源温度。In the first embodiment, through a large number of measurements in advance, the corresponding relationship between the first measured value, the second measured value and the correction value is set for use in the subsequent method flow, wherein the first measured value indicates the ambient temperature, and the second measured value indicates the movement Terminal internal heat source temperature.

上述对应关系中的各个第一测量值,是由移动终端处于设定的不同实际环境温度下、并基于设定的不同第二测量值指示的移动终端内部热源温度对环境温度进行测量得出的,该对应关系中的各个校正值,是由对应的第一测量值减去移动终端得出该第一测量值时所处的实际环境温度值得出的。Each of the first measured values in the above corresponding relationship is obtained by measuring the ambient temperature when the mobile terminal is at different set actual ambient temperatures and based on the temperature of the heat source inside the mobile terminal indicated by the different set second measured values. , each correction value in the corresponding relationship is obtained by subtracting the corresponding first measurement value from the actual ambient temperature value where the mobile terminal obtains the first measurement value.

移动终端内部的热源有中央处理器和电源模块等,本实施例一中,在预先设定对应关系时,可以只考虑其中一种主要热源的温度。下面举出一个预先设定对应关系的实例,在该实例中,只考虑移动终端内部一种主要热源的温度,例如中央处理器的温度。The heat sources inside the mobile terminal include a central processing unit and a power module, etc. In the first embodiment, when presetting the corresponding relationship, only the temperature of one of the main heat sources may be considered. An example of a preset corresponding relationship is given below. In this example, only the temperature of one main heat source inside the mobile terminal, such as the temperature of the central processing unit, is considered.

移动终端处于实际环境温度为0度、5度、10度、15度、20度、25度、和30度的环境中,分别基于移动终端内部中央处理器温度为25度、30度、35度、40度、45度、50度、55度、60度、65度、70度、75度、80度和85度的情况,对环境温度进行测量,得到91个第一测量值,然后再将每个第一测量值与得出该第一测量值时所处的实际环境温度值相减,得到对应的校正值。The mobile terminal is in an environment where the actual ambient temperature is 0 degrees, 5 degrees, 10 degrees, 15 degrees, 20 degrees, 25 degrees, and 30 degrees, based on the temperature of the internal CPU of the mobile terminal being 25 degrees, 30 degrees, and 35 degrees, respectively , 40 degrees, 45 degrees, 50 degrees, 55 degrees, 60 degrees, 65 degrees, 70 degrees, 75 degrees, 80 degrees and 85 degrees, the ambient temperature is measured to obtain 91 first measured values, and then Each first measurement value is subtracted from the actual ambient temperature value when the first measurement value is obtained to obtain a corresponding correction value.

如下表1给出的校正值,是移动终端处于实际环境温度为25度的环境中,分别基于移动终端中央处理器温度为25度、30度、35度、40度、45度、50度、55度、60度、65度、70度、75度、80度和85度的情况,对环境温度进行测量后得到的。在实际环境温度为其他值的情况下,也可以得到对应的校正值,将所有的校正值汇总,即可得到完整的对应关系,供后续方法流程使用。The correction value given in Table 1 below is that the mobile terminal is in an environment where the actual ambient temperature is 25 degrees, based on the temperature of the central processor of the mobile terminal being 25 degrees, 30 degrees, 35 degrees, 40 degrees, 45 degrees, 50 degrees, 55 degrees, 60 degrees, 65 degrees, 70 degrees, 75 degrees, 80 degrees and 85 degrees, obtained after measuring the ambient temperature. When the actual ambient temperature is other values, the corresponding correction value can also be obtained, and all the correction values can be summed up to obtain a complete corresponding relationship, which can be used in the subsequent method flow.

表1Table 1

第一测量值first measurement 第二测量值second measurement 校正值correction value 2525 2525 00 2626 3030 11 2727 3535 22 2828 4040 33 2929 4545 44 3030 5050 55 3131 5555 66 3232 6060 77 3333 6565 88 3434 7070 99 3535 7575 1010 3636 8080 1111 3737 8585 1212

以上实例中给出的实际环境温度和移动终端中央处理器温度仅为一种举例,根据应用的需求,可以设定其他温度值,例如设定移动终端中央处理器温度以1度为间隔,这样在设定对应关系时,将需要测量得到更多的第一测量值。The actual ambient temperature and the temperature of the CPU of the mobile terminal given in the above examples are just examples. Other temperature values can be set according to the requirements of the application. For example, the temperature of the CPU of the mobile terminal is set at intervals of 1 degree, so that When setting the corresponding relationship, it will be necessary to measure and obtain more first measured values.

图1是本发明实施例一中测量环境温度的方法流程图,该流程包括:Fig. 1 is a flow chart of a method for measuring ambient temperature in Embodiment 1 of the present invention, the process comprising:

步骤11:获取当前移动终端对环境温度的第一测量值、及移动终端对内部热源的第二测量值;Step 11: Obtain the first measured value of the current mobile terminal for the ambient temperature and the second measured value of the mobile terminal for the internal heat source;

步骤12:根据预先设定的第一测量值、第二测量值与校正值的对应关系,确定获取的第一测量值及第二测量值对应的校正值;Step 12: According to the preset corresponding relationship between the first measured value, the second measured value and the correction value, determine the correction value corresponding to the obtained first measured value and the second measured value;

步骤13:用获取的第一测量值减去确定出的校正值,得到环境温度测量值。Step 13: Subtracting the determined correction value from the acquired first measurement value to obtain the ambient temperature measurement value.

在上述步骤11中,基于移动终端中感测环境温度的温度传感器可以得到第一测量值,基于移动终端中感测内部热源温度的温度传感器得到第二测量值。In the above step 11, the first measurement value can be obtained based on the temperature sensor in the mobile terminal that senses the ambient temperature, and the second measurement value can be obtained based on the temperature sensor in the mobile terminal that senses the temperature of the internal heat source.

在上述步骤12中,基于预先设定的对应关系,可以确定获取的第一测量值和第二测量值对应的校正值。假设步骤11中获取的第一测量值为28、获取的第二测量值为40,则基于如表1所示的对应关系,可以得到对应的校正值为3。考虑一种特殊的情况,如果表1中没有和步骤11中获取的第一测量值相同的第一测量值,则可以查找与获取的第一测量值相近的第一测量值,如果表1中没有和步骤11中获取的第二测量值相同的第二测量值,则可以查找与获取的第二测量值相近的第二测量值,然后再确定查找出的第一测量值及第二测量值对应的校正值。例如假设步骤11中获取的第一测量值为29、第二测量值为41,则查表时仍然选择第一测量值为28、第二测量值为40所对应的校正值3。应对这种特殊情况的另一种解决方式,是在预先设定对应关系时,将第二测量值的间隔变小,例如变为间隔为1,这样需要测量得到更多的第一测量值,由此可以为步骤12中执行的查找提供更多的参考数据。In the above step 12, based on the preset corresponding relationship, the correction value corresponding to the acquired first measurement value and the second measurement value may be determined. Assuming that the first measured value obtained in step 11 is 28 and the second measured value obtained is 40, based on the corresponding relationship shown in Table 1, the corresponding correction value can be obtained as 3. Consider a special case, if there is no first measured value identical to the first measured value obtained in step 11 in Table 1, you can search for a first measured value close to the first measured value obtained, if in Table 1 If there is no second measured value identical to the second measured value obtained in step 11, a second measured value close to the obtained second measured value can be searched for, and then the first measured value and the second measured value found are determined corresponding correction value. For example, assuming that the first measured value obtained in step 11 is 29 and the second measured value is 41, the correction value 3 corresponding to the first measured value 28 and the second measured value 40 is still selected when looking up the table. Another solution to deal with this special situation is to reduce the interval of the second measurement value when pre-setting the corresponding relationship, for example, the interval is 1, so that more first measurement values need to be measured, This can provide more reference data for the search performed in step 12 .

在上述步骤13中,假设步骤11中获取的第一测量值为28、且步骤12中确定出的校正值为3,则得到校正后的环境温度测量值为25。In the above step 13, assuming that the first measured value obtained in step 11 is 28, and the corrected value determined in step 12 is 3, then the corrected ambient temperature measured value is 25.

作为可选的实施方式,本实施例一中也可以考虑移动终端内部多种热源的温度,例如同时考虑中央处理器温度和电源模块温度,此时在预先设定对应关系的过程中,移动终端测量各个第一测量值时,所基于的不同第二测量值既包括指示中央处理器温度的第二测量值,还包括指示电源模块温度的第二测量值。例如目前表1中所示的第二测量值指示中央处理器温度,在同时考虑中央处理器温度和电源模块温度的情况下,表1中将多出一列指示电源模块温度的第二测量值,基于这样的对应关系,在执行方法流程时,首先获取当前的第一测量值、指示中央处理器温度的第二测量值和指示电源模块温度的第二测量值,然后在预先设定的对应关系中查找获取的第一测量值和第二测量值所对应的校正值,最后用获取的第一测量值减去确定出的校正值,得出环境测量温度。As an optional implementation, in the first embodiment, the temperatures of multiple heat sources inside the mobile terminal can also be considered, for example, the temperature of the central processing unit and the temperature of the power module are considered at the same time. At this time, in the process of presetting the corresponding relationship, the mobile terminal When each first measurement value is measured, different second measurement values based on it include not only the second measurement value indicating the temperature of the CPU, but also the second measurement value indicating the temperature of the power module. For example, the second measurement value shown in Table 1 indicates the temperature of the central processing unit. In the case of considering the temperature of the central processing unit and the temperature of the power supply module at the same time, there will be an additional column in Table 1 indicating the second measurement value of the temperature of the power supply module. Based on such a corresponding relationship, when executing the method flow, first obtain the current first measured value, the second measured value indicating the temperature of the central processing unit, and the second measured value indicating the temperature of the power supply module, and then in the preset corresponding relationship Find the corrected value corresponding to the acquired first measured value and the second measured value, and finally subtract the determined corrected value from the acquired first measured value to obtain the ambient measured temperature.

综上所述,本实施例一中预先通过大量测量,形成第一测量值、第二测量值与校正值的对应关系,在后续的方法流程中,获取当前移动终端对环境温度的第一测量值和移动终端对内部热源温度的第二测量值后,通过查表即可确定对应的校正值,再利用确定出的校正值对获取的第一测量值进行校正,由此可以减小移动终端内部热源的温度对环境温度测量的影响,提高环境温度测量的准确性。To sum up, in the first embodiment, through a large number of measurements in advance, the corresponding relationship between the first measurement value, the second measurement value and the correction value is formed, and in the subsequent method flow, the first measurement of the ambient temperature by the current mobile terminal is obtained. value and the second measurement value of the internal heat source temperature by the mobile terminal, the corresponding correction value can be determined by looking up the table, and then the determined correction value is used to correct the obtained first measurement value, thereby reducing the size of the mobile terminal. The influence of the temperature of the internal heat source on the measurement of the ambient temperature improves the accuracy of the measurement of the ambient temperature.

实施例二Embodiment two

本实施例二中,将实施例一中的对应关系分为更细化的两种对应关系,并基于这两种对应关系提供测量环境温度的方法。In the second embodiment, the corresponding relationship in the first embodiment is divided into two more detailed corresponding relationships, and a method for measuring the ambient temperature is provided based on these two corresponding relationships.

本实施例二中,预先通过大量测量,设定第一测量值、第二测量值与实际环境温度值的第一对应关系,还设定第二测量值、实际环境温度值与校正值的第二对应关系。In the second embodiment, through a large number of measurements in advance, the first corresponding relationship between the first measured value, the second measured value and the actual ambient temperature value is set, and the first corresponding relationship between the second measured value, the actual ambient temperature value and the corrected value is also set. Two correspondences.

下面举出一个预先设定第一对应关系及第二对应关系的实例,在该实例中,只考虑移动终端内部一个主要热源的温度,例如中央处理器的温度。An example of presetting the first corresponding relationship and the second corresponding relationship is given below. In this example, only the temperature of a main heat source inside the mobile terminal, such as the temperature of the central processing unit, is considered.

移动终端处于实际环境温度为0度、5度、10度、15度、20度、25度、和30度的环境中,分别基于移动终端内部中央处理器温度为25度、30度、35度、40度、45度、50度、55度、60度、65度、70度、75度、80度和85度的情况,对环境温度进行测量,得到91个第一测量值,由此可以设定第一测量值、第二测量值和实际环境温度值的第一对应关系,然后再将每个第一测量值与得出该第一测量值时移动终端所处的实际环境温度值相减,得出对应的校正值,由此可以设定第二测量值、实际环境温度值和校正值的第二对应关系。The mobile terminal is in an environment where the actual ambient temperature is 0 degrees, 5 degrees, 10 degrees, 15 degrees, 20 degrees, 25 degrees, and 30 degrees, based on the temperature of the internal CPU of the mobile terminal being 25 degrees, 30 degrees, and 35 degrees, respectively , 40 degrees, 45 degrees, 50 degrees, 55 degrees, 60 degrees, 65 degrees, 70 degrees, 75 degrees, 80 degrees and 85 degrees, the ambient temperature is measured to obtain 91 first measured values, which can Set the first corresponding relationship between the first measured value, the second measured value and the actual ambient temperature value, and then compare each first measured value with the actual ambient temperature value of the mobile terminal when the first measured value is obtained. The corresponding correction value can be obtained by subtracting it, so that the second corresponding relationship between the second measurement value, the actual ambient temperature value and the correction value can be set.

如下的表2给出设定的第一对应关系,其中横轴代表移动终端中央处理器温度,纵轴代表实际环境温度,中间部分为移动终端得到的各个第一测量值。The following Table 2 shows the set first corresponding relationship, wherein the horizontal axis represents the temperature of the central processing unit of the mobile terminal, the vertical axis represents the actual ambient temperature, and the middle part represents the first measured values obtained by the mobile terminal.

表2Table 2

如下的表3给出设定的第二对应关系,其中横轴代表移动终端中央处理器温度,纵轴代表实际环境温度,中间部分为校正值。The following Table 3 provides the second corresponding relationship of settings, wherein the horizontal axis represents the temperature of the CPU of the mobile terminal, the vertical axis represents the actual ambient temperature, and the middle part is the correction value.

表3table 3

以上实例中给出的实际环境温度和移动终端中央处理器温度仅为一种举例,根据应用的需求,可以设定其他温度值,例如设定移动终端中央处理器温度以1度为间隔,这样在设定第一对应关系和第二对应关系时,将需要测量得到更多的第一测量值。The actual ambient temperature and the temperature of the CPU of the mobile terminal given in the above examples are just examples. Other temperature values can be set according to the requirements of the application. For example, the temperature of the CPU of the mobile terminal is set at intervals of 1 degree, so that When setting the first corresponding relationship and the second corresponding relationship, more first measured values need to be measured.

图2是本发明实施例二中测量环境温度的方法流程图,该流程包括:Fig. 2 is a flow chart of a method for measuring ambient temperature in Embodiment 2 of the present invention, the process comprising:

步骤21:获取当前移动终端对环境温度的第一测量值、及移动终端对内部热源的第二测量值;Step 21: Obtain the first measurement value of the current mobile terminal for the ambient temperature and the second measurement value of the mobile terminal for the internal heat source;

步骤22:根据预先设定的第一测量值、第二测量值与环境实际温度值的第一对应关系,确定获取的第一测量值对应的由第二测量值与环境实际温度值组成的一个以上数组;Step 22: According to the preset first corresponding relationship between the first measured value, the second measured value and the actual temperature value of the environment, determine a corresponding one of the second measured value and the actual temperature value of the environment corresponding to the acquired first measured value the above array;

步骤23:在确定出的所有数组中查找包含获取的第二测量值的数组;Step 23: Find an array containing the acquired second measured value in all determined arrays;

步骤24:根据预先设定的第二测量值、环境实际温度值与校正值的第二对应关系,确定查找出的数组对应的校正值。Step 24: According to the preset second corresponding relationship between the second measurement value, the actual ambient temperature value and the correction value, determine the correction value corresponding to the found array.

步骤25:用获取的第一测量值减去确定出的校正值,得到环境温度测量值。Step 25: Subtracting the determined correction value from the acquired first measurement value to obtain the ambient temperature measurement value.

作为可选的实施方式,在上述步骤22中,可以在第一对应关系中,查找与获取的第一测量值相同或相近的第一测量值,然后确定查找出的第一测量值对应的由第二测量值与实际环境温度值组成的一个以上数组。As an optional implementation, in the above step 22, in the first corresponding relationship, the first measured value that is the same as or similar to the acquired first measured value can be found, and then it is determined that the found first measured value corresponds to More than one array composed of the second measured value and the actual ambient temperature value.

作为可选的实施方式,在上述步骤23中,如果未超找出包含获取的第二测量值的数组,查找包含与获取的第二测量值相近的第二测量值的数组;As an optional implementation, in the above step 23, if an array containing the acquired second measured value is not found, search for an array containing a second measured value that is similar to the acquired second measured value;

假设在上述步骤21中,获取的第一测量值为23度,获取的第二测量值为65度。在上述步骤22中,基于如表2所示的第一对应关系,确定获取的第一测量值23对应的数组为(35,20)、(60,15)和(80,10)。在上述步骤23中,基于如表3所示的第二对应关系,确定第二对应关系中包含与获取的第二测量值65最接近的数组为(65,15)。在上述步骤24中,基于步骤23中确定出的数组(65,15),确定对应的校正值为9。在上述步骤25中,用获取的第一测量值23减去确定出的校正值9,得出环境温度测量值为14。Assume that in the above step 21, the acquired first measured value is 23 degrees, and the acquired second measured value is 65 degrees. In the above step 22, based on the first correspondence shown in Table 2, it is determined that the acquired arrays corresponding to the first measured value 23 are (35, 20), (60, 15) and (80, 10). In the above step 23, based on the second correspondence shown in Table 3, it is determined that the array that is closest to the acquired second measurement value 65 included in the second correspondence is (65, 15). In the above step 24, based on the array (65, 15) determined in step 23, it is determined that the corresponding correction value is 9. In the above step 25 , the determined correction value 9 is subtracted from the acquired first measurement value 23 to obtain the ambient temperature measurement value of 14 .

作为可选的实施方式,本实施例二中也可以考虑移动终端内部多种热源的温度,例如同时考虑中央处理器温度和电源模块温度,此时在预先设定第一对应关系和第二对应关系时,移动终端测量各个第一测量值时,所基于的不同第二测量值既包括指示中央处理器温度的第二测量值,还包括指示电源模块温度的第二测量值。例如目前表2中只列出了中央处理器温度,在同时考虑中央处理器温度和电源模块温度的情况下,表2中还需列出电源模块温度,此时表2中的横轴可以设置为中央处理器温度和电源模块温度的组合,例如横轴的第一格中填写(25,25),第二格中填写(30,25)等,横轴中可以列出中央处理器温度和电源模块温度的多种组合,此时在设置第一对应关系时,移动终端需基于中央处理器温度和电源模块温度的不同组合对环境温度进行测量,从而得出第一测量值。As an optional implementation, in the second embodiment, the temperatures of multiple heat sources inside the mobile terminal can also be considered, for example, the temperature of the central processing unit and the temperature of the power module are considered at the same time. At this time, the first correspondence and the second correspondence are preset. In this relationship, when the mobile terminal measures each first measurement value, the different second measurement values based on it include not only the second measurement value indicating the temperature of the central processing unit, but also the second measurement value indicating the temperature of the power module. For example, only the temperature of the CPU is listed in Table 2 at present. When the temperature of the CPU and the temperature of the power module are considered at the same time, the temperature of the power module needs to be listed in Table 2. At this time, the horizontal axis in Table 2 can be set It is the combination of CPU temperature and power module temperature. For example, fill in (25,25) in the first column of the horizontal axis, and (30,25) in the second column, etc., and the CPU temperature and Various combinations of power module temperatures, when setting the first corresponding relationship, the mobile terminal needs to measure the ambient temperature based on different combinations of the CPU temperature and the power module temperature, so as to obtain the first measured value.

综上所述,本实施例二中预先通过大量测量,形成第一测量值、第二测量值与实际环境温度值的第一对应关系、及第二测量值、实际环境温度值与校正值的第二对应关系,在后续的方法流程中,获取当前移动终端对环境温度的第一测量值和移动终端对内部热源的第二测量值后,通过查表即可确定对应的校正值,再利用确定出的校正值对获取的第一测量值进行校正,由此可以减小移动终端内部热源的温度对环境温度测量的影响,提高环境温度测量的准确性。To sum up, in the second embodiment, through a large number of measurements in advance, the first corresponding relationship between the first measured value, the second measured value and the actual ambient temperature value, and the relationship between the second measured value, the actual ambient temperature value and the corrected value are formed. The second corresponding relationship, in the subsequent method flow, after obtaining the first measurement value of the current mobile terminal to the ambient temperature and the second measurement value of the mobile terminal to the internal heat source, the corresponding correction value can be determined by looking up the table, and then used The determined correction value corrects the acquired first measurement value, thereby reducing the influence of the temperature of the heat source inside the mobile terminal on the measurement of the ambient temperature and improving the accuracy of the measurement of the ambient temperature.

实施例三Embodiment Three

图3为本发明实施例三中测量环境温度的装置的结构示意图,该装置包括:获取单元31、确定单元32和校正单元33。FIG. 3 is a schematic structural diagram of a device for measuring ambient temperature in Embodiment 3 of the present invention. The device includes: an acquisition unit 31 , a determination unit 32 and a correction unit 33 .

获取单元31,用于获取移动终端对环境温度的第一测量值、及移动终端对内部热源的第二测量值。The acquisition unit 31 is configured to acquire a first measurement value of the mobile terminal for the ambient temperature and a second measurement value of the mobile terminal for the internal heat source.

确定单元32,用于根据预先设定的第一测量值与校正值的对应关系,确定获取的第一测量值及第二测量值对应的校正值。这里的对应关系中的各个第一测量值,由移动终端处于设定的不同实际环境温度下、并基于设定的不同第二测量值指示的移动终端内部热源温度对环境温度进行测量得出,所述对应关系中的各个校正值,由对应的第一测量值减去移动终端得出该第一测量值时所处的实际环境温度值得出。The determination unit 32 is configured to determine a correction value corresponding to the acquired first measurement value and the second measurement value according to a preset correspondence relationship between the first measurement value and the correction value. Each of the first measured values in the corresponding relationship here is obtained by measuring the ambient temperature when the mobile terminal is at different set actual ambient temperatures and based on the temperature of the internal heat source of the mobile terminal indicated by the set different second measured values, Each correction value in the corresponding relationship is obtained by subtracting the corresponding first measurement value from the actual ambient temperature value where the mobile terminal obtains the first measurement value.

校正单元33,用于用获取的第一测量值减去确定出的校正值,得到环境温度测量值。The correction unit 33 is configured to subtract the determined correction value from the obtained first measurement value to obtain the ambient temperature measurement value.

作为可选的实施方式,确定单元32包括:第一查找模块321、第二查找模块322和确定模块323。As an optional implementation manner, the determination unit 32 includes: a first search module 321 , a second search module 322 and a determination module 323 .

第一查找模块321,在预先设定的第一测量值与校正值的对应关系中,查找与获取的第一测量值相同或相近的第一测量值。The first searching module 321 searches for a first measured value that is the same as or similar to the acquired first measured value in the preset correspondence relationship between the first measured value and the correction value.

第二查找模块322,用于在预先设定的第一测量值与校正值的对应关系中,查找与获取的第二测量值相同或相近的第二测量值。The second searching module 322 is configured to search for a second measured value that is the same as or similar to the acquired second measured value in the preset correspondence relationship between the first measured value and the correction value.

确定模块323,用于确定查找出的第一测量值及第二测量值对应的校正值。The determining module 323 is configured to determine a correction value corresponding to the found first measurement value and the second measurement value.

本实施例三中预先设定的对应关系,与实施例一中所述相同,这里不再赘述。The preset corresponding relationship in the third embodiment is the same as that in the first embodiment, and will not be repeated here.

实施例四Embodiment Four

图4是本发明实施例四中测量环境温度的装置的结构示意图,该装置包括:获取单元41、确定单元42和校正单元43。FIG. 4 is a schematic structural diagram of a device for measuring ambient temperature in Embodiment 4 of the present invention, the device includes: an acquisition unit 41 , a determination unit 42 and a correction unit 43 .

获取单元41,用于获取移动终端对环境温度的第一测量值、及移动终端对内部热源的第二测量值。The obtaining unit 41 is configured to obtain a first measurement value of the mobile terminal for the ambient temperature and a second measurement value of the mobile terminal for the internal heat source.

确定单元42包括:第一确定模块421、查找模块422和第二确定模块423。The determination unit 42 includes: a first determination module 421 , a search module 422 and a second determination module 423 .

第一确定模块421,用于根据预先设定的第一测量值、第二测量值与实际环境温度值的第一对应关系,确定获取的第一测量值对应的由第二测量值与实际环境温度组成的数组。The first determining module 421 is configured to determine the obtained first measured value corresponding to the second measured value and the actual environment according to the preset first corresponding relationship between the first measured value, the second measured value and the actual ambient temperature value. An array of temperatures.

作为可选的实施方式,第一确定模块421包括:查找子模块和确定子模块。其中,查找子模块用于预先设定的第一测量值、第二测量值与实际环境温度值的第一对应关系中,查找与获取的第一测量值相同或相近的第一测量值,确定子模块用于确定查找出的第一测量值对应的由第二测量值与实际环境温度值组成的一个以上数组。As an optional implementation manner, the first determining module 421 includes: a searching submodule and a determining submodule. Wherein, the search submodule is used in the first corresponding relationship between the preset first measured value, the second measured value and the actual ambient temperature value, to search for the first measured value that is the same as or similar to the obtained first measured value, and determine The submodule is used to determine more than one array composed of the second measured value and the actual ambient temperature value corresponding to the found first measured value.

查找模块422,用于在确定出的所有数组中查找包含获取的第二测量值的数组。A search module 422, configured to search for an array containing the acquired second measurement value among all determined arrays.

作为可选的实施方式,查找模块422未查找出包含获取的第二测量值的数组时,查找包含与获取的第二测量值最接近的第二测量值的数组。As an optional implementation manner, when the search module 422 does not find an array containing the acquired second measured value, it searches for an array containing the second measured value closest to the acquired second measured value.

第二确定模块423,用于根据预先设定的第二测量值、实际环境温度值与校正值的第二对应关系,确定查找出的数组对应的校正值。The second determining module 423 is configured to determine the corrected value corresponding to the searched array according to the preset second corresponding relationship between the second measured value, the actual ambient temperature value and the corrected value.

校正单元43,用于用获取的第一测量值减去确定出的校正值,得到环境温度测量值。The correction unit 43 is configured to subtract the determined correction value from the acquired first measurement value to obtain the ambient temperature measurement value.

本实施例四中的第一对应关系及第二对应关系,与实施例二中所述的相同,这里不再赘述。The first corresponding relationship and the second corresponding relationship in Embodiment 4 are the same as those described in Embodiment 2, and will not be repeated here.

需要说明的是:上述实施例提供的测量环境温度的装置,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that the device for measuring the ambient temperature provided by the above-mentioned embodiment is only illustrated by the division of the above-mentioned functional modules. The internal structure is divided into different functional modules to complete all or part of the functions described above.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.

以上所述仅为本发明实施例的较佳举例,并不用以限制本发明实施例,凡在本发明实施例的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明实施例的保护范围之内。The above descriptions are only preferred examples of the embodiments of the present invention, and are not intended to limit the embodiments of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the embodiments of the present invention shall include Within the protection scope of the embodiments of the present invention.

Claims (8)

1. a method for measures ambient temperature, is characterized in that, described method comprises:
Obtain current mobile terminal to the first measured value of environment temperature and described mobile terminal to the second measured value of internal heat resource;
The first measured value that first measured value of Search and acquirement is identical or close in corresponding relation;
The second measured value that second measured value of Search and acquirement is identical or close in described corresponding relation;
Determine described first measured value that finds out and corrected value corresponding to described second measured value found out;
Deduct the described corrected value determined with the first measured value of described acquisition, obtain ambient temperature measurement value;
Wherein, each first measured value in described corresponding relation, carry out measurement to environment temperature be in the different actual environment temperature of setting by described mobile terminal under and based on the mobile terminal internal heat resource temperature of the difference second measured value instruction of setting to draw, each corrected value in described corresponding relation, deducts residing actual environment temperature value when described mobile terminal draws this first measured value by the first measured value of correspondence and draws.
2. a method for measures ambient temperature, is characterized in that, described method comprises:
Obtain current mobile terminal to the first measured value of environment temperature and described mobile terminal to the second measured value of internal heat resource;
According to the first corresponding relation of the first measured value preset, the second measured value and actual environment temperature value, determine more than one array be made up of the second measured value and actual environment temperature value that the first measured value of acquisition is corresponding;
The array of the second measured value comprising acquisition is searched in all arrays determined;
According to the second corresponding relation of the second measured value preset, actual environment temperature value and corrected value, determine the corrected value that the array that finds out is corresponding;
Deduct the described corrected value determined with the first measured value of described acquisition, obtain ambient temperature measurement value;
Wherein, each first measured value in described first corresponding relation, carry out measurement to environment temperature be in the different actual environment temperature of setting by described mobile terminal under and based on the mobile terminal internal heat resource temperature of the difference second measured value instruction of setting to draw, each corrected value in described second corresponding relation, deducts residing actual environment temperature value when described mobile terminal draws this first measured value by the first measured value of correspondence and draws.
3. method as claimed in claim 2, it is characterized in that, first corresponding relation of the first measured value that described basis presets, the second measured value and actual environment temperature value, determine to comprise more than one array be made up of the second measured value and actual environment temperature value that the first measured value of acquisition is corresponding:
In described first corresponding relation, search first measured value identical or close with the first measured value of described acquisition;
Determine more than one array be made up of described second measured value and actual environment temperature value that described first measured value that finds out is corresponding.
4. method as claimed in claim 2, is characterized in that, if do not find out the array of the second measured value comprising described acquisition, search the array comprising second measured value close with the second measured value of described acquisition.
5. a device for measures ambient temperature, is characterized in that, described device comprises:
Acquiring unit, for obtaining mobile terminal to the first measured value of environment temperature and mobile terminal to the second measured value of internal heat resource;
Determining unit, for according to the first measured value of presetting corresponding relation with corrected value, determines the first measured value of acquisition and corrected value corresponding to the second measured value;
Correcting unit, for deducting the described corrected value determined with the first measured value of described acquisition, obtains ambient temperature measurement value;
Wherein, each first measured value in described corresponding relation, carry out measurement to environment temperature be in the different actual environment temperature of setting by described mobile terminal under and based on the mobile terminal internal heat resource temperature of the difference second measured value instruction of setting to draw, each corrected value in described corresponding relation, deducts residing actual environment temperature value when described mobile terminal draws this first measured value by the first measured value of correspondence and draws;
Described determining unit comprises:
First searches module, in the corresponding relation of the first measured value preset and corrected value, searches first measured value identical or close with the first measured value of described acquisition;
Second searches module, in the corresponding relation of the first measured value preset and corrected value, searches second measured value identical or close with the second measured value of described acquisition;
Determination module, for determining described first measured value that finds out and corrected value corresponding to described second measured value found out.
6. a device for measures ambient temperature, is characterized in that, described device comprises:
Acquiring unit, for obtaining mobile terminal to the first measured value of environment temperature and described mobile terminal to the second measured value of internal heat resource;
Determining unit, for the corresponding relation according to the first measured value of presetting and corrected value, determines the first measured value of described acquisition and corrected value corresponding to described second measured value;
Correcting unit, for deducting the described corrected value determined with the first measured value of described acquisition, obtains ambient temperature measurement value;
Wherein, each first measured value in described corresponding relation, carry out measurement to environment temperature be in the different actual environment temperature of setting by described mobile terminal under and based on the mobile terminal internal heat resource temperature of the difference second measured value instruction of setting to draw, each corrected value in described corresponding relation, deducts residing actual environment temperature value when described mobile terminal draws this first measured value by the first measured value of correspondence and draws;
Described determining unit comprises:
First determination module, for the first corresponding relation according to the first measured value, the second measured value and the actual environment temperature value that preset, determines the array be made up of described second measured value and actual environment temperature that the first measured value of described acquisition is corresponding;
Search module, for searching the array of the second measured value comprising described acquisition in all arrays determined;
Second determination module, for according to the second corresponding relation of the second measured value, actual environment temperature value and corrected value preset, determines the corrected value that the array that finds out is corresponding.
7. device as claimed in claim 6, it is characterized in that, described first determination module comprises:
Search submodule, in the first corresponding relation of the first measured value preset, the second measured value and actual environment temperature value, search first measured value identical or close with the first measured value of described acquisition;
Determine submodule, more than one array be made up of described second measured value and actual environment temperature value that the first measured value for finding out described in determining is corresponding.
8. device as claimed in claim 6, is characterized in that, described in search module when not finding out the array of the second measured value comprising described acquisition, search the array comprised with immediate second measured value of the second measured value of described acquisition.
CN201310090211.4A 2013-03-20 2013-03-20 The method of measures ambient temperature and device Expired - Fee Related CN103196574B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310090211.4A CN103196574B (en) 2013-03-20 2013-03-20 The method of measures ambient temperature and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310090211.4A CN103196574B (en) 2013-03-20 2013-03-20 The method of measures ambient temperature and device

Publications (2)

Publication Number Publication Date
CN103196574A CN103196574A (en) 2013-07-10
CN103196574B true CN103196574B (en) 2015-10-14

Family

ID=48719271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310090211.4A Expired - Fee Related CN103196574B (en) 2013-03-20 2013-03-20 The method of measures ambient temperature and device

Country Status (1)

Country Link
CN (1) CN103196574B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102013217230A1 (en) * 2013-08-29 2015-03-05 Robert Bosch Gmbh Method for calibrating a measuring device in a mobile terminal
CN103884439B (en) * 2014-04-16 2017-08-04 中磊电子(苏州)有限公司 The method of the detection environment temperature of electronic installation and the application device
CN104067118B (en) * 2014-06-27 2016-09-28 深圳华盛昌机械实业有限公司 A kind of temperature sensor numerical compensation method, device and air quality detector
EP2993451B1 (en) * 2014-09-05 2017-10-11 Nxp B.V. Method of predicting an ambient temperature around a mobile device, computer program product and mobile device
US9909930B2 (en) * 2015-02-24 2018-03-06 Nxp B.V. Multi-sensor assembly with tempature sensors having different thermal profiles
CN104990643A (en) * 2015-06-29 2015-10-21 山东超越数控电子有限公司 Terminal ambient temperature testing method based on double temperature sensors
CN105890800B (en) * 2016-03-30 2019-06-25 联想(北京)有限公司 A kind of electronic equipment, the detection method of environment temperature and detection system
CN107038834A (en) * 2017-03-31 2017-08-11 西藏喜年通讯科技有限公司 A kind of mobile device
CN108426646A (en) * 2018-03-16 2018-08-21 深圳市卡卓无线信息技术有限公司 Device temperature measurement method and device
CN108731846A (en) * 2018-05-21 2018-11-02 出门问问信息科技有限公司 A kind of environment temperature determines method and device, storage medium, electronic equipment
CN108900740B (en) * 2018-06-20 2021-06-15 浙江大华技术股份有限公司 Camera device for measuring environment temperature and humidity
CN109412500A (en) * 2018-11-15 2019-03-01 厦门嘉裕德汽车电子科技有限公司 A kind of method for building up of EPS motor method for excessive heating protection and Correlation model
CN109990440B (en) * 2019-04-16 2020-08-14 珠海格力电器股份有限公司 Controller temperature compensation method and device and controller
CN110173754A (en) * 2019-05-28 2019-08-27 北京海林节能科技股份有限公司 A kind of temprature control method and device
CN110186518A (en) * 2019-07-09 2019-08-30 杭州麦乐克科技股份有限公司 A kind of temperature and humidity calibrating installation system of intelligent environment detection panel sensing equipment
CN110823381B (en) * 2019-11-05 2021-02-26 浙江大华技术股份有限公司 Method and device for determining correction temperature, storage medium and electronic device
TWI803781B (en) * 2020-01-09 2023-06-01 瑞軒科技股份有限公司 Method for temperature measuring, portable electronic device and video conference
CN111966142A (en) * 2020-08-14 2020-11-20 深圳市欧瑞博科技股份有限公司 Intelligent temperature detection method and device and intelligent control device
CN112834067A (en) * 2020-12-31 2021-05-25 南方科技大学 Method, device, mobile terminal and medium for obtaining ambient temperature by mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE20302077U1 (en) * 2003-02-11 2003-07-24 Merlaku, Kastriot, 80807 München Mobile phone has a temperature measurement unit for monitoring of the phone's internal temperature or an external temperature with means for setting a temperature limit for triggering an alarm and outputting a temperature value
CN201207679Y (en) * 2008-05-19 2009-03-11 唐耀国 Mobile communication terminal
CN101917515A (en) * 2010-08-12 2010-12-15 惠州Tcl移动通信有限公司 Mobile terminal, temperature reminding method thereof and temperature reminding device thereof
CN102149178A (en) * 2010-02-08 2011-08-10 联芯科技有限公司 Method and device for compensating temperature of mobile terminal power
CN102361488A (en) * 2011-09-28 2012-02-22 惠州Tcl移动通信有限公司 Mobile phone and temperature detection method based on mobile phone
CN102884841A (en) * 2010-05-05 2013-01-16 摩托罗拉移动有限责任公司 Mobile device with temperature sensing capability and method of operating same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7027834B2 (en) * 2001-10-02 2006-04-11 Nokia Corporation Mobile telephone featuring accelerated ambient temperature measurement module

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE20302077U1 (en) * 2003-02-11 2003-07-24 Merlaku, Kastriot, 80807 München Mobile phone has a temperature measurement unit for monitoring of the phone's internal temperature or an external temperature with means for setting a temperature limit for triggering an alarm and outputting a temperature value
CN201207679Y (en) * 2008-05-19 2009-03-11 唐耀国 Mobile communication terminal
CN102149178A (en) * 2010-02-08 2011-08-10 联芯科技有限公司 Method and device for compensating temperature of mobile terminal power
CN102884841A (en) * 2010-05-05 2013-01-16 摩托罗拉移动有限责任公司 Mobile device with temperature sensing capability and method of operating same
CN101917515A (en) * 2010-08-12 2010-12-15 惠州Tcl移动通信有限公司 Mobile terminal, temperature reminding method thereof and temperature reminding device thereof
CN102361488A (en) * 2011-09-28 2012-02-22 惠州Tcl移动通信有限公司 Mobile phone and temperature detection method based on mobile phone

Also Published As

Publication number Publication date
CN103196574A (en) 2013-07-10

Similar Documents

Publication Publication Date Title
CN103196574B (en) The method of measures ambient temperature and device
CN102901473B (en) Measure coordinates correction system and method
CN108507699B (en) Method for estimating surface temperature of portable device and portable device
US9228524B2 (en) Static and dynamic pressure compensation for intake oxygen sensing
CN105258847A (en) Method and device for calibrating pressure sensor
JP2015514205A5 (en)
US10261112B2 (en) Non-contact type voltage sensor for dual-wire power cable and method for compensating installation position variation thereof
CN105376539B (en) The antidote and system of camera lens module aberration, camera lens module, photographing device
CN105630158B (en) Sensing data processing method, device and terminal device
TW201637635A (en) Smart system and method for skin care
CN104166985B (en) A kind of star sensor scaling method based on region segmentation
CN109903345B (en) Depth module calibration method, calibration device and computer-readable storage medium
TWI555994B (en) Dynamically calibrating magnetic sensors
CN103983938B (en) The bearing calibration of electric energy meter small-signal biasing
CN112468097B (en) A temperature compensation method, radio frequency device and storage medium
CN104050661B (en) The method of real-time adjustment of Surface scan three-dimension measuring system precision
CN107991003B (en) Test method, device, equipment and storage medium for temperature sensor time constant
Du et al. Accurate Quotient-Difference algorithm: error analysis, improvements and applications
WO2018223359A1 (en) Heart rate measurement method and device
CN102680012B (en) System and method for automatic output of measuring information
CN109408970B (en) An analog-to-digital conversion method and device, and an analog-to-digital converter
RU2018110302A (en) SYSTEM AND METHOD FOR MEASURING USING A POCKET ELECTRONIC DEVICE
CN103674056B (en) A kind of reduce fiber optic gyro and start zero inclined optical fiber ring winding method
CN115183901A (en) Method and device for detecting ambient temperature, electronic equipment and storage medium
CN108332784A (en) A kind of range measurement verification method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant after: Xiaomi Technology Co.,Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: BEIJING XIAOMI TECHNOLOGY Co.,Ltd.

C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co.,Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Xiaomi Technology Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151014