Method, apparatus, terminal, processing device and storage medium for detecting temperature
Patent Information
- Application Number
- CN202211006097.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-22
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2042-08-22
AI Technical Summary
[0056]在本公开实施例中,确定待检测对象的热辐射所产生的红外线的能量强度和待检测对象的物体类型;基于所述能量强度、所述物体类型以及能量强度、物体类型与温度之间的映射关系,获得所述待检测对象的温度。这里,由于能量强度、物体类型和温度之间存在映射关系,因此,在确定待检测对象的热辐射所产生的红外线的能量强度和待检测对象的物体类型后,能够直接基于所述能量强度、所述物体类型以及能量强度、物体类型与温度之间的映射关系,获得所述待检测对象的温度。相较于通过测定红外热电堆的检测端和参考端之间产生的温差电流的大小获得人体的温度的方式,本公开实施例中直接基于所述能量强度、所述物体类型以及能量强度、物体类型与温度之间的映射关系,获得所述待检测对象的温度。本公开实施例中无需设置易受环境温度影响的参考端,也无需设置隔热组件稳定参考端的温度,就能够获得待检测对象的温度,并使得获得的待检测对象的温度适应于待检测对象的物体类型。如此,减少环境温度对检测待检测对象的温度的影响,使得检测的准确性高,且能够节省成本,减少在终端内部占用的空间,且能够使获得的待检测对象的温度适应于待检测对象的物体类型。
Smart Images

