CN112401900A - Signal processing method, signal processing device, electronic equipment and computer readable storage medium - Google Patents

Signal processing method, signal processing device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112401900A
CN112401900A CN201910763727.8A CN201910763727A CN112401900A CN 112401900 A CN112401900 A CN 112401900A CN 201910763727 A CN201910763727 A CN 201910763727A CN 112401900 A CN112401900 A CN 112401900A
Authority
CN
China
Prior art keywords
initial
signal
power
preset
optical signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910763727.8A
Other languages
Chinese (zh)
Other versions
CN112401900B (en
Inventor
刘恩福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910763727.8A priority Critical patent/CN112401900B/en
Publication of CN112401900A publication Critical patent/CN112401900A/en
Application granted granted Critical
Publication of CN112401900B publication Critical patent/CN112401900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/0245Detecting, measuring or recording pulse rate or heart rate by using sensing means generating electric signals, i.e. ECG signals
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6802Sensor mounted on worn items
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application relates to a signal processing method, a signal processing device, an electronic device and a computer readable storage medium. The method comprises the following steps: controlling a light source transmitter to output an initial optical signal according to preset power, acquiring an initial electrical signal corresponding to the initial optical signal, wherein the initial electrical signal is converted based on an optical signal reflected by the initial optical signal, adjusting the preset power when the initial electrical signal is not in a preset interval, and taking the adjusted preset power as target power. The preset power can be adjusted when the initial electric signal is not in the preset interval, and the adjusted preset power is used as the target power, so that the accuracy of the target power can be improved, and the application effect of the optical signal can be optimized.

Description

Signal processing method, signal processing device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a signal processing method and apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of computer technology, the application range of optical signals is more and more extensive. For example, electrocardiographic detection, heart rate detection, distance measurement, communication, and the like can be performed by an optical signal. In practical application, because different environments have different absorption degrees for optical signals, the energy lost by the optical signals during reflection is often different, and the problem that the application effect of the optical signals is poor due to too low energy of the reflected optical signals is likely to occur.
Disclosure of Invention
The embodiment of the application provides a signal processing method, a signal processing device, electronic equipment and a computer readable storage medium, which can optimize the application effect of optical signals.
A signal processing method, comprising:
controlling a light source transmitter to output an initial optical signal according to preset power;
acquiring an initial electrical signal corresponding to the initial optical signal, wherein the initial electrical signal is converted based on an optical signal reflected by the initial optical signal;
when the initial electric signal is not in a preset interval, adjusting the preset power;
and taking the adjusted preset power as the target power.
A signal processing apparatus comprising:
the optical signal output module is used for controlling the light source transmitter to output an initial optical signal according to preset power;
an electrical signal obtaining module, configured to obtain an initial electrical signal corresponding to the initial optical signal, where the initial electrical signal is converted based on an optical signal reflected by the initial optical signal;
the adjusting module is used for adjusting the preset power when the initial electric signal is not in a preset interval;
and the determining module is used for taking the adjusted preset power as the target power.
An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
controlling a light source transmitter to output an initial optical signal according to preset power;
acquiring an initial electrical signal corresponding to the initial optical signal, wherein the initial electrical signal is converted based on an optical signal reflected by the initial optical signal;
when the initial electric signal is not in a preset interval, adjusting the preset power;
and taking the adjusted preset power as the target power.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
controlling a light source transmitter to output an initial optical signal according to preset power;
acquiring an initial electrical signal corresponding to the initial optical signal, wherein the initial electrical signal is converted based on an optical signal reflected by the initial optical signal;
when the initial electric signal is not in a preset interval, adjusting the preset power;
and taking the adjusted preset power as the target power.
According to the signal processing method, the signal processing device, the electronic equipment and the computer readable storage medium, the light source emitter can be controlled to output the initial optical signal according to the preset power, the initial electrical signal converted by the optical signal reflected by the initial optical signal is obtained, when the initial electrical signal is not in the preset interval, the preset power is adjusted, and the adjusted preset power is used as the target power, so that the problems that the application effect is poor, the detection is inaccurate and the like due to the fact that the output optical signal does not meet the application requirement can be avoided, the accuracy of the target power of the light source emitter can be improved, and the application effect of the optical signal is optimized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an exemplary signal processing method;
FIG. 2 is a flow diagram of a signal processing method in one embodiment;
FIG. 3 is a flow chart of a signal processing method in another embodiment;
FIG. 4 is a flow chart of a signal processing method in yet another embodiment;
FIG. 5 is a flow diagram of a signal processing method in one embodiment;
FIG. 6 is a flow chart of a signal processing method in yet another embodiment;
FIG. 7 is a schematic illustration of a sign detection by optical signals in one embodiment;
fig. 8 is a schematic structural diagram of a signal processing apparatus according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is a schematic diagram of an application environment of a signal processing method in an embodiment. As shown in fig. 1, the application environment includes a wearable device 100. The wearable device 100 may control the light source transmitter to output the initial optical signal according to the preset power, and acquire the initial electrical signal converted based on the optical signal reflected by the initial optical signal, and adjust the preset power when the initial electrical signal is not within the preset interval, thereby taking the adjusted preset power as the target power. Wherein, the wearable device 100 can be, but is not limited to, a smart head band, smart glasses, a smart band, a smart arm ring, etc.
Fig. 2 is a flow diagram of a signal processing method in one embodiment. The signal processing method in this embodiment is described by taking the wearable device in fig. 1 as an example. As shown in fig. 2, the signal processing method includes steps 202 to 208.
Step 202, controlling the light source transmitter to output an initial light signal according to a preset power.
The wearable device includes a light source emitter. The light source emitter refers to a device capable of outputting a light signal. The optical signal can be applied to various scenes, such as electrocardio detection, heart rate detection, distance measurement, communication and the like. Power is a parameter related to the energy of the optical signal emitted by the optical source emitter. The higher the power is, the larger the energy of the optical signal output by the light source transmitter is, and the larger the power consumption of the light source transmitter is; conversely, the lower the power, the less the energy of the optical signal output by the light source emitter, and the lower the power consumption of the light source emitter.
The preset power is a power pre-stored by the wearable device for outputting the initial light signal. Alternatively, the preset power may be any one of the powers that the light source emitter can provide, such as may be an intermediate value of the powers that can be provided; or the power with the highest detection accuracy obtained according to experimental data; or according to a preset power selected by a user, etc., without limitation. The initial optical signal is an optical signal output by the wearable device according to a preset power.
The wearable device may control the light source transmitter to output an initial light signal at a preset power. Specifically, the wearable device may receive a correction instruction for the light signal, and control the light source transmitter to output the initial light signal at a preset power according to the correction instruction. The correction instruction is an instruction for adjusting the optical signal output by the light source emitter in the wearing device. Optionally, the correction instruction may be in accordance with a touch operation of the user on the wearable device; the operation information and the like of the wearable device can be monitored, and the operation information and the like can be generated after meeting preset conditions.
Step 204, obtaining an initial electrical signal corresponding to the initial optical signal, where the initial electrical signal is converted based on the optical signal reflected by the initial optical signal.
The initial electrical signal is the electrical signal corresponding to the initial optical signal. In particular, the wearable device may have a light sensitive sensor built in to receive the reflected light signal and convert the reflected light signal into an electrical signal.
And step 206, when the initial electric signal is not in the preset interval, adjusting the preset power.
The preset interval includes an electrical signal interval corresponding to the optical signal capable of meeting the application requirement. Specifically, the preset interval may be determined according to a specific application scenario and a light signal detection range of the photosensitive sensor, and is not limited herein. For example, when the electrical signal corresponding to the optical signal meeting the application requirement is 0.1A to 2A, the corresponding preset interval may be greater than or equal to 0.1A; may be greater than 0.05A and less than or equal to 2A; the ratio may be 0.1A or more and 3A or less, and the like, and is not limited herein.
When the initial electric signal is not in the preset interval, it is indicated that the initial optical signal output according to the preset power does not meet the application requirement, and the wearable device can adjust the preset power. Generally, the initial electrical signal is not a fixed value due to the reflectivity of the surrounding environment of the wearable device, and optionally, the wearable device may determine whether the initial electrical signal is in a preset interval by taking an average value, a mode, an intermediate value, or the like. The wearable device adjusts the preset power, and optionally, the wearable device may determine an adjustment value of the preset power according to a difference between the initial electrical signal and the preset interval to adjust the preset power; the wearable device may also gradually increase or decrease the preset power until an initial electrical signal converted based on the initial electrical signal output according to the adjusted preset power is within a preset interval.
And step 208, taking the adjusted preset power as a target power.
The wearable device takes the adjusted preset power as the target power, and can control the light source emitter to output the target light signal according to the target power. The energy of the target optical signal can meet the application requirements of the optical signal. In particular, the wearable device may configure the light source emitter according to a target power, such that the configured light source emitter may output a target light signal at the target power. Alternatively, when the initial electrical signal is within the preset interval, the preset power may be directly used as the target power.
Further, after the wearable device uses the adjusted preset power as the target power, the wearable device may receive a detection instruction based on the optical signal, control the light source emitter to output a target optical signal corresponding to the target power according to the detection instruction, so as to obtain a target electrical signal converted from an optical signal reflected by the target optical signal, and output a detection result corresponding to the detection instruction according to the target electrical signal. For example, when the detection instruction based on the optical signal is a ranging detection instruction, the wearable device may determine the distance of the object to be measured based on a target electrical signal converted from the optical signal reflected by the target optical signal; when the detection instruction based on the optical signal is an electrocardiogram detection instruction, the wearable device can analyze and output a corresponding electrocardiogram detection diagram based on a target electrical signal converted from an optical signal reflected by the target optical signal.
According to the signal processing method provided by the embodiment of the application, the light source emitter is controlled to output the initial optical signal according to the preset power, the initial electrical signal converted by the optical signal reflected by the initial optical signal is obtained, when the initial electrical signal is not in the preset interval, the preset power is adjusted, the adjusted preset power is used as the target power, the target optical signal output according to the target power can meet the application requirement, the accuracy of the target optical signal and the target power can be improved, the problems that the application effect is poor, the detection is inaccurate and the like due to the fact that the output optical signal does not meet the application requirement are avoided, and the application effect of the optical signal is optimized.
In one embodiment, step 206 includes: when the initial electric signal is smaller than the minimum value of the preset interval, increasing the preset power, and returning to the step of controlling the light source emitter to output the initial optical signal according to the preset power until the initial electric signal is in the preset interval; step 202 comprises: and controlling the light source transmitter to output an initial light signal according to the increased preset power.
The predetermined interval includes a minimum value. For example, when the preset interval is greater than or equal to 0.06A, the minimum value of the preset interval is 0.06A; when the preset interval is greater than 0.8A and less than 2A, the minimum value of the preset interval is 0.8A.
When the initial electrical signal is smaller than the minimum value of the preset interval, it indicates that the energy of the initial optical signal at this time cannot meet the application requirement. The wearable device increases the preset power, specifically, the wearable device presets the power corresponding to the energy levels of different optical signals, the preset power can be gradually increased according to the power corresponding to the energy levels of the different preset optical signals and the current preset power, and after the preset power is increased, the light source transmitter is controlled to output the initial optical signal according to the increased preset power, the initial electrical signal corresponding to the initial optical signal is obtained, and the operation is stopped until the initial electrical signal is within the preset interval.
For example, the wearable device presets the power corresponding to the energy levels of the three optical signals to be 0.05W, 0.08W and 0.1W respectively; if the current preset power is 0.6W, the initial electrical signal corresponding to the initial optical signal output by the light source emitter according to 0.6W is smaller than the minimum value of the preset interval, the wearable device may increase the preset power to 0.08W, and control the light source emitter to output the initial optical signal according to 0.08W, and when the initial electrical signal corresponding to the initial optical signal is within the preset interval, the target power may be set to 0.08W; when the initial optical signal is still smaller than the preset interval, the preset power may be increased again until the initial electrical signal corresponding to the initial optical signal output according to the preset power is within the preset interval. Optionally, the wearable device may also adjust the preset power by the preset adjustment amplitude. For example, the preset adjustment range may be 0.05W, 0.1W, 0.2W, 0.3, etc., but is not limited thereto.
The preset power is gradually increased until the initial electric signal corresponding to the initial optical signal output according to the preset power is within the preset interval, the adjusted preset power is used as the target power, the target optical signal output according to the target power can be ensured to meet the application requirement, the accuracy of the target power can be improved, the problem of large power consumption caused by overlarge target power can be avoided by gradually increasing the preset power, and the power consumption of the optical signal during application can be reduced.
Fig. 3 is a flow chart of a signal processing method in another embodiment. As shown in fig. 3, in one embodiment, a signal processing method is provided that includes:
step 302, controlling the light source transmitter to output an initial light signal according to a preset power.
In step 304, an initial electrical signal corresponding to the initial optical signal is obtained, and the initial electrical signal is converted based on the optical signal reflected by the initial optical signal.
Step 306, judging whether the initial electric signal is smaller than the minimum value of a preset interval; when the initial electrical signal is smaller than the minimum value of the preset interval, entering step 308; when the initial electrical signal is not less than the minimum value of the preset interval, the process proceeds to step 312.
And 308, circularly executing the operation of increasing the preset power, controlling the light source transmitter to output the initial optical signal according to the increased preset power, and acquiring the initial electrical signal corresponding to the initial optical signal until the initial electrical signal is in a preset interval.
And step 310, taking the adjusted preset power as a target power.
In step 312, the operation of reducing the preset power and controlling the light source emitter to output the initial optical signal according to the reduced preset power is performed in a loop until the initial electrical signal is less than or equal to the minimum value of the preset interval.
The initial electrical signal not less than the minimum value of the preset interval may be within the preset interval or outside the preset interval. For example, when the preset interval is greater than 1A and less than 3A, the electrical signal not less than the minimum value of the preset interval may refer to an electrical signal in the preset interval such as 1.2A, 1.5A, 2A, or an electrical signal in the preset interval such as 3.5A, 4A; when the preset interval is a semi-open interval such as greater than 1A, the electrical signals not less than the minimum value of the preset interval are all within the range of the preset interval.
Similarly, the wearable device may preset the power amplitude per reduction; and when the initial electrical signal is determined not to be in the preset interval, gradually reducing the preset power until the initial electrical signal corresponding to the initial optical signal output according to the reduced preset power is smaller than the minimum value of the preset interval.
And step 314, taking the reduced preset power which is greater than or equal to the minimum value of the preset interval and is the minimum value as the target power.
The wearable device circularly reduces the preset power, controls the light source emitter to output the initial light signal according to the reduced preset power, and can obtain a plurality of reduced preset powers in the process that the initial electric signal is smaller than or equal to the minimum value of the preset interval. For example, when the preset power is 0.7W, the initial electrical signal is not less than the minimum value of the preset interval, and if the wearable device successively reduces the preset power to 0.5W, 0.4W, 0.2W, 0.1W; when the initial electrical signal corresponding to the preset power of 0.1W is smaller than the minimum value of the preset interval, the power greater than or equal to the minimum value of the preset interval and the minimum power, that is, 0.2W, may be used as the target power.
Gradually increasing the preset power when the initial electric signal is smaller than the minimum value of the preset interval until the initial electric signal corresponding to the initial optical signal output according to the increased preset power is in the preset interval, and taking the adjusted preset power as the target power; when the initial electrical signal is not less than the minimum value of the preset interval, the preset power is gradually reduced until the initial electrical signal corresponding to the initial optical signal output according to the reduced preset power is less than the minimum value of the preset interval, and the minimum power which is greater than or equal to the minimum value of the preset interval is used as the target power, so that the target power accuracy is ensured, the optical signal application effect is optimized, and the power consumption is reduced.
Fig. 4 is a flow chart of a signal processing method in yet another embodiment. As shown in fig. 4, in one embodiment, a signal processing method is provided that includes:
step 402, controlling the light source emitter to output an initial light signal according to a preset power.
In step 404, an initial electrical signal corresponding to the initial optical signal is obtained, and the initial electrical signal is converted based on the optical signal reflected by the initial optical signal.
Step 406, judging the relationship between the initial electrical signal and a preset interval; when the initial electrical signal is smaller than the minimum value of the preset interval, entering step 408; when the initial electrical signal is greater than the maximum value of the preset interval, go to step 410; when the initial electrical signal is not less than the minimum value of the preset interval and not greater than the maximum value of the preset interval, step 414 is entered.
And 408, circularly executing the operation of increasing the preset power, controlling the light source transmitter to output the initial optical signal according to the increased preset power, and acquiring the initial electrical signal corresponding to the initial optical signal until the initial electrical signal is within the preset interval.
And 410, circularly executing the operation of reducing the preset power, controlling the light source emitter to output the initial optical signal according to the reduced preset power, and acquiring the initial electrical signal corresponding to the initial optical signal until the initial electrical signal is in a preset interval.
In this embodiment, the predetermined interval includes a maximum value. For example, the preset interval may be greater than 1A and less than 3A; greater than 0.5A and less than 4A; greater than 2A and less than or equal to 5A, and the like, without being limited thereto.
The initial electrical signal is greater than the maximum value of the preset interval, which indicates that the energy of the initial optical signal output according to the preset power exceeds the range of the application requirement. The wearable device can gradually reduce the preset power when determining that the initial electric signal is larger than the maximum value of the preset interval, and control the light source transmitter to output the initial optical signal according to the reduced preset power until the initial electric signal corresponding to the initial optical signal is within the preset interval. The way of reducing the preset power of the wearable device is similar to the way of increasing the preset power, and is not described herein.
And step 412, taking the adjusted preset power as a target power.
When the initial electric signal is larger than the maximum value of the preset interval, the wearable device can gradually reduce the preset power until the initial electric signal corresponding to the reduced preset power is in the preset interval, and the reduced preset power is used as the target power; when the initial electric signal is smaller than the minimum value of the preset interval, the wearable device may gradually increase the preset power until the initial electric signal corresponding to the increased preset power is within the preset interval, and use the increased preset power as the target power.
And 414, circularly executing the operation of reducing the preset power and controlling the light source emitter to output the initial optical signal according to the reduced preset power until the initial electrical signal is less than or equal to the minimum value of the preset interval.
Step 416, the minimum preset power greater than or equal to the minimum value of the preset interval is taken as the target power.
In the embodiment provided by the application, different power adjustment modes are adopted according to the relation between the initial electric signal and the preset interval, so that the target power can be ensured to be in the preset interval, the application effect of the optical signal is improved, and the power consumption of the light source emitter in outputting the optical signal is reduced.
Fig. 5 is a flow diagram of a signal processing method in one embodiment. As shown in fig. 5, in one embodiment, a signal processing method is provided that includes:
step 502, controlling the light source transmitter to output an initial light signal according to a preset power.
In step 504, an initial electrical signal corresponding to the initial optical signal is obtained, and the initial electrical signal is converted based on the optical signal reflected by the initial optical signal.
In step 506, when the initial electrical signal is not in the preset interval, a predicted electrical signal is obtained, and the predicted electrical signal is converted based on the initial optical signal.
The predicted electrical signal is an electrical signal converted based on the original optical signal. Specifically, the optical signal reflected by the original optical signal may have a certain energy loss due to the influence of the external environment, such that the energy of the reflected optical signal is less than the energy of the original optical signal, and then the predicted electrical signal converted based on the original optical signal is greater than the original electrical signal converted based on the optical signal reflected by the original optical signal. The wearable device may pre-store predicted electrical signals corresponding to the initial optical signals output at different powers.
At step 508, a signal difference between the initial electrical signal and the predicted electrical signal is determined.
The wearable device may subtract the initial electrical signal from the predicted electrical signal to obtain the signal difference. The signal difference may reflect the degree of energy loss of the original optical signal when it is affected by the external environment. The larger the signal difference is, the larger the energy loss of the optical signal is; conversely, the smaller the signal difference, the smaller the energy loss of the optical signal.
And step 510, obtaining a corresponding power adjustment amplitude according to the signal difference value, and adjusting the preset power according to the power adjustment amplitude.
Specifically, the wearable device may pre-store power adjustment amplitudes corresponding to different signal difference values, so that the corresponding power adjustment amplitudes may be obtained according to the determined signal difference values. Optionally, the wearable device may also have a pre-stored amplitude adjustment algorithm, so that substituting the signal difference into the amplitude adjustment algorithm may obtain a corresponding power adjustment amplitude.
And step 512, taking the adjusted preset power as a target power.
The wearable device can adjust the preset power according to the obtained power adjustment amplitude, and the adjusted preset power is used as the target power. For example, when the preset power is 1W, if the power adjustment range is increased by 0.5W, the target power is 1.5W; if the adjustment range is reduced by 0.2W, the target power is 0.8W.
The power adjustment efficiency can be improved by determining a signal difference value between the initial electric signal and the predicted electric signal, obtaining a corresponding power adjustment amplitude according to the signal difference value, adjusting the preset power, and taking the adjusted preset power as a target power.
In one embodiment, before the signal processing method is provided, before controlling the light source transmitter to output the initial light signal according to the preset power, the method further includes: detecting environmental information of the wearable device; determining whether the wearable equipment is converted from the detachment state to the wearing state according to the environment information; and when the wearable device is determined to be converted from the disengaged state to the worn state, performing an operation of controlling the light source transmitter to output the initial light signal according to the preset power.
The environment information may include temperature information, location information, distance information from the human body, and the like. Specifically, the wearable device may detect the environmental information where the wearable device is located through built-in sensors or other functional modules. For example, the wearable device may determine the distance between the wearable device and the human body through infrared detection, ultrasonic detection, or the like; temperature information around the wearable device is detected by a temperature sensor, and the like. Optionally, the wearable device may receive environmental information detected by the connected mobile terminal. For example, the wearable device may determine whether the wearable device and the human body are in the same position according to the position information of the wearable device and the position information of the mobile terminal, which is not limited herein.
The wearable device can determine whether the wearable device is worn or not by analyzing the environmental information, and when the wearable device is determined to be converted from the disengaged state to the worn state, the wearable device executes an operation of controlling the light source transmitter to output the optical signal according to the preset power.
The optical signal may be applied to detect vital sign information. Specifically, when the wearable device is worn on a human body, the wearable device can output optical signals and receive signals reflected by the human body to output a sign detection result. The loss of energy reflected by the human body to the optical signal is often different under the influence of the tightness degree of the wearable device worn by the human body, the skin color of the human body, the body hair and the like. Through when detecting wearable equipment by breaking away from the state conversion to wearing state, then control light source transmitter according to the initial light signal of preset power output, whether adjust to preset power with the initial electric signal of light signal conversion according to the reflection, and confirm the target power, can avoid adopting unified power output light signal, because the human body of wearing changes, or the energy of the reflected light signal that the elasticity degree of wearing leads to is too low, unsatisfied sign detection's light signal demand, the inaccurate problem of sign information detection that leads to, can improve sign detection's accuracy.
In one embodiment, the provided signal processing method may further include: analyzing the target tightness grade of the wearable equipment in the wearing state according to the environment information; and acquiring preset power corresponding to the target tightness grade from the corresponding relation between the preset tightness grade and the power.
The tightness level of the wearable device may be determined according to the distance between the wearable device and the human body. The smaller the distance, the tighter the wearing is; the greater the distance, the looser the wear. The wearable device can preset different tightness levels corresponding to the distances.
Specifically, the wearable device can acquire the distance between the wearable device and a human body through infrared detection and other modes, determine a target tightness level of the wearable device in a wearing state according to the distance, acquire preset power corresponding to the target tightness level from a corresponding relation between the preset tightness level and the power, and control the light source transmitter to output an initial light signal according to the preset power so as to determine whether to adjust the preset power according to an electric signal converted from a reflected light signal. Generally, the looser the wearable device is worn, the greater the energy loss in reflection of the light signal, all other things being equal; in order to ensure that the energy of the reflected optical signal can meet the requirement of physical sign detection, the light source transmitter needs to output the optical signal with higher power.
The corresponding preset power is obtained according to the target tightness level of the wearable device in the wearing state, the light source emitter is controlled to output the initial light signal according to the preset power, whether the preset power is adjusted or not is determined according to the electric signal converted by the reflected light signal, the accuracy of the preset power can be improved, and the adjusting times of the power are reduced.
FIG. 6 is a flow diagram of a signal processing method in one embodiment. As shown in fig. 6, in one embodiment, a signal processing method is provided that includes:
step 602, controlling the light source transmitter to output an initial light signal according to a preset power.
Step 604, performing photoelectric conversion on the optical signal reflected based on the initial optical signal, and taking a direct current signal in the converted electrical signal as the initial electrical signal.
Since the degree of light absorption by the external environment may vary, the electrical signal obtained by photoelectrically converting the optical signal reflected by the wearable device based on the initial optical signal may include an ac signal and a dc signal. The wearable device may use a direct current signal of the converted electrical signals as the initial electrical signal.
And 606, adjusting the preset power when the initial electric signal is not in the preset interval.
And step 608, taking the adjusted preset power as a target power.
At step 610, a sign detection instruction is received.
The wearable device may adjust the preset power to determine the target power when transitioning from the disengaged state to the worn state. The sign detection instruction may be generated by pressing a designated button of the wearable device, may be generated by touching a control displayed by the wearable device, may be generated by analyzing received voice information, and the like. Optionally, the sign detection instruction may include an electrocardiogram detection instruction, a heart rate detection instruction, and other sign detection instructions capable of detecting by using an optical signal, which is not limited herein.
And step 612, controlling the light source emitter to output a target light signal according to the target power according to the sign detection instruction.
The target power is the power adjusted from the initial electrical signal to the preset power. After the wearable device determines the target power, the wearable device can receive the sign detection instruction, and controls the light source transmitter to output the target light signal according to the target power according to the sign detection instruction so as to detect the sign information of the human body.
And 614, performing photoelectric conversion on the optical signal reflected based on the target optical signal, and taking an alternating current signal in the converted electric signal as a target electric signal.
Specifically, in this embodiment, the alternating current signal in the electrical signal converted from the target optical signal may reflect the sign information of the human body. The wearable device may acquire, as the target electrical signal, an alternating current signal in the electrical signal converted based on the optical signal reflected by the target optical signal.
Fig. 7 is a schematic diagram of sign detection by optical signals in one embodiment. As shown in fig. 7, the wearable device can perform electrocardiographic or heart rate detection by using an optical signal, and the optical signal is transmitted by the light source transmitter 710, when the optical signal irradiates the skin of the human body, since the contraction and expansion of the blood vessel during heartbeat of the human body can affect the reflection of the optical signal, when the optical signal is reflected back to the photosensitive sensor 720 of the wearable device through the skin tissue of the human body, the optical signal has a certain attenuation; because the pulsation of the blood vessel causes the absorption amplitude of the optical signal to change and other tissues basically do not absorb the optical signal, the reflected electrical signal converted from the optical signal contains an alternating current signal corresponding to the pulsation of the blood vessel and a direct current signal corresponding to other tissues. The alternating current signal corresponding to the pulsation of the blood vessel can be used as a target electric signal to analyze the physical signs of the human body; the dc signal corresponding to the other tissue may be used as an initial electrical signal to determine whether to adjust the power of the light source emitter.
And step 616, determining a detection result corresponding to the sign detection instruction according to the target electric signal.
The detection results corresponding to different sign detection instructions are different. The wearable device can analyze the target electrical signal according to the sign detection instruction to determine a corresponding detection result. For example, when the physical sign detection instruction is an electrocardiogram detection instruction, the wearable device may obtain an electrocardiogram corresponding to the electrocardiogram detection instruction according to the target electrical signal analysis, and output the electrocardiogram; when the sign detection instruction is a heart rate detection instruction, the wearable device can determine a heart rate value of the human body according to the target electric signal and output the heart rate value.
Whether the preset power is adjusted or not is determined through the initial electric signal so as to determine the target power, and the optical signal is output according to the target power so as to detect the physical sign, so that the accuracy of physical sign detection can be improved. In addition, the convenience of power adjustment can be improved by extracting the direct current signal in the electric signal as the initial electric signal.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
FIG. 8 is a block diagram of a signal processing apparatus according to an embodiment. As shown in fig. 8, the signal processing apparatus includes an optical signal output module 802, an electrical signal acquisition module 804, an adjustment module 806, and a determination module 808. Wherein:
and an optical signal output module 802, configured to control the light source transmitter to output an initial optical signal according to a preset power.
The electrical signal obtaining module 804 is configured to obtain an initial electrical signal corresponding to the initial optical signal, where the initial electrical signal is converted based on the optical signal reflected by the initial optical signal.
The adjusting module 806 is configured to adjust the preset power when the initial electrical signal is not within the preset interval.
A determining module 808, configured to use the adjusted preset power as a target power.
The initial optical signal is output according to the preset power by controlling the light source transmitter, the initial electrical signal converted by the optical signal reflected by the initial optical signal is obtained, when the initial electrical signal is not in the preset interval, the preset power is adjusted, the adjusted preset power is used as the target power, the target optical signal output according to the target power can meet the application requirement, the accuracy of the target optical signal and the target power can be improved, the problems that the application effect is poor and the detection is inaccurate due to the fact that the output optical signal does not meet the application requirement are solved, and the application effect of the optical signal or the accuracy of the optical signal detection is optimized.
In an embodiment, the adjusting module 806 may be further configured to, when the initial electrical signal is smaller than a minimum value of the preset interval, cyclically perform operations of increasing the preset power, controlling the light source transmitter to output the initial optical signal according to the increased preset power, and acquiring the initial electrical signal corresponding to the initial optical signal until the initial electrical signal is within the preset interval.
In an embodiment, the adjusting module 806 may be further configured to, when the initial electrical signal is greater than the maximum value of the preset interval, cyclically perform the operation of reducing the preset power, controlling the light source transmitter to output the initial optical signal according to the reduced preset power, and acquiring the initial electrical signal corresponding to the initial optical signal until the initial electrical signal is within the preset interval.
In one embodiment, the adjusting module 806 may be further configured to cyclically perform operations of reducing the preset power and controlling the light source emitter to output the initial optical signal according to the reduced preset power until the initial electrical signal is smaller than or equal to a minimum value of the preset interval; the determining module 808 may be further configured to use, as the target power, the minimum preset power that is greater than or equal to the minimum value of the preset interval and is the smallest among the reduced preset powers.
In one embodiment, the adjustment module 806 may also be configured to obtain a predicted electrical signal, the predicted electrical signal being converted based on the initial optical signal; determining a signal difference between the initial electrical signal and the predicted electrical signal; and acquiring corresponding power adjustment amplitude according to the signal difference value, and adjusting the preset power according to the power adjustment amplitude.
In one embodiment, the optical signal output module 802 may also be used to detect environmental information where the wearable device is located; determining whether the wearable equipment is converted from the detachment state to the wearing state according to the environment information; and when the wearable device is determined to be converted from the off state to the on state, controlling the light source transmitter to output an initial light signal according to preset power.
In one embodiment, the optical signal output module 802 may be further configured to, when it is determined that the wearable device is converted from the detached state to the worn state, analyze a target tightness level of the wearable device in the worn state according to the environmental information; acquiring preset power corresponding to the target tightness grade from the corresponding relation between the preset tightness grade and the power; and controlling the light source transmitter to output an initial light signal according to preset power.
In one embodiment, the electrical signal obtaining module 804 may be further configured to perform photoelectric conversion on the optical signal reflected based on the initial optical signal, and use a direct current signal in the converted electrical signal as the initial electrical signal.
In one embodiment, the provided signal processing apparatus may further include a detection module 810; the optical signal output module 802 may also be configured to receive a sign detection instruction; controlling a light source emitter to output a target light signal according to the target power according to the sign detection instruction; the electrical signal obtaining module 804 may be further configured to perform photoelectric conversion on an optical signal reflected based on the target optical signal, and use an alternating current signal in the converted electrical signal as the target electrical signal; the detection module 810 is configured to determine a detection result corresponding to the sign detection instruction according to the target electrical signal.
The division of the modules in the signal processing apparatus is only for illustration, and in other embodiments, the signal processing apparatus may be divided into different modules as needed to complete all or part of the functions of the signal processing apparatus.
For specific limitations of the signal processing apparatus, reference may be made to the above limitations of the signal processing method, which is not described herein again. The respective modules in the signal processing apparatus can be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The implementation of each module in the signal processing apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program may be run on a computer device, such as a wearable device. The program modules of the computer program may be stored on a memory of the wearable device. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of a signal processing method.
A computer program product comprising instructions which, when run on a computer, cause the computer to perform a signal processing method.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A signal processing method, comprising:
controlling a light source transmitter to output an initial optical signal according to preset power;
acquiring an initial electrical signal corresponding to the initial optical signal, wherein the initial electrical signal is converted based on an optical signal reflected by the initial optical signal;
when the initial electric signal is not in a preset interval, adjusting the preset power;
and taking the adjusted preset power as the target power.
2. The method of claim 1, wherein the adjusting the preset power when the initial electrical signal is not within a preset interval comprises:
when the initial electric signal is smaller than the minimum value of the preset interval, increasing the preset power, and returning to the step of controlling the light source emitter to output the initial optical signal according to the preset power until the initial electric signal is in the preset interval;
the control light source transmitter sends out initial light signal according to preset power, includes:
and controlling the light source transmitter to output an initial light signal according to the increased preset power.
3. The method of claim 2, further comprising:
when the initial electric signal is larger than the minimum value of the preset interval, reducing the preset power, and returning to the step of controlling the light source emitter to output the initial optical signal according to the preset power until the initial electric signal is smaller than or equal to the minimum value of the preset interval;
the control light source transmitter sends out initial light signal according to preset power, includes:
controlling the light source emitter to output an initial light signal according to the reduced preset power;
the taking the adjusted preset power as the target power includes:
and taking the reduced preset power which is greater than or equal to the minimum value of the preset interval and is the minimum value as the target power.
4. The method of claim 1, wherein the adjusting the preset power when the initial electrical signal is not within a preset interval comprises:
when the initial electric signal is larger than the maximum value of the preset interval, reducing the preset power, and returning to the step of controlling the light source emitter to output the initial optical signal according to the preset power until the initial electric signal is in the preset interval;
the control light source transmitter sends out initial light signal according to preset power, includes:
and controlling the light source transmitter to output an initial light signal according to the reduced preset power.
5. The method of claim 1, wherein the adjusting the preset power when the initial electrical signal is not in a preset interval comprises:
obtaining a predicted electrical signal, the predicted electrical signal being converted based on the initial optical signal;
determining a signal difference between the initial electrical signal and the predicted electrical signal;
and acquiring a corresponding power adjustment amplitude according to the signal difference value, and adjusting the preset power according to the power adjustment amplitude.
6. The method of claim 1, wherein before controlling the light source transmitter to output the initial light signal at the predetermined power, further comprising:
detecting environmental information of the wearable device;
determining whether the wearable equipment is converted from a disengaged state to a wearing state according to the environment information;
when the wearable device is determined to be converted from the disengaged state to the worn state, the operation of controlling the light source transmitter to output an initial light signal according to preset power is executed.
7. The method of claim 6, wherein when it is determined that the wearable device is converted from the detached state to the worn state, then performing the operation of controlling the light source transmitter to output an initial light signal at a preset power further comprises:
when the wearable device is determined to be converted from the separation state to the wearing state, analyzing a target tightness level of the wearable device in the wearing state according to the environment information;
acquiring preset power corresponding to the target tightness grade from the corresponding relation between the preset tightness grade and the power;
and executing the operation of controlling the light source transmitter to output the initial light signal according to the preset power.
8. The method of claim 1, wherein said obtaining an initial electrical signal corresponding to the initial optical signal comprises:
performing photoelectric conversion on an optical signal reflected based on the initial optical signal, and taking a direct current signal in an electric signal obtained through conversion as the initial electric signal;
after the step of taking the adjusted preset power as the target power, the method further includes:
receiving a sign detection instruction;
controlling the light source emitter to output a target light signal according to the target power according to the sign detection instruction;
performing photoelectric conversion on the optical signal reflected on the basis of the target optical signal, and taking an alternating current signal in the converted electric signal as a target electric signal;
and determining a detection result corresponding to the sign detection instruction according to the target electric signal.
9. A signal processing apparatus, characterized by comprising:
the optical signal output module is used for controlling the light source transmitter to output an initial optical signal according to preset power;
an electrical signal obtaining module, configured to obtain an initial electrical signal corresponding to the initial optical signal, where the initial electrical signal is converted based on an optical signal reflected by the initial optical signal;
the adjusting module is used for adjusting the preset power when the initial electric signal is not in a preset interval;
and the determining module is used for taking the adjusted preset power as the target power.
10. An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the signal processing method according to any one of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN201910763727.8A 2019-08-19 2019-08-19 Signal processing method, apparatus, electronic device, and computer-readable storage medium Active CN112401900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910763727.8A CN112401900B (en) 2019-08-19 2019-08-19 Signal processing method, apparatus, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910763727.8A CN112401900B (en) 2019-08-19 2019-08-19 Signal processing method, apparatus, electronic device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN112401900A true CN112401900A (en) 2021-02-26
CN112401900B CN112401900B (en) 2023-08-11

Family

ID=74778998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910763727.8A Active CN112401900B (en) 2019-08-19 2019-08-19 Signal processing method, apparatus, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN112401900B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113080919A (en) * 2021-03-31 2021-07-09 歌尔股份有限公司 Heart rate detection method, device, equipment and computer readable storage medium
CN113558595A (en) * 2021-07-29 2021-10-29 歌尔科技有限公司 Monitoring method and device of wearable equipment and related components
CN116036492A (en) * 2023-03-29 2023-05-02 北京新科以仁科技发展有限公司 Laser power control method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090281435A1 (en) * 2008-05-07 2009-11-12 Motorola, Inc. Method and apparatus for robust heart rate sensing
CN106580339A (en) * 2016-12-23 2017-04-26 中国科学院深圳先进技术研究院 Blood oxygen pulse acquisition system and blood oxygen pulse acquisition front integrated circuit
CN107371361A (en) * 2015-03-23 2017-11-21 皇家飞利浦有限公司 Optics vital sign sensors
US20180070839A1 (en) * 2016-09-15 2018-03-15 Whoop, Inc. Variable brightness and gain for optimizing signal acquisition
CN108652605A (en) * 2018-03-27 2018-10-16 上海交通大学 Real-time blood pressure monitoring device based on single channel PPG signals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090281435A1 (en) * 2008-05-07 2009-11-12 Motorola, Inc. Method and apparatus for robust heart rate sensing
CN107371361A (en) * 2015-03-23 2017-11-21 皇家飞利浦有限公司 Optics vital sign sensors
US20180070839A1 (en) * 2016-09-15 2018-03-15 Whoop, Inc. Variable brightness and gain for optimizing signal acquisition
CN106580339A (en) * 2016-12-23 2017-04-26 中国科学院深圳先进技术研究院 Blood oxygen pulse acquisition system and blood oxygen pulse acquisition front integrated circuit
CN108652605A (en) * 2018-03-27 2018-10-16 上海交通大学 Real-time blood pressure monitoring device based on single channel PPG signals

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113080919A (en) * 2021-03-31 2021-07-09 歌尔股份有限公司 Heart rate detection method, device, equipment and computer readable storage medium
CN113080919B (en) * 2021-03-31 2023-01-24 歌尔股份有限公司 Heart rate detection method, device, equipment and computer readable storage medium
CN113558595A (en) * 2021-07-29 2021-10-29 歌尔科技有限公司 Monitoring method and device of wearable equipment and related components
CN116036492A (en) * 2023-03-29 2023-05-02 北京新科以仁科技发展有限公司 Laser power control method, device, equipment and storage medium
CN116036492B (en) * 2023-03-29 2023-06-16 北京新科以仁科技发展有限公司 Laser power control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112401900B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN112401900A (en) Signal processing method, signal processing device, electronic equipment and computer readable storage medium
US11172884B2 (en) Method and module for detecting wearing state and wearable device
US20140320307A1 (en) Electronic apparatus and communication control method
EP2896359A1 (en) Method and system for measuring heart rate in electronic device using photoplethysmography
US20210022677A1 (en) Apparatus and method for estimating bio-information
EP3603507A1 (en) Bio-information measuring apparatus and bio-information measuring method
US20150190077A1 (en) Electronic device and photoplethysmography method
CN113423096B (en) Power saving control method and device, wearable device and computer-readable storage medium
US20200146565A1 (en) Electronic device and method of estimating bio-information using the same
KR102392787B1 (en) Apparatus and method for measuring a temperature in an electronic device
CN110830644A (en) Display screen control method and device, electronic equipment and storage medium
US20200092806A1 (en) Data synchronization method and apparatus, and terminal device
US11844631B2 (en) Apparatus and method for estimating bio-information
KR102256287B1 (en) Apparatus and method for measuring a heart rate using photoplethysmography in a electronic device
US20210085259A1 (en) Apparatus and method for estimating bio-information
CN111067502A (en) Apparatus and method for estimating biological information
KR20200032359A (en) Apparatus and method for estimating bio-information
KR20150082038A (en) Electronic device and photoplethysmography method
CN112448731B (en) Wearable device, signal processing method, and computer-readable storage medium
CN113080919A (en) Heart rate detection method, device, equipment and computer readable storage medium
CN111012322A (en) Device for estimating blood pressure
EP4059418A1 (en) Apparatus and method for estimating bio-information
US11813039B2 (en) Apparatus and method for estimating bio-information
US11896353B2 (en) Apparatus for estimating bio-information, and method of determining false detection of bio-signal peaks
CN113995390B (en) Working mode control method of wearable device, wearable device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant