Signal detection method and apparatus, storage medium, and electronic device

By combining preliminary detection of non-visible light signals with switching of visible light signals and noise reduction processing based on motion state, the problems of visible light interference and motion effects are solved, thereby improving the accuracy and effectiveness of pulse wave detection.

CN119112135BActive Publication Date: 2026-04-10GUANGZHOU SHIYUAN ELECTRONICS CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-13
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

In existing technologies, when pulse waves are collected based on visible light signals, it can interfere with the user's vision and human movement can affect signal collection, resulting in a decrease in detection accuracy.

Method used

The system initially detects the pulse wave using non-visible light signals. When the signal strength reaches a threshold, it switches to visible light signal detection and combines this with noise reduction processing based on the motion state to obtain a clear pulse wave signal.

Benefits of technology

It avoids visual interference from visible light, improves the effectiveness of the detection equipment, and enhances detection accuracy and signal-to-noise ratio through motion noise reduction processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119112135B_ABST
    Figure CN119112135B_ABST
Patent Text Reader

Abstract

The application discloses a signal detection method and device, a storage medium and an electronic device. The method comprises the following steps: detecting a first detection signal corresponding to a to-be-detected part 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 intensity threshold, setting a device state of a detection device to a detection state; then outputting a visible light signal based on the detection state; detecting a second detection signal corresponding to the to-be-detected part based on the visible light signal; simultaneously acquiring 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 a second detection signal after noise reduction processing. By using the application, the interference of the visible light signal on the user's vision and the interference of the motion on the detection signal can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, and particularly relates to a signal detection method and device, a storage medium and an electronic device. BACKGROUND

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

[0003] In the related art, the pulse wave signal is usually collected based on the visible light irradiation mode, mainly using the blood absorption of light, and analyzing the blood flow and pulse fluctuation through the reflected light signal. SUMMARY

[0004] The signal detection method, device, storage medium and electronic device provided by the embodiments of the present application can avoid the interference of the visible light signal on the user's vision and the interference of the motion on the detection signal. The technical solution is as follows:

[0005] In a first aspect, the embodiments of the present application provide a signal detection method applied to a detection device, and the method comprises the following steps:

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

[0007] when a first signal intensity value of the first detection signal is greater than or equal to a preset intensity threshold, setting a 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 to-be-detected part based on the visible light signal;

[0009] obtaining a motion state of the to-be-detected part;

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

[0011] In a second aspect, the embodiments of the present application provide a signal detection device, which comprises a control circuit, a non-visible light circuit, a visible light circuit, and a state detection circuit, and the non-visible light circuit, the visible light circuit, and the state detection circuit are connected to the control circuit, wherein:

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

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

[0014] the control circuit is further configured to set a 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 transmit a second analog signal to the visible light circuit based on the detection state;

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

[0016] the state detection circuit is configured to acquire a motion state of the to-be-detected part;

[0017] the control circuit 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.

[0018] In a third aspect, an embodiment of the present application provides a storage medium, which stores at least one instruction, and the at least one instruction is adapted to be loaded by a processor and execute the method steps described above.

[0019] In a fourth aspect, an embodiment of the present application provides an electronic device, which can include a processor and a memory; wherein the memory stores at least one instruction, and the at least one instruction is adapted to be loaded by the processor and execute the method steps described above.

[0020] The technical solutions provided by some embodiments of the present application have at least the following beneficial effects:

[0021] In the embodiments of the present application, first, a first detection signal corresponding to a to-be-detected part 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 intensity threshold, a device state of a 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 to-be-detected part is detected based on the visible light signal, then a motion state of the to-be-detected part is acquired, and finally, the second detection signal is processed based on the motion state to obtain a second detection signal after noise reduction processing; by using the signal detection method provided by the embodiments of the present application, the first detection signal is detected based on the non-visible light signal, the distance of the to-be-detected part 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, the second detection signal of the to-be-detected part is detected by outputting the visible light signal, so that the visible light signal is started only when the distance to the to-be-detected part is close enough, avoiding the interference and influence of the visible light signal on the user's vision, improving the use effect of the detection device, and by acquiring the motion state of the to-be-detected part, the second detection signal obtained by detection is processed according to the motion state, the interference of the motion on the detection signal can be suppressed, and the detection accuracy of the detection device on the detection signal is improved. Attached Figure Description

[0022] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1 A schematic flowchart of a signal detection method provided in an embodiment of this application;

[0024] Figure 2 This is a schematic diagram illustrating an example of signal detection provided in an embodiment of this application;

[0025] Figure 3 A schematic flowchart of a signal detection method provided in an embodiment of this application;

[0026] Figure 4 A schematic flowchart of a signal detection method provided in an embodiment of this application;

[0027] Figure 5 A schematic flowchart of a signal detection method provided in an embodiment of this application;

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

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

[0030] Figure 8 This is a structural block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0031] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0032] In the description of the present application, it needs to be understood that the terms "first", "second" and the like are only for descriptive purpose and cannot be understood as indicating or implying relative importance. In the description of the present application, it needs to be explained that, unless otherwise explicitly specified and limited, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or optionally also includes other steps or units inherent to the process, method, product or device. The specific meaning of the above terms in the present application can be understood by the person skilled in the art according to the specific circumstances. In addition, in the description of the present application, "multiple" means two or more, unless otherwise specified. The association relationship of the associated objects is described, which means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. The character " / " generally represents an "or" relationship between the front and rear associated objects.

