Body temperature testing method, electronic device and storage medium
Through the combination of infrared sensors and identification, correction and display modules, the problems of limited use and insufficient measurement accuracy of existing thermometers are solved, and convenient, safe and highly accurate body temperature measurement of various types of objects is achieved.
Patent Information
- Application Number
- CN202010673228.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-14
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2040-07-14
AI Technical Summary
The use of existing thermometers is limited, especially for children, which are unsafe and inconvenient. At the same time, different types of objects require different thermometers, users need to carry multiple thermometers, and contact thermometers are in terms of measurement accuracy and convenience. There are shortcomings.
Provide a body temperature testing method and device, which performs non-contact temperature measurement through infrared sensors, supports body temperature measurement of human bodies, animals and objects, and acquires and compensates for environmental characteristics through an identification module, correction module and display module to improve measurement accuracy.
It realizes convenient body temperature measurement of various types of objects, improves the accuracy and safety of measurement, and avoids the limitations of contact thermometers.
Smart Images

Figure CN114001825B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of smart terminal technology, and in particular to a body temperature testing method, an electronic device, and a storage medium. Background Art
[0002] In people's daily lives, temperature testing scenarios are often encountered. For example, when a family member has a fever, a thermometer can be used to measure the temperature. Common thermometers are usually contact type, which are used to test the temperature of the user's armpit or mouth. However, the use of contact thermometers is limited. For example, it is unsafe and inconvenient for children to use.
[0003] With the continuous development of technology, the application scenarios of body temperature testing are no longer limited to humans. For example, the temperature of pets can be measured, as well as the temperature of objects, such as the temperature of water when making milk powder. However, different types of objects, such as humans and animals, use different thermometers; in addition, it is inconvenient to carry different types of thermometers with you. Summary of the invention
[0004] The embodiments of the present application provide a body temperature testing method, an electronic device, and a storage medium to provide a way to perform body temperature testing on various types of objects, which can facilitate users to measure the body temperature of different types of objects and improve the accuracy of body temperature measurement.
[0005] In a first aspect, an embodiment of the present application provides a body temperature testing method, comprising:
[0006] A first operation for selecting a temperature measurement mode is detected; in response to the detected first operation, a current temperature measurement mode is determined, and a target object is identified in the current temperature measurement mode to obtain a first feature of the target object; specifically, the temperature measurement mode may include human body temperature measurement, animal temperature measurement, and object temperature measurement. The first feature may include the type of animal, the age group of the human body, or the body part of the human body.
[0007] A second operation for measuring the temperature of the target object is detected; in response to the detected second operation, the temperature of the target object is measured to obtain a first temperature value; specifically, the first temperature value may be an initial measurement value.
[0008] A second feature is obtained, and the first temperature value is compensated according to the second feature to obtain the second temperature value; specifically, the second feature may include system time, current geographical location and current atmospheric environment. Since the above second feature may affect the temperature measurement value, the first temperature value can be compensated according to the above second feature.
[0009] Determine whether the second temperature value is normal according to the first feature, and display the second temperature value and a prompt indicating whether the second temperature value is normal. Specifically, the first feature may correspond to a normal temperature range, and therefore, by comparing the second temperature value with the normal range corresponding to the first feature, it can be determined whether the second temperature value is normal.
[0010] One possible implementation method also includes:
[0011] A first distance between the target object and the target object is obtained, and the first distance is compared with a preset distance threshold; if the first distance does not match the preset distance threshold, a first prompt is displayed; if the first distance matches the preset distance threshold, a second prompt is displayed. Specifically, the first distance may be the distance between an infrared sensor for measuring temperature and the target object. Since there is an optimal distance value for measuring temperature through an infrared sensor, the optimal distance may be obtained by measuring the first distance.
[0012] One possible implementation method also includes:
[0013] The second temperature value is associated with the identity of the target object, and the second temperature value is stored. Specifically, the stored second temperature value can be used as a historical temperature value, wherein the historical temperature value can be bound to the target object as a personal history database.
[0014] One possible implementation method also includes:
[0015] Perform face recognition on the target object to obtain the identity of the target object; perform a query based on the identity of the target object to obtain the historical temperature value of the target object; compare the second temperature value with the historical temperature value, and determine whether the second temperature value is normal based on the comparison result.
[0016] In one possible implementation, determining whether the second temperature value is normal according to the first feature includes:
[0017] A query is performed according to the first feature to obtain a preset temperature threshold corresponding to the first feature; specifically, the preset temperature threshold may be a specific value or a range of values, which is not limited in the embodiment of the present application.
[0018] The second temperature value is compared with a preset temperature threshold, and whether the second temperature value is normal is determined according to the comparison result.
[0019] One possible implementation method also includes:
[0020] The first image is acquired, and the second temperature value is displayed on the first image. Specifically, the first image may be any photo, wherein the photo may be a currently captured photo or a photo pre-stored in a local photo album, which is not limited in the embodiment of the present application.
[0021] In a second aspect, an embodiment of the present application provides a body temperature testing device, comprising:
[0022] an identification module, configured to detect a first operation for selecting a temperature measurement mode; determine a current temperature measurement mode in response to the detected first operation, and identify a target object in the current temperature measurement mode to obtain a first feature of the target object;
[0023] a temperature measurement module, configured to detect a second operation for measuring the temperature of a target object; and in response to the detected second operation, measure the temperature of the target object to obtain a first temperature value;
[0024] a correction module, used for acquiring a second characteristic, and compensating the first temperature value according to the second characteristic to obtain a second temperature value;
[0025] The display module is used to determine whether the second temperature value is normal according to the first feature, and to display the second temperature value and a prompt indicating whether the second temperature value is normal.
[0026] In one possible implementation, the device further includes:
[0027] The distance measurement module is used to obtain a first distance to the target object and compare the first distance with a preset distance threshold; if the first distance does not match the preset distance threshold, a first prompt is displayed; if the first distance matches the preset distance threshold, a second prompt is displayed.
[0028] In one possible implementation, the device further includes:
[0029] The storage module is used to associate the second temperature value with the identity of the target object and store the second temperature value.
[0030] In one possible implementation, the device further includes:
[0031] The face recognition module is used to perform face recognition on the target object to obtain the identity of the target object; query according to the identity of the target object to obtain the historical temperature value of the target object; compare the second temperature value with the historical temperature value, and determine whether the second temperature value is normal according to the comparison result.
[0032] In one possible implementation, the display module includes:
[0033] A query unit, configured to query according to the first feature to obtain a preset temperature threshold corresponding to the first feature;
[0034] The comparison unit is used to compare the second temperature value with a preset temperature threshold value, and determine whether the second temperature value is normal according to the comparison result.
[0035] In one possible implementation, the device further includes:
[0036] The association module is used to acquire the first image and display the second temperature value on the first image.
[0037] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0038] A memory, the memory is used to store computer program codes, the computer program codes include instructions, when the device reads the instructions from the memory, the device performs the following steps:
[0039] A first operation for selecting a temperature measurement mode is detected;
[0040] In response to the detected first operation, determining a current temperature measurement mode, and identifying a target object in the current temperature measurement mode to obtain a first feature of the target object;
[0041] detecting a second operation for measuring the temperature of the target object;
[0042] In response to the detected second operation, measuring the temperature of the target object to obtain a first temperature value;
[0043] Acquire a second characteristic, and compensate the first temperature value according to the second characteristic to obtain a second temperature value;
[0044] Determine whether the second temperature value is normal according to the first feature, and display the second temperature value and a prompt indicating whether the second temperature value is normal.
[0045] In one possible implementation manner, when the above instruction is executed by the above device, the above device further performs the following steps:
[0046] Acquire a first distance to the target object, and compare the first distance with a preset distance threshold;
[0047] If the first distance does not match the preset distance threshold, displaying a first prompt;
[0048] If the first distance matches the preset distance threshold, a second prompt is displayed.
[0049] In one possible implementation manner, when the above instruction is executed by the above device, the above device further performs the following steps:
[0050] The second temperature value is associated with the identity of the target object, and the second temperature value is stored.
[0051] In one possible implementation manner, when the above instruction is executed by the above device, the above device further performs the following steps:
[0052] Perform face recognition on the target object to obtain the identity of the target object;
[0053] Perform a query based on the identity of the target object to obtain the historical temperature value of the target object;
[0054] The second temperature value is compared with the historical temperature value, and whether the second temperature value is normal is determined according to the comparison result.
[0055] In one possible implementation manner, when the instruction is executed by the device, the device performs the step of determining whether the second temperature value is normal according to the first feature, which includes:
[0056] Perform a query according to the first feature to obtain a preset temperature threshold corresponding to the first feature;
[0057] The second temperature value is compared with a preset temperature threshold, and whether the second temperature value is normal is determined according to the comparison result.
[0058] In one possible implementation manner, when the above instruction is executed by the above device, the above device further performs the following steps:
[0059] A first image is acquired, and the second temperature value is displayed on the first image.
[0060] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method described in the first aspect.
[0061] In a fifth aspect, an embodiment of the present application provides a computer program, which, when executed by a computer, is used to execute the method described in the first aspect.
[0062] In one possible design, the program in the fifth aspect may be stored in whole or in part on a storage medium packaged together with the processor, or may be stored in whole or in part on a memory not packaged together with the processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0064] Figure 2 A schematic diagram of a temperature measurement method according to an embodiment of the present invention;
[0065] Figure 3 A schematic diagram of a temperature measurement mode selection display interface provided in an embodiment of the present application;
[0066] Figure 4 A schematic diagram of the temperature measurement display interface provided in an embodiment of the present application;
[0067] Figure 5 A schematic diagram of a temperature measurement result display interface provided in an embodiment of the present application;
[0068] Figure 6 This is a schematic diagram of the structure of a body temperature testing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0069] The technical solution in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. In the description of the embodiment of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0070] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0071] At present, common thermometers are usually contact thermometers. Different types of objects require different types of thermometers. For example, there are mercury thermometers, ear thermometers, pet thermometers and object thermometers. Carrying multiple thermometers is troublesome and inconvenient for users. In addition, contact thermometers are not safe for children.
[0072] With the development of technology, infrared thermometers came into being. In nature, all objects with temperatures above absolute zero are constantly emitting infrared radiation energy to the surrounding space. The size of the infrared radiation energy of an object and the distribution of its wavelength are closely related to its surface temperature. Therefore, by measuring the infrared energy radiated by the object itself, its surface temperature can be accurately determined. In practical applications, infrared thermometers usually use infrared sensors to measure the surface temperature of objects; among them, infrared sensors are sensors that use infrared rays to process data, and have the advantages of high sensitivity. Infrared sensors can control the operation of drive devices. In addition, infrared sensors are often used for non-contact temperature measurement. For example, infrared sensors can be used to measure the thermal image of the human body surface temperature from a distance, and abnormal temperature areas can be found.
[0073] However, different objects have different emissivities, so they radiate different infrared energies at the same temperature. For example, human skin at 37 degrees Celsius and a wall at 37 degrees Celsius radiate very different infrared energies. Therefore, the same infrared thermometer may measure different temperatures for two objects at the same temperature. In addition, the environment in which the object is located will also affect the measured temperature value, resulting in a deviation between the actual temperature value and the measured value.
[0074] Based on the above problems, an embodiment of the present application proposes a body temperature testing method, through which the accuracy of the measurement results can be improved.
[0075] The technical solution provided in the embodiments of the present application can be applied to an electronic device, which may be a mobile terminal, such as a mobile phone, or a handheld thermometer. The present application does not impose any special restrictions on the specific form of the electronic device that implements the technical solution.
[0076] like Figure 1 , which is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application. The electronic device 100 may include a memory 110, a display screen 120, a processor 130, an I / O subsystem 140, other input devices 150, a camera 160, an infrared sensor 170, a distance sensor 180, an air pressure sensor 190 and a motor 1A0. The display screen 120 is used to display a screen and an operation interface.
[0077] The display screen 120 can be used to display information input by the user or information provided to the user and various menus of the electronic device 100, and can also accept user input. Specifically, the display screen 120 may include a display panel 121, and a touch panel 122. Among them, the display panel 121 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel 122, also known as a touch screen, a touch-sensitive screen, etc., can collect the user's contact or non-contact operation on or near it (such as the user using any suitable object or accessory such as a finger, a stylus, etc. on the touch panel 122 or near the touch panel 122, and can also include somatosensory operations; the operation includes single-point control operation, multi-point control operation, and other operation types), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 122 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction and posture, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into information that can be processed by the processor, and then sends it to the processor 130, and can receive the command sent by the processor 130 and execute it. In addition, the touch panel 122 can be implemented by various types such as resistive, capacitive, infrared and surface acoustic wave, and any technology developed in the future can also be used to implement the touch panel 122. Further, the touch panel 122 can cover the display panel 121, and the user can operate on or near the touch panel 122 covered on the display panel 121 according to the content displayed on the display panel 121 (the display content includes but is not limited to soft keyboard, virtual mouse, virtual button, icon, etc.). After the touch panel 122 detects the operation on or near it, it is transmitted to the processor 130 through the I / O subsystem 140 to determine the user input, and then the processor 130 provides corresponding visual output on the display panel 121 through the I / O subsystem 140 according to the user input. Although in Figure 1 In the embodiment, the touch panel 122 and the display panel 121 are used as two independent components to implement the input and output functions of the electronic device 100, but in some embodiments, the touch panel 122 and the display panel 121 can be integrated to implement the input and output functions of the electronic device 100.
[0078] The processor 130 is the control center of the electronic device 100. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 110, and calling data stored in the memory 110, it executes various functions of the electronic device 100 and processes data, thereby monitoring the electronic device 100 as a whole. Optionally, the processor 130 may include one or more processing units; preferably, the processor 130 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 130.
[0079] The I / O subsystem 140 is used to control external devices for input and output, and may include other device input controllers 141 and display controllers 142. Optionally, one or more other input control device controllers 141 receive signals from other input devices 140 and / or send signals to other input devices 140. Other input devices 140 may include physical buttons (press buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels, and optical mice (optical mice are touch-sensitive surfaces that do not display visual output, or are extensions of touch-sensitive surfaces formed by touch screens). It is worth noting that other input control device controllers 141 may be connected to any one or more of the above devices. The display controller 142 in the I / O subsystem 140 receives signals from the display screen 120 and / or sends signals to the display screen 120. After the display screen 120 detects user input, the display controller 142 converts the detected user input into interaction with a user interface object displayed on the display screen 120, that is, realizes human-computer interaction.
[0080] The memory 110 can be used to store software programs and modules. The processor 130 executes various functional applications and data processing of the electronic device 100 by running the software programs and modules stored in the memory 110. The memory 110 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the memory 110 may include a high-speed random access memory, and may also include a non-volatile memory, for example, at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0081] The other input devices 150 may be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the electronic device 100. Specifically, the other input devices 150 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, an optical mouse (an optical mouse is a touch-sensitive surface that does not display visual output, or is an extension of a touch-sensitive surface formed by a touch screen), etc. The other input devices 150 are connected to the other input device controller 141 of the I / O subsystem 140, and perform signal interaction with the processor 130 under the control of the other device input controller 141.
[0082] The camera 160 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the image signal processor (ISP) to be converted into a digital image signal. The ISP outputs the digital image signal to the digital signal processor (DSP) for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 160, where N is a positive integer greater than 1.
[0083] The infrared sensor 170 is used to measure the temperature of the surface of the target object. The infrared sensor 170 may include an optical system, a detection element, and a conversion circuit. The optical system may include a transmission type and a reflection type, and the detection element may include a thermal detection element and a photoelectric detection element. The thermal element may generally be a thermistor. When the thermistor is radiated by infrared rays, the temperature rises, the resistance changes, and the conversion circuit may convert the signal into an electrical signal output. The photoelectric detection element may generally be a photosensitive element.
[0084] The distance sensor 180 is used to measure the distance between the electronic device 100 and the target object. The distance sensor 180 may be an ultrasonic distance sensor or an infrared distance sensor, which is not limited in the present embodiment. The distance measured by the distance sensor 180 may be used to assist the infrared sensor 170 in measuring the temperature of the target object.
[0085] The air pressure sensor 190 is used to measure the current atmospheric pressure value. The atmospheric pressure value measured by the air pressure sensor 190 can be used to calibrate the temperature value measured by the infrared sensor 170.
[0086] Motor 1A0 can generate vibration prompts. Motor 1A0 can be used for vibration feedback after the temperature measurement is completed, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as shooting, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 120, motor 1A0 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving information, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0087] Now combined Figure 2-Figure 5 The body temperature testing method provided in the embodiment of the present application is described. The method can be applied to the electronic device 100, including:
[0088] Step 101 , in response to a detected first operation for selecting a temperature measurement mode, determining a current temperature measurement mode, identifying a target object, and obtaining a first feature of the target object.
[0089] Specifically, the target object may be a person, an animal, or an object; in a specific implementation, the electronic device 100 may display the current operation interface to the user through the display screen of the electronic device 100 according to the detected user input instruction for selecting the temperature measurement mode. In a specific implementation, the user may start the temperature measurement application by clicking the icon of the temperature measurement application on the display screen of the electronic device 100.
[0090] Furthermore, when the user starts the temperature measurement application, the following information can be obtained: Figure 3 The display interface 300 shown in FIG. Figure 3 , the display interface 300 of the electronic device 100 may include a screen preview area 310, an operation area 320 and a temperature measurement mode selection area 330; wherein the screen preview area 310 may be used to display the preview screen acquired by the camera; the operation area 320 includes a temperature measurement button 321 and a camera switching button 322. It should be noted that for an electronic device 100 with a single camera, it does not have a camera switching function, so there is no camera switching button 322. When the electronic device 100 includes multiple cameras and the cameras are located on both sides of the electronic device, the electronic device 100 has a camera switching function and may include a camera switching button 322; the temperature measurement mode selection area 330 may be used to select the current temperature measurement mode, wherein the temperature measurement mode options may include human body temperature measurement, animal temperature measurement and object temperature measurement.
[0091] It should be noted that the camera can be turned on after the user starts the temperature measurement application or after the user determines the temperature measurement mode. For example, the user can click on any option in the temperature measurement mode selection area to determine the current temperature measurement mode and turn on the camera to obtain a preview screen; the embodiment of the present application is not limited to this.
[0092] It is understandable that the user can also start the temperature measurement application in other ways, for example, by double-clicking, or in other forms, which is not limited in this embodiment of the present application.
[0093] Furthermore, after the user determines the current temperature measurement mode, the electronic device 100 can identify the preview image of the target object in the display interface to obtain a first feature of the target object, wherein the first feature may include the type of animal, the age group of the human body, or the body part of the human body.
[0094] Optionally, if the current temperature measurement mode is a human body temperature measurement mode, the age and body parts of the target object in the preview screen can be further identified; wherein, the identification of the age of the target object can be distinguished by multiple age groups, illustratively, it can be pre-divided into several age intervals of 0-3 months, 3 months-36 months and above 36 months. When identifying the age of the target object, it can be determined in which age group the target object is based on the values of wrinkles, pores, spots, elasticity, smoothness, hydration, etc. of the target object's skin by comparing the big data with the pre-collected people of the same age, gender, and race. The specific age recognition can adopt the algorithm in the current field of artificial intelligence technology, which is not described in detail in this application; and the body parts of the target object can include the forehead, wrists, neck, etc. When identifying the body parts of the target object, since the skin of each part of the human body is very different, it can be identified according to the skin texture. For example, there is hair on the scalp, sweat hair on the body, the texture on the back of the finger is rough, etc., and the skin of different parts can be distinguished by shooting the skin with a camera at a macro distance, thereby obtaining the body part corresponding to the skin.
[0095] Optionally, if the current temperature measurement mode is an animal temperature measurement mode, the type of the animal can be further identified. Exemplarily, the animal type can include pigs, dogs, cats, sheep, and cattle, etc. Among them, the image recognition algorithm can adopt the algorithm in the current field of artificial intelligence technology, which will not be repeated in this application.
[0096] Step 102 : In response to the detected second operation for measuring the temperature of the target object, measure the temperature of the target object to obtain a first temperature value.
[0097] Specifically, the electronic device 100 can start temperature measurement of the target object according to the temperature measurement instruction input by the detected user. In a specific implementation, the user can start the temperature measurement of the target object by clicking the temperature measurement button 311 in the display interface 300. The temperature measurement of the target object can be performed by the infrared sensor 170 in the electronic device 100, thereby measuring the temperature value of the target object, that is, the first temperature value.
[0098] Optionally, before step 102, that is, before the user measures the temperature of the target object, the distance from the electronic device 100 to the target object can also be measured. Since the infrared sensor 170 has an optimal measurement distance when measuring body temperature, and a relatively accurate measurement result can be obtained near the optimal measurement distance, a distance threshold can be pre-set according to the optimal measurement distance, wherein the distance threshold can be a numerical value or a numerical range, which is not limited in the embodiment of the present application. The distance threshold can be related to the application scenario of the infrared sensor 170. For example, when the infrared sensor 170 is used for short-distance temperature measurement, the distance threshold can be set to 5cm, and when the infrared sensor 170 is used for long-distance temperature measurement, the distance threshold can be set to 50cm.
[0099] When measuring the distance from the electronic device 100 to the target object, the measurement can be performed through the distance sensor 180. The first distance from the electronic device 100 to the target object can be obtained in real time through the distance sensor 180. After the electronic device 100 obtains the first distance, the first distance can be compared with a preset distance threshold to determine whether the first distance matches the distance threshold, wherein the matching process may include: if the distance threshold is a numerical value, it can be determined whether the first distance is the same as the distance threshold; if the distance threshold is a range, it can be determined whether the first distance is within the range, for example, whether the first distance is greater than the upper limit of the range or less than the lower limit of the range. If the first distance does not match the distance threshold, the user can be prompted in the display interface 300, wherein the prompt can be textual or in other forms, and exemplarily, it can be: "Please move the current device to the optimal temperature measurement range", and the display effect is as follows. Figure 4As shown; further, if the first distance is greater than the distance threshold, the electronic device 100 may also prompt the user to move closer to the electronic device 100 to reduce the distance between the electronic device 100 and the target object; if the first distance is less than the distance threshold, the electronic device 100 may also prompt the user to move away from the electronic device 100 to increase the distance between the electronic device 100 and the target object; if the first distance matches the distance threshold, the user may be prompted in the display interface 300, wherein the prompt may be textual or in other forms, for example, it may be: "Currently in the best temperature measurement position, please measure the temperature".
[0100] Furthermore, when the user inputs a temperature measurement instruction, the electronic device 100 starts temperature measurement, and the infrared sensor 170 starts working, that is, the infrared sensor 170 starts measuring the temperature of the surface of the target object; because the electronic device 100 needs to be kept stable and continuously aimed at the same part during temperature measurement, so that the measured temperature value can be accurate, a prompt can be given on the display interface of the electronic device 100, wherein the prompt can be textual or in other forms, and exemplarily, it can be: "Please hold the device steady."
[0101] Optionally, when the infrared sensor 170 completes the temperature measurement and obtains the measured temperature value, i.e., the first temperature value, a prompt may be given on the display interface of the electronic device 100, wherein the prompt may be textual or in other forms, for example, it may be: "The temperature measurement has been completed, please wait"; the motor 1A0 in the electronic device 100 may also vibrate to indicate that the temperature measurement has been completed, at which time the user no longer needs to hold the device steady and can return to normal.
[0102] Step 103, obtaining a second feature, compensating the first temperature value according to the second feature to obtain a second temperature value, determining whether the second temperature value is normal according to the first feature, and displaying the second temperature value and a status of whether the second temperature value is normal.
[0103] Specifically, since the body temperature of the human body is not fixed, for example, the body temperature of the human body may fluctuate normally with factors such as age, day and night, gender and mood. The body temperature of a normal person is lowest between 2 and 6 in the morning and highest between 2 and 8 in the afternoon, but the fluctuation range does not exceed 0.5 above and below the average. In addition, the body temperature regulation function of newborns is imperfect, and the body temperature is easily affected by the ambient temperature. Children have a slightly higher body temperature than adults due to their increased metabolic rate. The body temperature of the elderly is usually at a lower value within the normal range due to their low metabolic rate. Therefore, the first temperature value currently measured can be compensated by the second feature to obtain the second temperature value.
[0104] The second feature may include one or more of the current system time, the current geographic location, and the current atmospheric environment. In specific implementation, the compensation relationship between the system time, the geographic location, the atmospheric environment, and the first temperature value may be pre-set; for example, taking the system time as an example, the temperature measurement value at 2 a.m. may be added with a compensation value of 0.3 degrees Celsius, thereby obtaining the second temperature value, and the temperature measurement value at 2 p.m. may be subtracted with a compensation value of 0.3 degrees Celsius, thereby obtaining the second temperature value. The geographic location may be obtained through a positioning system (Global Positioning System, GPS), and the atmospheric environment may be characterized by an atmospheric pressure value, which may be obtained through a barometric pressure sensor 190.
[0105] Furthermore, after the second temperature value is acquired, the second temperature value may also be displayed on the display screen 120 of the electronic device 100 .
[0106] In addition, since the body temperature values of humans and animals usually fall within a normal body temperature range, when the second temperature value is displayed, the user may be prompted as to whether the second temperature value is normal.
[0107] Now combined Figure 5 To illustrate, first, the normal body temperature range of humans and animals can be pre-set in the electronic device 100, as shown in Table 1:
[0108] Table 1
[0109]
[0110]
[0111] Table 2 shows the normal body temperature range for people of different ages:
[0112] Table 2
[0113] Age Group Normal body temperature range (℃) 0-2 years old 36.4-38 3-10 years old 36.1-37.8 11-65 years old 35.9-37.5 Over 65 years old 35.8-37.4
[0114] Table 3 shows the normal temperature range of various parts of the human body:
[0115] Table 3
[0116] Body Parts Normal body temperature range (℃) Ear temperature 35.8-38 Oral temperature 35.5-37.8 Axillary temperature 34.7-37.2 Rectal temperature 36.8-38 Forehead temperature 34.6-37
[0117] Then, according to the first feature obtained in step 101, that is, the type of animal, the age group of the human body and / or the body part of the human body, the above Tables 1 to 3 can be queried to obtain the normal body temperature range corresponding to the second temperature value. Taking the target object as a human body as an example, assuming that the forehead temperature is measured, the second temperature value is 36.8°C. According to the query table 3, it can be obtained that the normal body temperature range of the forehead temperature is 34.6-37°C. Then, the second temperature value is within the normal body temperature range, which can indicate that the current body temperature is normal. The display interface is as follows: Figure 5 shown.
[0118] The present application also provides a body temperature testing method according to another embodiment, comprising:
[0119] Step 201, in response to a detected first operation for selecting a temperature measurement mode, determining a current temperature measurement mode, identifying a target object, and obtaining a first feature of the target object.
[0120] Specifically, the difference between step 201 and step 101 is that if the user selects the human body temperature measurement mode, in addition to identifying the age group and body part of the current target object, the target object can also be recognized for face. For example, when the user measures the forehead temperature of the target object, the target object can be recognized for face at the same time. Among them, the algorithm of face recognition can be an algorithm in the field of artificial intelligence technology, which will not be described in detail in this application.
[0121] The identity of the target object can be identified through face recognition, and the historical temperature data corresponding to the target object can be obtained based on the identity of the target object; wherein the historical temperature data of the target object can be pre-stored in the electronic device 100, and the historical temperature data can be associated with the identity of the target object.
[0122] Step 202: In response to the detected second operation for measuring the temperature of the target object, the temperature of the target object is measured to obtain a first temperature value.
[0123] Specifically, step 202 is the same as step 102 and will not be described in detail here.
[0124] Step 203, obtaining a second characteristic, compensating the first temperature value according to the second characteristic to obtain a second temperature value, and displaying the second temperature value.
[0125] Specifically, the difference between step 203 and step 103 is that after the second temperature value is obtained, the second temperature value can also be stored; wherein, during the storage process, the second temperature value can be associated with the identity of the target object. Therefore, when judging whether the second temperature value is normal, it can also be done by obtaining the historical temperature data of the target object, wherein the historical temperature data can include the temperature data measured by the electronic device 100 and the temperature data pre-entered by the user; in specific implementation, the identity of the target object can be obtained through the face recognition of step 201, and then the identity of the target object can be queried in the electronic device 100 to obtain the historical temperature data corresponding to the target object, and then the second temperature value can be compared with the historical temperature data. If the second temperature value matches the historical temperature data, it can be considered that the second temperature value is normal. Exemplarily, the process of matching the second temperature value with the historical temperature data may include: obtaining the average value of the historical temperature data, and considering the data within the range of plus or minus 0.5°C of the average value as the normal body temperature range; or: taking the interval between the lowest value and the highest value of the historical temperature data as the normal body temperature range, which is not limited in the embodiments of the present application. Since the body temperature value of some people may be different from the normal body temperature range, the calibration of the measurement data by the historical temperature data can avoid misjudgment of the measurement data.
[0126] Optionally, after obtaining the second temperature value, the second temperature value can also be displayed on the photo, wherein the second temperature value can be associated with the tag attribute of the taken photo. For example, a photo can be associated with multiple tag attributes such as date, location and body temperature; the second temperature value can also be directly displayed on the taken photo, which is not limited to the embodiment of the present application.
[0127] Figure 6 This is a schematic diagram of the structure of an embodiment of the body temperature testing device of the present application. Figure 6 As shown, the body temperature testing device 60 may include: an identification module 61, a temperature measurement module 62, a correction module 63 and a display module 64;
[0128] The identification module 61 is used to detect a first operation for selecting a temperature measurement mode; in response to the detected first operation, determine a current temperature measurement mode, and identify a target object in the current temperature measurement mode to obtain a first feature of the target object;
[0129] The temperature measurement module 62 is used to detect a second operation for measuring the temperature of the target object; in response to the detected second operation, measure the temperature of the target object to obtain a first temperature value;
[0130] A correction module 63, configured to obtain a second characteristic, and compensate the first temperature value according to the second characteristic to obtain a second temperature value;
[0131] The display module 64 is used to determine whether the second temperature value is normal according to the first feature, and to display the second temperature value and a prompt indicating whether the second temperature value is normal.
[0132] In a possible implementation, the apparatus 60 may further include: a distance measurement module 65;
[0133] The distance measurement module 65 is used to obtain a first distance to the target object and compare the first distance with a preset distance threshold; if the first distance does not match the preset distance threshold, a first prompt is displayed; if the first distance matches the preset distance threshold, a second prompt is displayed.
[0134] In a possible implementation, the apparatus 60 may further include: a storage module 66;
[0135] The storage module 66 is used to associate the second temperature value with the identity of the target object and store the second temperature value.
[0136] In a possible implementation, the apparatus 60 may further include: a face recognition module 67;
[0137] The face recognition module 67 is used to perform face recognition on the target object to obtain the identity of the target object; perform a query based on the identity of the target object to obtain the historical temperature value of the target object; compare the second temperature value with the historical temperature value, and determine whether the second temperature value is normal based on the comparison result.
[0138] In a possible implementation, the display module 64 may include: a query unit 641 and a comparison unit 642;
[0139] A query unit 641, configured to query according to the first feature to obtain a preset temperature threshold corresponding to the first feature;
[0140] The comparing unit 642 is used to compare the second temperature value with a preset temperature threshold, and determine whether the second temperature value is normal according to the comparison result.
[0141] In a possible implementation, the apparatus 60 may further include: an association module 68;
[0142] The association module 68 is used to acquire the first image and display the second temperature value on the first image.
[0143] It should be understood that the above Figure 6The division of the various modules of the temperature testing device shown is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or it can be integrated in a chip of an electronic device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. In the implementation process, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in the processor element or instructions in software form.
[0144] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital singnal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0145] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0146] It is understandable that, in order to realize the above functions, the above-mentioned electronic devices, etc. include hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present invention.
[0147] The embodiment of the present application can divide the functional modules of the above-mentioned electronic device etc. according to the above-mentioned method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0148] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0149] Each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0150] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor 130 to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as flash memory, mobile hard disk, read-only memory, random access memory, disk or optical disk.
[0151] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A body temperature testing method, characterized in that: The method comprises: A first operation for selecting a temperature measurement mode is detected; In response to the first operation detected, determining a current temperature measurement mode, and identifying a target object in the current temperature measurement mode to obtain a first feature of the target object; detecting a second operation for measuring the temperature of the target object; In response to the detected second operation, measuring the temperature of the target object to obtain a first temperature value; Acquire a second feature, and compensate the first temperature value according to the second feature to obtain a second temperature value, wherein the second feature includes a current system time, a current geographical location, and a current atmospheric environment; determining whether the second temperature value is normal according to the first feature, and displaying the second temperature value and a prompt indicating whether the second temperature value is normal; The first temperature value is compensated according to the second characteristic to obtain a second temperature value: Determine a target compensation value according to the second feature, wherein the target compensation value is a preset value; The first temperature value is compensated based on the target compensation value to obtain a second temperature value.
2. The method according to claim 1, characterized in that: The method further comprises: Acquire a first distance to the target object, and compare the first distance with a preset distance threshold; If the first distance does not match the preset distance threshold, displaying a first prompt; If the first distance matches the preset distance threshold, a second prompt is displayed.
3. The method according to claim 1, characterized in that The method further comprises: The second temperature value is associated with the identity of the target object, and the second temperature value is stored.
4. The method according to claim 3, characterized in that The method further comprises: Performing face recognition on the target object to obtain the identity of the target object; Perform a query based on the identity of the target object to obtain a historical temperature value of the target object; The second temperature value is compared with the historical temperature value, and whether the second temperature value is normal is determined according to the comparison result.
5. The method according to claim 1, characterized in that Determining whether the second temperature value is normal according to the first feature includes: Performing a query according to the first feature to obtain a preset temperature threshold value corresponding to the first feature; The second temperature value is compared with the preset temperature threshold, and whether the second temperature value is normal is determined according to the comparison result.
6. The method according to claim 1, characterized in that The method further comprises: A first image is acquired, and the second temperature value is displayed on the first image.
7. An electronic device, characterized in that: include: A memory, the memory is used to store computer program code, the computer program code includes instructions, when the device reads the instructions from the memory, the device performs the following steps: A first operation for selecting a temperature measurement mode is detected; In response to the first operation detected, determining a current temperature measurement mode, and identifying a target object in the current temperature measurement mode to obtain a first feature of the target object; detecting a second operation for measuring the temperature of the target object; In response to the detected second operation, measuring the temperature of the target object to obtain a first temperature value; Acquire a second feature, and compensate the first temperature value according to the second feature to obtain a second temperature value, wherein the second feature includes a current system time, a current geographical location, and a current atmospheric environment; determining whether the second temperature value is normal according to the first feature, and displaying the second temperature value and a prompt indicating whether the second temperature value is normal; The first temperature value is compensated according to the second characteristic to obtain a second temperature value: Determine a target compensation value according to the second feature, wherein the target compensation value is a preset value; The first temperature value is compensated based on the target compensation value to obtain a second temperature value.
8. The device according to claim 7, characterized in that When the instruction is executed by the device, the device further performs the following steps: Acquire a first distance to the target object, and compare the first distance with a preset distance threshold; If the first distance does not match the preset distance threshold, displaying a first prompt; If the first distance matches the preset distance threshold, a second prompt is displayed.
9. The device according to claim 7, characterized in that When the instruction is executed by the device, the device further performs the following steps: The second temperature value is associated with the identity of the target object, and the second temperature value is stored.
10. The device according to claim 9, characterized in that When the instruction is executed by the device, the device further performs the following steps: Performing face recognition on the target object to obtain the identity of the target object; Perform a query based on the identity of the target object to obtain a historical temperature value of the target object; The second temperature value is compared with the historical temperature value, and whether the second temperature value is normal is determined according to the comparison result.
11. The device according to claim 7, characterized in that When the instruction is executed by the device, the step of causing the device to perform determining whether the second temperature value is normal according to the first feature includes: Performing a query according to the first feature to obtain a preset temperature threshold value corresponding to the first feature; The second temperature value is compared with the preset temperature threshold, and whether the second temperature value is normal is determined according to the comparison result.
12. The device according to claim 7, characterized in that When the instruction is executed by the device, the device further performs the following steps: A first image is acquired, and the second temperature value is displayed on the first image.
13. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on a device, cause the device to execute the method according to any one of claims 1 to 6.
14. A computer program product, characterized in that When the computer program product is run on a computer, the computer is enabled to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Body temperature testing method and device
CN107361748A
Multiple object talking non-contact thermometer
US20110228810A1