Signal detection method and device, storage medium and electronic equipment

Through the method of preliminary detection of non-visible light signals and switching of visible light signals, combined with motion state noise reduction processing, the problems of visible light interference and motion interference are solved, and the accuracy of pulse wave signal acquisition and the effectiveness of equipment are improved.

CN119112135AActive Publication Date: 2024-12-13GUANGZHOU SHIYUAN ELECTRONICS CO LTD +2
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310702672.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-13
Publication Date
2024-12-13
Estimated Expiration
2043-06-13

AI Technical Summary

Technical Problem

Existing pulse wave signal acquisition devices will interfere with user vision when using visible light, and human movement will interfere with signal acquisition, resulting in a decrease in detection accuracy.

Method used

The non-visible light signal is used for preliminary detection, and when the signal intensity reaches the preset threshold, it switches to visible light signal detection, and the detection signal is reduced according to the motion state to avoid interference and improve signal quality.

Benefits of technology

It effectively avoids the interference of visible light on user vision, improves the use effect of detection equipment, and improves the accuracy and signal-to-noise ratio of detection signals through noise reduction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119112135A_ABST
    Figure CN119112135A_ABST
Patent Text Reader

Abstract

The invention discloses a signal detection method and device, a storage medium and electronic equipment, and the method comprises the steps: detecting a first detection signal corresponding to a to-be-detected part based on an invisible light signal, and setting the equipment state of detection equipment as a detection state when the first signal intensity value of the first detection signal is greater than or equal to a preset intensity threshold value, the method comprises the steps of detecting a to-be-detected part, outputting a visible light signal based on a detection state, detecting a second detection signal corresponding to the to-be-detected part based on the visible light signal, obtaining a motion state of the to-be-detected part, and finally performing noise reduction processing on the second detection signal based on the motion state to obtain the second detection signal after noise reduction processing. According to the invention, interference of visible light signals on user vision can be avoided, and interference of motion on detection signals can be suppressed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a signal detection method, device, storage medium and electronic device. Background Art

[0002] Pulse wave is an important vital sign signal. Through the collection and analysis of pulse wave, some key human physiological parameters such as pulse rate, blood oxygen saturation, respiratory rate, etc. can be measured, and the state of the cardiovascular system can be monitored.

[0003] In the related art, pulse wave signals are usually collected based on visible light irradiation, mainly using the absorption of light by blood to analyze blood flow and pulse fluctuations through the reflected light signals. Summary of the invention

[0004] The embodiments of the present application provide a signal detection method, device, storage medium and electronic device, which can avoid the interference of visible light signals on user vision and suppress the interference of motion on detection signals. The technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a signal detection method, which is applied to a detection device, and the method includes:

[0006] Detecting a first detection signal corresponding to the part to be detected based on the non-visible light signal;

[0007] When the first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, setting the device state of the detection device to a detection state;

[0008] Outputting a visible light signal based on the detection state, and detecting a second detection signal corresponding to the part to be detected based on the visible light signal;

[0009] Acquiring the motion state of the part to be detected;

[0010] The second detection signal is subjected to noise reduction processing based on the motion state to obtain a second detection signal after noise reduction processing.

[0011] In a second aspect, an embodiment of the present application provides a signal detection device, the device comprising a control circuit, a non-visible light circuit, a visible light circuit, and a state detection circuit, wherein the non-visible light circuit, the visible light circuit, and the state detection circuit are respectively connected to the control circuit, wherein:

[0012] The control circuit is used to transmit a first analog signal to the non-visible light circuit;

[0013] The non-visible light circuit is used to emit a non-visible light signal based on the first analog signal to detect a first detection signal corresponding to the part to be detected;

[0014] The control circuit is further configured to set the device state of the detection device to a detection state when the first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, and send a second analog signal to the visible light circuit based on the detection state;

[0015] The visible light circuit is used to emit a visible light signal based on the second analog signal to detect a second detection signal corresponding to the part to be detected;

[0016] The state detection circuit is used to obtain the motion state of the part to be detected;

[0017] The control circuit is further used to perform noise reduction processing on the second detection signal based on the motion state to obtain the second detection signal after noise reduction processing.

[0018] In a third aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores at least one instruction, and the at least one instruction is suitable for being loaded by a processor and executing the above-mentioned method steps.

[0019] In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores at least one instruction, and the at least one instruction is suitable for being loaded by the processor and executing the above-mentioned method steps.

[0020] The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:

[0021] In an embodiment of the present application, a first detection signal corresponding to a part to be detected is first detected based on a non-visible light signal. When a first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, the device state of the detection device is set to a detection state, and a visible light signal is output based on the detection state. A second detection signal corresponding to the part to be detected is detected based on the visible light signal, and then a motion state of the part to be detected is obtained. Finally, the second detection signal is subjected to noise reduction processing based on the motion state to obtain a second detection signal after noise reduction processing. The signal detection method provided in an embodiment of the present application is used to detect a first detection signal through a non-visible light signal, and the distance to the part to be detected can be judged according to the signal strength value of the first detection signal. When the first signal strength value of the first detection signal is greater than or equal to the preset strength threshold, a visible light signal is output to detect a second detection signal of the part to be detected, so that the visible light signal is turned on only when the distance to the part to be detected is close enough, thereby avoiding interference and influence of the visible light signal on the user's vision, and improving the use effect of the detection device. In addition, by obtaining the motion state of the part to be detected and performing noise reduction on the second detection signal obtained by detection according to the motion state, interference of motion on the detection signal can be suppressed, and the detection accuracy of the detection device on the detection signal can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 A schematic diagram of a flow chart of a signal detection method provided in an embodiment of the present application;

[0024] Figure 2 An exemplary schematic diagram of a signal detection provided in an embodiment of the present application;

[0025] Figure 3 A schematic diagram of a flow chart of a signal detection method provided in an embodiment of the present application;

[0026] Figure 4 A schematic diagram of a flow chart of a signal detection method provided in an embodiment of the present application;

[0027] Figure 5 A schematic diagram of a flow chart of a signal detection method provided in an embodiment of the present application;

[0028] Figure 6 A schematic diagram of the structure of a signal detection device provided in an embodiment of the present application;

[0029] Figure 7 A schematic diagram of the structure of a signal detection device provided in an embodiment of the present application;

[0030] Figure 8 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0032] In the description of the present application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood in specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are an "or" relationship.

[0033] In the related art, when collecting signals, the pulse wave acquisition equipment mainly uses red light, green light or infrared light to illuminate the thin ends of the human body, such as fingertips, earlobes, back of hands, etc., and the receiving end receives the light intensity signal that penetrates or is reflected back.

[0034] However, visible light such as red light and green light will interfere with human vision during the pulse wave signal collection process, and human movement will also interfere with the collection of pulse wave signals.