[0033] In the related art, when the pulse wave collection device collects signals, it mainly uses red, green or infrared light sources to irradiate the human body, such as the finger, earlobe, back of the hand, etc., and the receiving end receives the penetrating or reflected light intensity signal.

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

[0035] Based on this, the embodiment of the present application proposes a signal detection method. First, based on the non-visible light signal, the first detection signal corresponding to the to-be-detected part is detected. When the first signal intensity value of the first detection signal is greater than or equal to the preset intensity threshold, the device state of the detection device is set to the detection state, and the visible light signal is output based on the detection state. The second detection signal corresponding to the to-be-detected part is detected based on the visible light signal. The signal intensity value of the first detection signal can be used to judge the distance between the to-be-detected part and the detection device. When the first signal intensity value of the first detection signal is greater than or equal to the preset intensity threshold, that is, when the distance between the detection device and the to-be-detected part is close enough, the second detection signal of the to-be-detected part is output by the visible light signal. This 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 to-be-detected part is obtained, and finally, the second detection signal is denoised based on the motion state to obtain the denoised second detection signal. By obtaining the motion state of the to-be-detected part and denoising the detected second detection signal 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 is improved, and the detection accuracy of the detection device on the detection signal is improved.

[0036] The following detailed description is presented in connection with the appended drawings. Description of Embodiments The description of illustrative embodiments described herein does not represent all of the techniques in accordance with the present application. Rather, they are merely examples of apparatus and methods in accordance with aspects of the present application as detailed in the appended claims. Additionally, although the methods are described in connection with the preferred embodiments, the methods can be practiced by males or females of any age. The flow charts shown in the drawings are examples only and are not necessarily to be performed in the order illustrated. For example, some steps can be performed in parallel and there is no strict logical sequence, so the actual order of execution can vary.

[0037] Reference will now be made to Figure 1 A flow chart of a signal detection method according to an embodiment of the present application is shown. In specific embodiments, the signal detection method can be applied to a signal detection device or a detection device configured with a signal detection device. The following will take a server as an example to illustrate the specific process of the embodiment. The following will be described in detail with respect to the flow chart shown in Figure 1 The signal detection method can specifically include the following steps:

[0038] S101, detecting a first detection signal corresponding to a detection site based on a non-visible light signal;

[0039] The non-visible light signal refers to a light signal with a wavelength outside the range of wavelengths that can be perceived by the human body, such as an infrared light signal, an ultraviolet light signal, an x-ray, etc.

[0040] Specifically, the detection device emits a non-visible light signal to the detection site and receives a first reflected signal reflected by the detection site based on the non-visible light signal, and generates a first detection signal corresponding to the detection site by collecting the first reflected signal.

[0041] In one embodiment, the first detection signal can be a pulse wave signal, and the detection site is a human body part for collecting the pulse wave signal.

[0042] In one embodiment, the detection device emits a non-visible light signal in real time, and during the process of approaching the detection site, after the non-visible light signal is emitted to the detection site, the detection site reflects a first reflected signal corresponding to the non-visible light signal, and the detection device collects the first reflected signal reflected by the detection site to generate a first detection signal corresponding to the detection site.

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

[0044] It can be understood that if the first detection signal detected is not a preset type of detection signal, it indicates invalid detection, and at this time, the second detection signal for detecting the detection part of the visible light signal is not started. For example, when the detection device is detecting a pulse wave, 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 the visible light signal detection is not started when the first detection signal is not a preset type of detection signal.

[0045] In one embodiment, the detection device periodically emits non-visible light signals according to a preset period. To reduce the device 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 intensity threshold, the device state of the detection device is set to a detection state;

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

[0048] In one embodiment, the detection state is a device state in which the visible light signal is output to detect the detection part.

[0049] In one embodiment, after the first detection signal corresponding to the detection part is detected based on the non-visible light signal, if the first signal strength value of the first detection signal is less than a preset intensity threshold, the emission power of the non-visible light signal is gradually and linearly increased to linearly increase the signal strength value of the first detection signal. If the first signal strength value of the first detection signal is greater than or equal to the preset intensity threshold, the device state of the detection device is set to a 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 intensity threshold, it is determined that there is no detection part close, and the non-visible light signal is continuously detected.

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

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

[0052] In one embodiment, after the device state of the detection device is adjusted to the detection state when the first signal strength value of the first detection signal is greater than or equal to the preset intensity threshold, the detection device emits 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 to-be-detected part based on the second reflection signal.

[0053] The second detection signal is a target signal detected by the signal detection device on the to-be-detected part. For example, the target signal can be a pulse wave signal. When the signal detection device detects the pulse wave signal on the to-be-detected part, first, a first detection signal corresponding to the to-be-detected part is detected according to the non-visible light signal, the opening time of the visible light signal is determined according to the first detection signal, the visible light signal is turned on when the opening time of the visible light signal is met, and a second detection signal corresponding to the to-be-detected part is detected according to the visible light signal. The second detection signal is the pulse wave signal corresponding to the to-be-detected part.

[0054] It can be understood that in the embodiments of the present application, based on the distance between the to-be-detected part and the detection device, 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 to-be-detected part and the detection device is close enough. At this time, the device state of the detection device is changed to the detection state and the visible light signal is emitted for detection. The visible light signal will be blocked by the to-be-detected part, avoiding interference with human vision.

