Temperature measurement method, device, wearable equipment and medium

文档序号:1182928 发布日期:2020-09-22 浏览:7次 中文

阅读说明:本技术 温度测量方法、装置、可穿戴设备和介质 (Temperature measurement method, device, wearable equipment and medium ) 是由 王阳 曾雄 于 2020-06-23 设计创作,主要内容包括:本申请公开了一种温度测量方法、装置、可穿戴设备和介质。本申请中温度测量方法包括:输出探测信号;获取所述探测信号的反射信号;根据所述探测信号和所述探测信号的反射信号确定装置与被测对象的距离;判断所述装置与所述被测对象的距离是否处于预设距离范围内;若是,采集所述被测对象的温度,输出所述被测对象的温度信息,可以更准确控制每次温度测量时装置与被测对象的距离,从而降低检测误差。(The application discloses a temperature measurement method, a temperature measurement device, wearable equipment and a medium. The temperature measurement method in the application comprises the following steps: outputting a detection signal; acquiring a reflected signal of the detection signal; determining the distance between the device and the measured object according to the detection signal and the reflection signal of the detection signal; judging whether the distance between the device and the measured object is within a preset distance range or not; if so, the temperature of the measured object is collected, the temperature information of the measured object is output, and the distance between the device and the measured object during each temperature measurement can be more accurately controlled, so that the detection error is reduced.)

1. A method of measuring temperature, comprising:

outputting a detection signal;

acquiring a reflected signal of the detection signal;

determining the distance between the device and the measured object according to the detection signal and the reflection signal of the detection signal;

judging whether the distance between the device and the measured object is within a preset distance range or not;

if yes, collecting the temperature of the measured object, and outputting the temperature information of the measured object.

2. The temperature measurement method according to claim 1, wherein the determining a distance between the device and the object to be measured based on the probe signal and the reflected signal of the probe signal includes:

acquiring the time difference between the emission time of the detection signal and the receiving time of the reflection signal of the detection signal;

and determining the distance between the device and the measured object according to the time difference and the signal transmission speed.

3. The method according to claim 2, wherein if the distance between the device and the measured object is not within the preset distance range, the method further comprises:

if the distance between the device and the measured object is larger than the maximum distance threshold value, outputting first prompt information;

and if the distance between the device and the measured object is smaller than the minimum distance threshold, outputting second prompt information.

4. The temperature measurement method according to any one of claims 1 to 3, characterized in that the method further comprises:

collecting an image of the measured object;

storing the image of the measured object and the temperature information of the measured object, and/or uploading the image of the measured object, the temperature information of the measured object and the measurement time to a server.

5. A temperature measuring device is characterized by comprising a distance detection module, a temperature detection module, a processing module and an output module, wherein the distance between the distance detection module and the temperature detection module is not more than a preset distance threshold; wherein:

the distance detection module is used for outputting a detection signal;

the distance detection module is further used for acquiring a reflection signal of the detection signal;

the processing module is used for determining the distance between the device and the measured object according to the detection signal and the reflection signal of the detection signal;

the processing module is further configured to:

judging whether the distance between the device and the measured object is within a preset distance range or not;

the temperature detection module is used for collecting the temperature of the measured object when the distance between the device and the measured object is within the preset distance range, and the output module is used for outputting the temperature information of the measured object.

6. The temperature measurement device of claim 5, wherein the processing module is specifically configured to:

acquiring the time difference between the emission time of the detection signal and the receiving time of the reflection signal of the detection signal;

and determining the distance between the device and the measured object according to the time difference and the signal transmission speed.

7. The temperature measurement device of claim 6, wherein the processing module is further configured to, if the distance between the device and the measured object is not within the preset distance range:

if the distance between the device and the measured object is larger than the maximum distance threshold, controlling an output module to output first prompt information;

and if the distance between the device and the measured object is smaller than the minimum distance threshold, controlling an output module to output second prompt information.

8. The temperature measurement device according to any one of claims 5 to 7, further comprising:

the image acquisition module is used for acquiring an image of the measured object;

the device comprises a storage module used for storing the image of the object to be tested and the temperature of the object to be tested, and/or a transmission module used for uploading the image of the object to be tested and the temperature of the object to be tested to a server.

9. A wearable device comprising a temperature sensor, a ranging module, a memory, and a processor, the temperature sensor being no more than a preset distance threshold from the ranging module, the memory storing a computer program that, when executed by the processor, causes the processor to control the temperature sensor and the ranging module to perform the steps of the temperature measurement method of any of claims 1-4.