[0035] Based on this, an embodiment of the present application proposes a signal detection method, which first detects a first detection signal corresponding to a part to be detected based on a non-visible light signal. When a first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, the device state of the detection device is set to a detection state, and a visible light signal is output based on the detection state. A second detection signal corresponding to the part to be detected is detected based on the visible light signal. The signal strength value of the first detection signal can be used to determine the distance between the part to be detected and the detection device. When the first signal strength value of the first detection signal is greater than or equal to the preset strength threshold, that is, when the distance between the detection device and the part to be detected is close enough, a visible light signal is output to detect the second detection signal of the part to be detected, which can avoid the interference and influence of the visible light signal on the user's vision and improve the use effect of the detection device; then the motion state of the part to be detected is obtained, and finally, the second detection signal is subjected to noise reduction processing based on the motion state to obtain the second detection signal after noise reduction processing. By obtaining the motion state of the part to be detected and performing noise reduction on the second detection signal obtained according to the motion state, the interference of motion on the detection signal can be suppressed, the signal-to-noise ratio of the collected second detection signal can be improved, and then the detection accuracy of the detection device for the detection signal can be improved.

[0036] The following is a detailed description in conjunction with specific embodiments. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims. The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily follow the steps shown. For example, some steps are parallel and do not have a strict logical order, so the actual execution order is variable.

[0037] See also Figure 1 , is a flow chart of a signal detection method provided in an embodiment of the present application. In a specific embodiment, the signal detection method can be applied to a signal detection device or a detection device equipped with a signal detection device. The following will take the execution subject as an example of the server to illustrate the specific process of this embodiment. Figure 1 The process shown is described in detail, and the signal detection method may specifically include the following steps:

[0038] S101, detecting a first detection signal corresponding to a part to be detected based on the non-visible light signal;

[0039] Non-visible light signals refer to light signals with wavelengths outside the range of wavelengths perceptible to the human body, such as infrared light signals, ultraviolet light signals, x-rays, etc.

[0040] Specifically, the detection device transmits a non-visible light signal to the part to be detected, and receives a first reflection signal reflected by the part to be detected based on the non-visible light signal, and generates a first detection signal corresponding to the part to be detected by collecting the first reflection signal.

[0041] In one embodiment, the first detection signal may be a pulse wave signal, and the part to be detected is a part of the human body used to collect the pulse wave signal.

[0042] In one embodiment, the detection device emits a non-visible light signal in real time. When the part to be detected and the detection device are close to each other, after the non-visible light signal is emitted to the part to be detected, the part to be detected reflects a first reflection signal corresponding to the non-visible light signal. The detection device collects the first reflection signal reflected by the part to be detected to generate a first detection signal corresponding to the part to be detected.

[0043] In one embodiment, after obtaining a first detection signal corresponding to the part to be detected based on non-visible light signal detection, it can also be determined whether the first detection signal is a detection signal of a preset type. If so, execute step S102; if not, execute step S101.

[0044] It is understandable that if the first detection signal detected is not a detection signal of a preset type, it indicates that the detection is invalid, and the visible light signal is not turned on to detect the second detection signal of the part to be detected. For example, when the detection device is performing pulse wave detection, if the first detection signal is not a pulse wave signal, it indicates that the part detected by the detection device at this time is not a human body, and when the first detection signal is not a detection signal of a preset type, the visible light signal detection is not turned on.

[0045] In one embodiment, the detection device periodically emits a non-visible light signal according to a preset period, so as to reduce the power consumption of the detection device.

[0046] S102, when the first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, setting the device state of the detection device to a detection state;

[0047] Specifically, the distance between the detection device and the part to be detected can be determined based on the signal strength value of the first detection signal. The first detection signal is a detection signal generated based on the first reflection signal reflected by the signal to be detected. The larger the signal strength value of the first detection signal, the closer the distance between the detection device and the part to be detected is. In this embodiment, by setting a preset strength threshold, when the first signal strength value of the first detection signal is greater than or equal to the preset strength threshold, it indicates that the distance between the detection device and the part to be detected is close enough. At this time, the device state of the detection device is set to the detection state.

[0048] In one embodiment, the detection state is a device state of outputting a visible light signal to detect a part to be detected.

[0049] In one embodiment, after obtaining a first detection signal corresponding to a part to be detected based on the non-visible light signal detection, if the first signal strength value of the first detection signal is less than a preset strength threshold, the emission power of the non-visible light signal is gradually and linearly increased so that the signal strength value of the first detection signal increases linearly. If the first signal strength value of the first detection signal is greater than or equal to the preset strength threshold, the device state of the detection device is set to the detection state; if the emission power of the non-visible light signal is increased to the maximum, and the first signal strength value of the first detection signal is still less than the preset strength threshold, it is determined that no part to be detected is approaching, and detection based on the non-visible light signal is continued.

[0050] S103, outputting a visible light signal based on the detection state, and detecting a second detection signal corresponding to the part to be detected based on the visible light signal;

[0051] Specifically, in response to setting the device state of the detection device to the detection state, the detection device outputs a visible light signal, and detects a second detection signal corresponding to the part to be detected based on the visible light signal.

[0052] In one embodiment, when the first signal strength value of the first detection signal is greater than or equal to a preset intensity threshold, after the device state of the detection device is adjusted to the detection state, the detection device transmits a visible light signal to the detectable part, the detectable part reflects a second reflection signal corresponding to the visible light signal, the detection device receives the second reflection signal, and generates a second detection signal corresponding to the part to be detected based on the second reflection signal.

[0053] The second detection signal is the target signal obtained by the signal detection device when detecting the part to be detected. For example, the target signal may be a pulse wave signal. When the pulse wave signal is detected at the part to be detected based on the signal detection device, the first detection signal corresponding to the part to be detected is first detected based on the non-visible light signal, and the start time of the visible light signal is determined based on the first detection signal. When the start time of the visible light signal is met, the visible light signal is turned on, and the second detection signal corresponding to the part to be detected is detected based on the visible light signal. The second detection signal is the pulse wave signal corresponding to the part to be detected.

[0054] It can be understood that in the embodiment of the present application, the distance between the part to be detected and the detection device is detected based on the non-visible light signal. When the first signal strength value of the first detection signal is greater than or equal to the preset intensity threshold, it is determined that the distance between the part to be detected and the detection device is close enough. At this time, the device state of the detection device is changed to the detection state and a visible light signal is emitted for detection. The visible light signal will be blocked by the part to be detected to avoid interference with human vision.

[0055] See also Figure 2 , is an example schematic diagram of a signal detection provided in an embodiment of the present application. Figure 2 As shown, the smart watch is a detection device with a signal detection function. The smart watch can be worn on a human wrist to detect and obtain a human pulse wave signal. When the smart watch is not worn, the smart watch emits a non-visible light signal to detect the distance between the smart watch and the human wrist, and the human wrist is the part to be detected. In the process of wearing the smart watch on the wrist, the smart watch generates a first detection signal according to a first reflection signal corresponding to the non-visible light signal reflected by the wrist by emitting a non-visible light signal, and determines whether the distance between the smart watch and the wrist is appropriate according to the signal strength of the first detection signal. When the signal strength value of the first detection signal is greater than a preset intensity threshold, it is determined that the distance between the smart watch and the wrist is close enough. At this time, the device state of the smart watch is set to a detection state, and a visible light signal is emitted based on the detection state to detect the second detection signal. At this time, since the distance between the smart watch and the wrist is close enough, the visible light signal emitted by the smart watch is completely blocked by the wrist, so that it will not interfere with human vision.

[0056] Optionally, in one embodiment, when it is detected that the first signal strength value of the first detection signal is less than a preset strength threshold, the device state of the detection device is set to a waiting detection state, and the output of the visible light signal is stopped.

[0057] It can be understood that the distance between the detection device and the part to be detected is judged based on the signal strength value of the first detection signal. When the first signal strength value of the first detection signal is less than the preset intensity threshold, it indicates that the distance between the detection device and the part to be detected is far, and the part to be detected may be in a state far away from the detection device. At this time, continuing to output the visible light signal will cause the visible light to interfere with human vision. The device state of the detection device is set to the waiting detection state, and the output of the visible light signal is stopped.

[0058] In one embodiment, after the detection device receives the second reflection signal corresponding to the visible light signal, the second reflection signal is filtered and amplified to obtain a second detection signal.

[0059] In one embodiment, after the detection device receives a second reflected signal corresponding to the visible light signal, if the second signal strength value of the second reflected signal is less than the first intensity threshold, a first difference between the second signal strength value and the first intensity threshold is obtained, and the signal strength of the visible light signal is increased based on the first difference to obtain an enhanced visible light signal, and the enhanced visible light signal is transmitted to the part to be detected, and a third reflected signal corresponding to the enhanced visible light signal is received, and the third reflected signal is filtered and amplified to obtain a second detection signal.

[0060] In one embodiment, after the detection device receives a second reflected signal corresponding to the visible light signal, if the second signal strength value of the second reflected signal is greater than the second intensity threshold, a second difference between the second signal strength value and the second intensity threshold is obtained, and the signal strength of the visible light signal is weakened based on the second difference to obtain a weakened visible light signal, and the weakened visible light signal is transmitted to the part to be detected, and a fourth reflected signal corresponding to the weakened visible light signal is received, and then the fourth reflected signal is filtered and amplified to obtain a second detection signal.

[0061] S104, obtaining the motion state of the part to be detected;

[0062] Specifically, the detection device obtains the motion state corresponding to the part to be detected based on the accelerometer.

[0063] It is understandable that when the user is in motion, the movement of the part to be detected will cause the detection device to move. The detection device has a built-in accelerometer, and the movement state of the part to be detected can be obtained based on the accelerometer.

[0064] S105, performing noise reduction processing on the second detection signal based on the motion state to obtain a second detection signal after noise reduction processing.

[0065] It is understandable that in a motion state, the motion state will produce noise interference on the detection of the signal. After the motion state of the part to be detected is detected based on the accelerometer, the collected second detection signal can be denoised according to the motion state to obtain the second detection signal after noise reduction, thereby improving the signal-to-noise ratio of the second detection signal and improving the use effect of the detection equipment.

[0066] In one embodiment, in response to a soft shutdown trigger signal to the detection device, the output of the non-visible light signal and the visible light signal is stopped, and the device state of the detection device is set to a sleep state.

[0067] Specifically, the detection device is provided with a one-touch trigger control for executing soft shutdown. The user can generate a soft shutdown trigger signal by touching the one-touch trigger control. The detection device responds to the soft shutdown trigger signal and enters a sleep state. In the sleep state, neither the invisible light signal nor the visible light signal is output. Thus, the standby power consumption of the detection device is reduced.

[0068] In a feasible implementation, after detecting the second detection signal corresponding to the part to be detected based on the visible light signal, a target signal corresponding to the part to be detected is generated based on the first detection signal and the second detection signal. The motion state of the part to be detected is obtained, and the second detection signal is subjected to noise reduction processing based on the motion state to obtain the target signal after noise reduction processing.

[0069] It can be understood that when the signal detection device is used to measure the blood oxygen content, the blood oxygen content requires visible light and non-visible light to respectively calculate the detection signals obtained by detecting the detection part. Therefore, the first detection signal obtained based on the non-visible light signal detection and the second detection signal obtained based on the visible light signal detection are used as target signals, and the target signals are denoised according to the motion state, and the blood oxygen content is calculated based on the target signals after denoising.

[0070] In an embodiment of the present application, a first detection signal corresponding to a part to be detected is first detected based on a non-visible light signal. When a first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, the device state of the detection device is set to a detection state, and a visible light signal is output based on the detection state. A second detection signal corresponding to the part to be detected is detected based on the visible light signal. The signal strength value of the first detection signal can be used to determine the distance between the part to be detected and the detection device. When the first signal strength value of the first detection signal is greater than or equal to the preset strength threshold, that is, when the distance between the detection device and the part to be detected is close enough, a visible light signal is output to detect the second detection signal of the part to be detected, which can avoid interference and influence of the visible light signal on the user's vision and improve the use effect of the detection device. Then, the motion state of the part to be detected is obtained, and finally, the second detection signal is subjected to noise reduction processing based on the motion state to obtain the second detection signal after noise reduction processing. By obtaining the motion state of the part to be detected and performing noise reduction on the second detection signal obtained according to the motion state, the interference of motion on the detection signal can be suppressed, the signal-to-noise ratio of the collected second detection signal can be improved, and then the detection accuracy of the detection device for the detection signal can be improved.

[0071] See also Figure 3 , is a flow chart of a signal detection method provided in an embodiment of the present application. The following steps may be included:

[0072] S201, emitting a non-visible light signal to a part to be detected;

[0073] S202, receiving a first reflected signal corresponding to the non-visible light signal;

[0074] Specifically, in step S201 to step S202, the detection device transmits a non-visible light signal to the part to be detected. After the part to be detected is irradiated with the non-visible light, it reflects a first reflection signal corresponding to the non-visible light signal, and the detection device receives the first reflection signal corresponding to the non-visible light signal.

[0075] S203, performing filtering and signal amplification processing on the first reflection signal to obtain a first detection signal;

[0076] Specifically, after receiving the first reflected signal, filtering and signal amplification are performed on the first reflected signal to obtain a first detection signal.

[0077] S204, when the first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, setting the device state of the detection device to a detection state;

[0078] Specifically, the distance between the detection device and the part to be detected is determined according to the signal strength value of the first detection signal. The first detection signal is a detection signal generated based on the first reflection signal reflected by the signal to be detected. The larger the signal strength value of the first detection signal is, the closer the distance between the detection device and the part to be detected is. In this embodiment, by setting a preset intensity threshold, when the first signal intensity value of the first detection signal is greater than or equal to the preset intensity threshold, it indicates that the distance between the detection device and the part to be detected is close enough. At this time, the device state of the detection device is set to the detection state. At this time, the detection device emits a visible light signal for detection according to the detection state. The visible light signal will be blocked by the part to be detected to avoid interference with human vision.

[0079] S205, emitting a visible light signal to the part to be detected;

[0080] S206, receiving a second reflected signal corresponding to the visible light signal;

[0081] Specifically, in step S205 to step S206, the detection device transmits a visible light signal to the part to be detected. After the part to be detected is irradiated with the visible light, it reflects a second reflection signal corresponding to the visible light signal, and the detection device receives the second reflection signal corresponding to the visible light signal.

[0082] S207, performing filtering and signal amplification processing on the second reflected signal to obtain a second detection signal;

[0083] Specifically, after receiving the second reflected signal, filtering and signal amplification are performed on the second reflected signal to obtain a second detection signal.

[0084] S208, obtaining the motion state of the part to be detected;

[0085] Specifically, for step S208, please refer to the detailed description of step S104 in another embodiment of the present application, which will not be repeated here.

[0086] S209: Perform noise reduction processing on the second detection signal based on the motion state to obtain a second detection signal after noise reduction processing.

[0087] Specifically, for step S209, please refer to the detailed description of step S105 in another embodiment of the present application, which will not be repeated here.

[0088] In an embodiment of the present application, a first detection signal corresponding to a part to be detected is first detected based on a non-visible light signal. When a first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, the device state of the detection device is set to a detection state, and a visible light signal is output based on the detection state. A second detection signal corresponding to the part to be detected is detected based on the visible light signal. The signal strength value of the first detection signal can be used to determine the distance between the part to be detected and the detection device. When the first signal strength value of the first detection signal is greater than or equal to the preset strength threshold, that is, when the distance between the detection device and the part to be detected is close enough, a visible light signal is output to detect the second detection signal of the part to be detected, which can avoid interference and influence of the visible light signal on the user's vision and improve the use effect of the detection device. Then, the motion state of the part to be detected is obtained, and finally, the second detection signal is subjected to noise reduction processing based on the motion state to obtain the second detection signal after noise reduction processing. By obtaining the motion state of the part to be detected and performing noise reduction on the second detection signal obtained according to the motion state, the interference of motion on the detection signal can be suppressed, the signal-to-noise ratio of the collected second detection signal can be improved, and then the detection accuracy of the detection device for the detection signal can be improved.

[0089] See also Figure 4 , is a flow chart of a signal detection method provided in an embodiment of the present application. The following steps may be included:

[0090] S301, emitting a non-visible light signal to a part to be detected;

[0091] S302, receiving a first reflected signal corresponding to the non-visible light signal;

[0092] Specifically, in step S301 to step S302, the detection device transmits a non-visible light signal to the part to be detected. After the part to be detected is irradiated with the non-visible light, it reflects a first reflection signal corresponding to the non-visible light signal, and the detection device receives the first reflection signal corresponding to the non-visible light signal.

[0093] S303, performing filtering and signal amplification processing on the first reflection signal to obtain a first detection signal;

[0094] Specifically, after receiving the first reflected signal, filtering and signal amplification are performed on the first reflected signal to obtain a first detection signal.

[0095] S304, when the first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, setting the device state of the detection device to a detection state;

[0096] Specifically, the distance between the detection device and the part to be detected is determined according to the signal strength value of the first detection signal. The first detection signal is a detection signal generated based on the first reflection signal reflected by the signal to be detected. The larger the signal strength value of the first detection signal is, the closer the distance between the detection device and the part to be detected is. In this embodiment, by setting a preset intensity threshold, when the first signal intensity value of the first detection signal is greater than or equal to the preset intensity threshold, it indicates that the distance between the detection device and the part to be detected is close enough. At this time, the device state of the detection device is set to the detection state. At this time, the detection device emits a visible light signal for detection according to the detection state. The visible light signal will be blocked by the part to be detected to avoid interference with human vision.

[0097] S305, emitting a visible light signal to the part to be detected;

[0098] S306, receiving a second reflected signal corresponding to the visible light signal;

[0099] Specifically, in step S305 to step S306, the detection device transmits a visible light signal to the part to be detected. After the part to be detected is irradiated with the visible light, it reflects a second reflection signal corresponding to the visible light signal, and the detection device receives the second reflection signal corresponding to the visible light signal.

[0100] S307, if the second signal strength value of the second reflected signal is less than the first strength threshold, obtaining a first difference between the second signal strength value and the first strength threshold;

[0101] S308, increasing the signal strength of the visible light signal based on the first difference to obtain an enhanced visible light signal;

[0102] It should be noted that signal detection needs to obtain a relatively clear detection signal, and for different detection parts, the signal strength of the second reflected signal of the reflected visible light signal is different. If the signal strength is too low, the collected detection signal will be unclear. If the signal strength is too strong, it will cause unnecessary power consumption waste. For example, in the collection of pulse wave signals, the pulse wave signal strength collected at different positions of the human body is different. For example, the finger pulse wave signal is strong, and a clear pulse wave signal can be detected without a strong visible light signal. In this case, the signal strength of the visible light signal can be reduced to reduce the power consumption of the detection equipment; while the forehead pulse wave signal is weak, and a strong visible light signal is required to detect a clear pulse wave signal. In this case, the signal strength of the visible light signal can be enhanced to ensure the clarity of the detection signal.

[0103] In the embodiment of the present application, by setting the first intensity threshold of the signal intensity, after receiving the second transmission signal returned by the part to be detected, it is determined whether the signal intensity value of the second reflected signal is less than the first intensity threshold. When the second signal intensity value of the second reflected signal is less than the first intensity threshold, it indicates that the signal intensity value of the second reflected signal is too low, and a clear second detection signal cannot be obtained based on the second reflected signal. At this time, the first difference between the second signal intensity value and the first intensity threshold is obtained, and the signal intensity of the visible light signal is increased according to the first difference to obtain an enhanced visible light signal, so as to ensure that the signal intensity of the reflected signal corresponding to the enhanced visible light signal is greater than the first intensity threshold, thereby obtaining a clear detection signal.

[0104] S309, transmitting the enhanced visible light signal to the part to be detected;

[0105] Specifically, after increasing the signal intensity of the visible light signal according to the first difference between the second signal intensity value and the first intensity threshold to obtain an enhanced visible light signal, the detection device transmits the enhanced visible light signal to the part to be detected.

[0106] S310, receiving a third reflected signal corresponding to the enhanced visible light signal;

[0107] Specifically, after the part to be detected is irradiated by the enhanced visible light signal, it reflects a third reflected signal corresponding to the enhanced visible light signal, and the detection device receives the third reflected signal corresponding to the enhanced visible light signal.

[0108] S311, performing filtering and signal amplification processing on the third reflected signal to obtain a second detection signal;

[0109] Specifically, after receiving the third reflected signal, filtering and signal amplification are performed on the third reflected signal to obtain the second detection signal.

[0110] S312, obtaining the motion state of the part to be detected;

[0111] Specifically, for step S312, please refer to the detailed description of step S104 in another embodiment of the present application, which will not be repeated here.

[0112] S313: Perform noise reduction processing on the second detection signal based on the motion state to obtain a second detection signal after noise reduction processing.

[0113] Specifically, for step S313, please refer to the detailed description of step S105 in another embodiment of the present application, which will not be repeated here.

[0114] In an embodiment of the present application, a first detection signal is detected by a non-visible light signal, and the distance to the part to be detected can be determined according to the signal strength value of the first detection signal. When the first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, a second detection signal of the part to be detected is output by a visible light signal, so that the visible light signal is turned on only when the distance to the part to be detected is close enough, thereby avoiding interference and influence of the visible light signal on the user's vision and improving the use effect of the detection device; when the second detection signal of the part to be detected is detected based on the visible light signal, the signal strength of the visible light signal can be adjusted based on the signal strength of the second reflected signal. When the second signal strength value of the second reflected signal is less than the first strength threshold, the signal strength of the visible light signal is increased according to the first difference between the second signal strength value and the first strength threshold, so as to ensure that the signal strength of the reflected signal corresponding to the enhanced visible light signal is greater than the first strength threshold, thereby obtaining a clear detection signal; and by obtaining the motion state of the part to be detected, the noise of the second detection signal obtained by detection is reduced according to the motion state, so as to suppress the interference of motion on the detection signal and improve the detection accuracy of the detection device on the detection signal.

[0115] See also Figure 5 , is a flow chart of a signal detection method provided in an embodiment of the present application. The following steps may be included:

[0116] S401, emitting a non-visible light signal to a part to be detected;

[0117] S402, receiving a first reflected signal corresponding to the non-visible light signal;

[0118] Specifically, in step S401 to step S402, the detection device transmits a non-visible light signal to the part to be detected. After the part to be detected is irradiated with the non-visible light, it reflects a first reflection signal corresponding to the non-visible light signal, and the detection device receives the first reflection signal corresponding to the non-visible light signal.

[0119] S403, performing filtering and signal amplification processing on the first reflection signal to obtain a first detection signal;

[0120] Specifically, after receiving the first reflected signal, filtering and signal amplification are performed on the first reflected signal to obtain a first detection signal.

[0121] S404, when the first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, setting the device state of the detection device to a detection state;

[0122] Specifically, the distance between the detection device and the part to be detected is determined according to the signal strength value of the first detection signal. The first detection signal is a detection signal generated based on the first reflection signal reflected by the signal to be detected. The larger the signal strength value of the first detection signal is, the closer the distance between the detection device and the part to be detected is. In this embodiment, by setting a preset intensity threshold, when the first signal intensity value of the first detection signal is greater than or equal to the preset intensity threshold, it indicates that the distance between the detection device and the part to be detected is close enough. At this time, the device state of the detection device is set to the detection state. At this time, the detection device emits a visible light signal for detection according to the detection state. The visible light signal will be blocked by the part to be detected to avoid interference with human vision.

[0123] S405, emitting a visible light signal to the part to be detected;

[0124] S406, receiving a second reflected signal corresponding to the visible light signal;

[0125] Specifically, in step S405 to step S406, the detection device transmits a visible light signal to the part to be detected. After the part to be detected is irradiated with the visible light, it reflects a second reflection signal corresponding to the visible light signal, and the detection device receives the second reflection signal corresponding to the visible light signal.

[0126] S407, if the second signal strength value of the second reflected signal is greater than the second strength threshold, obtaining a second difference between the second signal strength value and the second strength threshold;

[0127] S408, weakening the signal strength of the visible light signal based on the second difference to obtain a weakened visible light signal;

[0128] It should be noted that signal detection needs to obtain a relatively clear detection signal, and for different detection parts, the signal strength of the second reflected signal of the reflected visible light signal is different. If the signal strength is too low, the collected detection signal will be unclear. If the signal strength is too strong, it will cause unnecessary power consumption waste. For example, in the collection of pulse wave signals, the pulse wave signal strength collected at different positions of the human body is different. For example, the finger pulse wave signal is strong, and a clear pulse wave signal can be detected without a strong visible light signal. In this case, the signal strength of the visible light signal can be reduced to reduce the power consumption of the detection equipment; while the forehead pulse wave signal is weak, and a strong visible light signal is required to detect a clear pulse wave signal. In this case, the signal strength of the visible light signal can be enhanced to ensure the clarity of the detection signal.

[0129] In the embodiment of the present application, by setting the second intensity threshold of the signal intensity, after receiving the second transmission signal returned by the part to be detected, it is determined whether the signal intensity value of the second reflected signal is greater than the second intensity threshold. When the second signal intensity value of the second reflected signal is greater than the second intensity threshold, it indicates that the signal intensity value of the second reflected signal is too strong, and there is unnecessary power consumption. At this time, the second difference between the second signal intensity value and the second intensity threshold is obtained, and the signal intensity of the visible light signal is weakened according to the second difference to obtain the weakened visible light signal, so as to ensure that the signal intensity of the reflected signal corresponding to the weakened visible light signal is less than the second intensity threshold, thereby reducing the visible light signal reflection power consumption of the detection device.

[0130] It should be noted that the second intensity threshold is greater than the first intensity threshold.

[0131] S409, transmitting the weakened visible light signal to the part to be detected;

[0132] Specifically, after the signal intensity of the visible light signal is weakened according to the second difference between the second signal intensity value and the second intensity threshold to obtain the weakened visible light signal, the detection device transmits the weakened visible light signal to the part to be detected.

[0133] S410, receiving a fourth reflected signal corresponding to the weakened visible light signal;

[0134] Specifically, after the detected part is irradiated by the weakened visible light signal, it reflects a fourth reflected signal corresponding to the weakened visible light signal, and the detection device receives the fourth reflected signal corresponding to the weakened visible light signal.

[0135] S411, performing filtering and signal amplification processing on the fourth reflected signal to obtain a second detection signal;

[0136] Specifically, after receiving the fourth reflected signal, filtering and signal amplification are performed on the fourth reflected signal to obtain the second detection signal.

[0137] S412, obtaining the motion state of the part to be detected;

[0138] Specifically, for step S412, please refer to the detailed description of step S104 in another embodiment of the present application, which will not be repeated here.

[0139] S413: Perform noise reduction processing on the second detection signal based on the motion state to obtain a second detection signal after noise reduction processing.

[0140] Specifically, for step S413, please refer to the detailed description of step S105 in another embodiment of the present application, which will not be repeated here.

[0141] In an embodiment of the present application, a first detection signal is detected by a non-visible light signal, and the distance to the part to be detected can be determined according to the signal strength value of the first detection signal. When the first signal strength value of the first detection signal is greater than or equal to the preset strength threshold, a second detection signal of the part to be detected is output by a visible light signal, so that the visible light signal is turned on only when the distance to the part to be detected is close enough, thereby avoiding the interference and influence of the visible light signal on the user's vision and improving the use effect of the detection device; when the second detection signal of the part to be detected is detected based on the visible light signal, the signal strength of the visible light signal can be adjusted based on the signal strength of the second reflected signal. When the second signal strength value of the second reflected signal is greater than the second strength threshold, the signal strength of the visible light signal is weakened according to the second difference between the second signal strength value and the second strength threshold to ensure that the signal strength of the reflected signal corresponding to the weakened visible light signal is less than the second strength threshold, thereby reducing the signal transmission power consumption of the detection device; and by obtaining the motion state of the part to be detected, the second detection signal obtained by detection is denoised according to the motion state, so as to suppress the interference of motion on the detection signal and improve the detection accuracy of the detection device on the detection signal.