[0055] Please refer to Figure 2 , which is an example of signal detection provided by the embodiments of the present application. As shown in Figure 2 , the smart watch shown is a detection device with signal detection function. The smart watch can be worn on the human wrist to detect and obtain the pulse wave signal of the human body. 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 to-be-detected part. In the process of wearing the smart watch on the wrist, the smart watch emits a non-visible light signal, generates a first detection signal according to the first reflection signal corresponding to the non-visible light signal reflected by the wrist, judges whether the distance between the smart watch and the wrist is appropriate according to the signal strength of the first detection signal, and when the signal strength value of the first detection signal is greater than the 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 the detection state, and the visible light signal is emitted based on the detection state for the detection of 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 as not to interfere with human vision.

[0056] Optionally, in one embodiment, when the first signal strength value of the first detection signal is less than the preset intensity 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 to-be-detected part is determined according to 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 to-be-detected part is far, and the to-be-detected part can be in a state 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, so the device state of the detection device is set to a 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 signal-amplified to obtain the second detection signal.

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

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

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

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

[0063] It can be understood that when the user is in a motion state, the movement of the to-be-detected part will be accompanied by the movement of the detection device. The detection device is built-in with an accelerometer, and the motion state of the to-be-detected part can be obtained based on the accelerometer.

[0064] S105, perform 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 can be understood that in the motion state, the motion state will cause noise interference to the detection of the signal. After the motion state of the to-be-detected part is detected based on the accelerometer, the second detection signal collected can be subjected to noise reduction processing according to the motion state to obtain a second detection signal after noise reduction processing, so as to improve the signal-to-noise ratio of the second detection signal and improve the use effect of the detection device.

[0066] In one embodiment, in response to a soft shutdown trigger signal of 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 hibernation state.

[0067] Specifically, the detection device is provided with a one-key trigger control for performing soft shutdown. The user can generate a soft shutdown trigger signal by touching the one-key trigger control. The detection device enters a hibernation state in response to the soft shutdown trigger signal. In the hibernation state, neither the non-visible 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 the second detection signal corresponding to the to-be-detected part is detected based on the visible light signal, the target signal corresponding to the to-be-detected part is generated based on the first detection signal and the second detection signal. The motion state of the to-be-detected part is acquired, and the second detection signal is subjected to noise reduction processing based on the motion state to obtain a 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 needs to use the detection signals obtained by the visible light and the non-visible light to detect the to-be-detected part respectively. Therefore, the first detection signal detected based on the non-visible light signal and the second detection signal detected based on the visible light signal are used as the target signal. The target signal is subjected to noise reduction processing according to the motion state, and the blood oxygen content is calculated based on the target signal after noise reduction processing.

[0070] In the embodiment of the present application, first, the first detection signal corresponding to the to-be-detected part is detected based on the non-visible light signal. When the first signal intensity value of the first detection signal is greater than or equal to the preset intensity threshold, the device state of the detection device is set to the detection state, and the visible light signal is output based on the detection state. The second detection signal corresponding to the to-be-detected part is detected based on the visible light signal. The signal intensity value of the first detection signal can be used to judge the distance between the to-be-detected part and the detection device. When the first signal intensity value of the first detection signal is greater than or equal to the preset intensity threshold, that is, when the distance between the detection device and the to-be-detected part is close enough, the second detection signal of the to-be-detected part is output by the visible light signal. The interference and influence of the visible light signal on the user's vision can be avoided, and the use effect of the detection device is improved. Then, the motion state of the to-be-detected part is acquired. Finally, the second detection signal is denoised based on the motion state to obtain the denoised second detection signal. By acquiring the motion state of the to-be-detected part and denoising the detected second detection signal 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 is improved, and the detection accuracy of the detection device on the detection signal is further improved.

[0071] See Figure 3 A flowchart of a signal detection method provided in the embodiment of the present application can include the following steps:

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

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

[0074] Steps S201 to S202, specifically, the detection device emits a non-visible light signal to a to-be-detected part. After the to-be-detected part is irradiated by the non-visible light, the first reflected signal corresponding to the non-visible light signal is reflected. The detection device receives the first reflected signal corresponding to the non-visible light signal.

[0075] S203, filtering and signal amplifying the first reflected signal to obtain a first detection signal;

[0076] Specifically, after receiving the first reflected signal, the first reflected signal is filtered and signal amplified to obtain a first detection signal.

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

[0078] Specifically, the distance between the detection device and the to-be-detected part is determined according to the signal strength value of the first detection signal, the first detection signal is generated based on the first reflection signal reflected by the to-be-detected signal, and the greater the signal strength value of the first detection signal, the closer the distance between the detection device and the to-be-detected part. In this embodiment, a preset intensity threshold is set, when the first signal strength 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 to-be-detected part 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, and the visible light signal will be blocked by the to-be-detected part to avoid interference with human vision.

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

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

[0081] Steps S205-S206, specifically, the detection device emits a visible light signal to the to-be-detected part, the to-be-detected part reflects a second reflection signal corresponding to the visible light signal after being irradiated by the visible light, and the detection device receives the second reflection signal corresponding to the visible light signal.

[0082] S207, filtering and signal amplification processing are performed on the second reflection signal to obtain a second detection signal;

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

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

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