10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, causes the processor to control a temperature sensor and a ranging module to carry out the steps of the temperature measurement method according to any one of claims 1 to 4.

Technical Field

The invention relates to the technical field of signal processing, in particular to a temperature measuring method, a temperature measuring device, wearable equipment and a medium.

Background

With the continuous breakthrough of sensor technology, especially the progress of health sensors and the standard trend of epidemic prevention and control, the demand of temperature measurement is more and more intense.

Generally, the temperature measurement by using a non-contact infrared thermopile sensor is a good choice, and the body temperature is measured mainly by attaching the sensor to the forehead. Although great convenience is brought, a plurality of factors influence the temperature measurement result, and the temperature measurement data have errors.

Disclosure of Invention

The application provides a temperature measurement method, a temperature measurement device, wearable equipment and a medium.

In a first aspect, a temperature measurement method is provided, including:

outputting a detection signal;

acquiring a reflected signal of the detection signal;

determining the distance between the device and the measured object according to the detection signal and the reflection signal of the detection signal;

judging whether the distance between the device and the measured object is within a preset distance range or not;

if yes, collecting the temperature of the measured object, and outputting the temperature information of the measured object.

In an alternative embodiment, the determining a distance between the device and the measured object according to the detection signal and the reflection signal of the detection signal includes:

acquiring the time difference between the emission time of the detection signal and the receiving time of the reflection signal of the detection signal;

and determining the distance between the device and the measured object according to the time difference and the signal transmission speed.

In an alternative embodiment, if the distance between the device and the measured object is not within the preset distance range, the method further includes:

if the distance between the device and the measured object is larger than the maximum distance threshold value, outputting first prompt information;

and if the distance between the device and the measured object is smaller than the minimum distance threshold, outputting second prompt information.

In an optional embodiment, the method further comprises:

collecting an image of the measured object;

storing the image of the measured object and the temperature information of the measured object, and/or uploading the image of the measured object, the temperature information of the measured object and the measurement time to a server.

In a second aspect, a temperature measuring device is provided, which comprises a distance detecting module, a temperature detecting module, a processing module and an output module, wherein the distance between the distance detecting module and the temperature detecting module is not greater than a preset distance threshold; wherein:

the distance detection module is used for outputting a detection signal;

the distance detection module is further used for acquiring a reflection signal of the detection signal;

the processing module is used for determining the distance between the device and the measured object according to the detection signal and the reflection signal of the detection signal;

the processing module is further configured to:

judging whether the distance between the device and the measured object is within a preset distance range or not;

the temperature detection module is used for collecting the temperature of the measured object when the distance between the device and the measured object is within the preset distance range, and the output module is used for outputting the temperature information of the measured object.

In a third aspect, a wearable device is provided, which includes a temperature sensor, a ranging module, a memory, and a processor, wherein a distance between the temperature sensor and the ranging module is not greater than a preset distance threshold, and the memory stores a computer program, which when executed by the processor, causes the processor to control the temperature sensor and the ranging module to perform the steps of the first aspect and any possible implementation manner thereof.

In a fourth aspect, there is provided a computer storage medium having stored thereon one or more instructions adapted to be loaded by a processor and to control the temperature sensor and the ranging module to perform the steps of performing the above-described first aspect and any possible implementation thereof.

This application acquires through output detection signal's reflection signal, according to detection signal with detection signal's reflection signal confirming device with the distance of measurand, judge again the device with whether the distance of measurand is in predetermineeing the distance range, if, gather the temperature of measurand is exported the temperature information of measurand can more accurate control device and the distance of measurand when temperature measurement at every turn to reduce detection error.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.

Fig. 1 is a schematic flow chart of a temperature measurement method according to an embodiment of the present disclosure;

fig. 2 is a schematic diagram illustrating an optical ToF ranging principle according to an embodiment of the present disclosure;

fig. 3 is a schematic structural diagram of a temperature measuring device according to an embodiment of the present disclosure;

fig. 4 is a schematic structural diagram of a wearable device provided in an embodiment of the present application;

fig. 5 is a schematic structural diagram of another wearable device provided in the embodiment of the present application.

Detailed Description

In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.

Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.

The embodiments of the present application will be described below with reference to the drawings.

Referring to fig. 1, fig. 1 is a schematic flow chart of a temperature measurement method according to an embodiment of the present disclosure.