[0142] See also Figure 6 , is a schematic diagram of the structure of a signal detection device provided in an embodiment of the present application. Figure 6 As shown, the signal detection device 1 can be implemented as all or part of the detection device through software, hardware or a combination of both. According to some embodiments, the signal detection device 1 includes a control circuit 11, a non-visible light circuit 12, a visible light circuit 13, and a state detection circuit 14, wherein the non-visible light circuit 12, the visible light circuit 13, and the state detection circuit 14 are respectively connected to the control circuit 11, wherein:

[0143] The control circuit 11 is used to transmit a first analog signal to the non-visible light circuit 12;

[0144] Specifically, the control circuit 11 is the control and calculation center of each circuit. At the beginning of signal detection, the control circuit 11 sends a first analog signal to the non-visible light circuit 12. The first analog signal is used to control the non-visible light circuit 12 to emit a non-visible light signal.

[0145] Among them, the non-visible light signal is used to measure the distance between the part to be detected and the detection equipment.

[0146] In one embodiment, the control circuit 11 may be a control circuit 11 based on an MCU.

[0147] In one embodiment, the control circuit 11 is also used to determine whether the first detection signal is a detection signal of a preset type. If so, the step of setting the device state of the detection device to a detection state when the first signal strength value of the first detection signal is greater than or equal to a preset intensity threshold and sending a second analog signal to the visible light circuit 13 based on the detection state is executed; if not, the step of transmitting the first analog signal to the non-visible light circuit 12 is executed.

[0148] In one embodiment, the control circuit 11 is further configured to set the device state of the detection device to a waiting detection state and stop outputting the second analog signal when the first signal strength value of the first detection signal is less than a preset strength threshold.

[0149] The non-visible light circuit 12 is used to emit a non-visible light signal based on the first analog signal to detect a first detection signal corresponding to the part to be detected;

[0150] Specifically, the non-visible light circuit 12 is connected to the control circuit 11, the control circuit 11 sends a first analog signal to the non-visible light circuit 12, the non-visible light circuit 12 emits a non-visible light signal based on the first analog signal, and detects a first detection signal corresponding to the part to be detected based on the non-visible light signal.

[0151] In one embodiment, the non-visible light circuit 12 includes a non-visible light receiving circuit 121 and a non-visible light transmitting circuit 122, see Figure 7 , is a schematic diagram of the structure of a signal detection device provided in an embodiment of the present application. Figure 7 As shown, the non-visible light receiving circuit 121 and the non-visible light transmitting circuit 122 are respectively connected to the control circuit 11, wherein:

[0152] The non-visible light emitting circuit 121 is used to emit a non-visible light signal to the part to be detected based on the first analog signal;

[0153] The non-visible light receiving circuit 122 is used to receive the first transmission signal corresponding to the non-visible light signal, and perform filtering and signal amplification processing on the first reflection signal to obtain the first detection signal.

[0154] Specifically, the non-visible light transmitting circuit 121 receives the first analog signal sent by the control circuit 11, and transmits the non-visible light signal to the part to be detected based on the first analog signal. The non-visible light receiving circuit receives the first reflection signal based on the reflection of the non-visible light signal from the part to be detected, and the first reflection signal is filtered and amplified in the non-visible light receiving circuit. The control circuit 11 receives the first reflection signal after filtering and amplification and generates a first detection signal.

[0155] It can be understood that the control circuit 11 sends a first analog signal to the non-visible light emitting circuit, and the first analog signal can be used to control the turning on and off of the non-visible light emitting circuit. The non-visible light emitting circuit includes a non-visible light emitting tube. In response to the first analog signal, the non-visible light emitting tube in the non-visible light emitting circuit is turned on and emits a non-visible light signal.

[0156] In one embodiment, the non-visible light receiving circuit includes a non-visible light receiving tube for receiving a first reflection signal corresponding to a non-visible light signal reflected by a part to be detected.

[0157] In one embodiment, the non-visible light receiving circuit includes a bandpass filter circuit, a signal amplification circuit, and a collection circuit. The bandpass filter circuit is used to filter the first reflection signal, the signal amplification circuit is used to amplify the first reflection signal, and the collection circuit is used to collect the first reflection signal and send the first reflection signal to the control circuit 11, and the control circuit 11 generates a first detection signal according to the first reflection signal.

[0158] The control circuit 11 is further configured to set the device state of the detection device to a detection state when the first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, and send a second analog signal to the visible light circuit 13 based on the detection state;

[0159] Specifically, the control circuit 11 determines whether the first signal strength value of the first detection signal is greater than a preset intensity threshold. When the first signal strength value of the first detection signal is greater than or equal to the preset intensity threshold, the distance between the detection device and the part to be detected is close enough. At this time, the control circuit 11 sets the device state of the detection device to the detection state and sends a second analog signal to the visible light circuit 13.

[0160] The visible light circuit 13 is used to emit a visible light signal based on the second analog signal to detect a second detection signal corresponding to the part to be detected;

[0161] Specifically, the visible light circuit 13 receives the second analog signal sent by the control circuit 11, emits a visible light signal based on the second analog signal, and detects a second detection signal corresponding to the part to be detected based on the visible light signal.

[0162] In one embodiment, the visible light circuit 13 includes a visible light receiving circuit 131 and a visible light transmitting circuit 132. Figure 7 As shown, the visible light receiving circuit and the visible light transmitting circuit are respectively connected to the control circuit 11, wherein:

[0163] The visible light emitting circuit 131 is used to emit a visible light signal to the part to be detected based on the second analog signal;

[0164] The visible light receiving circuit 132 is used to receive the second transmission signal corresponding to the visible light signal, and perform filtering and signal amplification processing on the second reflection signal to obtain the second detection signal.

[0165] Specifically, the visible light transmitting circuit receives the second analog signal sent by the control circuit 11, and transmits the visible light signal to the part to be detected based on the second analog signal. The visible light receiving circuit receives the second reflected signal based on the reflection of the visible light signal from the part to be detected, and the second reflected signal is filtered and amplified in the visible light receiving circuit. The control circuit 11 receives the second reflected signal after filtering and amplification and generates a second detection signal.

[0166] It can be understood that the control circuit 11 sends a second analog signal to the visible light emitting circuit, and the second analog signal can be used to control the turning on and off of the visible light emitting circuit. The visible light emitting circuit includes a visible light emitting tube. In response to the second analog signal, the visible light emitting tube in the visible light emitting circuit is turned on and emits a visible light signal.