[0086] S209, performing noise reduction processing on the second detection signal based on the motion state to obtain a noise-reduced second detection signal.

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

[0088] In the embodiment of the present application, first, the first detection signal corresponding to the to-be-detected part is detected based on the non-visible light signal. When the first signal intensity value of the first detection signal is greater than or equal to the preset intensity threshold, the device state of the detection device is set to the detection state, and the visible light signal is output based on the detection state. The second detection signal corresponding to the to-be-detected part is detected based on the visible light signal. The signal intensity value of the first detection signal can be used to judge the distance between the to-be-detected part and the detection device. When the first signal intensity value of the first detection signal is greater than or equal to the preset intensity threshold, that is, when the distance between the detection device and the to-be-detected part is close enough, the second detection signal of the to-be-detected part is output by the visible light signal. The interference and influence of the visible light signal on the user's vision can be avoided, and the use effect of the detection device is improved. Then, the motion state of the to-be-detected part is acquired. Finally, the second detection signal is denoised based on the motion state to obtain the denoised second detection signal. By acquiring the motion state of the to-be-detected part and denoising the detected second detection signal 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 is improved, and the detection accuracy of the detection device on the detection signal is further improved.

[0089] Referring to Figure 4 A flowchart of a signal detection method provided in the embodiment of the present application can include the following steps:

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

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

[0092] Steps S301-S302, specifically, the detection device emits a non-visible light signal to a to-be-detected part. After the to-be-detected part is irradiated by the non-visible light, the first reflection signal corresponding to the non-visible light signal is reflected. The detection device receives the first reflection signal corresponding to the non-visible light signal.

[0093] S303, filtering and signal amplifying the first reflection signal to obtain a first detection signal;

[0094] Specifically, after receiving the first reflection signal, the first reflection signal is filtered and signal amplified to obtain a first detection signal.

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

[0096] Specifically, the distance between the detection device and the to-be-detected part is determined according to the signal strength value of the first detection signal, the first detection signal is generated based on the first reflection signal reflected by the to-be-detected signal, and the greater the signal strength value of the first detection signal, the closer the distance between the detection device and the to-be-detected part. In this embodiment, a preset intensity threshold is set, and when the first signal strength 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 to-be-detected part is close enough, and 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, and the visible light signal is blocked by the to-be-detected part to avoid interference with human vision.

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

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

[0099] Steps S305-S306, the detection device emits a visible light signal to the to-be-detected part, the to-be-detected part reflects a second reflection signal corresponding to the visible light signal after being irradiated by the visible light, 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 reflection signal is less than the first intensity threshold, a first difference value between the second signal strength value and the first intensity threshold is obtained;

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

[0102] It should be noted that signal detection needs to obtain relatively clear detection signals, and the signal strength of the second reflection signal of the reflected visible light signal is different for different detection parts. If the signal strength is too low, the collected detection signal will not be clear, and if the signal strength is too strong, unnecessary power consumption will be wasted. For example, in the collection of pulse wave signals, the pulse wave signal intensity 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, so the signal strength of the visible light signal can be reduced to reduce the power consumption of the detection device; while the forehead pulse wave signal is weak, and a clear pulse wave signal can be detected only by a strong visible light signal, so 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 strength, after receiving the second transmitted signal returned by the to-be-detected part, it is judged whether the signal strength value of the second reflected signal is less than the first intensity threshold. When the second signal strength value of the second reflected signal is less than the first intensity threshold, it indicates that the signal strength 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, a first difference value between the second signal strength value and the first intensity threshold is obtained, the signal strength of the visible light signal is increased according to the first difference value, and an enhanced visible light signal is obtained, so as to ensure that the signal strength 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 to-be-detected part;

[0105] Specifically, after the signal strength of the visible light signal is increased according to the first difference value between the second signal strength value and the first intensity threshold, and the enhanced visible light signal is obtained, the detection device transmits the enhanced visible light signal to the to-be-detected part.

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

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

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

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

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

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

[0112] S313, performing noise reduction processing on the second detection signal based on the motion state to obtain a noise reduction processed second detection signal.

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

[0114] In the embodiment of the present application, the first detection signal is detected through the non-visible light signal, the distance of the to-be-detected part 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, the second detection signal of the to-be-detected part is output by the visible light signal detection, so that the visible light signal is turned on only when the distance to the to-be-detected part is close enough, avoiding the interference and influence of the visible light signal on the user's vision, and improving the use effect of the detection equipment; when the second detection signal of the to-be-detected part 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 reflection signal, when the second signal strength value of the second reflection signal is less than the first intensity threshold, the signal strength of the visible light signal is increased according to the first difference value between the second signal strength value and the first intensity threshold, so as to ensure that the signal strength of the reflection signal corresponding to the enhanced visible light signal is greater than the first intensity threshold, so that a clear detection signal is obtained; and by obtaining the motion state of the to-be-detected part, the second detection signal obtained by detection is de-noised according to the motion state, the interference of the motion on the detection signal can be suppressed, and the detection accuracy of the detection equipment on the detection signal is improved.

[0115] Referring to Figure 5 A flowchart of a signal detection method provided in the embodiment of the present application can include the following steps:

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

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

[0118] Steps S401-S402, specifically, the detection equipment emits a non-visible light signal to a to-be-detected part, the to-be-detected part reflects a first reflection signal corresponding to the non-visible light signal after being irradiated by the non-visible light, and the detection equipment receives the first reflection signal corresponding to the non-visible light signal.

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

