Temperature measurement method and device, storage medium and electronic device

By determining the initial temperature, ambient temperature, and lens temperature in the target device, and correcting the initial temperature using a compensation coefficient and a correction temperature, the problem of inaccurate temperature measurement under extreme environments is solved, and high-precision temperature measurement is achieved.

CN122448374APending Publication Date: 2026-07-24ZHEJIANG PIXFRA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610914860.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-23
Publication Date
2026-07-24

Smart Images

  • Figure CN122448374A_ABST
    Figure CN122448374A_ABST
Patent Text Reader

Abstract

The application discloses a temperature measurement method and device, a storage medium and an electronic device, and relates to the technical field of temperature measurement. The method comprises the following steps: determining an initial temperature obtained by a target device when measuring the temperature of a target to be measured, a target environment temperature of an environment in which the target device is located, and a lens temperature of a lens included in the target device; determining a corrected temperature based on the target environment temperature and the lens temperature; and in the case that the target environment temperature and the corrected temperature do not satisfy a preset condition, correcting the initial temperature based on the target environment temperature, a preset environment temperature, the corrected temperature and the radiation rate of the target to be measured, so as to obtain a target temperature of the target to be measured. Through the application, the problem of inaccurate temperature measurement is solved, and the effect of accurate temperature measurement is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and more specifically, to a method, apparatus, storage medium, and electronic device for measuring temperature. Background Technology

[0002] In related technologies, in order to adapt to different ambient temperatures, it is usually necessary to collect a large amount of emissivity-temperature data at different ambient temperatures and fit a specific curve or model. However, when deployed in extreme temperature areas such as high-temperature workshops or extremely cold fields, it is often not possible to build a high-precision blackbody calibration field, which makes it impossible to obtain enough training data in these environments, and thus impossible to accurately measure the temperature.

[0003] This indicates that there is a technical problem with inaccurate temperature measurement in the relevant technologies.

[0004] There is currently no effective solution to the aforementioned problems in the relevant technologies. Summary of the Invention

[0005] This application provides a temperature measurement method, apparatus, storage medium, and electronic device to at least solve the technical problem of inaccurate temperature measurement in related technologies.

[0006] According to one aspect of the embodiments of this application, a temperature measurement method is provided, comprising: determining an initial temperature obtained by a target device measuring the temperature of a target to be measured, a target ambient temperature of the environment in which the target device is located, and a lens temperature of a lens included in the target device; determining a correction temperature based on the target ambient temperature and the lens temperature; and, if the target ambient temperature and the correction temperature do not meet preset conditions, correcting the initial temperature based on the target ambient temperature, the preset ambient temperature, the correction temperature, and the emissivity of the target to be measured, to obtain the target temperature of the target to be measured.

[0007] In one exemplary embodiment, the initial temperature is corrected based on the target ambient temperature, a preset ambient temperature, the corrected temperature, and the emissivity of the target to obtain the target temperature, including: determining a compensation coefficient based on the emissivity, the target ambient temperature, and the preset ambient temperature; and correcting the initial temperature based on the compensation coefficient and the corrected temperature to obtain the target temperature.

[0008] In an exemplary embodiment, correcting the initial temperature based on the compensation coefficient and the correction temperature to obtain the target temperature includes: determining a first difference between the initial temperature and the compensation coefficient when the initial temperature is greater than a first sum, wherein the first sum is the sum of the target ambient temperature and the correction temperature; determining a first product of a first preset parameter and the emissivity; determining a second sum of the first product and a second preset parameter; determining a first exponent value with a natural constant as the base and the second sum as the exponent; determining a second product of the first difference and the first exponent value; and determining a third sum of the second product and a third preset parameter as the target temperature.

[0009] In an exemplary embodiment, correcting the initial temperature based on the compensation coefficient and the correction temperature to obtain the target temperature includes: when the initial temperature is less than a first sum value, wherein the first sum value is the sum of the target ambient temperature and the correction temperature, determining a first difference between the initial temperature and the compensation coefficient; determining a fourth sum value of the first difference and a fourth preset parameter; determining a second exponent value with the emissivity as the base and a first value as the exponent; determining a third product of the second exponent value and the fourth sum value; and determining a fifth sum value of the third product and a fifth preset parameter as the target temperature.

[0010] In an exemplary embodiment, determining a compensation coefficient based on the emissivity, the target ambient temperature, and the preset ambient temperature includes: determining a second difference between the target ambient temperature and the preset ambient temperature; determining a third difference between the second value and the emissivity; and determining a fourth product of the third difference, a first preset correction coefficient, and the second difference as the compensation coefficient.

[0011] In an exemplary embodiment, after determining a corrected temperature based on the target ambient temperature and the lens temperature, the method further includes: determining a first sum of the target ambient temperature and the corrected temperature; if the initial temperature is equal to the first sum, determining that the target ambient temperature and the corrected temperature satisfy the preset condition; if the initial temperature is not equal to the first sum, determining that the target ambient temperature and the corrected temperature do not satisfy the preset condition.

[0012] In one exemplary embodiment, the method further includes: determining the initial temperature as the target temperature when the target ambient temperature and the corrected temperature satisfy the preset condition.

[0013] In one exemplary embodiment, determining a corrected temperature based on the target ambient temperature and the lens temperature includes: determining a fourth difference between the lens temperature and the target ambient temperature; and determining the corrected temperature as a fifth product of the fourth difference and a second preset correction coefficient.

[0014] According to another aspect of the embodiments of this application, a temperature measuring device is also provided, comprising: a first determining module, configured to determine an initial temperature obtained by a target device measuring the temperature of a target under test, a target ambient temperature of the environment in which the target device is located, and a lens temperature of a lens included in the target device; a second determining module, configured to determine a corrected temperature based on the target ambient temperature and the lens temperature; and a correcting module, configured to correct the initial temperature based on the target ambient temperature, the preset ambient temperature, the corrected temperature, and the emissivity of the target under test when the target ambient temperature and the corrected temperature do not meet preset conditions, thereby obtaining the target temperature of the target under test.