Figure CN117664359B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of temperature detection, but is not limited to the field of temperature detection. In particular, it relates to a method, apparatus, terminal, processing equipment, and storage medium for detecting temperature. Background Technology
[0002] In related technologies, temperature measuring devices absorb the infrared radiation energy emitted by the human body, converting it into an electrical signal. The body temperature is then determined by measuring the magnitude of this signal. For example, in applications where electronic terminals utilize infrared thermopile technology for temperature detection, the sensing end absorbs the radiation energy emitted by the human body, generating a thermoelectric current between itself and a reference end. The electronic terminal then measures this thermoelectric current to obtain the body temperature. However, in actual detection, the temperature of the reference end is easily affected by the internal temperature of the electronic terminal, causing changes in the thermoelectric current between the sensing and reference ends, resulting in low accuracy in detecting body temperature. In such cases, heat insulation components need to be installed inside the electronic terminal to stabilize the internal temperature, increasing costs and occupying internal space. Summary of the Invention
[0003] In view of the above, this disclosure provides a method, apparatus, terminal, processing device, and storage medium for detecting temperature.
[0004] According to a first aspect of the present disclosure, a method for detecting temperature is provided, applied to a terminal, the method comprising:
[0005] Determine the energy intensity of the infrared radiation produced by the thermal radiation of the object to be detected;
[0006] Determine the object type of the object to be detected;
[0007] The temperature of the object to be detected is obtained based on the energy intensity, the object type, and a predetermined mapping relationship; wherein the predetermined mapping relationship includes the mapping relationship between energy intensity, object type, and temperature.
[0008] In one embodiment, determining the object type of the object to be detected includes:
[0009] The object type is determined based on the text information received by the terminal through a predetermined display control;
[0010] or,
[0011] The object type is determined by using the feature information of the object to be detected obtained by the image acquisition module.
[0012] In one embodiment, the energy intensity is the total energy density of the infrared radiation energy.
[0013] In one embodiment, the method further includes:
[0014] Detect the wavelength range of the infrared light;
[0015] Determine the energy density of the radiant energy corresponding to the wavelengths within the specified wavelength range;
[0016] The total energy density of the radiant energy is determined by integrating the density of the radiant energy over the wavelength range.
[0017] In one embodiment, obtaining the temperature of the object to be detected based on the energy intensity, the object type, and a predetermined mapping relationship includes:
[0018] The energy intensity and the object type are input into a predetermined algorithm model to obtain the temperature of the object to be detected; wherein the predetermined algorithm model is established based on the predetermined mapping relationship;
[0019] or,
[0020] Based on the energy intensity and the object type, the temperature of the corresponding object to be detected is queried in a predetermined mapping table; wherein, the predetermined mapping table is established based on the predetermined mapping relationship.
[0021] In one embodiment, the method further includes:
[0022] The energy intensity sample, object type sample, and temperature label are input into the predetermined algorithm model to be trained until the convergence function of the predetermined algorithm model converges, thereby obtaining the trained predetermined algorithm model.
[0023] In one embodiment, the method further includes:
[0024] Based on the text information received by the terminal through a predetermined display control, a reference mapping relationship between the energy intensity, the object type, and the temperature in a predetermined scenario is determined;
[0025] The predetermined algorithm model is calibrated based on the reference mapping relationship.
[0026] In one embodiment, inputting the energy intensity and the object type into a predetermined algorithm model to obtain the temperature of the object to be detected includes:
[0027] The auxiliary information, the energy intensity, and the object type are input into the predetermined algorithm model to obtain the temperature of the object to be detected; wherein, the auxiliary information includes: environmental information.
[0028] According to a second aspect of the present disclosure, an apparatus for detecting temperature is provided, the apparatus comprising:
[0029] The determination module is used to: determine the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected; and determine the object type of the object to be detected.
[0030] The acquisition module is used to obtain the temperature of the object to be detected based on the energy intensity, the object type, and a predetermined mapping relationship; wherein the predetermined mapping relationship includes the mapping relationship between energy intensity, object type, and temperature.
[0031] In one embodiment, the determining module is further configured to:
[0032] The object type is determined based on the text information received by the terminal through a predetermined display control;
[0033] or,
[0034] The object type is determined by using the feature information of the object to be detected obtained by the image acquisition module. In one embodiment, the energy intensity is the energy density of the total radiant energy of the infrared radiation.
[0035] In one embodiment, the determining module is further configured to:
[0036] Detect the wavelength range of the infrared light;
[0037] Determine the energy density of the radiant energy corresponding to the wavelengths within the specified wavelength range;
[0038] The total energy density of the radiant energy is determined by integrating the density of the radiant energy over the wavelength range.
[0039] In one embodiment, the acquisition module is used to:
[0040] The energy intensity and the object type are input into a predetermined algorithm model to obtain the temperature of the object to be detected; wherein the predetermined algorithm model is established based on the mapping relationship; or, the temperature of the corresponding object to be detected is queried in the predetermined mapping relationship table based on the energy intensity and the object type; wherein the predetermined mapping relationship table is established based on the predetermined mapping relationship.
[0041] In one embodiment, the acquisition module is further configured to:
[0042] The energy intensity sample, object type sample, and temperature label are input into the predetermined algorithm model to be trained until the convergence function of the predetermined algorithm model converges, thereby obtaining the trained predetermined algorithm model.
[0043] In one embodiment, the apparatus further includes:
[0044] The calibration module is used to: determine the reference mapping relationship between the energy intensity, the object type and the temperature in a predetermined scenario based on the text information received by the terminal through a predetermined display control; and calibrate the predetermined algorithm model based on the reference mapping relationship.
[0045] In one embodiment, the acquisition module is further used for
[0046] The auxiliary information, the energy intensity, and the object type are input into the predetermined algorithm model to obtain the temperature of the object to be detected; wherein, the auxiliary information includes: environmental information.
[0047] According to a third aspect of the present disclosure, a terminal is provided capable of implementing any of the methods described in the embodiments of the present disclosure, the terminal comprising:
[0048] A spectral sensor, installed inside the terminal, is used to detect the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected through a preset hole.
[0049] A preset hole is provided on a predetermined side of the terminal;
[0050] A processor is configured to: determine the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected; and obtain the temperature of the object to be detected based on the energy intensity and a mapping relationship between the energy intensity and temperature. According to a fourth aspect of this disclosure, an electronic device is provided, the electronic device comprising:
[0051] processor;
[0052] Memory used to store the processor's executable instructions;
[0053] The processor is configured to implement the method described in any embodiment of this disclosure when running the executable instructions.
[0054] According to a fifth aspect of the present disclosure, a computer storage medium is provided, the computer storage medium storing a computer executable program, which, when executed by a processor, implements the methods described in any embodiment of the present disclosure.
[0055] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0056] In this embodiment, the energy intensity of the infrared radiation generated by the thermal radiation of the object to be detected and the object type are determined. Based on the energy intensity, the object type, and the mapping relationship between energy intensity, object type, and temperature, the temperature of the object to be detected is obtained. Here, since there is a mapping relationship between energy intensity, object type, and temperature, after determining the energy intensity of the infrared radiation generated by the thermal radiation of the object to be detected and the object type, the temperature of the object to be detected can be directly obtained based on the energy intensity, the object type, and the mapping relationship between energy intensity, object type, and temperature. Compared to obtaining human body temperature by measuring the magnitude of the thermoelectric current generated between the detection end and the reference end of an infrared thermopile, this embodiment directly obtains the temperature of the object to be detected based on the energy intensity, the object type, and the mapping relationship between energy intensity, object type, and temperature. This embodiment eliminates the need for a reference end that is susceptible to ambient temperature fluctuations and for a heat-insulating component to stabilize the temperature of the reference end, thus enabling the temperature of the object to be detected to be obtained and adapting to the object type. This reduces the impact of ambient temperature on the temperature of the object being detected, resulting in high detection accuracy, cost savings, reduced space occupancy within the terminal, and the ability to adapt the obtained temperature of the object to the type of object being detected. Attached Figure Description
[0057] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0058] Figure 1 This is a schematic flowchart illustrating a method for detecting temperature according to an exemplary embodiment;
[0059] Figure 2 This is a schematic diagram of a radiation energy density curve according to an exemplary embodiment;
[0060] Figure 3 This is a schematic flowchart illustrating a method for detecting temperature according to an exemplary embodiment;
[0061] Figure 4 This is a schematic flowchart illustrating a method for detecting temperature according to an exemplary embodiment;
[0062] Figure 5 This is a schematic flowchart illustrating a method for detecting temperature according to an exemplary embodiment;
[0063] Figure 6 This is a schematic flowchart illustrating a method for detecting temperature according to an exemplary embodiment;
[0064] Figure 7 This is a schematic diagram illustrating the structure of a temperature detection device according to an exemplary embodiment;
[0065] Figure 8 This is a schematic diagram of the structure of a terminal according to an exemplary embodiment;
[0066] Figure 9 This is a schematic diagram of the structure of a terminal according to an exemplary embodiment;
[0067] Figure 10 This is a schematic diagram illustrating the structure of an electronic device according to an exemplary embodiment. Detailed Implementation
[0068] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on the present invention. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0069] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0070] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of the invention described herein can be implemented in an order other than that illustrated or described herein.
[0071] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to limit the invention.
[0072] like Figure 1 As shown, this disclosure provides a method for detecting temperature, applied to a terminal, the method comprising:
[0073] Step 11: Determine the energy intensity of the infrared radiation generated by the thermal radiation of the object to be tested;
[0074] Step 12: Determine the object type of the object to be detected;
[0075] Step 13: Based on the energy intensity, the object type, and the predetermined mapping relationship, obtain the temperature of the object to be detected; wherein, the predetermined mapping relationship includes the mapping relationship between energy intensity, object type, and temperature.
[0076] In some embodiments, the terminal may be a device capable of temperature measurement. Exemplarily, the terminal may be a fixed, portable, handheld, and / or pocket-sized electronic device capable of temperature measurement. For example, the terminal may be a handheld electronic device for temperature measurement.
[0077] In one embodiment, the terminal is equipped with an infrared spectral sensor, which is used to determine the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected. Exemplarily, the infrared spectral sensor can be a micro-electro-mechanical system (MEMS) infrared spectral sensor. In one embodiment, the MEMS infrared spectral sensor can be a MEMS near-infrared spectral sensor. It should be noted that the infrared spectral sensor's ability to determine the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected essentially means that the infrared spectral sensor can absorb the radiant energy of infrared radiation, thereby determining the energy intensity of the radiant energy.
[0078] In one embodiment, the object type includes the emissivity of the object to be detected. In another embodiment, the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected is determined; the emissivity of the object to be detected is determined; and the temperature of the object to be detected is obtained based on the energy intensity, the emissivity, and a predetermined mapping relationship; wherein the predetermined mapping relationship includes a mapping relationship between energy intensity, emissivity, and temperature. It should be noted that different objects to be detected may have different emissivities, and objects with higher emissivity generate greater energy intensity of infrared radiation at the same temperature. Here, for objects to be detected with different emissivities, the temperature of the object to be detected is obtained based on the energy intensity, the object type, and the predetermined mapping relationship; and the predetermined mapping relationship includes a mapping relationship between energy intensity, object type, and temperature. This ensures that the obtained temperature of the object to be detected is adapted to the emissivity of the object to be detected and the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected, making the detection results more accurate.
[0079] In one embodiment, determining the object type of the object to be detected includes: determining the object type based on text information received by the terminal through a predetermined display control; or, determining the object type using feature information of the object to be detected obtained by an image acquisition module.
[0080] In one embodiment, the object type is determined based on text information received by the terminal through a predetermined display control; wherein the predetermined display control is used to receive text information input by the user. In one embodiment, determining the object type based on text information received by the terminal through the predetermined display control includes: in response to receiving an input operation on a first predetermined display control in the terminal and receiving a confirmation operation on a second predetermined display control in the terminal, acquiring text information corresponding to the input operation; wherein the first predetermined display control is used to receive the text information input by the user; and the second display control is used to: generate a control instruction to acquire the text information corresponding to the input operation based on the confirmation operation. In one embodiment, the first predetermined display control is a text display control, in which the user can input text information. In one embodiment, the second predetermined display control is a button display control, in which the user can trigger the terminal to generate a control instruction by tapping the button display control.
[0081] In one embodiment, the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected is determined; the object type of the object to be detected is determined based on the text information received by the terminal through a predetermined display control; and the temperature of the object to be detected is obtained based on the energy intensity, the object type, and a predetermined mapping relationship; wherein the predetermined mapping relationship includes a mapping relationship between energy intensity, object type, and temperature.
[0082] In one embodiment, the object type includes the emissivity of the object to be detected. In one embodiment, the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected is determined; the emissivity of the object to be detected is determined based on text information received by the terminal through a predetermined display control; and the temperature of the object to be detected is obtained based on the energy intensity, the emissivity, and a predetermined mapping relationship; wherein the predetermined mapping relationship includes a mapping relationship between energy intensity, emissivity, and temperature.
[0083] In one embodiment, determining the emissivity of the object to be detected based on the text information received by the terminal through a predetermined display control includes: determining the emissivity of the object to be detected corresponding to the text information based on the text information and a type mapping relationship; wherein the type mapping relationship includes a mapping relationship between the text information and the emissivity of the object to be detected.
[0084] In one embodiment, the object to be detected can be minerals, living organisms, or solutions with different emissivities. In this case, the text information input by the user can be: granite, person, or water, etc. Based on the user-input text information and the type mapping relationship, the emissivity of the object to be detected can be determined; wherein, the type mapping relationship includes the mapping relationship between text information and the emissivity of the object to be detected. For example, when the user-input text information is "person," based on the user-input text information and the type mapping relationship, the emissivity of the object to be detected can be determined to be 0.98.
[0085] In one embodiment, the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected is determined; the object type is determined using feature information of the object to be detected obtained by the image acquisition module; and the temperature of the object to be detected is obtained based on the energy intensity, the object type, and a predetermined mapping relationship; wherein the predetermined mapping relationship includes a mapping relationship between energy intensity, object type, and temperature.
[0086] In one embodiment, determining the object type using the feature information of the object to be detected obtained by the image acquisition module includes: capturing an image of the object to be detected using the image acquisition module; obtaining feature information of the object to be detected based on the image information; and determining the object type based on the feature information. In another embodiment, determining the object type using the feature information of the object to be detected obtained by the image acquisition module includes: scanning the object to be detected using the image acquisition module; obtaining feature information of the object to be detected based on the scanning result; and determining the object type based on the feature information. Here, without manually inputting text information into the terminal's display controls, the emissivity of the object to be detected can be automatically determined based on the image acquisition module on the terminal, thereby determining the object type. This simplifies the user's operation steps in the temperature detection process, thereby improving the user experience.
[0087] In some embodiments, the feature information may be the microstructure information and / or shape feature information of the object to be detected. It should be noted that the microstructure information of the object to be detected may be the molecular structure information or the composition information of the object, and the shape feature may be the external appearance information of the object. In one embodiment, the microstructure information may indicate that the object to be detected is a mineral, a living organism, or a solution, etc., and the shape feature information may indicate that the external appearance of the object is granite, a person, or water, etc.
[0088] In one embodiment, the object type may include: the emissivity of the object to be detected; determining the object type using the feature information of the object to be detected obtained by the image acquisition module includes: determining the emissivity of the corresponding object to be detected based on the feature information and the type mapping relationship; wherein, the type mapping relationship includes the mapping relationship between the feature information and the emissivity of the object to be detected. Here, without manually inputting text information into the display control, the emissivity of the object to be detected can be automatically determined based on the image acquisition module on the terminal, thereby determining the object type. This simplifies the user's operation steps in the temperature detection process, thereby improving the user experience.
[0089] In one embodiment, a step of determining the object type is determined based on an enabling parameter; wherein the enabling parameter includes a first enabling parameter and a second enabling parameter; the first enabling parameter enables the execution of the determination step; and the second enabling parameter disables the execution of the determination step. In one embodiment, the step of determining the object type includes: determining the object type based on text information received by the terminal through a predetermined display control; or, determining the object type using feature information of the object to be detected obtained by an image acquisition module.
[0090] In one embodiment, the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected is determined; if the enabling parameter is a first enabling parameter, the step of determining the object type is executed; based on the energy intensity, the object type, and a predetermined mapping relationship, the temperature of the object to be detected is obtained; wherein, the predetermined mapping relationship includes a mapping relationship between energy intensity, object type, and temperature. In another embodiment, the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected is determined; if the enabling parameter is a second enabling parameter, the step of determining the object type is not executed; the object type of the object to be detected is determined to be a predetermined object type; based on the energy intensity, the object type, and the predetermined mapping relationship, the temperature of the object to be detected is obtained; wherein, the predetermined mapping relationship includes a mapping relationship between energy intensity, object type, and temperature. In one embodiment, the predetermined object type can be the object type of the object to be detected most frequently detected by the user. For example, if the object to be detected most frequently by the user is the human body, then the predetermined object type is the object type of the human body; the object type of the human body includes: the emissivity of the human body.
[0091] In one embodiment, the enabling parameter is determined to be one of a first enabling parameter and a second enabling parameter based on user settings.
[0092] It should be noted that, here, determining the enabling parameter as either a first enabling parameter or a second enabling parameter based on user settings can mean that if the user consistently uses the terminal to detect the temperature of an object with a predetermined object type, the user can set the enabling parameter to the second enabling parameter. In this embodiment, the terminal does not need to perform the step of determining the object type of the object to be detected, but can clearly identify the object type of the object to be detected as a predetermined object type, thereby directly obtaining the temperature of the object to be detected based on the energy intensity, the object type, and the predetermined mapping relationship. This simplifies the steps of the terminal detecting the temperature of the object to be detected.
[0093] Here, based on user settings, the enabling parameter is determined to be either a first enabling parameter or a second enabling parameter. Alternatively, if the user frequently uses the terminal to perform temperature detection on objects of different types, the user can set the enabling parameter to be the first enabling parameter, thereby enabling the terminal to adapt to different types of objects and perform accurate temperature detection.
[0094] In this embodiment, an enabling parameter including a first enabling parameter and a second enabling parameter is set. When the enabling parameter is the second enabling parameter, the step of determining the object type is not performed. Instead, the predetermined object type and energy intensity are directly input into a predetermined algorithm model to obtain the temperature of the object to be detected. In other words, when the enabling parameter is the second enabling parameter, it is not necessary to determine the object type based on the text information obtained by the terminal, thereby simplifying the user's operation steps in the temperature detection process and improving the user experience. In this embodiment, when the enabling parameter is the second enabling parameter, it is also not necessary to frequently determine the feature information of the object to be detected using the image acquisition module, thereby saving power consumption of the image acquisition module and saving terminal power.
[0095] In this embodiment, the energy intensity of the infrared radiation generated by the thermal radiation of the object to be detected and the object type are determined. Based on the energy intensity, the object type, and the mapping relationship between energy intensity, object type, and temperature, the temperature of the object to be detected is obtained. Here, since there is a mapping relationship between energy intensity, object type, and temperature, after determining the energy intensity of the infrared radiation generated by the thermal radiation of the object to be detected and the object type, the temperature of the object to be detected can be directly obtained based on the energy intensity, the object type, and the mapping relationship between energy intensity, object type, and temperature. Compared to obtaining human body temperature by measuring the magnitude of the thermoelectric current generated between the detection end and the reference end of an infrared thermopile, this embodiment directly obtains the temperature of the object to be detected based on the energy intensity, the object type, and the mapping relationship between energy intensity, object type, and temperature. This embodiment eliminates the need for a reference end that is susceptible to ambient temperature fluctuations and for a heat-insulating component to stabilize the temperature of the reference end, thus enabling the temperature of the object to be detected to be obtained and adapting to the object type. This reduces the impact of ambient temperature on the temperature of the object being detected, resulting in high detection accuracy, cost savings, reduced space occupancy within the terminal, and the ability to adapt the obtained temperature of the object to the type of object being detected.
[0096] In one embodiment, the energy intensity is the total energy density of the infrared radiation energy.
[0097] In one embodiment, the wavelength range of the infrared radiation is detected; the energy density of the radiant energy corresponding to the wavelengths within the wavelength range is determined; and the density of the radiant energy is integrated over the wavelength range to determine the total energy density of the radiant energy.
[0098] In one embodiment, a spectral sensor is used to determine the energy density of the total radiant energy of the infrared radiation.
[0099] In one embodiment, such as Figure 2 As shown, obtaining the energy density of the total infrared radiation using a spectral sensor includes: using a spectral sensor to detect the wavelength range of infrared radiation generated by the thermal radiation of the object to be detected; generating a radiation energy density curve based on the energy density of the radiation energy corresponding to the wavelengths within the wavelength range; integrating the radiation energy density over the wavelength range using the radiation energy density curve; and determining the total energy density of the radiation energy.
[0100] Specifically, the function for determining the total energy density of the radiated energy is as follows:
[0101]
[0102] Where Energy is the density integral of radiant energy over the wavelength range of infrared light, a is the minimum wavelength detectable by the infrared spectral sensor, b is the maximum wavelength detectable by the infrared spectral sensor, the band [a, b] is the wavelength range of infrared light detected by the infrared spectral sensor, and l is the radiant energy density curve.
[0103] like Figure 3 As shown, this disclosure provides a method for detecting temperature, applied to a terminal, the method comprising:
[0104] Step 31: Determine the energy intensity of the infrared radiation generated by the thermal radiation of the object to be tested;
[0105] Step 32: Determine the object type of the object to be detected;
[0106] Step 33: Input the energy intensity and the object type into a predetermined algorithm model to obtain the temperature of the object to be detected; wherein the predetermined algorithm model is established based on a predetermined mapping relationship; or, based on the energy intensity and the object type, query the temperature of the corresponding object to be detected in the predetermined mapping relationship table; wherein the predetermined mapping relationship table is established based on the predetermined mapping relationship; wherein the predetermined mapping relationship includes the mapping relationship between energy intensity, object type and temperature.
[0107] In one embodiment, the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected is determined; the object type of the object to be detected is determined; the energy intensity and the object type are input into a predetermined algorithm model to obtain the temperature of the object to be detected; wherein, the predetermined algorithm model is established based on a predetermined mapping relationship; the predetermined mapping relationship includes a mapping relationship between energy intensity, object type and temperature;
[0108] In one embodiment, the object type of the object to be detected is determined; the energy intensity of the infrared radiation generated by the thermal radiation of the object to be detected is determined; based on the relationship between the energy intensity and an energy intensity threshold, it is predicted whether the temperature of the object to be detected is abnormal; wherein the energy intensity threshold is determined based on the object type of the object to be detected; based on the prediction result of whether the temperature of the object to be detected is abnormal, it is determined whether to perform a predetermined operation; the energy intensity and the object type are input into a predetermined algorithm model to obtain the temperature of the object to be detected. Here, before obtaining the accurate temperature of the object to be detected, the relationship between the energy intensity and the energy intensity threshold is compared to predict whether the temperature of the object to be detected is abnormal. Furthermore, for abnormal temperatures of the object to be detected, a predetermined operation is performed. In this way, the detection response time can be shortened for abnormal temperatures of the object to be detected before obtaining the accurate temperature of the object to be detected.
[0109] In one embodiment, if the energy intensity is greater than the energy intensity threshold, the temperature of the object to be detected is predicted to be abnormal; based on a first prediction result of the predicted temperature abnormality of the object to be detected, it is determined to perform a predetermined operation. In another embodiment, if the energy intensity is less than the energy intensity threshold, the temperature of the object to be detected is predicted to be normal; based on a second prediction result of the predicted temperature normality of the object to be detected, it is determined not to perform a predetermined operation.
[0110] In one embodiment, predicting whether the temperature of the object to be detected is abnormal essentially means predicting whether the temperature of the object to be detected is greater than a temperature threshold. The predetermined operation can be an operation of outputting a prompt message; wherein the prompt message is used to indicate that the temperature of the object to be detected is greater than the temperature threshold. It should be noted that when the temperature of the object to be detected equals the temperature threshold, the energy intensity of the infrared radiation generated by the thermal radiation of the object to be detected equals the energy intensity threshold.
[0111] In one embodiment, the energy intensity threshold and the temperature threshold are determined based on the object type of the object to be detected.
[0112] In one embodiment, a pre-established mapping relationship between energy intensity range, object type, and temperature range is constructed. When the temperature of the object to be detected is within a temperature range, the energy intensity of the infrared radiation generated by the object's thermal radiation is within an energy intensity range that maps to the temperature range and the object type. In one embodiment, the following steps are taken: determining the energy intensity of the infrared radiation generated by the object's thermal radiation; determining the energy intensity range in which the energy intensity falls; determining the object type; determining the temperature range of the object's temperature based on the energy intensity range, the object type, and the mapping relationship; wherein the mapping relationship is a mapping relationship between the energy intensity range, the object type, and the temperature range; predicting whether the object's temperature is abnormal based on the relationship between the temperature range and a predetermined temperature range; and determining whether to perform a predetermined operation based on the prediction result of whether the object's temperature is abnormal. In one embodiment, the predetermined temperature range is determined based on the object type of the object to be detected.
[0113] In one embodiment, the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected is determined; the energy intensity range in which the energy intensity is located is determined; the object type of the object to be detected is determined; based on the energy intensity range, the object type, and the range mapping relationship, the temperature range in which the temperature of the object to be detected is located is determined; if the temperature range is within a predetermined temperature range, a temperature anomaly of the object to be detected is predicted; based on the first prediction result of the temperature anomaly of the object to be detected, a predetermined operation is determined to be performed.
[0114] In one embodiment, the predetermined operation includes: outputting a prompt message; wherein the prompt message is used to indicate that the temperature of the object to be tested is within a predetermined temperature range. In one embodiment, the prompt message can also be used to indicate that the temperature of the object to be tested is within the predetermined temperature range, and there is a predetermined risk. In some embodiments, the object to be tested is a living organism with vital characteristics; the prompt message is used to indicate that the temperature of the object to be tested is within the predetermined temperature range, and there is a risk of illness. For example, if the temperature of the object to be tested is within the predetermined temperature range, there is a risk of hypothermia, fever, and heatstroke.
[0115] In one embodiment, when the object to be detected is a human body, the predetermined temperature range can be a range greater than 37.5°C and less than 40°C. In one embodiment, the energy intensity of the infrared radiation generated by the thermal radiation of the object to be detected is determined; the energy intensity range in which the energy intensity falls is determined; the object type of the object to be detected is determined; based on the energy intensity range, the object type, and the range mapping relationship, the temperature range in which the temperature of the object to be detected is determined; if the temperature range is within the predetermined temperature range, a temperature anomaly of the object to be detected is predicted; based on the first prediction result of the predicted temperature anomaly of the object to be detected, a predetermined operation is determined to be performed; wherein, the predetermined operation may include: an operation that outputs corresponding measure information in response to an output prompt message; wherein, the prompt message is used to indicate that the temperature of the object to be detected is within the predetermined temperature range, and there is a predetermined risk. It should be noted that, in this case, the predetermined risk of the object to be detected being within the predetermined temperature range is essentially a fever risk.
[0116] In one embodiment, the first measure information includes information instructing the object to be tested to undergo physical cooling. For example, information instructing the object to be tested to undergo warm water sponging, alcohol sponging, and / or ice application.
[0117] Here, when a low-grade fever or high-grade fever risk is detected in the subject to be tested, the measures information is output so that the subject to be tested can be subjected to targeted physical cooling based on the fever-reducing measures information.
[0118] In one embodiment, when the object to be detected is a human body, the predetermined temperature range may include at least one of the following: a first predetermined temperature range and a second predetermined temperature range; the prompt information may include at least one of the following: a first prompt information and a second prompt information; wherein, the first prompt information is used to indicate that the temperature of the object to be detected is within the first predetermined temperature range, and there is a risk of low-grade fever; the second prompt information is used to indicate that the temperature of the object to be detected is within the second predetermined temperature range, and there is a risk of high-grade fever.
[0119] In one embodiment, the first predetermined temperature range can be a range greater than 37.5°C and less than 38.5°C; the second predetermined temperature range can be a range greater than 38.5°C and less than 40°C.
[0120] In one embodiment, the predetermined operation includes at least one of the following: an operation that outputs a drug object type determined based on a drug recommendation algorithm.
[0121] In one embodiment, the operation of outputting the drug object type determined by the drug recommendation algorithm includes: in response to outputting a first prompt message, outputting an operation based on a first drug object type determined by the drug recommendation algorithm; wherein the first prompt message is used to indicate that the temperature of the subject being tested is within a first predetermined temperature range, indicating a risk of low-grade fever; and the first drug object type is a drug object type used to treat low-grade fever; or, in response to outputting a second prompt message, outputting an operation based on a second drug object type determined by the drug recommendation algorithm; wherein the second prompt message is used to indicate that the temperature of the subject being tested is within a second predetermined temperature range, indicating a risk of high-grade fever; and the second drug object type is a drug object type used to treat high-grade fever. Here, when a risk of low-grade fever or high-grade fever is detected in the subject being tested, the corresponding drug object type for fever reduction is output, allowing the subject being tested to accurately find the corresponding drug in their purchased medications, or to purchase the corresponding drug online if they have not yet purchased the drug. Thus, when a risk of low-grade fever or high-grade fever is detected in the subject being tested, the subject being tested can receive targeted medication to lower their temperature based on the output drug object type.
[0122] In one embodiment, the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected is determined; the object type of the object to be detected is determined; the energy intensity and the object type are input into a predetermined algorithm model to obtain the temperature of the object to be detected; wherein the predetermined algorithm model is established based on a predetermined mapping relationship; the predetermined mapping relationship includes the mapping relationship between energy intensity, object type and temperature; the temperature of the object to be detected is displayed on a predetermined interface; or, the temperature of the object to be detected is announced in voice form.
[0123] In one embodiment, the energy intensity of infrared radiation generated by the thermal radiation of the object to be tested is determined; the energy intensity is input into a predetermined algorithm model to obtain the freshness and nutritional components of the object to be tested; wherein the predetermined algorithm model is established based on the mapping relationship between energy intensity, freshness and nutritional components.
[0124] In this embodiment, the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected is determined; wherein, the energy intensity is the energy density of the total radiant energy of the infrared radiation; the energy intensity is input into a predetermined algorithm model to obtain the temperature of the object to be detected; wherein, the predetermined algorithm model is established based on a mapping relationship between energy intensity and temperature; or, the temperature of the object to be detected is obtained based on temperatures in a predetermined mapping relationship table that have a mapping relationship with the energy intensity; wherein, the predetermined mapping relationship table is used to indicate the mapping relationship between energy intensity and temperature. Here, since there is a mapping relationship between energy intensity, object type, and temperature, and the predetermined algorithm model and the predetermined mapping relationship table are established based on the mapping relationship between energy intensity, object type, and temperature, the temperature of the object to be detected can be directly obtained based on the predetermined algorithm model and / or the predetermined mapping relationship table after determining the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected. Compared to obtaining human body temperature by measuring the thermoelectric current difference between the detection and reference ends of an infrared thermopile, this embodiment directly obtains the temperature of the object to be detected by inputting the energy intensity and the object type into the predetermined algorithm model; or, it directly queries the temperature of the object to be detected in the predetermined mapping table based on the energy intensity and the object type. This embodiment eliminates the need for a reference end susceptible to ambient temperature and for a heat-insulating component to stabilize the reference end's temperature. This reduces the impact of ambient temperature on the temperature of the object being detected, resulting in high detection accuracy, cost savings, and reduced space occupancy within the terminal.
[0125] like Figure 4 As shown, this disclosure provides a method for detecting temperature, applied to a terminal, the method comprising:
[0126] Step 41: Input the energy intensity sample, object type sample, and temperature label into the predetermined algorithm model to be trained until the convergence function of the predetermined algorithm model converges, and obtain the trained predetermined algorithm model.
[0127] Step 42: Determine the energy intensity of the infrared radiation produced by the thermal radiation of the object to be tested;
[0128] Step 43: Determine the object type of the object to be detected;
[0129] Step 44: Input the energy intensity and the object type into a predetermined algorithm model to obtain the temperature of the object to be detected.
[0130] In one embodiment, for samples of the same object type, multiple consecutive energy intensity intervals are determined based on the energy intensity range of the desired input energy intensity samples. The energy intensity range is determined based on the maximum and minimum values of the desired input energy intensity samples. The energy intensity samples and their corresponding temperature identifiers are input into the predetermined algorithm model to be trained until the convergence function of the predetermined algorithm model converges, obtaining the trained predetermined algorithm model. The number of samples in each energy intensity interval is the same as the number of samples in other energy intensity intervals. Here, the desired input energy intensity samples are divided into energy intensity intervals, and the number of samples in each energy intensity interval is the same as the number of samples in other energy intensity intervals, ensuring a balanced distribution of energy intensity samples input into the predetermined algorithm model to be trained. This also ensures that samples in each energy intensity interval are fully trained, without missing any energy intensity samples in any interval. Thus, the predetermined algorithm model is trained more comprehensively on the energy intensity samples, resulting in high accuracy after training.
[0131] In one embodiment, the band samples, energy intensity samples, object type samples, and temperature identifiers of the infrared radiation generated by the thermal radiation of the object to be detected are input into the predetermined algorithm model to be trained until the convergence function of the predetermined algorithm model converges, thereby obtaining the trained predetermined algorithm model; the energy intensity of the infrared radiation generated by the thermal radiation of the object to be detected, the object type of the object to be detected, and the band of the infrared radiation are determined; the energy intensity, the object type, and the band are input into the predetermined algorithm model to obtain the temperature of the object to be detected. In one embodiment, the band of the infrared radiation is the wavelength range of the infrared radiation.
[0132] In one embodiment, the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected, the object type, and the wavelength of the infrared radiation are determined. The energy intensity, object type, and wavelength are then input into a predetermined algorithm model to obtain the temperature of the object to be detected. The predetermined algorithm model is established based on the mapping relationship between energy intensity, object type, wavelength, and temperature. Here, because the predetermined algorithm model is established based on the mapping relationship between energy intensity, object type, wavelength, and temperature, compared to methods that only utilize this mapping relationship, this embodiment requires training on more variables during the training process. Therefore, the convergence condition of the predetermined algorithm model is more stringent during training, resulting in more accurate model parameters after convergence. Thus, in application, inputting multiple variables into the predetermined algorithm model and using the more accurate model parameters allows for a more accurate temperature determination.
[0133] In one embodiment, the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected is determined; the object type of the object to be detected is determined; based on the object type, a corresponding predetermined algorithm model is determined from a predetermined algorithm model set; the object type and the energy intensity are input into the predetermined algorithm model to obtain the temperature of the object to be detected. In one embodiment, any two different predetermined algorithm models in the predetermined algorithm model set are established based on the mapping relationship between the temperature of the object to be detected and the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected, based on different object types.
[0134] like Figure 5 As shown, this disclosure provides a method for detecting temperature, applied to a terminal, the method comprising:
[0135] Step 51: Input the energy intensity sample, object type sample and temperature label into the predetermined algorithm model to be trained until the convergence function of the predetermined algorithm model converges, and obtain the trained predetermined algorithm model.
[0136] Step 52: Based on the text information received by the terminal through the predetermined display control, determine the reference mapping relationship between the energy intensity, the object type, and the temperature in the predetermined scenario;
[0137] Step 53: Calibrate the predetermined algorithm model based on the reference mapping relationship.
[0138] In one embodiment, determining the reference mapping relationship between the energy intensity, the object type, and the temperature in a predetermined scenario based on the text information received by the terminal through a predetermined display control may include: in response to receiving an input operation for a first predetermined display control in the terminal and a confirmation operation for a second display control in the terminal, acquiring text information corresponding to the input operation; wherein, the first predetermined display control is used to receive the text information input by the user; and the second predetermined display control is used to: generate a control instruction to acquire the text information corresponding to the input operation based on the confirmation operation. In one embodiment, the first predetermined display control is a text display control, in which the user can input text information. In one embodiment, the second predetermined display control is a button display control, in which the user can trigger the terminal to generate a control instruction by tapping the button display control. In one embodiment, the predetermined scenario is a scenario for testing a predetermined algorithm model. It should be noted that the predetermined display control here may be the same as or different from any of the predetermined display controls described above.
[0139] In one embodiment, energy intensity samples, object type samples, and temperature identifiers are input into the predetermined algorithm model to be trained until the convergence function of the predetermined algorithm model converges to obtain the trained predetermined algorithm model; in response to receiving an input operation for a predetermined display control in the terminal, text information corresponding to the input operation is obtained; wherein, the text information is used to determine the reference mapping relationship between the energy intensity, object type, and temperature in a predetermined scenario; and the predetermined algorithm model is calibrated based on the reference mapping relationship.
[0140] In one embodiment, the text information includes user-inputted temperature information. Determining a reference mapping relationship between the energy intensity, object type, and temperature in a predetermined scenario based on the text information received by the terminal through a predetermined display control includes: determining the reference mapping relationship between the energy intensity, object type, and user-inputted temperature in a predetermined scenario based on the text information received by the terminal through a predetermined display control. In one embodiment, calibrating the predetermined algorithm model based on the reference mapping relationship includes: determining whether to adjust the model parameters of the predetermined algorithm model based on the user-inputted temperature information. In one embodiment, the user-inputted temperature information may be: the actual temperature of the object to be detected determined by the user using a contact thermometer.
[0141] In one embodiment, determining whether to adjust the model parameters of the predetermined algorithm model based on the user-inputted temperature information includes: determining the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected; determining the object type of the object to be detected; inputting the energy intensity and the object type into the predetermined algorithm model to obtain the temperature of the object to be detected; and determining whether to adjust the model parameters of the predetermined algorithm model based on the temperature deviation between the temperature of the object to be detected and the temperature input by the user, and the relationship between the temperature deviation and a deviation threshold. In one embodiment, if the temperature deviation between the temperature of the object to be detected and the temperature input by the user is greater than the deviation threshold, it is determined that the model parameters of the predetermined algorithm model should be adjusted. In one embodiment, the deviation threshold may be 0.05℃.
[0142] In one embodiment, the predetermined scenario is the first time a user uses the terminal to take their temperature. In another embodiment, the predetermined scenario is when the number of times a user uses the terminal to take their temperature is less than a predetermined number.
[0143] In one embodiment, the predetermined scenario is a scenario where the user performs temperature measurements using the terminal more than a predetermined number of times, and the temperature deviation between the temperature of the object to be detected and the temperature with a reference mapping relationship to the energy intensity is greater than a deviation threshold. It should be noted that in this embodiment, "less than" includes cases of "less than" or "equal to," and "greater than" includes cases of "greater than" or "equal to." In this embodiment, the reference mapping relationship between energy intensity and temperature obtained under the predetermined scenario can be used to calibrate the predetermined algorithm model, thereby reducing the error between the detected temperature and the actual temperature of the object to be detected under the same energy intensity, thus improving the accuracy of subsequent temperature detection of the object to be detected.
[0144] In one embodiment, the predetermined scenario includes a first scenario; wherein the first scenario is a scenario in which the radiant surface state of the object to be detected changes. In one embodiment, the radiant surface state is the state of the surface of the object to be detected. For example, when the object to be detected is a human body, the radiant surface state can be the state of the human skin.
[0145] In one embodiment, a change in the radiant surface state of the object being tested can refer to a scenario where the object type changes, leading to a change in the radiant surface state of the object. For example, during two consecutive temperature measurements, if the object type changes from a person to a steel sheet, the radiant surface state of a person differs from that of a steel sheet, thus confirming a change in the radiant surface state of the object. In another embodiment, a change in the radiant surface state of the object can also refer to a scenario where the object type remains unchanged, but the radiant surface state of different objects of the same type changes. For example, during two consecutive temperature measurements, both objects are human, but the object was an infant in the first measurement and an elderly person in the second. In this case, the radiant surface state (skin condition) of the object has changed.
[0146] In one embodiment, the radiant surface state includes at least one of the following: radiant surface color and radiant surface smoothness.
[0147] In one embodiment, in response to receiving an input operation to a display control in the terminal, text information corresponding to the input operation is acquired; wherein the text information is used to determine a reference mapping relationship between energy intensity, object type, and temperature in a first scenario; wherein the first scenario is a scenario in which the radiative surface state of the object to be detected changes; and the predetermined algorithm model is calibrated based on the reference mapping relationship. In one embodiment, the text information includes: information on the radiative surface state of the object to be detected and information on the actual temperature of the object to be detected determined using a contact thermometer.
[0148] In one embodiment, the text information is used to determine the reference mapping relationship between the energy intensity, the object type, and the temperature in a first scenario. This can mean that the text information is used to determine whether a first scenario exists; if a first scenario exists, the reference mapping relationship between the energy intensity, the object type, and the temperature in the first scenario is determined. In another embodiment, based on the information about the radiation surface state of the object to be detected in the text information, it is determined whether a first scenario exists in which the radiation surface state of the object to be detected changes; if a first scenario exists in which the radiation surface state of the object to be detected changes, the reference mapping relationship between the energy intensity, the object type, and the temperature in the first scenario is determined; and the predetermined algorithm model is calibrated based on the reference mapping relationship.
[0149] Here, in the first scenario where the radiation surface state of the object to be detected changes, the predetermined algorithm model is calibrated by utilizing the reference mapping relationship between the energy intensity, object type, and temperature of the object to be detected. This can filter out the influence of different radiation surface states of the object to be detected on the subsequent detection of the temperature of the object to be detected.
[0150] In one embodiment, the predetermined scenario includes a second scenario; wherein the second scenario is a scenario in which the environment of the object to be detected changes. In one embodiment, the environment of the object to be detected includes the light intensity of the environment in which the object to be detected is located.
[0151] In one embodiment, in response to receiving an input operation on a display control in the terminal, text information corresponding to the input operation is acquired; wherein, the text information is used to determine a reference mapping relationship between the energy intensity, the object type, and the temperature in a second scenario; wherein, the second scenario is a scenario where the environment of the object to be detected changes; a predetermined algorithm model is calibrated based on the reference mapping relationship. Here, in the second scenario where the environment of the object to be detected changes, calibrating the predetermined algorithm model using the reference mapping relationship between the energy intensity, the object type, and the temperature of the object to be detected in different environments can filter out the influence of the environment of the object to be detected on the temperature of the detected object.
[0152] In one embodiment, the text information includes environmental information about the environment in which the object to be detected is located. For example, this may include information about the presence or absence of strong sunlight. For instance, the environmental information may include at least one of the following: information that the object is indoors without sunlight; and information that the object is outdoors in sunlight. In some embodiments, the environmental information may further include weather information. For example, the environment in which the object is located may be cloudy.
[0153] like Figure 6 As shown in the figure, this disclosure provides a method for detecting temperature, applied to a terminal, the method comprising:
[0154] Step 61: Determine the energy intensity of the infrared radiation generated by the thermal radiation of the object to be tested;
[0155] Step 62: Determine the object type of the object to be detected;
[0156] Step 63: Input the auxiliary information, the energy intensity, and the object type into the predetermined algorithm model to obtain the temperature of the object to be detected; wherein, the auxiliary information includes: environmental information.
[0157] In one embodiment, auxiliary information samples, the energy intensity samples, the object type samples, and temperature labels are input into the predetermined algorithm model to be trained until the convergence function of the predetermined algorithm model converges, thereby obtaining the trained predetermined algorithm model. In one embodiment, the auxiliary information samples include at least one of the following: environmental information samples.
[0158] In one embodiment, the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected is determined; the object type of the object to be detected is determined; auxiliary information is determined; and the auxiliary information, the energy intensity, and the object type are input into the predetermined algorithm model to obtain the temperature of the object to be detected. In one embodiment, determining the auxiliary information includes: receiving text information input by a user in a predetermined text box; determining the auxiliary information based on the text information; or, using a scanning component to scan the object to be detected to determine the feature information of the object to be detected; and determining the auxiliary information based on the feature information. In one embodiment, the auxiliary information includes at least one of the following: environmental information and / or the radiation surface state of the object to be detected. In one embodiment, the environmental information is the environmental information of the environment in which the object to be detected is located. It should be noted that the environmental information and the radiation surface state of the object to be detected can be any of the environmental information and radiation surface state of the object to be detected described above.
[0159] like Figure 7 As shown, this disclosure provides a device for detecting temperature, the device comprising:
[0160] The determining module 71 is used to: determine the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected; and determine the object type of the object to be detected.
[0161] The acquisition module 72 is used to obtain the temperature of the object to be detected based on the energy intensity, the object type, and a predetermined mapping relationship; wherein the predetermined mapping relationship includes the mapping relationship between energy intensity, object type, and temperature.
[0162] In one embodiment, the determining module 71 is further configured to:
[0163] The object type is determined based on the text information received by the terminal through a predetermined display control;
[0164] or,
[0165] The object type is determined by using the feature information of the object to be detected obtained by the image acquisition module. In one embodiment, the energy intensity is the energy density of the total radiant energy of the infrared radiation.
[0166] In one embodiment, the determining module 71 is further configured to:
[0167] Detect the wavelength range of the infrared light;
[0168] Determine the energy density of the radiant energy corresponding to the wavelengths within the specified wavelength range;
[0169] The total energy density of the radiant energy is determined by integrating the density of the radiant energy over the wavelength range. In one embodiment, the acquisition module 72 is used to:
[0170] The energy intensity and the object type are input into a predetermined algorithm model to obtain the temperature of the object to be detected; wherein the predetermined algorithm model is established based on the mapping relationship; or, the temperature of the corresponding object to be detected is queried from the predetermined mapping relationship table based on the energy intensity and the object type; wherein the predetermined mapping relationship table is established based on the predetermined mapping relationship. In one embodiment, the acquisition module 72 is further configured to:
[0171] The energy intensity sample, object type sample, and temperature label are input into the predetermined algorithm model to be trained until the convergence function of the predetermined algorithm model converges, thereby obtaining the trained predetermined algorithm model.
[0172] In one embodiment, the apparatus further includes:
[0173] The calibration module 73 is used to: determine the reference mapping relationship between the energy intensity, the object type and the temperature in a predetermined scenario based on the text information received by the terminal through a predetermined display control; and calibrate the predetermined algorithm model based on the reference mapping relationship.
[0174] In one embodiment, the acquisition module 72 is further used for
[0175] The auxiliary information, the energy intensity, and the object type are input into the predetermined algorithm model to obtain the temperature of the object to be detected.
[0176] The auxiliary information includes: environmental information.
[0177] like Figure 8 As shown, Figure 8 This is a side cross-sectional view of a terminal. This disclosure provides a terminal capable of implementing any of the methods described in this disclosure. The terminal includes:
[0178] A spectral sensor 81 is installed inside the terminal and is used to detect the energy intensity of infrared rays generated by the thermal radiation of the object to be detected through a preset hole 82.
[0179] A preset hole 82 is provided on a predetermined side of the terminal;
[0180] A processor (not shown in the figure) is configured to: determine the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected; and obtain the temperature of the object to be detected based on the energy intensity and the mapping relationship between the energy intensity and temperature.
[0181] In one embodiment, the terminal further includes a light-transmitting cover plate 83, which is disposed over the preset hole 82 to seal the preset hole 82.
[0182] In one embodiment, the light transmittance of the light-transmitting cover 83 is greater than 50%. In one embodiment, the light-transmitting cover 83 can be glass.
[0183] In one embodiment, the size of the preset hole 82 is not limited. In another embodiment, the size of the preset hole 82 can be determined based on the required amount of infrared light. In yet another embodiment, if the required amount of infrared light is greater than the first required amount, the size of the preset hole is determined to be greater than the first size.
[0184] In one embodiment, the predetermined side can be any side of the terminal.
[0185] In one embodiment, Figure 9 This is a schematic diagram of the rear of the terminal, as shown below. Figure 9 As shown, the predetermined side can be the rear side of the terminal. This allows the user to simultaneously use the rear side of the terminal to detect the temperature of the object under test and the front side of the terminal to view the obtained temperature of the object under test. In one embodiment, the terminal further includes a terminal rear housing 84, and the predetermined hole is disposed on the terminal rear housing 84.
[0186] In one embodiment, the spectral sensor 81 can be a MEMS infrared spectral sensor.
[0187] In one embodiment, the MEMS infrared spectroscopy sensor internally includes a MEMS detection section and an application-specific integrated circuit (ASIC), while externally, a power supply circuit and a signal transmission circuit are provided.
[0188] In one embodiment, the MEMS infrared spectroscopy sensor internally includes a MEMS detection section and an ASIC circuit, while externally, a power supply circuit and a signal transmission circuit are provided.
[0189] Figure 10 This is a block diagram illustrating an electronic device 600 according to an exemplary embodiment. The method disclosed herein can be applied to this electronic device.
[0190] Reference Figure 10The electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power supply component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.
[0191] Processing component 602 typically controls the overall operation of electronic device 600, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 602 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 602 may include one or more modules to facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.
[0192] Memory 604 is configured to store various types of data to support the operation of device 600. Examples of this data include instructions for any application or method operating on electronic device 600, contact data, phonebook data, messages, pictures, videos, etc. Memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0193] Power supply component 606 provides power to various components of electronic device 600. Power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 600.
[0194] Multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 608 includes a front-facing camera and / or a rear-facing camera. When the device 600 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0195] Audio component 610 is configured to output and / or input audio signals. For example, audio component 610 includes a microphone (MIC) configured to receive external audio signals when electronic device 600 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 604 or transmitted via communication component 616. In some embodiments, audio component 610 also includes a speaker for outputting audio signals.
[0196] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0197] Sensor assembly 614 includes one or more sensors for providing state assessments of various aspects of electronic device 600. For example, sensor assembly 614 may detect the on / off state of device 600, the relative positioning of components such as the display and keypad of electronic device 600, changes in position of electronic device 600 or a component of electronic device 600, the presence or absence of user contact with electronic device 600, orientation or acceleration / deceleration of electronic device 600, and temperature changes of electronic device 600. Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 614 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0198] Communication component 616 is configured to facilitate wired or wireless communication between electronic device 600 and other devices. Electronic device 600 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 616 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0199] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0200] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, which can be executed by a processor 820 of an electronic device 600 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0201] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein.
[0202] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope.
Claims
1. A method for detecting temperature, applied to a terminal, characterized in that, The method includes: Determine the energy intensity of the infrared radiation produced by the thermal radiation of the object to be detected; Determine the object type of the object to be detected; The auxiliary information, the energy intensity, and the object type are input into a predetermined algorithm model to obtain the temperature of the object to be detected; wherein, the auxiliary information includes: environmental information and the radiation surface state of the object to be detected; the environmental information includes: the light intensity of the environment in which the object to be detected is located; the radiation surface state includes at least one of the following: radiation surface color and radiation surface smoothness; the predetermined algorithm model is established based on a predetermined mapping relationship; the predetermined mapping relationship includes the mapping relationship between energy intensity, object type, and temperature.
2. The method according to claim 1, characterized in that, Determining the object type of the object to be detected includes: The object type is determined based on the text information received by the terminal through a predetermined display control; or, The object type is determined by using the feature information of the object to be detected obtained by the image acquisition module.
3. The method according to claim 1, characterized in that, The energy intensity is the total energy density of the infrared radiation energy.
4. The method according to claim 3, characterized in that, The method further includes: Detect the wavelength range of the infrared light; Determine the energy density of the radiant energy corresponding to the wavelengths within the specified wavelength range; The total energy density of the radiant energy is determined by integrating the density of the radiant energy over the wavelength range.
5. The method according to claim 1, characterized in that, The method further includes: The auxiliary information samples, energy intensity samples, object type samples, and temperature labels are input into the predetermined algorithm model to be trained until the convergence function of the predetermined algorithm model converges, thereby obtaining the trained predetermined algorithm model.
6. The method according to claim 5, characterized in that, The method further includes: Based on the text information received by the terminal through a predetermined display control, a reference mapping relationship between the energy intensity, the object type, and the temperature in a predetermined scenario is determined; The predetermined algorithm model is calibrated based on the reference mapping relationship.
7. A device for detecting temperature, characterized in that, The device includes: The determination module is used to: determine the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected; and determine the object type of the object to be detected. The acquisition module is used to input auxiliary information, the energy intensity, and the object type into a predetermined algorithm model to obtain the temperature of the object to be detected; wherein, the auxiliary information includes: environmental information and the radiation surface state of the object to be detected; the environmental information includes: the light intensity of the environment in which the object to be detected is located; the radiation surface state includes at least one of the following: radiation surface color and radiation surface smoothness; the predetermined algorithm model is established based on a predetermined mapping relationship; the predetermined mapping relationship includes the mapping relationship between energy intensity, object type, and temperature.
8. A terminal, characterized in that, The terminal includes: A spectral sensor, located inside the terminal, is used to detect the energy intensity of infrared radiation generated by the thermal radiation of the object to be detected through a preset hole. A preset hole is provided on a predetermined side of the terminal; A processor is configured to: determine the object type of the object to be detected; input auxiliary information, the energy intensity, and the object type into a predetermined algorithm model to obtain the temperature of the object to be detected; wherein the auxiliary information includes: environmental information and the radiant surface state of the object to be detected; the environmental information includes: the light intensity of the environment in which the object to be detected is located; the radiant surface state includes at least one of the following: the color of the radiant surface and the smoothness of the radiant surface; the predetermined algorithm model is established based on a predetermined mapping relationship; the predetermined mapping relationship includes the mapping relationship between energy intensity, object type, and temperature.
9. An electronic device, characterized in that, The electronic device includes: a processor and a memory for storing computer services that can run on the processor, wherein the processor, when running the computer services, implements the method of any one of claims 1 to 6.
10. A storage medium, characterized in that, The storage medium contains computer-executable instructions, which are executed by a processor to implement the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Tokamak divertor target plate temperature accurate measurement method
CN108168709A
Temperature correction method under complex scene based on pattern recognition
CN109724703A
Target temperature detection method, system and device and medium
CN112084658A