[0167] In one embodiment, the visible light receiving circuit includes a visible light receiving tube for receiving a second reflection signal corresponding to the visible light signal reflected by the part to be detected.

[0168] In one embodiment, the visible light receiving circuit includes a bandpass filter circuit, a signal amplification circuit, and a collection circuit. The bandpass filter circuit is used to filter the second reflection signal, the signal amplification circuit is used to amplify the second reflection signal, and the collection circuit is used to collect the second reflection signal and send the second reflection signal to the control circuit 11, and the control circuit 11 generates a second detection signal according to the second reflection signal.

[0169] In one embodiment, when the signal strength value of the second reflected signal collected by the control circuit 11 is small, a clear second detection signal cannot be generated, and when the signal strength value of the second reflected signal collected by the control circuit 11 is large, there is unnecessary power consumption. At this time, the control circuit 11 can adjust the signal strength value of the visible light signal emitted by the visible light emitting circuit by adjusting the second analog signal, so that the signal strength of the second reflected signal of the visible light signal is within a reasonable range, which can ensure the clarity of the second detection signal and avoid unnecessary power consumption.

[0170] The state detection circuit 14 is used to obtain the motion state of the part to be detected;

[0171] Specifically, the state detection circuit 14 is connected to the control circuit 11, and the state detection circuit 14 is used to obtain the motion state of the part to be detected. The motion state is used to perform signal noise reduction processing on the collected second detection signal.

[0172] Optionally, the state detection circuit 14 may be an accelerometer circuit, and the motion state of the part to be detected is obtained based on the accelerometer circuit.

[0173] The control circuit 11 is further configured to perform noise reduction processing on the second detection signal based on the motion state to obtain a second detection signal after noise reduction processing.

[0174] In one embodiment, if Figure 7 As shown, the device further includes a touch switch circuit 15, and the touch switch circuit 15 is connected to the control circuit 11, wherein:

[0175] The touch switch circuit 15 is used to generate a soft shutdown trigger signal based on the user's trigger operation on the detection device;

[0176] The control circuit 11 is used for stopping outputting the first analog signal and the second analog signal in response to the soft shutdown trigger signal, and setting the device state of the detection device to a sleep state.

[0177] Specifically, the touch switch circuit 15 generates a soft shutdown trigger signal in response to the user's triggering operation on the detection device, and the control circuit 11 stops outputting the first analog signal and the second analog signal in response to the soft shutdown trigger signal, and sets the device state of the detection device to a sleep state.

[0178] A signal detection device provided in an embodiment of the present application is used, and the device includes a control circuit, a non-visible light circuit, a visible light circuit, and a state detection circuit. The non-visible light circuit, the visible light circuit, and the state detection circuit are respectively connected to the control circuit. A first analog signal is transmitted to the non-visible light circuit through the control circuit. The non-visible light circuit transmits a non-visible light signal based on the first analog signal to detect a first detection signal corresponding to a part to be detected. When a first signal strength value of the first detection signal is greater than or equal to a preset intensity threshold, the control circuit sets the device state of the detection device to a detection state, and sends a second analog signal to the visible light circuit based on the detection state. The visible light circuit transmits a visible light signal based on the second analog signal to detect a second detection signal corresponding to the part to be detected. The first detection signal is detected by a non-visible light signal, and the distance to the part to be detected can be judged according to the signal strength value of the first detection signal. When the first signal strength value of the first detection signal is greater than or equal to the preset intensity threshold, a second detection signal of the part to be detected is output by a visible light signal, so that the visible light signal is turned on only when the distance to the part to be detected is close enough, thereby avoiding the interference and influence of the visible light signal on the user's vision and improving the use effect of the detection equipment; then the state detection circuit obtains the motion state of the part to be detected, and the control circuit is used to perform noise reduction processing on the second detection signal based on the motion state to obtain the second detection signal after noise reduction processing, which can suppress the interference of motion on the detection signal and improve the detection accuracy of the detection device on the detection signal.

[0179] The present application also provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded and executed by a processor as described above. Figure 1 to Figure 5 The signal detection method of the embodiment shown in the figure can be specifically executed by referring to Figure 1 to Figure 5 The specific description of the illustrated embodiment will not be repeated here.

[0180] The present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor as described above. Figure 1 to Figure 5 The signal detection method of the embodiment shown in the figure can be specifically executed by referring to Figure 1 to Figure 5 The specific description of the illustrated embodiment will not be repeated here.

[0181] Please refer to Figure 8 , shows a block diagram of the structure of an electronic device provided by an exemplary embodiment of the present application. The electronic device in the present application may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected via the bus 150.

[0182] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire terminal, and executes various functions and processes data of the terminal 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.

[0183] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, codes, code sets, or instruction sets.

[0184] The input device 130 is used to receive input instructions or data, and the input device 130 includes but is not limited to a keyboard, a mouse, a camera, a microphone or a touch device. The output device 140 is used to output instructions or data, and the output device 140 includes but is not limited to a display device and a speaker. In the embodiment of the present application, the input device 130 can be a temperature sensor for obtaining the operating temperature of the terminal. The output device 140 can be a speaker for outputting audio signals.

[0185] In addition, those skilled in the art will appreciate that the structure of the terminal shown in the above drawings does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the terminal also includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a Bluetooth module, and other components, which will not be described in detail here.

[0186] In the embodiment of the present application, the execution subject of each step may be the terminal described above. Optionally, the execution subject of each step is the operating system of the terminal. The operating system may be an Android system, an IOS system, or other operating systems, which is not limited in the embodiment of the present application.

[0187] exist Figure 8 In the electronic device, the processor 110 can be used to call the signal detection program stored in the memory 120 and execute it to implement the signal detection method as described in the various method embodiments of the present application.

[0188] In an embodiment of the present application, a first detection signal corresponding to a part to be detected is detected based on a non-visible light signal. When a first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, the device state of the detection device is set to a detection state, and a visible light signal is output based on the detection state. A second detection signal corresponding to the part to be detected is detected based on the visible light signal. The signal strength value of the first detection signal can be used to determine the distance between the part to be detected and the detection device. When the first signal strength value of the first detection signal is greater than or equal to the preset strength threshold, that is, when the distance between the detection device and the part to be detected is close enough, a visible light signal is output to detect the second detection signal of the part to be detected. This can avoid interference and influence of the visible light signal on the user's vision and improve the use effect of the detection device. Then, the motion state of the part to be detected is obtained, and finally, the second detection signal is subjected to noise reduction processing based on the motion state to obtain the second detection signal after noise reduction processing. By obtaining the motion state of the part to be detected and performing noise reduction on the second detection signal obtained according to the motion state, the interference of motion on the detection signal can be suppressed, the signal-to-noise ratio of the collected second detection signal can be improved, and then the detection accuracy of the detection device for the detection signal can be improved.

[0189] Those skilled in the art can clearly understand that the technical solution of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in the present application refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.