[0015] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed by a processor.

[0016] According to another aspect of the embodiments of this application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the steps in any of the method embodiments described above.

[0017] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to perform the steps of any of the above method embodiments through the computer program.

[0018] This application allows for the determination of the uncorrected initial temperature obtained from the measurement of the target temperature by the target device, the target ambient temperature of the environment in which the target device is located, and the lens temperature of the lens included in the target device. A corrected temperature can then be determined based on the target ambient temperature and the lens temperature. If the target ambient temperature and the corrected temperature do not meet preset conditions, the initial temperature can be corrected using the target ambient temperature, the preset ambient temperature, the corrected temperature, and the emissivity of the target to obtain the corrected target temperature. Since the corrected temperature can be determined by comparing the current target ambient temperature and the lens temperature, even in the absence of extreme environmental calibration conditions, as long as the target ambient temperature is known, a simple linear calculation can be used to correct the emissivity using the difference between the target ambient temperature and the preset ambient temperature, as well as the corrected temperature. This solves the problem in existing technologies where the relationship between the initial temperature of the target and the actual target ambient temperature and emissivity cannot be obtained in extreme environments, leading to large temperature measurement errors. Therefore, it solves the problem of inaccurate temperature measurement and achieves accurate temperature measurement. Attached Figure Description

[0019] Figure 1 This is a schematic diagram illustrating an application scenario of a temperature measurement method according to an embodiment of this application;

[0020] Figure 2 This is a schematic flowchart of an optional temperature measurement method according to an embodiment of this application;

[0021] Figure 3 This is a flowchart illustrating the temperature measurement method in this optional example;

[0022] Figure 4 This is a comparison diagram of temperature correction before and after according to an embodiment of this application;

[0023] Figure 5 This is a structural block diagram of an optional temperature measuring device according to an embodiment of this application;

[0024] Figure 6 This is a computer system architecture block diagram of an optional electronic device according to an embodiment of this application. Detailed Implementation

[0025] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0027] According to one aspect of the embodiments of this application, a method for measuring temperature is provided. Optionally, in this embodiment, the above-described temperature measurement method may be applied, but is not limited to, to applications such as... Figure 1 The hardware environment shown includes terminal device 102 and server 104. Server 104 can be connected to terminal device 102 via a network and can be used to provide services (e.g., application services, etc.) to terminal device 102 or clients installed on terminal device 102. A database can be set up on server 104 or independently of server 104 to provide data storage services for server 104.

[0028] The aforementioned network may include, but is not limited to, at least one of the following: wired network and wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: wide area network (WAN), metropolitan area network (MAN), and local area network (LAN). The aforementioned wireless network may include, but is not limited to, at least one of the following: Wireless Fidelity (WIFI) and Bluetooth. Terminal device 102 may be, but is not limited to, a personal computer (PC), mobile phone, tablet computer, etc. Server 104 may be, but is not limited to, a cloud server, server cluster, or other server types.

[0029] The temperature measurement method of this application embodiment can be executed by server 104, terminal device 102, or jointly by server 104 and terminal device 102. Alternatively, the temperature measurement method of this application embodiment can be executed by a client installed on terminal device 102.

[0030] Figure 2 This is a schematic flowchart of an optional temperature measurement method according to an embodiment of this application, such as... Figure 2 As shown, the process of this method may include the following steps:

[0031] Step S202: Determine the initial temperature obtained by the target device from measuring the temperature of the target to be measured, the target ambient temperature of the environment in which the target device is located, and the lens temperature of the lens included in the target device;

[0032] The temperature measurement method in this embodiment can be applied to the field of infrared imaging temperature measurement technology. Specifically, it can be applied to scenarios where the emissivity of the target to be measured is corrected to improve measurement accuracy under different environmental conditions in infrared thermal imaging temperature measurement. In related technologies, as the application scenarios of infrared thermal imaging temperature measurement technology become increasingly widespread, the objects measured by thermal imaging temperature measurement equipment are becoming increasingly diverse. However, in practical applications, due to the influence of factors such as ambient temperature and infrared radiation caused by the rise in infrared lens temperature, even if the emissivity of the target to be measured is accurately set, the measurement results will still have a large measurement error. Therefore, in actual temperature measurement, it is necessary to combine the ambient temperature, the temperature of the infrared lens, and the emissivity of the target material to correct the target temperature.

[0033] In at least one embodiment, the target device can be an infrared thermal imaging detection device, including but not limited to an infrared thermal imager, a handheld temperature gun, etc. The target device can receive the infrared radiation energy emitted and reflected by the target under test, which can be converted into an analog voltage signal after confocalization by an optical system. This analog voltage signal can be quantized into a digital grayscale value by a 14-bit analog-to-digital converter. To eliminate the response differences between pixels of the target device and fixed-mode noise, non-uniformity correction and bad pixel repair algorithms can be performed on the original grayscale matrix. After the correction is completed, the average grayscale value or weighted center grayscale value of the region of interest where the target under test is located can be extracted according to the measurement mode set by the user, as the final output grayscale G. After determining the output grayscale of the target under test, other temperature measurement parameters of the target under test besides the output grayscale can be determined, including but not limited to the response rate parameter Kb and the reference temperature compensation value Tb corresponding to the current environment of the target device's internal threshold. The response rate parameter and the reference temperature compensation value can be dynamically updated with environmental drift. In practical applications, the target device's built-in ambient temperature and humidity sensor can collect the current ambient temperature in real time. Based on this, the main control chip can perform linear interpolation or piecewise lookup in a pre-stored multidimensional parameter lookup table to obtain the matching response rate parameter and the reference temperature compensation value. It also supports manual calibration via a human-machine interface before writing the data to the configuration area. The initial temperature can be converted using the output grayscale using the following formula: Where T is the initial temperature of the target object after conversion, G is the output grayscale of the target object measured by the target device, Kb is the response rate parameter of the target device corresponding to the current environment, and Tb is the reference temperature compensation value. , , , This is the preset grayscale to temperature coefficient.

[0034] In at least one embodiment, during the operation of the target device, the main control chip can synchronously read the real-time temperature of the lens (i.e., lens temperature) and the current target ambient temperature through the internal bus. The lens temperature can be acquired in real time by a high-precision temperature sensor (such as an NTC thermistor or a silicon-based digital temperature sensor) integrated inside the infrared optical module frame or close to the rear surface of the lens. The target ambient temperature can be acquired by a temperature sensor installed in the target device housing, PCB board edge, or independent environmental compartment. For portable devices, it can also be estimated by user input or by a self-heating model based on the initial calibration temperature at device startup combined with the running time.

[0035] Step S204: Determine the correction temperature based on the target ambient temperature and the lens temperature;

[0036] In at least one embodiment, the basic formula commonly used in the calculation of gray-body temperature correction for thermal imagers in infrared thermometry can be determined as follows: ,in, The temperature of the target object as measured by the thermal imager. The surface temperature of the target object is . For ambient temperature, Atmospheric temperature, The emissivity of the target to be measured. ν represents the spectral transmittance of the atmosphere. This can be understood as the calibration function of an infrared thermal imager, which can be obtained through calibration. The relationship with blackbody temperature. For close-range measurements... Since it can be 1, the basic formula commonly used for calculating the gray body temperature correction of thermal imagers in the above infrared temperature measurement principle can be simplified to the following formula: That is, when the ambient temperature Temperature of the target to be measured When consistent, the temperature detected by the infrared thermal imager Emissivity of the target It is unrelated to the ambient temperature. Regarding the measured temperature With ambient temperature Consistent, when the temperature of the target to be measured greater than ambient temperature At that time, the measured temperature With emissivity Positively correlated, when the temperature of the target object is... Less than ambient temperature At that time, temperature With emissivity It is negatively correlated.

[0037] However, in practical applications, the infrared radiation from infrared lenses due to temperature increases can cause a deviation from the above-mentioned laws. Since infrared detectors are usually located behind optical lenses, the lens glass or germanium lens will experience temperature changes during operation due to ambient temperature differences, internal circuit heat conduction, or solar radiation. According to Kirchhoff's laws, objects with temperatures above absolute zero emit infrared radiation. The radiation energy emitted by the lens itself will be directly superimposed on the radiation signal of the target being measured, causing a systematic drift in the original temperature measured by the thermal imager. Therefore, in practical applications, a correction temperature can be determined based on the infrared lens temperature and the target ambient temperature, and then the temperature can be corrected using the correction temperature.

[0038] Step S206: If the target ambient temperature and the corrected temperature do not meet the preset conditions, the initial temperature is corrected based on the target ambient temperature, the preset ambient temperature, the corrected temperature, and the emissivity of the target to be measured, so as to obtain the target temperature of the target to be measured.

[0039] In at least one embodiment, the basic formula commonly used in the calculation of thermal imager gray body temperature correction in infrared thermometry principles is applied: It can be seen that when the ambient temperature Temperature of the target to be measured When consistent, the temperature detected by the infrared thermal imager Emissivity of the target It is unrelated to the ambient temperature. Regarding the measured temperature With ambient temperature Consistency means that in this case, it can be concluded that no correction is needed for the initial temperature, and thus it can be determined that the target ambient temperature and the correction temperature meet the preset conditions; when the measured temperature greater than ambient temperature At that time, temperature With emissivity Positively correlated, when the measured temperature Less than ambient temperature At that time, temperature With emissivity A negative correlation indicates that the initial temperature needs to be corrected to obtain the accurate target temperature, thus confirming that the target ambient temperature and the corrected temperature do not meet the preset conditions.

[0040] In at least one embodiment, a basic relationship model for emissivity correction can be obtained first by fitting experimental data at a preset ambient temperature. Then, based on the principle of physical radiative transfer, the generalized form of this relationship at different ambient temperatures can be derived. The preset ambient temperature can be a standard ambient temperature, such as 25 degrees Celsius.

[0041] In at least one embodiment, the ambient temperature can be kept constant at a preset ambient temperature in a constant temperature laboratory. Below, select a group with different emissivity ε A standard blackbody plate or a target plate with known emissivity is placed in front of a blackbody furnace, and the furnace temperature is adjusted to cover the measurement range of the target. For each set of emissivity and blackbody furnace temperature, the initial temperature Torg of the target measured by the target equipment, the lens temperature of the target equipment lens, and the correction temperature determined based on the preset ambient temperature and lens temperature can be recorded. Then, based on the initial temperature, preset ambient temperature, and lens temperature, a correction model under the preset ambient temperature is constructed. After that, the correction model under the preset ambient temperature can be adjusted by deriving the relationship, for example by using the compensation coefficient. In this way, a model that can correct the initial temperature of the target under different ambient temperatures can be obtained.

[0042] This application allows for the determination of the uncorrected initial temperature obtained from the measurement of the target temperature by the target device, the target ambient temperature of the environment in which the target device is located, and the lens temperature of the lens included in the target device. A corrected temperature can then be determined based on the target ambient temperature and the lens temperature. If the target ambient temperature and the corrected temperature do not meet preset conditions, the initial temperature can be corrected using the target ambient temperature, the preset ambient temperature, the corrected temperature, and the emissivity of the target to obtain the corrected target temperature. Since the corrected temperature can be determined by comparing the current target ambient temperature and the lens temperature, even in the absence of extreme environmental calibration conditions, as long as the target ambient temperature is known, a simple linear calculation can be used to correct the emissivity using the difference between the target ambient temperature and the preset ambient temperature, as well as the corrected temperature. This solves the problem in existing technologies where the relationship between the initial temperature of the target and the actual target ambient temperature and emissivity cannot be obtained in extreme environments, leading to large temperature measurement errors. Therefore, it solves the problem of inaccurate temperature measurement and achieves accurate temperature measurement.

[0043] Optionally, the entity performing the above steps may be a server, terminal, or other device with similar processing capabilities included in the target device, but is not limited to these.

[0044] In one exemplary embodiment, the initial temperature is corrected based on the target ambient temperature, a preset ambient temperature, the corrected temperature, and the emissivity of the target to obtain the target temperature, including: determining a compensation coefficient based on the emissivity, the target ambient temperature, and the preset ambient temperature; and correcting the initial temperature based on the compensation coefficient and the corrected temperature to obtain the target temperature.

[0045] In at least one embodiment, according to the principle of infrared radiation transmission, when the ambient temperature changes from the standard temperature (i.e. the preset ambient temperature) to the target ambient temperature, the background radiation energy will change. Therefore, the model determined in the preset ambient temperature can be derived by using the compensation coefficient determined by the emissivity, the target ambient temperature, the preset ambient temperature, and the correction temperature to derive a model suitable for correcting the initial temperature for different ambient temperatures.

[0046] By introducing a compensation coefficient dynamically determined based on emissivity, the difference between the target ambient temperature and the preset ambient temperature, and combining it with a dynamic correction temperature jointly determined by the ambient and lens temperatures to jointly correct the initial temperature, the inaccuracy problem caused by background radiation changes and lens thermal radiation drift in existing technologies across ambient temperatures can be overcome. This embodiment eliminates the need for complex nonlinear fitting or massive data calibration in each extreme environment. Only a basic model needs to be established in a standard environment, and the linear compensation mechanism can be used to accurately extrapolate to any ambient temperature. This significantly reduces the calibration cost of the entire life cycle of the device and avoids the high computing power consumption caused by iterative calculations. Thus, while achieving low power consumption and real-time processing, it ensures high-precision temperature measurement consistency from standard environment to extreme wide temperature range.

[0047] In an exemplary embodiment, correcting the initial temperature based on the compensation coefficient and the correction temperature to obtain the target temperature includes: determining a first difference between the initial temperature and the compensation coefficient when the initial temperature is greater than a first sum, wherein the first sum is the sum of the target ambient temperature and the correction temperature; determining a first product of a first preset parameter and the emissivity; determining a second sum of the first product and a second preset parameter; determining a first exponent value with a natural constant as the base and the second sum as the exponent; determining a second product of the first difference and the first exponent value; and determining a third sum of the second product and a third preset parameter as the target temperature.

[0048] In at least one embodiment, it can first be performed in a standard environment. Determine the initial temperature Torg of the target device and the emissivity of the target device under the preset ambient temperature. and the correction parameters for lens temperature to initial temperature under standard conditions. Therefore, by obtaining experimental data at a preset ambient temperature, the emissivity correction formula under standard conditions can be constructed as follows: Wherein, m1, m2, m3, m4, and m5 are preset emissivity correction parameters. m1 (first preset parameter) can take values ​​between (-5, -1), m2 (second preset parameter) can take values ​​between (-3, 3), m3 (third preset parameter) can take values ​​between (20, 500), m4 (fourth preset parameter) can take values ​​between (-200, 0), and m5 (fifth preset parameter) can take values ​​between (10, 200).

[0049] In the above embodiments, the standard ambient temperature can be... The emissivity correction formula at the given temperature can be derived to other ambient temperatures, resulting in emissivity correction formulas for different ambient temperatures, as shown below:

[0050] ,in, This refers to the target temperature after emissivity correction by the thermal imager based on the emissivity of the target being measured. The ambient temperature of the current target device (i.e., the target ambient temperature) can be obtained through an ambient temperature sensor or by obtaining the ambient temperature input by the user through the user interface. The preset standard ambient temperature, the above relationship is the preset prior parameter determined by obtaining experimental data in the standard ambient temperature, and the above correction formula is used to derive the emissivity correction law in the standard ambient temperature to different ambient temperatures, so that the emissivity correction of the target under test can be performed according to the real-time ambient temperature. The correction parameter (i.e., correction temperature) is the lens temperature at the target ambient temperature relative to the original temperature. The preset ambient temperature correction factor can be set to (0.5, 1.5) and can be used to correct the impact of the difference between the current ambient temperature and the standard ambient temperature on the original temperature.

[0051] In at least one embodiment, the failure of the target ambient temperature and the corrected temperature to meet the preset conditions can include two types (initial temperature greater than the first sum value, initial temperature less than the first sum value), when the initial temperature... Greater than the first sum In this case, the initial temperature can be corrected using the following formula: ,in, This is the compensation coefficient. This is the first difference mentioned above. That is, the first product of the first preset parameter and the emissivity. That is, the second sum of the first product and the second preset parameter mentioned above. This is the first index value mentioned above. That is, the second product mentioned above. This is the third sum mentioned above, which is the target temperature obtained after correction (when the initial temperature is greater than the first sum).

[0052] In this embodiment, for high-temperature radiation-dominated scenarios where the initial temperature is higher than the dynamic correction threshold (i.e., the sum of the target ambient temperature and the lens temperature compensation parameter), an exponential correction model including emissivity can be constructed. After subtracting the ambient background radiation compensation coefficient from the initial temperature, a nonlinear exponential mapping is performed, which accurately quantifies the amplification effect of high emissivity differences on temperature measurement results in high-temperature regions.

[0053] In an exemplary embodiment, correcting the initial temperature based on the compensation coefficient and the correction temperature to obtain the target temperature includes: when the initial temperature is less than a first sum value, wherein the first sum value is the sum of the target ambient temperature and the correction temperature, determining a first difference between the initial temperature and the compensation coefficient; determining a fourth sum value of the first difference and a fourth preset parameter; determining a second exponent value with the emissivity as the base and a first value as the exponent; determining a third product of the second exponent value and the fourth sum value; and determining a fifth sum value of the third product and a fifth preset parameter as the target temperature.

[0054] In at least one embodiment, it can first be performed in a standard environment. Determine the initial temperature Torg of the target device and the emissivity of the target device under the preset ambient temperature. and the correction parameters for lens temperature to initial temperature under standard conditions. Therefore, by obtaining experimental data at a preset ambient temperature, the emissivity correction formula under standard conditions can be constructed as follows: Wherein, m1, m2, m3, m4, and m5 are preset emissivity correction parameters. m1 (first preset parameter) can take values ​​between (-5, -1), m2 (second preset parameter) can take values ​​between (-3, 3), m3 (third preset parameter) can take values ​​between (20, 500), m4 (fourth preset parameter) can take values ​​between (-200, 0), and m5 (fifth preset parameter) can take values ​​between (10, 200).

[0055] In the above embodiments, the standard ambient temperature can be... The emissivity correction formula at the given temperature can be derived to other ambient temperatures, resulting in emissivity correction formulas for different ambient temperatures, as shown below:

[0056] ,in, This refers to the target temperature after emissivity correction by the thermal imager based on the emissivity of the target being measured. The ambient temperature of the current target device (i.e., the target ambient temperature) can be obtained through an ambient temperature sensor or by obtaining the ambient temperature input by the user through the user interface. The preset standard ambient temperature, the above relationship is the preset prior parameter determined by obtaining experimental data in the standard ambient temperature, and the above correction formula is used to derive the emissivity correction law in the standard ambient temperature to different ambient temperatures, so that the emissivity correction of the target under test can be performed according to the real-time ambient temperature. The correction parameter (i.e., correction temperature) is the lens temperature under the target ambient temperature relative to the original temperature. The preset ambient temperature correction factor can be set to (0.5, 1.5) and can be used to correct the impact of the difference between the current ambient temperature and the standard ambient temperature on the original temperature.

[0057] In at least one embodiment, the failure of the target ambient temperature and the corrected temperature to meet the preset conditions can include two types (initial temperature greater than the first sum value, initial temperature less than the first sum value), when the initial temperature... Less than the first sum In this case, the initial temperature can be corrected using the following formula: ,in, This is the compensation coefficient. This is the first difference mentioned above. That is, the fourth sum of the first difference and the fourth preset parameter. This is the second index value mentioned above. That is, the third product mentioned above. This is the fifth sum of the above three products and the fifth preset parameter, which is the target temperature obtained after correction (when the initial temperature is less than the first sum).

[0058] In this embodiment, for low-temperature reflection-dominated scenarios where the initial temperature is below the dynamic correction threshold (i.e., the sum of the target ambient temperature and the lens temperature compensation parameter), a power function correction model based on emissivity is constructed. By introducing a fourth preset parameter, the difference between the initial temperature and the background radiation compensation coefficient is corrected. Furthermore, by utilizing the monotonically decreasing characteristic of the inverse square root of emissivity, the temperature measurement deviation caused by the excessively high proportion of ambient reflected radiation in low-temperature environments is accurately compensated for.

[0059] In an exemplary embodiment, determining a compensation coefficient based on the emissivity, the target ambient temperature, and the preset ambient temperature includes: determining a second difference between the target ambient temperature and the preset ambient temperature; determining a third difference between the second value and the emissivity; and determining a fourth product of the third difference, a first preset correction coefficient, and the second difference as the compensation coefficient.

