摘要 |
Provided are a method and device for detecting an environmental temperature and an electronic apparatus. The method comprises: acquiring each operation condition of an electronic apparatus, thermal resistivities from a temperature test point to a heat-generating component and an environment under each operation condition, a temperature value (TT2......Tn) of the temperature test point, and an environmental temperature (Ta) (101); generating a mapping logic according to the operation condition, the thermal resistivities, the temperature value (TT2......Tn) of the temperature test point and the environmental temperature (Ta) (102); and using the mapping logic to calculate a current environmental temperature (Ta) of the electronic apparatus, wherein the environmental temperature (Ta) serves as a basis for controlling the electronic apparatus (103). The method can prevent deviation of a detection signal associated with an environmental temperature (Ta) due to thermal radiation of a heat-generating component in an electronic apparatus, avoid a series of problems resulting from such deviation, and increase detection accuracy of the environmental temperature (Ta) of the electronic apparatus. |