[0120] Specifically, after receiving the first reflection signal, filtering and signal amplification processing the first reflection 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 the preset intensity threshold, setting the device state of the detection equipment to a detection state;

[0122] Specifically, the distance between the detection device and the to-be-detected part is determined according to the signal strength value of the first detection signal, the first detection signal is generated based on the first reflection signal reflected by the to-be-detected signal, and the greater the signal strength value of the first detection signal, the closer the distance between the detection device and the to-be-detected part. In this embodiment, a preset intensity threshold is set, and when the first signal strength 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 to-be-detected part is close enough, and 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, and the visible light signal is blocked by the to-be-detected part to avoid interference with human vision.

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

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

[0125] Steps S405-S406, specifically, the detection device emits a visible light signal to the to-be-detected part, the to-be-detected part reflects a second reflection signal corresponding to the visible light signal after being irradiated by the visible light, 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 reflection signal is greater than the second intensity threshold, a second difference between the second signal strength value and the second intensity threshold is obtained;

[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 relatively clear detection signals, and the signal strength of the second reflection signal of the reflected visible light signal is different for different detection parts. If the signal strength is too low, the collected detection signal will not be clear, and if the signal strength is too strong, unnecessary power consumption will be wasted. For example, in the collection of pulse wave signals, the pulse wave signal intensity 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, so the signal strength of the visible light signal can be reduced to reduce the power consumption of the detection device; while the forehead pulse wave signal is weak, and a clear pulse wave signal can be detected only with a strong visible light signal, so the signal strength of the visible light signal can be increased 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 strength, after receiving the second transmitted signal returned by the to-be-detected part, it is judged whether the signal strength value of the second reflected signal is greater than the second intensity threshold. When the second signal strength value of the second reflected signal is greater than the second intensity threshold, it indicates that the signal strength value of the second reflected signal is too strong, and there is unnecessary power consumption waste. At this time, a second difference between the second signal strength value and the second intensity threshold is obtained, the signal strength of the visible light signal is weakened according to the second difference, and the weakened visible light signal is obtained, so as to ensure that the signal strength 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, emitting the weakened visible light signal to the to-be-detected part;

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

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

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

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

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

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

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

[0139] S413, performing noise reduction processing on the second detection signal based on the motion state to obtain a noise reduction processed second detection signal.

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

[0141] In the embodiments of the present application, the first detection signal is detected through the non-visible light signal, the distance of the to-be-detected part 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 value, the second detection signal of the to-be-detected part is output by the visible light signal detection, so that the visible light signal is turned on only when the distance to the to-be-detected part is close enough, avoiding the interference and influence of the visible light signal on the user's vision, and improving the use effect of the detection equipment; when the second detection signal of the to-be-detected part 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 reflection signal, when the second signal strength value of the second reflection signal is greater than the second intensity threshold value, the signal strength of the visible light signal is weakened according to the second difference value between the second signal strength value and the second intensity threshold value, so as to ensure that the signal strength of the reflection signal corresponding to the weakened visible light signal is less than the second intensity threshold value, thereby reducing the signal emission power consumption of the detection equipment; and by acquiring the motion state of the to-be-detected part, the second detection signal detected is denoised according to the motion state, which can suppress the interference of motion on the detection signal and improve the detection accuracy of the detection equipment.

[0142] Please refer to Figure 6 , a structural schematic diagram of a signal detection device provided in the embodiments of the present application. As Figure 6 shown, the signal detection device 1 can be realized by software, hardware or a combination of the two to become all or part of the detection equipment. 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.

[0143] The control circuit 11 is configured 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. In the signal detection start stage, the control circuit 11 sends a first analog signal to the non-visible light circuit 12, and the first analog signal is used to control the non-visible light circuit 12 to emit a non-visible light signal.

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

[0146] In one embodiment, the control circuit 11 can be an MCU-based control circuit 11.

[0147] In one embodiment, the control circuit 11 is further configured to determine whether the first detection signal is a preset type of detection signal, and if so, execute 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 transmitting the second analog signal to the visible light circuit 13 based on the detection state, and if not, execute the step of transmitting the first analog signal to the non-visible light circuit 12.

[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 when the first signal strength value of the first detection signal is less than the preset intensity threshold, and stop outputting the second analog signal.

[0149] The non-visible light circuit 12 is configured to detect the first detection signal corresponding to the detection site based on the non-visible light signal.

[0150] Specifically, the non-visible light circuit 12 and the control circuit 11 are connected, the control circuit 11 transmits the 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 the first detection signal corresponding to the detection site 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 emitting circuit 122, please refer to Figure 7 The structure diagram of a signal detection device provided by the embodiment of the present application is shown in FIG. 1. Figure 7 As shown in the figure, the non-visible light receiving circuit 121 and the non-visible light emitting circuit 122 are connected with the control circuit 11 respectively, wherein:

[0152] The non-visible light emitting circuit 121 is configured to emit a non-visible light signal to the detection site based on the first analog signal.

[0153] The non-visible light receiving circuit 122 is configured to receive the first reflection 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 emitting circuit 121 receives the first analog signal transmitted by the control circuit 11, and emits a non-visible light signal to the detection site based on the first analog signal. The non-visible light receiving circuit receives the first reflection signal reflected by the detection site based on the non-visible light signal, the first reflection signal is filtered and signal amplified in the non-visible light receiving circuit, and the control circuit 11 receives the first reflection signal after filtering and amplification processing and generates the 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 turning off of the non-visible light emitting circuit, the non-visible light emitting circuit comprising a non-visible light emitting tube, and 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 comprises a non-visible light receiving tube for receiving a first reflected signal corresponding to the non-visible light signal reflected by the to-be-detected part.

[0157] In one embodiment, the non-visible light receiving circuit comprises a band-pass filter circuit, a signal amplification circuit, and a collection circuit. The band-pass filter circuit is used for filtering the first reflected signal, the signal amplification circuit is used for signal amplification processing of the first reflected signal, and the collection circuit is used for collecting the first reflected signal and sending the first reflected signal to the control circuit 11, and the control circuit 11 generates a first detection signal according to the first reflected signal.

[0158] The control circuit 11 is also configured to set a device state of the detection device to a detection state when a first signal intensity value of the first detection signal is greater than or equal to a preset intensity 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 intensity value of the first detection signal is greater than the preset intensity threshold, and when the first signal intensity value of the first detection signal is greater than or equal to the preset intensity threshold, the distance between the detection device and the to-be-detected part is close enough. At this time, the control circuit 11 sets the device state of the detection device to the detection state, and sends the second analog signal to the visible light circuit 13.

[0160] The visible light circuit 13 is configured to emit a visible light signal based on the second analog signal, and detect a second detection signal corresponding to the to-be-detected part based on the visible light signal.

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

[0162] In one embodiment, the visible light circuit 13 comprises a visible light receiving circuit 131 and a visible light emitting circuit 132, as shown in Figure 7 The visible light receiving circuit and the visible light emitting circuit are respectively connected with the control circuit 11, wherein:

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

[0164] The visible light receiving circuit 132 is configured to receive a second reflected signal corresponding to the visible light signal, and perform filtering and signal amplification on the second reflected signal to obtain a second detection signal.

[0165] Specifically, the visible light emitting circuit receives the second analog signal sent by the control circuit 11, and emits a visible light signal to the detection site based on the second analog signal. The visible light receiving circuit receives a second reflected signal reflected by the detection site based on the visible light signal. 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. The second analog signal can be used to control the 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 configured to receive a second reflected signal reflected by the detection site based on the visible light signal.

[0168] In one embodiment, the visible light receiving circuit includes a band-pass filter circuit, a signal amplification circuit, and a collection circuit. The band-pass filter circuit is configured to filter the second reflected signal. The signal amplification circuit is configured to amplify the second reflected signal. The collection circuit is configured to collect the second reflected signal and send the second reflected signal to the control circuit 11. The control circuit 11 generates a second detection signal based on the second reflected signal.

[0169] In one embodiment, when the signal intensity value of the second reflected signal collected by the control circuit 11 is small, a clear second detection signal cannot be generated. When the signal intensity value of the second reflected signal collected by the control circuit 11 is large, unnecessary power consumption is wasted. At this time, the control circuit 11 can adjust the second analog signal to adjust the signal intensity value of the visible light signal emitted by the visible light emitting circuit, so that the signal intensity 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 configured to obtain a motion state of the detection site.

[0171] Specifically, the state detection circuit 14 is connected with the control circuit 11, and the state detection circuit 14 is configured to acquire a motion state of the to-be-detected part. The motion state is used for signal denoising processing on the collected second detection signal.

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

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

[0174] In one embodiment, as shown in Figure 7 The device further includes a touch switch circuit 15, and the touch switch circuit 15 is connected with the control circuit 11, wherein:

[0175] The touch switch circuit 15 is configured to generate a soft shutdown trigger signal based on a trigger operation of a user on the detection device.

[0176] The control circuit 11 is configured to stop outputting the first analog signal and the second analog signal and set a device state of the detection device to a hibernation state in response to the soft shutdown trigger signal.

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

[0178] The signal detection device provided in the embodiment of the present application comprises 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 connected with the control circuit, the control circuit transmits a first analog signal to the non-visible light circuit, the non-visible light circuit transmits a non-visible light signal to detect a first detection signal corresponding to the to-be-detected part based on the first analog signal, the control circuit sets a device state of the detection device as a detection state when a first signal strength value of the first detection signal is greater than or equal to a preset intensity threshold, transmits a second analog signal to the visible light circuit based on the detection state, the visible light circuit transmits a visible light signal to detect a second detection signal corresponding to the to-be-detected part based on the second analog signal, the first detection signal is detected through the non-visible light signal, the distance of the to-be-detected part 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, the second detection signal of the to-be-detected part is outputted through the visible light signal detection, so that the visible light signal is started only when the distance to the to-be-detected part is close enough, the interference and influence of the visible light signal on the user's vision are avoided, and the use effect of the detection device is improved; then the state detection circuit acquires a motion state of the to-be-detected part, and the control circuit is used for carrying out noise reduction processing on the second detection signal based on the motion state to obtain a second detection signal after noise reduction processing, so that the interference of the motion on the detection signal is inhibited, and the detection precision of the detection device on the detection signal is improved.

[0179] The embodiment of the present application also provides a computer storage medium, which can store a plurality of instructions, the instructions are suitable for being loaded and executed by a processor to execute the signal detection method of the embodiment shown in the above Figures 1 to 5 The specific execution process can be referred to the specific description of the embodiment shown in the above Figures 1 to 5 The specific execution process can be referred to the specific description of the embodiment shown in the above

[0180] The present application also provides a computer program product, which stores at least one instruction, the at least one instruction is loaded and executed by the processor to execute the signal detection method of the embodiment shown in the above Figures 1 to 5 The specific execution process can be referred to the specific description of the embodiment shown in the above Figures 1 to 5 The specific execution process can be referred to the specific description of the embodiment shown in the above

[0181] Please refer to Figure 8 , a structural block diagram of an electronic device provided by an example embodiment of the present application is shown. The electronic device in the present application can 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 can be connected through the bus 150.

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

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

[0184] Among them, 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 acquiring the operating temperature of the terminal. The output device 140 can be a speaker for outputting an audio signal.

[0185] In addition, those skilled in the art can understand that the structure of the terminal shown in the above-mentioned drawings does not constitute a limitation on the terminal, and the terminal can include more or fewer components than the drawings, or combine certain components, or different component arrangements. For example, the terminal also includes components such as radio frequency circuit, input unit, sensor, audio circuit, wireless fidelity (WiFi) module, power supply, Bluetooth module, etc., which are not described here.

[0186] In the embodiments of the present application, the execution subject of each step can be the terminal introduced above. Alternatively, the execution subject of each step is the operating system of the terminal. The operating system can be an Android system, an IOS system, or other operating systems, and the embodiments of the present application do not limit this.

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

[0188] In the embodiments of the present application, based on the first detection signal corresponding to the to-be-detected part detected by the non-visible light signal, when the first signal intensity value of the first detection signal is greater than or equal to the preset intensity threshold, the device state of the detection device is set to the detection state, and the visible light signal is output based on the detection state, and the second detection signal corresponding to the to-be-detected part is detected based on the visible light signal. The signal intensity value of the first detection signal can be used to judge the distance between the to-be-detected part and the detection device. When the first signal intensity value of the first detection signal is greater than or equal to the preset intensity threshold, that is, when the distance between the detection device and the to-be-detected part is close enough, the second detection signal of the to-be-detected part is output by the visible light signal. The interference and influence of the visible light signal on the user's vision can be avoided, and the use effect of the detection device is improved. Then the motion state of the to-be-detected part is obtained, and finally the second detection signal is denoised based on the motion state to obtain the denoised second detection signal. By obtaining the motion state of the to-be-detected part, the second detection signal obtained by detection is denoised 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 is improved, and the detection accuracy of the detection device on the detection signal is further improved.

[0189] Those skilled in the art can clearly understand that the technical solutions of the present application can be realized by means 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 a specific function, and 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 foregoing method embodiments, for the sake of simple description, they are all described as a combination of a series of actions, but those skilled in the art should know that the present application is not limited to the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily necessary for the present application.

[0191] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.

[0192] In several embodiments provided by the present application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely schematic. The division of the units is only a logical function division. There can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some services interfaces, devices or units, and can be electrical or other forms.

[0193] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0194] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0195] Those skilled in the art can understand that all or part of the steps in the above-mentioned embodiments of various methods can be completed by a program instructing related hardware, and the program can be stored in a computer readable memory, which can include a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0196] The above descriptions are only exemplary embodiments of the present application, and cannot limit the scope of the present application. 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. Other embodiments of the present application will be readily apparent to those skilled in the art upon considering the specification and practice of the disclosure herein. The present application is intended to cover any variations, uses, or adaptations of the present application following the general principles thereof and including such departures from the present disclosure as come within known or customary practice in the art to which the present application pertains. The specification and examples are to be regarded as exemplary only, and the scope and spirit of the application are to be determined by the claims.