[0060] In at least one embodiment, the compensation coefficient can be calculated using the following formula: ,in, That is, the target ambient temperature. This is the preset ambient temperature. This is the first correction factor. This is the second difference mentioned above, (1- This is the third difference between the second value and the emissivity mentioned above. This is the fourth product mentioned above, namely the compensation coefficient.

[0061] By constructing a linear product model based on the temperature difference between the target environment and the preset environment, and the difference between the emissivity and that of an ideal blackbody (emissivity of 1), the compensation coefficient can be determined. This model can accurately quantify the background reflected radiation energy deviation caused by the environmental temperature deviating from the standard state and the non-blackbody characteristics of the target. This not only significantly reduces the computing power load and memory usage of the embedded system, achieving lightweight algorithm and real-time response, but also effectively eliminates the interference of environmental temperature drift on the temperature measurement benchmark through the linear compensation mechanism, ensuring the consistency and high accuracy of temperature measurement results under different environments and materials with different emissivity.

[0062] In an exemplary embodiment, after determining a corrected temperature based on the target ambient temperature and the lens temperature, the method further includes: determining a first sum of the target ambient temperature and the corrected temperature; if the initial temperature is equal to the first sum, determining that the target ambient temperature and the corrected temperature satisfy the preset condition; if the initial temperature is not equal to the first sum, determining that the target ambient temperature and the corrected temperature do not satisfy the preset condition.

[0063] In at least one embodiment, for close-range measurements, the basic formula commonly used in the calculation of gray-body temperature correction for thermal imagers in infrared thermometry can be simplified as follows: When the ambient temperature Temperature of the target to be measured When consistent, the temperature detected by the infrared thermal imager Emissivity of the target It is unrelated to the ambient temperature. Regarding the measured temperature With ambient temperature Consistent, when the measured temperature greater than ambient temperature At that time, temperature With emissivity Positively correlated, when the measured temperature Less than ambient temperature At that time, temperature With emissivity They are negatively correlated. However, in practical applications, the infrared radiation from infrared lenses due to increased temperature will cause some deviation from the above pattern. Therefore, the lens correction parameters (i.e., correction temperature) determined by the infrared lens temperature can be used for correction.

[0064] In at least one embodiment, lens correction parameters are utilized. (i.e., temperature correction) By correcting the basic formula commonly used in the calculation of gray body temperature correction in infrared thermometry, we can obtain: As can be seen from the above, when the temperature of the target to be measured... (That is, the initial temperature mentioned above) equals the ambient temperature. (i.e., the target ambient temperature mentioned above) plus lens correction parameters When (i.e., the first sum mentioned above), the initial temperature and emissivity of the target under test. If it is irrelevant, then no correction is needed for the initial temperature, thus confirming that the target ambient temperature and the correction temperature meet the preset conditions; however, when the temperature of the target being measured... (That is, the initial temperature mentioned above) is greater than the ambient temperature. (i.e., the target ambient temperature mentioned above) plus lens correction parameters (i.e., the first sum mentioned above), the target temperature and Positively correlated, when the temperature of the target object is... (That is, the initial temperature mentioned above) is lower than the ambient temperature. (i.e., the target ambient temperature mentioned above) plus lens correction parameters (i.e., the first sum mentioned above), the target temperature and There is a negative correlation, meaning that when the initial temperature is not equal to the first sum value (including greater than or less than), the initial temperature needs to be corrected in order to obtain the accurate target temperature. This indicates that the target ambient temperature and the corrected temperature do not meet the preset conditions.

[0065] The sum of the target ambient temperature and lens temperature compensation parameters is dynamically calculated as the correction temperature benchmark. This benchmark is then compared with the initial temperature to determine whether the preset conditions are met. When the conditions are met, the initial temperature is directly output. This avoids redundant nonlinear correction calculations in the emissivity-independent range, which not only significantly reduces the processor's computational load and improves the temperature measurement response speed, but also eliminates secondary measurement noise introduced in this range due to emissivity parameter errors or model fitting residuals.

[0066] In one exemplary embodiment, the method further includes: determining the initial temperature as the target temperature when the target ambient temperature and the corrected temperature satisfy the preset condition.

[0067] In at least one embodiment, lens correction parameters are utilized. (i.e., temperature correction) By correcting the basic formula commonly used in the calculation of gray body temperature correction in infrared thermometry, we can obtain: As can be seen from the above, when the temperature of the target to be measured... (That is, the initial temperature mentioned above) equals the ambient temperature. (i.e., the target ambient temperature mentioned above) plus lens correction parameters When (i.e., the first sum mentioned above), the initial temperature and emissivity of the target under test. Irrelevant, always equal to (Equal to the initial temperature Torg), it can be determined that the target ambient temperature and the corrected temperature meet the preset conditions, so there is no need to correct the initial temperature, and the initial temperature can be directly determined as the target temperature.

[0068] In this embodiment, when the initial temperature is identified as equal to the dynamic correction temperature (i.e., the emissivity influence balance point) determined by the ambient temperature and the lens temperature, the initial temperature can be directly output as the final target temperature, thereby accurately avoiding unnecessary calculation noise that may be introduced due to emissivity error or correction model residual under this specific working condition.

[0069] In one exemplary embodiment, determining a corrected temperature based on the target ambient temperature and the lens temperature includes: determining a fourth difference between the lens temperature and the target ambient temperature; and determining the corrected temperature as a fifth product of the fourth difference and a second preset correction coefficient.

[0070] In at least one embodiment, the lens temperature is a correction parameter for the initial temperature. The following formula can be used for calculation: ,in, For lens temperature, The ambient temperature can be obtained through an ambient temperature sensor or by user input from the user interface. This is the a priori lens temperature correction factor (i.e., the second preset correction factor), where the correction parameter... You can also use , and a priori The table can be obtained directly. The standard ambient temperature can be obtained from the formula above. (Preset ambient temperature) Lens temperature correction parameter compared to the original temperature = It can also obtain the real-time ambient temperature. Correction parameters for lens temperature at the target ambient temperature compared to the original temperature. (i.e., corrected temperature) = ,in, The target ambient temperature, This is the fourth difference mentioned above.

[0071] In this embodiment, a linear model based on the difference between lens temperature and ambient temperature and a preset correction coefficient is constructed to determine the correction temperature. This model can accurately quantify the impact of the lens's own thermal radiation on the offset of the temperature measurement reference point, thereby dynamically establishing the physical equilibrium point where the emissivity effects cancel each other out.

[0072] The temperature measurement method in this application will be explained below with reference to specific embodiments.

[0073] Figure 3 This is a flowchart illustrating the temperature measurement method in this optional example, as shown below. Figure 3 As shown, the procedure for measuring this temperature may include the following steps:

[0074] Step S302: Establish an infrared emissivity correction model under different ambient temperatures in advance;

[0075] Step S304: Obtain the original grayscale and temperature parameters of the target to be measured, and calculate the original temperature of the target to be measured according to the grayscale-temperature conversion formula;

[0076] Step S306: Obtain lens temperature, ambient temperature, and determine lens correction parameters;

[0077] Step S308: Substitute the original temperature of the target to be measured, emissivity, current ambient temperature, and lens correction parameters into the emissivity correction model to calculate the target temperature after emissivity correction under different ambient temperatures.

[0078] In at least one embodiment, the original grayscale of the target under test, the current responsivity parameter, and the reference temperature compensation value can be acquired using an infrared thermal imager. The original temperature Torg of the target under test is calculated according to the grayscale-temperature conversion formula. Based on the ambient temperature of the target under test, the lens temperature, and a preset lens temperature correction coefficient, the correction parameter of the lens temperature on the original temperature is obtained. Finally, based on the current ambient temperature, the lens temperature correction parameter, and the original temperature of the target under test, the preset emissivity correction model is substituted to obtain the emissivity-corrected temperature of the target under test. Emissivity correction calculation is performed using the emissivity correction model. The emissivity correction relationship is obtained from the ambient temperature under standard conditions, the original temperature of the target under test, the emissivity, and the actual temperature of the target under test. By establishing a model, the correction scheme under standard conditions is extended to different environments (especially extreme environments) for real-time emissivity correction of the target under test. This improves the efficiency of the algorithm while also considering the influence of the lens temperature on the target temperature. Emissivity correction can be performed for targets under test with different environments, temperatures, and emissivities, as well as for infrared thermal imagers of different shapes, thus improving temperature measurement accuracy.

[0079] In at least one embodiment, Figure 4 This is a comparison diagram of temperature correction before and after according to an embodiment of this application, such as... Figure 4 As shown, Figure 4 The data recorded are the temperatures of the target objects with different emissivity at a true temperature (target temperature) of 80℃. The temperatures measured by the thermal imager before and after correction by the emissivity correction model are recorded in environments of 10℃, 30℃, and 50℃. The root mean square error is 0.50℃ in the 10℃ environment, 0.41℃ in the 30℃ environment, and 0.82℃ in the 50℃ environment.

[0080] This embodiment calculates the environmental temperature compensation parameter by comparing the difference between the current environmental temperature and the standard environmental temperature established by the correction relationship. Then, the emissivity correction relationship under the standard environmental temperature is corrected by environmental temperature compensation. This embodiment can adapt to different environments, especially extreme environments (where it is difficult to collect the relationship between the original temperature of the target measured by the thermal imager and the actual temperature and emissivity). The emissivity correction model under the standard environmental temperature can be extended to other environments (especially extreme environments), which can greatly improve the emissivity correction accuracy of the target and the model is also highly adaptable.

[0081] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0082] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / random access memory (RAM), magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0083] According to another aspect of the embodiments of this application, a temperature measuring device is also provided, which can be used to implement the temperature measuring method provided in the above embodiments, and will not be repeated as already described. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0084] Figure 5 This is a structural block diagram of an optional temperature measuring device according to an embodiment of this application, such as... Figure 5 As shown, the temperature measuring device includes:

[0085] The first determining module 52 is used to determine the initial temperature obtained by the target device from measuring the temperature of the target to be measured, the target ambient temperature of the environment in which the target device is located, and the lens temperature of the lens included in the target device.

[0086] The second determining module 54 is used to determine a correction temperature based on the target ambient temperature and the lens temperature;

[0087] The correction module 56 is used to correct the initial temperature based on the target ambient temperature, the preset ambient temperature, the correction temperature, and the emissivity of the target under test when the target ambient temperature and the correction temperature do not meet the preset conditions, so as to obtain the target temperature of the target under test.

[0088] In an exemplary embodiment, the correction module 56 can correct the initial temperature based on the target ambient temperature, the preset ambient temperature, the correction temperature, and the emissivity of the target to obtain the target temperature of the target by: determining a compensation coefficient based on the emissivity, the target ambient temperature, and the preset ambient temperature; and correcting the initial temperature based on the compensation coefficient and the correction temperature to obtain the target temperature.

[0089] In an exemplary embodiment, the correction module 56 can correct the initial temperature based on the compensation coefficient and the correction temperature to obtain the target temperature in the following manner: when the initial temperature is greater than a first sum, wherein the first sum is the sum of the target ambient temperature and the correction temperature, determine a first difference between the initial temperature and the compensation coefficient; determine a first product of a first preset parameter and the emissivity; determine a second sum of the first product and a second preset parameter; determine a first exponent value with the natural constant as the base and the second sum as the exponent; determine a second product of the first difference and the first exponent value; and determine a third sum of the second product and a third preset parameter as the target temperature.

[0090] In an exemplary embodiment, the correction module 56 can correct the initial temperature based on the compensation coefficient and the correction temperature to obtain the target temperature in the following manner: when the initial temperature is less than a first sum value, wherein the first sum value is the sum of the target ambient temperature and the correction temperature, a first difference between the initial temperature and the compensation coefficient is determined; a fourth sum value is determined by the first difference and a fourth preset parameter; a second exponent value is determined with the emissivity as the base and the first value as the exponent; a third product of the second exponent value and the fourth sum value is determined; and a fifth sum value of the third product and a fifth preset parameter is determined as the target temperature.

[0091] In an exemplary embodiment, the correction module 56 can determine the compensation coefficient based on the emissivity, the target ambient temperature, and the preset ambient temperature by: determining a second difference between the target ambient temperature and the preset ambient temperature; determining a third difference between the second value and the emissivity; and determining the compensation coefficient as a fourth product of the third difference, the first preset correction coefficient, and the second difference.

[0092] In an exemplary embodiment, the apparatus is further configured to: determine a first sum of the target ambient temperature and the corrected temperature after determining a corrected temperature based on the target ambient temperature and the lens temperature; determine that the target ambient temperature and the corrected temperature satisfy the preset condition if the initial temperature is equal to the first sum; and determine that the target ambient temperature and the corrected temperature do not satisfy the preset condition if the initial temperature is not equal to the first sum.

[0093] In an exemplary embodiment, the device is further configured to: determine the initial temperature as the target temperature when the target ambient temperature and the corrected temperature satisfy the preset condition.

[0094] In an exemplary embodiment, the second determining module 54 can determine the corrected temperature based on the target ambient temperature and the lens temperature by: determining a fourth difference between the lens temperature and the target ambient temperature; and determining the corrected temperature by multiplying the fourth difference by a fifth product of a second preset correction coefficient.

[0095] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0096] According to another aspect of the embodiments of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein the program executes the steps in any of the above method embodiments when it is run.

[0097] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, ROMs, RAMs, portable hard drives, magnetic disks, or optical disks.

[0098] According to another aspect of the embodiments of this application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor is configured to perform the steps of any of the method embodiments described above via the computer program. In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0099] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0100] According to another aspect of the embodiments of this application, a computer program product is also provided, comprising a computer program / instructions containing program code for performing the methods shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via communication section 609, and / or installed from removable medium 611. When the computer program is executed by central processing unit 601, it performs various functions provided in the embodiments of this application. The sequence numbers of the embodiments of this application above are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0101] Figure 6 A schematic block diagram of a computer system architecture for implementing embodiments of the present application is shown. Figure 6 As shown, the computer system 600 includes a Central Processing Unit (CPU) 601, which performs various appropriate actions and processes based on programs stored in ROM 602 or loaded into RAM 603 from storage section 608. Random Access Memory 603 also stores various programs and data required for system operation. The CPU 601, ROM 602, and RAM 603 are interconnected via a bus 604. An Input / Output (I / O) interface 605 is also connected to the bus 604.

[0102] The following components are connected to I / O interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including a cathode ray tube (CRT), liquid crystal display (LCD), and speakers, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card, such as a local area network card or modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to I / O interface 605 as needed. A removable medium 511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 610 as needed so that computer programs read from it can be installed into storage section 608 as needed.

[0103] Specifically, according to embodiments of this application, the processes described in the various method flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609, and / or installed from removable medium 611. When the computer program is executed by central processing unit 601, it performs various functions defined in the system of this application.

[0104] It should be noted that, Figure 6 The computer system 600 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0105] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.

[0106] The above are merely preferred embodiments of this application and are not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.

Claims

1. A method for measuring temperature, characterized in that: The initial temperature obtained by the target device from measuring the temperature of the target to be measured, the target ambient temperature of the environment in which the target device is located, and the lens temperature of the lens included in the target device are determined. The correction temperature is determined based on the target ambient temperature and the lens temperature; If the target ambient temperature and the corrected temperature do not meet the preset conditions, the initial temperature is corrected based on the target ambient temperature, the preset ambient temperature, the corrected temperature, and the emissivity of the target to be measured, so as to obtain the target temperature of the target to be measured.

2. The method according to claim 1, characterized in that, The initial temperature is corrected based on the target ambient temperature, the preset ambient temperature, the corrected temperature, and the emissivity of the target to be measured, to obtain the target temperature of the target to be measured, including: The compensation coefficient is determined based on the emissivity, the target ambient temperature, and the preset ambient temperature. The initial temperature is corrected based on the compensation coefficient and the correction temperature to obtain the target temperature.

3. The method according to claim 2, characterized in that, The initial temperature is corrected based on the compensation coefficient and the correction temperature to obtain the target temperature, including: If the initial temperature is greater than a first sum, where the first sum is the sum of the target ambient temperature and the corrected temperature, Determine the first difference between the initial temperature and the compensation coefficient; Determine the first product of the first preset parameter and the emissivity; Determine the second sum value of the first product and the second preset parameter; Determine the first exponent value, which is based on the natural constant and exponent of the second sum; Determine the second product of the first difference and the first exponent value; The third sum of the second product and the third preset parameter is determined as the target temperature.

4. The method according to claim 2, characterized in that, The initial temperature is corrected based on the compensation coefficient and the correction temperature to obtain the target temperature, including: If the initial temperature is less than a first sum value, where the first sum value is the sum of the target ambient temperature and the corrected temperature, Determine the first difference between the initial temperature and the compensation coefficient; Determine the fourth sum of the first difference and the fourth preset parameter; Determine a second exponent value with the said emissivity as the base and the first value as the exponent; Determine the third product of the second exponent value and the fourth sum; The fifth sum of the third product and the fifth preset parameter is determined as the target temperature.

5. The method according to claim 2, characterized in that, Determining the compensation coefficient based on the emissivity, the target ambient temperature, and the preset ambient temperature includes: Determine a second difference between the target ambient temperature and the preset ambient temperature; Determine the third difference between the second value and the emissivity; The compensation coefficient is determined by the fourth product of the third difference, the first preset correction coefficient, and the second difference.

6. The method according to claim 1, characterized in that, After determining the correction temperature based on the target ambient temperature and the lens temperature, the method further includes: Determine a first sum of the target ambient temperature and the correction temperature; If the initial temperature is equal to the first sum value, it is determined that the target ambient temperature and the corrected temperature satisfy the preset condition; If the initial temperature is not equal to the first sum value, it is determined that the target ambient temperature and the corrected temperature do not meet the preset conditions.

7. The method according to claim 1, characterized in that, The method further includes: If the target ambient temperature and the corrected temperature meet the preset conditions, the initial temperature is determined as the target temperature.

8. The method according to claim 1, characterized in that, Determining the correction temperature based on the target ambient temperature and the lens temperature includes: Determine a fourth difference between the lens temperature and the target ambient temperature; The product of the fourth difference and the second preset correction coefficient is determined as the corrected temperature.

9. A temperature measuring device, characterized in that, include: The first determining module is used to determine the initial temperature obtained by the target device from measuring the temperature of the target to be measured, the target ambient temperature of the environment in which the target device is located, and the lens temperature of the lens included in the target device. The second determining module is used to determine the correction temperature based on the target ambient temperature and the lens temperature; The correction module is used to correct the initial temperature based on the target ambient temperature, the preset ambient temperature, the correction temperature, and the emissivity of the target under test when the target ambient temperature and the correction temperature do not meet the preset conditions, so as to obtain the target temperature of the target under test.

10. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method according to any one of claims 1 to 8.

12. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.