[0190] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0191] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0192] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0193] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0194] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0195] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct the relevant hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0196] The above is only an exemplary embodiment of the present application, and the scope of the present application cannot be limited by this. That is, any equivalent changes and modifications made according to the teachings of the present application are still within the scope of the present application. After considering the disclosure of the specification and practice here, those skilled in the art will easily think of other embodiments of the present application. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the art that are not recorded in the present application. The specification and examples are only regarded as exemplary, and the scope and spirit of the present application are defined by the claims.

Claims

1. A signal detection method, It is characterized in that Applied to detection equipment, the method comprises: Detecting a first detection signal corresponding to the part to be detected based on the non-visible light signal; When the first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, setting the device state of the detection device to a detection state; Outputting a visible light signal based on the detection state, and detecting a second detection signal corresponding to the part to be detected based on the visible light signal; Acquiring the motion state of the part to be detected; The second detection signal is subjected to noise reduction processing based on the motion state to obtain a second detection signal after noise reduction processing.

2. The method according to claim 1, It is characterized in that After the first detection signal corresponding to the part to be detected is detected based on the non-visible light signal, the method further includes: Determining whether the first detection signal is a detection signal of a preset type; If so, executing the step of setting the device state of the detection device to a detection state when the first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, and outputting a visible light signal based on the detection state; If not, the step of detecting the first detection signal corresponding to the to-be-detected part based on the non-visible light signal is performed.

3. The method according to claim 1, It is characterized in that After turning on the visible light signal, the method further includes: When the first signal strength value of the first detection signal is less than a preset strength threshold, the device state of the detection device is set to a waiting detection state, and the output of the visible light signal is stopped.

4. The method according to claim 1, It is characterized in that The method of detecting a first detection signal corresponding to the part to be detected based on the non-visible light signal includes: Emitting a non-visible light signal to the part to be detected; Receiving a first reflected signal corresponding to the non-visible light signal; The first reflection signal is filtered and amplified to obtain the first detection signal.

5. The method according to claim 1, It is characterized in that The detecting a second detection signal corresponding to the part to be detected based on the visible light signal comprises: Emitting a visible light signal to the part to be detected; receiving a second reflected signal corresponding to the visible light signal; The second reflected signal is filtered and amplified to obtain the second detection signal.

6. The method according to claim 5, It is characterized in that After receiving the second reflected signal corresponding to the visible light signal, the method further includes: If the second signal strength value of the second reflected signal is less than the first strength threshold, obtaining a first difference between the second signal strength value and the first strength threshold; increasing the signal strength of the visible light signal based on the first difference to obtain an enhanced visible light signal; Transmitting the enhanced visible light signal to the part to be detected; receiving a third reflected signal corresponding to the enhanced visible light signal; The filtering and amplifying the second reflected signal to obtain the second detection signal includes: The third reflected signal is filtered and amplified to obtain the second detection signal.

7. The method according to claim 5, It is characterized in that After receiving the second reflected signal corresponding to the visible light signal, the method further includes: If the second signal strength value of the second reflected signal is greater than a second strength threshold, obtaining a second difference between the second signal strength value and the second strength threshold; weakening the signal strength of the visible light signal based on the second difference to obtain a weakened visible light signal; Transmitting the attenuated visible light signal to the part to be detected; receiving a fourth reflected signal corresponding to the attenuated visible light signal; The filtering and amplifying the second reflected signal to obtain the second detection signal includes: The fourth reflected signal is filtered and amplified to obtain the second detection signal.

8. The method according to claim 1, It is characterized in that The method further comprises: In response to a soft shutdown trigger signal to the detection device, outputting the non-visible light signal and the visible light signal is stopped, and the device state of the detection device is set to a sleep state.

9. A signal detection device, It is characterized in that The device comprises a control circuit, a non-visible light circuit, a visible light circuit, and a state detection circuit, wherein the non-visible light circuit, the visible light circuit, and the state detection circuit are respectively connected to the control circuit, wherein: The control circuit is used to transmit a first analog signal to the non-visible light circuit; The non-visible light circuit is used to emit a non-visible light signal based on the first analog signal to detect a first detection signal corresponding to the part to be detected; The control circuit is further configured to set the device state of the detection device to a detection state when the first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, and send a second analog signal to the visible light circuit based on the detection state; The visible light circuit is used to emit a visible light signal based on the second analog signal to detect a second detection signal corresponding to the part to be detected; The state detection circuit is used to obtain the motion state of the part to be detected; The control circuit is further used to perform noise reduction processing on the second detection signal based on the motion state to obtain the second detection signal after noise reduction processing.

10. The method according to claim 9, It is characterized in that The control circuit is also used for: Determining whether the first detection signal is a detection signal of a preset type; If so, executing the step of setting the device state of the detection device to a detection state when the first signal strength value of the first detection signal is greater than or equal to a preset strength threshold, and sending a second analog signal to the visible light circuit based on the detection state; If not, the step of transmitting the first analog signal to the non-visible light circuit is performed.

11. The method according to claim 9, It is characterized in that The control circuit is also used for: When the first signal strength value of the first detection signal is less than a preset strength threshold, the device state of the detection device is set to a waiting detection state, and the output of the second analog signal is stopped.

12. The method according to claim 9, It is characterized in that The non-visible light circuit includes a non-visible light receiving circuit and a non-visible light transmitting circuit, and the non-visible light receiving circuit and the non-visible light transmitting circuit are respectively connected to the control circuit, wherein: The non-visible light emitting circuit is used to emit a non-visible light signal to the part to be detected based on the first analog signal; The non-visible light receiving circuit is used to receive a first transmission signal corresponding to the non-visible light signal, and perform filtering and signal amplification processing on the first reflection signal to obtain the first detection signal.

13. The method according to claim 9, It is characterized in that The visible light circuit includes a visible light receiving circuit and a visible light transmitting circuit, and the visible light receiving circuit and the visible light transmitting circuit are respectively connected to the control circuit, wherein: The visible light emitting circuit is used to emit a visible light signal to the part to be detected based on the second analog signal; The visible light receiving circuit is used to receive a second transmission signal corresponding to the visible light signal, and perform filtering and signal amplification processing on the second reflection signal to obtain the second detection signal.

14. The method according to claim 9, It is characterized in that The device further comprises a touch switch circuit, which is connected to the control circuit, wherein: The touch switch circuit is used to generate a soft shutdown trigger signal based on a user's trigger operation on the detection device; The control circuit is used to stop outputting the first analog signal and the second analog signal in response to the soft shutdown trigger signal, and set the device state of the detection device to a sleep state.

15. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method according to any one of claims 1 to 8.

16. An electronic device, include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the method as claimed in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Apparatus and method for recording a vital parameter

    CN102238898A

  • Heart rate detection method and device, chip, electronic device and storage medium

    CN110730630A

  • Blood oxygen measuring method and device capable of eliminating moving inteference

    CN1985764A

  • Pulsation detector

    JP2012170701A

  • Wearable mobile terminal

    US20150359436A1