Claims

1. A signal detection method, characterized by, The method is applied to a detection device, and comprises: detecting a first detection signal corresponding to a to-be-detected part based on a non-visible light signal; when a first signal intensity value of the first detection signal is greater than or equal to a preset intensity threshold, setting a device state of the detection device to a detection state; when the first signal intensity value of the first detection signal is less than the preset intensity threshold, gradually linearly increasing an emission power of the non-visible light signal so as to linearly increase the signal intensity value of the first detection signal; outputting a visible light signal based on the detection state, and 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; performing noise reduction processing on the second detection signal based on the motion state to obtain a second detection signal after noise reduction processing.

2. The method of claim 1, wherein, After the step of detecting a first detection signal corresponding to a to-be-detected part based on a non-visible light signal, the method further comprises: determining whether the first detection signal is a detection signal of a preset type; if yes, performing the steps of, when a first signal intensity value of the first detection signal is greater than or equal to a preset intensity threshold, setting a device state of the detection device to a detection state, and outputting a visible light signal based on the detection state; if no, performing the step of detecting a first detection signal corresponding to a to-be-detected part based on a non-visible light signal.

3. The method of claim 1, wherein, After the step of detecting a first detection signal corresponding to a to-be-detected part based on a non-visible light signal, the method further comprises: when a first signal intensity value of the first detection signal is less than a preset intensity threshold, setting a device state of the detection device to a waiting detection state, and stopping outputting the visible light signal.