The method can comprise the following steps:

101. and outputting a detection signal.

The execution subject of the embodiment of the present application may be a temperature measuring device, and may be an electronic device, and in a specific implementation, the electronic device may be a terminal, which may also be referred to as a terminal device, including but not limited to other portable devices such as a mobile phone, a laptop computer, or a tablet computer, and may also be a wearable device such as a smart watch, and may also be a device in the form of a body temperature gun, or the like. In an alternative embodiment, the temperature measurement method may be controlled by a corresponding software program.

The detection signal may be a light pulse or an ultrasonic wave, and may include infrared light or modulated near-infrared light. The temperature measuring device may comprise a distance detection module, by means of which the sensor can emit signals and collect signals.

102. And acquiring a reflection signal of the detection signal.

In one embodiment, the distance detection module may employ a Time of flight (ToF) ranging method. The ToF involved in the embodiments of the present application belongs to a two-way ranging technique, which mainly uses the time of flight of a signal going back and forth between two asynchronous transceivers (transceivers) (or reflected surfaces) to measure the distance between nodes.

When the temperature measurement function is performed, if the reflected signal of the detection signal is collected, step 103 may be executed to determine the distance to the measured object. The distance refers to a distance between the temperature measuring device and the measured object, and specifically may be a distance between a distance measuring module in the temperature measuring device and the measured object, so as to control the distance for further temperature detection.

103. And determining the distance between the device and the measured object according to the detection signal and the reflection signal of the detection signal.

Specifically, the detection signal sent by the distance detection module is reflected after encountering an object, and the reflected signal of the detection signal is collected to calculate the distance between the detection signal and the object to be detected.

In one embodiment, the step 103 specifically includes: acquiring the time difference between the emission time of the detection signal and the receiving time of the reflection signal of the detection signal;

and determining the distance between the device and the measured object according to the time difference and the signal transmission speed.

Reference may be made in particular to a schematic diagram of the optical ToF ranging principle shown in fig. 2. As shown in fig. 2, the optical ToF includes an emitter, a detector and a timer, the emitter can emit an electromagnetic wave detection signal m1, and the electromagnetic wave detection signal m1 is reflected on the 3D plane X (reflected signal m2) and returns to the detector in the sensor, the built-in timer can record the round-trip time of the signal, obtain the transceiving time difference t, and calculate the distance by combining the signal transmission speed. In a specific application scenario, the 3D plane may be a measured object such as a user, or an animal. Specifically, since the speed of light c (signal transmission speed) is known, the distance can be obtained by the formula d ═ t/2 · c as long as the time difference between the irradiated light and the received light is known.

In an alternative embodiment, the distance detection module is implemented by a ToF camera. The sensor sends out modulated light signal, and reflects after meeting the object, and the sensor converts the distance of the shot scenery through calculating the time difference or phase difference of light emission and reflection to generate depth information, and in addition, the three-dimensional outline of the object can be presented in a topographic map mode that different colors represent different distances by combining the shooting of a traditional camera.

Optionally, in the ToF camera, each pixel of the ToF photosensitive chip records a specific phase between the back-and-forth camera emitting the light wave and the object, the phase difference is extracted by the data processing unit, and the depth information is calculated by a formula. The chip sensor structure is similar to a CMOS image sensor adopted by a common mobile phone camera module, but is more complex, and comprises a modulation control unit, an A/D conversion unit, a data processing unit and the like.

104. And judging whether the distance between the device and the measured object is within a preset distance range.

After the distance between the device and the measured object is measured, the distance can be judged. Since the general infrared temperature measurement has a distance requirement, for example, a specific distance needs to be kept with a measured object, otherwise, the distance may not be measured or a certain error may be generated if the distance is not appropriate. Therefore, the preset distance range, for example, 2-5cm, can be stored, and it is determined whether the distance between the device and the object to be measured is within the preset distance range, and if so, the temperature measurement can be started, and step 105 is executed.

Optionally, if the distance between the device and the detected object is within the preset distance range, temperature measurement prompt information can be output, the temperature measurement prompt information can be voice information, and the indicator light can be controlled to be turned on, change color or flash to remind. Under the condition of outputting the temperature measurement prompt information, the step 105 can be automatically executed, or the temperature measurement operation can be manually triggered by the user, namely, the step 105 is executed after the temperature measurement instruction of the user is received.

If the distance between the device and the measured object is not within the preset distance range, prompt information can be output to prompt a user to adjust the measurement distance.

Further optionally, the method further comprises:

if the distance between the device and the measured object is larger than the maximum distance threshold value, outputting first prompt information;

and if the distance between the device and the measured object is smaller than the minimum distance threshold, outputting second prompt information.

Specifically, the maximum distance threshold and the minimum distance threshold may be preset as needed. The maximum distance threshold may be a maximum value in a preset distance range, and the minimum distance threshold may be a minimum value in the preset distance range. When the detected distance is larger than the maximum distance threshold value, the measured object is over far, and first prompt information can be output to prompt a user to approach the measured object; and when the detected distance is smaller than the minimum distance threshold value, the measured object is over close, and second prompt information can be output to prompt the user to be far away from the measured object. Through prompting a user to adjust the temperature measurement distance, the temperature measurement device is controlled within a preset distance range, and the temperature measurement precision and the data stability can be improved.

105. And collecting the temperature of the measured object and outputting the temperature information of the measured object.

In case that the distance between the determining device and the measured object is within the preset distance range, the temperature measuring operation can be performed, and the temperature of the measured object can be collected through the non-contact infrared thermopile sensor. The temperature information of the measured object can be voice information and/or character information. The distance monitoring in the embodiment of the application can ensure that the distance between the temperature measuring device and the measured object is basically consistent, thereby improving the accuracy of temperature measurement.

In an alternative embodiment, the method further comprises:

collecting the image of the tested object;

and/or uploading the image of the measured object and the temperature information of the measured object to a server.

Specifically, the temperature measuring device may include an image acquisition module, which may acquire an image of the object to be measured, such as a human face image. Wherein, the ToF camera can be used for collecting, and other cameras can also be used. After the step 105, the collected image of the object to be measured and the temperature information thereof can be stored together, the image of the object to be measured, the temperature information and the measurement time thereof can be uploaded to a server, and the server can integrate and store the temperature measurement conditions of a plurality of objects to be measured, so that data recording, searching and statistical analysis can be performed clearly.

This application acquires above-mentioned detection signal's reflection signal through output detection signal, according to above-mentioned detection signal and above-mentioned detection signal's reflection signal determination device and measurand's distance, judges again whether above-mentioned device and above-mentioned measurand's distance is in predetermineeing the distance range, if, gathers above-mentioned measurand's temperature, outputs above-mentioned measurand's temperature information, can more accurate control during temperature measurement at every turn with measurand's distance in certain extent to reduce detection error.

Based on the description of the embodiment of the temperature measuring method, the embodiment of the application also discloses a temperature measuring device. Referring to fig. 3, the temperature measuring apparatus 300 includes a distance detecting module 310, a temperature detecting module 320, a processing module 330 and an output module 340, wherein a distance between the distance detecting module 310 and the temperature detecting module 320 is not greater than a preset distance threshold; wherein:

the distance detection module 310 is configured to output a detection signal;

the distance detection module 310 is further configured to obtain a reflection signal of the detection signal;

the processing module 330 is configured to determine a distance between the device and the measured object according to the detection signal and a reflected signal of the detection signal;

the processing module 330 is further configured to:

judging whether the distance between the device 300 and the measured object is within a preset distance range;

the temperature detection module 320 is configured to collect the temperature of the measured object when the distance between the device and the measured object is within the preset distance range, and the output module 340 is configured to output the temperature information of the measured object.

Optionally, the processing module 330 is specifically configured to:

acquiring the time difference between the emission time of the detection signal and the receiving time of the reflection signal of the detection signal;

and determining the distance between the device and the measured object according to the time difference and the signal transmission speed.

Optionally, the processing module 330 is further configured to, in a case that the distance between the apparatus and the measured object is not within the preset distance range:

if the distance between the device and the measured object is larger than the maximum distance threshold, controlling an output module to output first prompt information;

and if the distance between the device and the measured object is smaller than the minimum distance threshold, controlling an output module to output second prompt information.

Optionally, the method further includes:

an image acquisition module 350, configured to acquire an image of the object;

a storage module 360 for storing the image of the object to be tested and the temperature of the object to be tested, and/or a transmission module 370 for uploading the image of the object to be tested and the temperature of the object to be tested to a server.

According to an embodiment of the present application, each step involved in the method shown in fig. 1 may be performed by each module in the temperature measuring device 300 shown in fig. 3, and is not described herein again.

The distance between the distance detection module 310 and the object to be measured is measured by the distance detection module 310, so that the distance between the distance detection module 310 and the temperature detection module 320 is not greater than the preset distance threshold, and the distance measured by the distance detection module 310 can be closer to the actual distance between the object to be measured and the temperature detection module, thereby improving the accuracy.

Temperature measuring device 300 in this application embodiment can output the detection signal, acquires the reflection signal of above-mentioned detection signal, according to the distance of above-mentioned detection signal and above-mentioned detection signal's reflection signal determination device and measurand, judge again whether above-mentioned device and above-mentioned measurand's distance is in predetermineeing the distance range, if, gather the temperature of above-mentioned measurand, output the temperature information of above-mentioned measurand, can more accurate control during temperature measurement at every turn with measurand the distance of measurand be in certain extent to reduce detection error.

Based on the description of the method embodiment and the device embodiment, the embodiment of the application further provides a wearable device. Please refer to fig. 4, which is a schematic structural diagram of a wearable device. In one embodiment, the wearable device 400 may be a smart watch or bracelet. Including at least temperature sensor 410, ranging module 420, memory 430, and processor 440, and may also include input device 450, output device 460, and computer storage medium 470. The distance between the temperature sensor 410 and the distance measuring module 420 is not greater than a preset distance threshold, and the distance measuring module 420 may be a ToF distance measuring module. The processor 440, input device 450, output device 460, and computer storage medium 470 within the wearable device 400 may be connected by a bus or other means.

A computer storage medium 470 may be stored in the memory of the wearable device 400 for storing a computer program comprising program instructions, the processor 440 for executing the program instructions stored by the computer storage medium 470. Processor 440 (or CPU) is a computing core and a control core of wearable device 400, and is adapted to implement one or more instructions, and in particular, to load and execute the one or more instructions to implement a corresponding method flow or a corresponding function; in one embodiment, the processor 440 described above in the embodiments of the present application may be used in conjunction with the temperature sensor 410 and the ranging module 420 to perform a series of processes, including the method in the embodiment shown in fig. 1, and the like.

An embodiment of the present application further provides a computer storage medium (Memory), where the computer storage medium is a Memory device in a terminal (including the wearable device) and is used to store programs and data. It is understood that the computer storage medium herein may include a built-in storage medium in the terminal, and may also include an extended storage medium supported by the terminal. The computer storage medium provides a storage space that stores an operating system of the terminal. Also stored in the memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by the processor. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor.

In one embodiment, one or more instructions stored in a computer storage medium may be loaded and executed by processor 440 to perform the corresponding steps in the above embodiments; in particular implementations, one or more instructions in the computer storage medium may be loaded by processor 440 and perform any steps of the method of fig. 1, and are not described herein again.

For example, reference may be made to a schematic diagram of a wearable device structure as shown in fig. 5. The wearable device in fig. 5 is an intelligent watch, and includes a temperature sensor a and a ToF ranging module b in a dial structure m, wherein the dial structure upper surface may be a display screen, including a touch screen; the side surface comprises a key c, and the two ends connected by the dial structure are watchbands d. The temperature sensor a and the ToF ranging module b can be arbitrarily placed on the surface of the wearable device (under the display screen) but must be close to each other (the distance is limited by the preset distance threshold value). Optionally, the intelligent watch may include a camera, a touch screen, a key and other structures, and may further implement various functions of the intelligent terminal and have other shapes.

The intelligent watch shown in fig. 5 can be worn, and distance measurement and temperature measurement can be conveniently and accurately realized. The optical ToF is mainly used for detecting the proper distance (such as 2-5cm) between the intelligent watch (ranging module) and the measured object, and then the temperature sensor can be controlled to measure the temperature. The distance between the measured object and the distance measuring module (representing the distance between the measured object and the temperature sensor) is the same when the temperature is measured every time, the accuracy of temperature measurement is improved, and meanwhile, a plurality of collected data have more consistent standards.

It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the division of the module is only one logical division, and other divisions may be possible in actual implementation, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. The shown or discussed mutual coupling, direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some interfaces, and may be in an electrical, mechanical or other form.

Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.

In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are wholly or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)), or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be a read-only memory (ROM), or a Random Access Memory (RAM), or a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape, a magnetic disk, or an optical medium, such as a Digital Versatile Disk (DVD), or a semiconductor medium, such as a Solid State Disk (SSD).

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:温度测量方法、云端服务器及温度测量仪

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!