4. The method of claim 1, wherein, The step of detecting a first detection signal corresponding to a to-be-detected part based on a non-visible light signal comprises: emitting a non-visible light signal to the to-be-detected part; receiving a first reflection signal corresponding to the non-visible light signal; performing filtering processing and signal amplification processing on the first reflection signal to obtain the first detection signal.

5. The method of claim 1, wherein, The step of detecting a second detection signal corresponding to the to-be-detected part based on the visible light signal comprises: emitting a visible light signal to the to-be-detected part; receiving a second reflection signal corresponding to the visible light signal; performing filtering processing and signal amplification processing on the second reflection signal to obtain the second detection signal.

6. The method of claim 5, wherein, After the step of receiving the second reflection signal corresponding to the visible light signal, the method further comprises: if a second signal intensity value of the second reflection signal is less than a first intensity threshold, obtaining a first difference value between the second signal intensity value and the first intensity threshold; increasing a signal intensity of the visible light signal based on the first difference value to obtain an enhanced visible light signal; emitting the enhanced visible light signal to the to-be-detected part; receiving a third reflection signal corresponding to the enhanced visible light signal; The step of performing filtering processing and signal amplification processing on the second reflection signal to obtain the second detection signal comprises: performing filtering processing and signal amplification processing on the third reflection signal to obtain the second detection signal.

7. The method of claim 5, wherein, After the step of receiving the second reflection signal corresponding to the visible light signal, the method further comprises: if a second signal intensity value of the second reflected signal is greater than a second intensity threshold value, obtaining a second difference value between the second signal intensity value and the second intensity threshold value; attenuating a signal intensity of the visible light signal based on the second difference value to obtain an attenuated visible light signal; emitting the attenuated visible light signal to the to-be-detected part; receiving a fourth reflected signal corresponding to the attenuated visible light signal; the filtering and signal amplification processing of the second reflected signal to obtain the second detection signal, comprising: the filtering and signal amplification processing of the fourth reflected signal to obtain the second detection signal.

8. The method of claim 1, wherein, The method further comprises: in response to a soft shutdown trigger signal of the detection device, stopping outputting the non-visible light signal and the visible light signal, and setting a device state of the detection device to a hibernation state.

9. A signal detection device, characterized by 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 connected to the control circuit. The control circuit is configured to emit a first analog signal to the non-visible light circuit. The non-visible light circuit is configured to emit a non-visible light signal based on the first analog signal to detect a first detection signal corresponding to the to-be-detected part. The control circuit is further configured to set a device state of the detection device to a detection state when a first signal intensity value of the first detection signal is greater than or equal to a preset intensity threshold value, and send a second analog signal to the visible light circuit based on the detection state; and gradually linearly increase an emission power of the non-visible light signal when the first signal intensity value of the first detection signal is less than the preset intensity threshold value, so as to linearly increase the signal intensity value of the first detection signal. The visible light circuit is configured to emit a visible light signal based on the second analog signal to detect a second detection signal corresponding to the to-be-detected part. The state detection circuit is configured to obtain a motion state of the to-be-detected part. The control circuit is further configured to perform noise reduction processing on the second detection signal based on the motion state to obtain a noise-reduced second detection signal.

10. The apparatus of claim 9, wherein, The control circuit is further configured to: determine whether the first detection signal is a detection signal of a preset type; if yes, execute the step of setting the device state of the detection device to the detection state when the first signal intensity value of the first detection signal is greater than or equal to the preset intensity threshold value, and sending the second analog signal to the visible light circuit based on the detection state; if no, execute the step of emitting the first analog signal to the non-visible light circuit.

11. The apparatus of claim 9, wherein, The control circuit is further configured to: when the first signal intensity value of the first detection signal is less than the preset intensity threshold value, set the device state of the detection device to a waiting detection state, and stop outputting the second analog signal.

12. The apparatus of claim 9, wherein, The non-visible light circuit comprises a non-visible light receiving circuit and a non-visible light emitting circuit, and the non-visible light receiving circuit and the non-visible light emitting circuit are connected to the control circuit. The non-visible light emitting circuit is configured to emit a non-visible light signal to the detection site based on the first analog signal. The non-visible light receiving circuit is configured to receive a first reflected signal corresponding to the non-visible light signal, and perform filtering and signal amplification on the first reflected signal to obtain the first detection signal.

13. The apparatus of claim 9, wherein, The visible light circuit includes a visible light receiving circuit and a visible light emitting circuit, and the visible light receiving circuit and the visible light emitting circuit are connected to the control circuit. The visible light emitting circuit is configured to emit a visible light signal to the detection site based on the second analog signal. The visible light receiving circuit is configured to receive a second reflected signal corresponding to the visible light signal, and perform filtering and signal amplification on the second reflected signal to obtain the second detection signal.

14. The apparatus of claim 9, wherein, The device further includes a touch switch circuit, and the touch switch circuit is connected to the control circuit. The touch switch circuit is configured to generate a soft shutdown trigger signal based on a trigger operation of a user on the detection device. The control circuit is configured to stop outputting the first analog signal and the second analog signal in response to the soft shutdown trigger signal, and set a device state of the detection device to a hibernation state.

15. A storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the steps of the method in any one of claims 1-8.

16. An electronic device comprising: A processor and a memory, wherein the memory stores a computer program, and the computer program is adapted to be loaded and executed by the processor to implement the steps of the method in any one of claims 1-8.

Citation Information

Patent Citations

  • Apparatus and method for recording a vital parameter

    CN102238898A

  • Pulsation detector

    JP2012170701A