Blood oxygen detection method and device, electronic equipment and computer readable storage medium

By extracting the time-frequency parameters of the PPG signal, the wearing position of the blood oxygen detection device is solved, and the poor signal quality caused by unstable wear or improper position is achieved, and high-precision blood oxygen detection is achieved at different wearing positions.

CN120436629APending Publication Date: 2025-08-08JIANGYU KANGJIAN INNOVATION MEDICAL TECH CHENGDU CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410174121.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-06
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

The existing blood oxygen detection equipment is unstable or inappropriate in wearing position, resulting in poor quality of the obtained PPG signal, affecting the accuracy of blood oxygen detection.

Method used

By extracting the time-frequency parameters of the PPG signal, including time-domain information and frequency-domain information, we can detect whether the signal quality meets the preset standards, eliminate abnormal signals caused by physiological factors, and improve the accuracy of blood oxygen detection.

Benefits of technology

Effectively identify and eliminate signal abnormalities caused by wearing position, improve the accuracy of blood oxygen detection, and maintain high accuracy especially in physiological conditions such as arteriovenous short circuit or blood flow obstruction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120436629A_ABST
    Figure CN120436629A_ABST
Patent Text Reader

Abstract

The invention relates to the field of blood oxygen detection, in particular to a blood oxygen detection method and device, electronic equipment and a computer readable storage medium. The blood oxygen detection method comprises the following steps: acquiring a PPG signal to be subjected to quality detection; extracting a time-frequency parameter of the PPG signal; based on the time-frequency parameter of the PPG signal, detecting whether the signal quality of the PPG signal meets a preset quality standard; if the signal quality of the PPG signal meets the quality standard, blood oxygen is calculated based on the PPG signal. The accuracy of blood oxygen detection can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Oxygen saturation (SpO2), also known as blood oxygen, refers to the percentage of hemoglobin in the blood that is actually bound to oxygen. SpO2 is crucial in areas such as high-altitude hypoxia warning, respiratory disease detection, and hypoxia warning.

[0003] In the process of detecting blood oxygen, the blood oxygen detection equipment can use red light and infrared light to irradiate human tissue, and use photoelectric conversion devices to receive the photoplethysmogram (PPG) signal generated after the red light and infrared light pass through the human tissue. Based on the PPG signal, the degree of absorption of red light and infrared light is obtained to obtain blood oxygen.

[0004] As can be seen above, the accuracy of the aforementioned blood oxygen detection methods is highly dependent on the quality of the obtained PPG signal. However, when a user wears a blood oxygen detection device (such as a wearable device such as a wristband or watch with blood oxygen detection function), the PPG signal obtained may be abnormal due to unstable wearing of the device and physiological factors such as the wearing position. This can lead to poor PPG signal quality and thus poor blood oxygen detection accuracy. Summary of the Invention

[0005] In view of the above, embodiments of the present application provide a blood oxygen detection method, device, electronic device, and computer-readable storage medium, aiming to improve the accuracy of blood oxygen detection.

[0006] The present invention provides a blood oxygen detection method, including:

[0007] Obtaining a PPG signal to be quality tested;

[0008] Extracting time-frequency parameters of the PPG signal;

[0009] detecting, based on the time-frequency parameters of the PPG signal, whether the signal quality of the PPG signal meets a preset quality standard;

[0010] If the signal quality of the PPG signal meets the quality standard, blood oxygen is calculated based on the PPG signal.

[0011] The embodiment of the present application extracts time-frequency parameters of the PPG signal. The time-frequency parameters can reflect, to a certain extent, signal abnormalities caused by physiological factors at the blood oxygen detection location (i.e., the wearing location of the blood oxygen detection device). Therefore, determining whether the PPG signal meets preset quality standards based on the time-frequency parameters is conducive to eliminating abnormal PPG signals caused by these physiological factors, thereby improving the accuracy of human blood oxygen measurement.

[0012] In some embodiments, the time-frequency parameters include time domain information of the PPG signal and / or frequency domain information of the PPG signal.

[0013] In some embodiments, detecting whether the signal quality of the PPG signal meets a preset quality standard based on the time-frequency parameters of the PPG signal includes:

[0014] In a case where the time-frequency parameters include time domain information of the PPG signal, acquiring a rising edge time and a falling edge time of the PPG signal based on the time domain information;

[0015] The rising edge time is the time from the trough to the next peak of the PPG signal; the falling edge time is the time from the peak to the next trough of the PPG signal;

[0016] Based on the rising edge time and the falling edge time, detecting whether the signal quality of the PPG signal meets the quality standard.

[0017] In some embodiments, detecting whether the signal quality of the PPG signal meets the quality standard based on the rising edge time and the falling edge time includes:

[0018] Calculate the time ratio of the rising edge time to the falling edge time;

[0019] If the time ratio is lower than a first preset threshold, it is determined that the signal quality of the PPG signal does not meet the quality standard.

[0020] In some embodiments, detecting whether the signal quality of the PPG signal meets a preset quality standard based on the time-frequency parameters of the PPG signal includes:

[0021] In a case where the time-frequency parameter includes frequency domain information of the PPG signal, acquiring fundamental frequency energy of the PPG signal and second harmonic energy of the PPG signal based on the frequency domain information;

[0022] Based on the fundamental frequency energy and the second harmonic energy, detecting whether the signal quality of the PPG signal meets the quality standard.

[0023] In some embodiments, detecting whether the signal quality of the PPG signal meets the quality standard based on the fundamental frequency energy and the second harmonic energy includes:

[0024] Calculating an energy ratio of the fundamental frequency energy to the second harmonic energy;

[0025] If the energy ratio is higher than a second preset threshold, it is determined that the signal quality of the PPG signal does not meet the quality standard.

[0026] In some embodiments, after detecting whether the signal quality of the PPG signal meets a preset quality standard based on the time-frequency parameters of the PPG signal, the method further includes:

[0027] If the signal quality of the PPG signal does not meet the quality standard, a prompt message is issued;

[0028] The prompt information is used to instruct the user to change the blood oxygen detection site.

[0029] The present application also provides a blood oxygen detection device, including:

[0030] An acquisition module, used to acquire the PPG signal to be quality tested;

[0031] An extraction module, configured to extract time-frequency parameters of the PPG signal;

[0032] a detection module, configured to detect whether the signal quality of the PPG signal meets a preset quality standard based on the time-frequency parameters of the PPG signal;

[0033] A calculation module is configured to calculate blood oxygen based on the PPG signal if the signal quality of the PPG signal meets the quality standard.

[0034] An embodiment of the present application also provides an electronic device, which includes a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call the instructions in the memory so that the electronic device executes the above-mentioned blood oxygen detection method.

[0035] An embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned blood oxygen detection method.

[0036] The above-mentioned blood oxygen detection device, electronic device and computer-readable storage medium all correspond to the above-mentioned blood oxygen detection method. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding methods provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is a schematic diagram of the blood oxygen detection scenario in the related technology.

[0038] Figure 2 This is a flowchart of the steps of the blood oxygen detection method provided in one embodiment of the present application.

[0039] Figure 3 A schematic diagram of time domain information of a PPG signal provided by an embodiment of the present application.

[0040] Figure 4 A schematic diagram of frequency domain information of a PPG signal provided by an embodiment of the present application.

[0041] Figure 5 A schematic diagram comparing the time domain information of a normal PPG signal and an abnormal PPG signal provided in one embodiment of the present application.

[0042] Figure 6 A schematic diagram comparing the frequency domain information of a normal PPG signal and an abnormal PPG signal provided in one embodiment of the present application.

[0043] Figure 7 This is a structural diagram of a blood oxygen detection device provided in one embodiment of the present application.

[0044] Figure 8 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to more clearly understand the above-mentioned objectives, features and advantages of the present application, the present application is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features therein can be combined with each other in the absence of conflict.

[0046] In the following description, many specific details are set forth to facilitate a full understanding of the present application. The described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application pertains. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0048] It should be further noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0049] In this application, "at least one" means one or more, and "more than one" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0050] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0051] Blood oxygen saturation, or simply blood oxygen, refers to the percentage of hemoglobin in the blood that is actually bound to oxygen. Blood oxygen saturation is crucial in areas such as high-altitude hypoxia warning, respiratory disease detection, and hypoxia warning.

[0052] Blood oxygen detection equipment can detect the blood oxygen level of the human body. Figure 1 As shown, the blood oxygen detection device can be configured with a photoelectric conversion device 11 (Photodiode, PD) and a light emitter, such as a red light emitting diode 12 (Red Light Emitting Diode, Red LED), an infrared light emitting diode 13 (Infrared Light Emitting Diode, IR LED), etc.

[0053] In the process of detecting blood oxygen, the blood oxygen detection equipment can use red light and infrared light to irradiate human tissue, and use a photoelectric conversion device 11 to receive the PPG signal generated after the red light and infrared light pass through the human tissue, and obtain the degree of absorption of red light and infrared light based on the PPG signal, thereby obtaining blood oxygen.

[0054] It can be seen from the above that the accuracy of blood oxygen detection by this blood oxygen detection method is highly dependent on the quality of the PPG signal.

[0055] However, when users wear blood oxygen detection devices (such as wearable devices such as bracelets or watches with blood oxygen detection functions), due to various reasons such as unstable wearing of the device and physiological conditions of the wearing position, the obtained PPG signal may become abnormal and the PPG signal quality may be poor, resulting in poor blood oxygen accuracy.

[0056] Therefore, in some embodiments, the blood oxygen detection device can obtain a perfusion index (PI), which can be defined as the infrared light AC value / infrared light DC value * 100%. The signal quality of the PPG signal is then determined based on the PI value, thereby determining whether the PPG signal is included in the blood oxygen calculation. Generally speaking, the larger the PI value, the stronger the PPG signal.

[0057] For example, when a blood oxygen detection device is detecting capillary-rich areas such as fingertips, the perfusion index can be used to detect the signal quality of the PPG signal.

[0058] However, due to physiological conditions such as arteriovenous shunts and blood flow obstruction that may occur in some wearing locations (such as the wrist, where there are many veins), even if a strong PPG signal is detected, these physiological conditions will still cause the normalized ratio of red light to infrared light to be abnormal, thereby causing errors in blood oxygen measurement.

[0059] In view of the above, embodiments of the present application provide a blood oxygen detection method, device, electronic device, and computer-readable storage medium.

[0060] The blood oxygen detection method may include: obtaining a PPG signal to be quality-checked; extracting time-frequency parameters of the PPG signal; detecting whether the signal quality of the PPG signal meets a preset quality standard based on the time-frequency parameters of the PPG signal; and calculating blood oxygen based on the PPG signal if the signal quality of the PPG signal meets the quality standard.

[0061] The embodiment of the present application extracts time-frequency parameters of the PPG signal. The time-frequency parameters can reflect, to a certain extent, signal abnormalities caused by physiological factors at the blood oxygen detection location (i.e., the wearing location of the blood oxygen detection device). Therefore, determining whether the PPG signal meets preset quality standards based on the time-frequency parameters is conducive to eliminating abnormal PPG signals caused by these physiological factors, thereby improving the accuracy of human blood oxygen measurement.

[0062] The blood oxygen detection method of the present application can be applied to one or more electronic devices. The electronic device is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to a processor, a microprogrammed control unit (MCU), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a digital signal processor (DSP), an embedded device, etc.

[0063] In some embodiments, the electronic device may also be configured with a photoelectric conversion device and a light emitter, such as a red light emitting diode, an infrared light emitting diode, or a green light emitting diode, but is not limited thereto.

[0064] The electronic device can be a wearable blood oxygen detection device, such as a sports bracelet, a watch, etc., or it can be other electronic devices with a blood oxygen detection function.

[0065] Figure 2 This is a flowchart of the steps of an embodiment of the blood oxygen detection method of the present application. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0066] See Figure 2 As shown, the blood oxygen detection method may include the following steps.

[0067] Step 201: Acquire a PPG signal to be quality-checked.

[0068] The PPG signal to be quality-checked is a PPG signal detected by blood oxygen detection light in a target wavelength band, which can be red light or infrared light.

[0069] That is, the PPG signal to be quality-detected may be a PPG signal detected based on red light, or may be a PPG signal detected based on infrared light.

[0070] In some embodiments, after collecting the PPG signal, the electronic device may pre-process the collected PPG signal to obtain the PPG signal to be quality-checked.

[0071] For example, step 201 may include: acquiring a normalized PPG signal after passing through a digital filter, and using the normalized PPG signal as a PPG signal to be quality-checked.

[0072] The above preprocessing method is only an example. In actual application, the baseband interference, power frequency interference, baseline drift, etc. of the collected PPG signal can also be eliminated, but it is not limited to this.

[0073] Step 202: extract the time-frequency parameters of the PPG signal.

[0074] In some embodiments, the time-frequency parameters include time domain information of the PPG signal and / or frequency domain information of the PPG signal.

[0075] Time domain information is used to describe the change relationship of PPG signals over time.

[0076] For example, refer to Figure 3 As shown, Figure 3 The curve in represents the time domain information of the PPG signal, in which the abscissa represents time and the ordinate represents the amplitude of the PPG signal.

[0077] Frequency domain information is used to describe the mapping relationship between the frequency and amplitude of the PPG signal.

[0078] For example, refer to Figure 4 As shown, Figure 4 The curve in represents the frequency domain information of the PPG signal, in which the horizontal axis represents the frequency and the vertical axis represents the amplitude of the PPG signal at the frequency.

[0079] Step 203: Based on the time-frequency parameters of the PPG signal, detect whether the signal quality of the PPG signal meets a preset quality standard.

[0080] In some embodiments, when the time-frequency parameters include time domain information of the PPG signal, step 203 may include: obtaining a rising edge time and a falling edge time of the PPG signal based on the time domain information, wherein the rising edge time is the time from a trough to the next peak of the PPG signal, for example, the rising edge time may be Figure 3 The falling edge time is the time from the peak to the next trough of the PPG signal. For example, the falling edge time can be Figure 3 Tf shown.

[0081] Then, the electronic device may detect whether the signal quality of the PPG signal meets the quality standard based on the rising edge time Tr and the falling edge time Tf.

[0082] Furthermore, in some embodiments, the electronic device may calculate a time ratio of the rising edge time to the falling edge time; if the time ratio is lower than a first preset threshold, it is determined that the signal quality of the PPG signal does not meet the quality standard.

[0083] That is, in this embodiment, the preset quality standard may include: a time ratio of a rising edge time to a falling edge time being higher than a first preset threshold.

[0084] For example, continue to refer to Figure 3 As shown, the time ratio of the rising edge time Tr to the falling edge time Tf can be recorded as Tr / Tf. When Tr / Tf is lower than a first preset threshold, it indicates that the PPG signal is abnormal, and there may be an arteriovenous shunting or blood flow obstruction at the wearing position of the electronic device. The signal quality of the PPG signal does not meet the quality standard, and the PPG signal may not be used in the blood oxygen calculation to improve the accuracy of the blood oxygen calculation.

[0085] The first preset threshold value can be set to, but is not limited to, 3.5. In actual applications, the threshold value can be configured based on actual application requirements. For example, the time ratios of the rising edge time and the falling edge time of a large number of PPG signals can be collected. The first preset threshold value can then be determined based on the distribution of the time ratios of PPG signals that meet the quality standards and the time ratios of PPG signals that do not meet the quality standards.

[0086] The above is an embodiment in which the electronic device detects whether the signal quality of the PPG signal meets a preset quality standard when the time-frequency parameters include the time domain information of the PPG signal.

[0087] The following is an embodiment of an electronic device detecting whether the signal quality of a PPG signal meets a preset quality standard when the time-frequency parameter includes frequency domain information of the PPG signal.

[0088] In some embodiments, when the time-frequency parameters include frequency domain information of the PPG signal, step 203 may include: obtaining fundamental frequency energy and second harmonic energy of the PPG signal based on the frequency domain information; and detecting whether the signal quality of the PPG signal meets the quality standard based on the fundamental frequency energy and the second harmonic energy.

[0089] Furthermore, in some embodiments, the electronic device may calculate an energy ratio of the fundamental frequency energy to the second harmonic energy; if the energy ratio is higher than a second preset threshold, it is determined that the signal quality of the PPG signal does not meet the quality standard.

[0090] That is, in this embodiment, the preset quality standard may include: an energy ratio of the fundamental frequency energy to the second harmonic energy is lower than a second preset threshold.

[0091] For example, continue to refer to Figure 4As shown, the fundamental frequency energy is recorded as A1, the second harmonic energy is recorded as A2, and the energy ratio of the fundamental frequency energy to the second harmonic energy can be recorded as A1 / A2. If A1 / A2 is higher than the second preset threshold, it means that the PPG signal is abnormal, and there may be an arteriovenous shunting or blood flow obstruction at the wearing position of the electronic device. The signal quality of the PPG signal does not meet the quality standard, and the PPG signal may not be used in the blood oxygen calculation to improve the accuracy of the blood oxygen calculation.

[0092] The second preset threshold value can be set to, but is not limited to, 4.0. In actual applications, the threshold value can be configured based on actual application requirements. For example, the energy ratios of the fundamental frequency energy and the second harmonic energy of a large number of PPG signals can be collected. The second preset threshold value can then be determined based on the distribution of the energy ratios of PPG signals that meet the quality standards and those that do not meet the quality standards.

[0093] In other embodiments, when the time-frequency parameters include time domain information and frequency domain information of the PPG signal, step 203 may include: if a time ratio of the rising edge time to the falling edge time is higher than a first preset threshold, and an energy ratio of the fundamental frequency energy to the second harmonic energy is lower than a second preset threshold, confirming that the PPG signal meets the quality standard.

[0094] That is, the preset quality standards may include the following two conditions:

[0095] (1) The time ratio of the rising edge time to the falling edge time is higher than a first preset threshold.

[0096] (2) The energy ratio of the fundamental frequency energy to the second harmonic energy is lower than a second preset threshold.

[0097] If a PPG signal does not meet at least one of the above conditions, it is confirmed that the PPG signal does not meet the preset quality standard. If a PPG signal meets both of the above conditions, it is confirmed that the PPG signal meets the preset quality standard.

[0098] For example, refer to Figure 5 and Figure 6 As shown, in Figure 5 and Figure 6 In the above, the normal PPG signal (i.e., the PPG signal that meets the preset quality standard) is recorded as normal, and the abnormal PPG signal (i.e., the PPG signal that does not meet the preset quality standard) is recorded as abnormal. Figure 5 The difference in time domain information between normal PPG signals and abnormal PPG signals is shown; Figure 6 The difference in frequency domain information between normal PPG signals and abnormal PPG signals is shown.

[0099] In this embodiment, both the time domain information and the frequency domain information of the PPG signal need to meet the quality standard before the PPG signal is confirmed to meet the preset quality standard, which can improve the accuracy of the blood oxygen calculated based on the PPG signal.

[0100] In other embodiments, the preset quality standard may include other conditions in addition to the two conditions listed above, such as whether the number of peaks and troughs of the PPG signal meets the quantity requirement, and whether the amplitude difference between two adjacent peaks meets a preset amplitude difference threshold, but is not limited to these. In actual application, it can be configured according to actual application.

[0101] In some embodiments, if the signal quality of the PPG signal does not meet the quality standard, the blood oxygen detection method may further execute step 205 .

[0102] If the signal quality of the PPG signal meets the quality standard, it means that the current wearing position of the electronic device is correct, and step 204 can be executed.

[0103] Step 204: Calculate blood oxygen based on the PPG signal.

[0104] For example, when the current wearing position of the electronic device is correct, the electronic device can confirm that the PPG signals detected based on the wearing position, such as the red light PPG signal and the infrared light PPG signal, meet the quality standards.

[0105] When the electronic device includes a red light-emitting diode and an infrared light-emitting diode, the electronic device can determine the ratio of the AC signal and the DC signal of the red light reflected back by the human tissue based on the red light PPG signal to obtain a first ratio; determine the ratio of the AC signal and the DC signal of the infrared light reflected back by the human tissue based on the infrared light PPG signal to obtain a second ratio; divide the first ratio by the second ratio to obtain a blood oxygen reference value R, and then substituted the blood oxygen reference value R into a preset blood oxygen calculation function (for example, the blood oxygen calculation function can be SpO2=A*R+B, where A and B are preset constants) to obtain blood oxygen SpO2.

[0106] The above blood oxygen calculation method is only an example. In actual application, a specific blood oxygen calculation method can be configured according to actual application requirements, and the embodiments of this application are not limited to this.

[0107] If the signal quality of the PPG signal does not meet the quality standard, the electronic device may further execute step 205 .

[0108] Step 205: Send a prompt message, which is used to instruct the user to change the blood oxygen detection site.

[0109] In some embodiments, the electronic device may provide a display interface that displays prompt information, or the electronic device may vibrate or ring to instruct the user to change the blood oxygen detection site, but is not limited thereto.

[0110] The embodiments of the present application can identify abnormalities in PPG signals caused by physiological factors such as arteriovenous shunting or blood flow obstruction, thereby improving the accuracy of blood oxygen detection even when the electronic device is worn on a measurement site such as the wrist where there are many veins on the skin surface.

[0111] refer to Figure 7 As shown, based on the same concept as the blood oxygen detection method in the above embodiment, the present application also provides a blood oxygen detection device 700, which can be used to perform the above blood oxygen detection method. For ease of explanation, the structural diagram of the device embodiment only shows the parts related to the embodiment of the present application. Those skilled in the art will understand that the illustrated structure does not constitute a limitation of the device, and it may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0112] The blood oxygen detection device 700 includes an acquisition module 701, an extraction module 702, a detection module 703, and a calculation module 704. In some embodiments, these modules may be programmable software instructions stored in a memory and executed by a processor. It is understood that in other embodiments, these modules may also be program instructions or firmware embedded in the processor.

[0113] An acquisition module 701 is used to acquire a PPG signal to be quality-checked;

[0114] An extraction module 702 is configured to extract time-frequency parameters of the PPG signal;

[0115] a detection module 703, configured to detect whether the signal quality of the PPG signal meets a preset quality standard based on the time-frequency parameters of the PPG signal;

[0116] The calculation module 704 is configured to calculate blood oxygen based on the PPG signal if the signal quality of the PPG signal meets the quality standard.

[0117] Figure 8 This is a schematic diagram of an embodiment of an electronic device of the present application.

[0118] The electronic device 100 includes a memory 20, a processor 30, and a computer program 40 stored in the memory 20 and executable on the processor 30. When the processor 30 executes the computer program 40, the steps in the above-mentioned blood oxygen detection method embodiment are implemented, for example Figure 2 Steps 201 to 205 are shown.

[0119] For example, the computer program 40 can also be divided into one or more modules / units, which are stored in the memory 20 and executed by the processor 30. The one or more modules / units can be a series of computer program instruction segments that can perform specific functions, and the instruction segments are used to describe the execution process of the computer program 40 in the electronic device 100. For example, it can be divided into Figure 7 The shown acquisition module 701, extraction module 702, detection module 703 and calculation module 704.

[0120] Those skilled in the art will understand that the schematic diagram is merely an example of the electronic device 100 and does not constitute a limitation on the electronic device 100. The electronic device 100 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 100 may also include input and output devices, network access devices, buses, etc.

[0121] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, a single-chip microcomputer, or the processor 30 may be any conventional processor, etc.

[0122] The memory 20 can be used to store computer programs 40 and / or modules / units. The processor 30 implements various functions of the electronic device 100 by running or executing the computer programs and / or modules / units stored in the memory 20 and accessing data stored in the memory 20. The memory 20 may mainly include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as a sound playback function, an image playback function, etc.); the data storage area may store data (such as audio data) generated based on the use of the electronic device 100. In addition, the memory 20 may include high-speed random access memory and non-volatile memory, such as a hard disk, internal memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device.

[0123] If the modules / units integrated in the electronic device 100 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0124] In the several embodiments provided in this application, it should be understood that the disclosed electronic devices and methods can be implemented in other ways. For example, the electronic device embodiments described above are merely illustrative. For example, the division of the units described is merely a logical function division, and other division methods may be used in actual implementation.

[0125] In addition, the functional units in the various embodiments of the present application may be integrated into the same processing unit, or each unit may exist physically separately, or two or more units may be integrated into the same unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0126] It is obvious to those skilled in the art that the present application is not limited to the details of the above-mentioned exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic characteristics of the present application. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The multiple units or electronic devices stated in the electronic device claim can also be implemented by the same unit or electronic device through software or hardware. Words such as first and second are used to indicate names and do not indicate any particular order.

[0127] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application and are not limiting. Although the present application has been described in detail with reference to the above embodiments, ordinary technicians in this field should understand that the technical solution of the present application can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present application.

Claims

1. A blood oxygen detection method, characterized in that: include: Obtaining a PPG signal to be quality tested; Extracting time-frequency parameters of the PPG signal; detecting, based on the time-frequency parameters of the PPG signal, whether the signal quality of the PPG signal meets a preset quality standard; If the signal quality of the PPG signal meets the quality standard, blood oxygen is calculated based on the PPG signal.

2. The blood oxygen detection method according to claim 1, wherein: The time-frequency parameters include time domain information of the PPG signal and / or frequency domain information of the PPG signal.

3. The blood oxygen detection method according to claim 2, wherein: The detecting, based on the time-frequency parameters of the PPG signal, whether the signal quality of the PPG signal meets a preset quality standard includes: In a case where the time-frequency parameters include time domain information of the PPG signal, acquiring a rising edge time and a falling edge time of the PPG signal based on the time domain information; The rising edge time is the time from the trough to the next peak of the PPG signal; the falling edge time is the time from the peak to the next trough of the PPG signal; Based on the rising edge time and the falling edge time, detecting whether the signal quality of the PPG signal meets the quality standard.

4. The blood oxygen detection method according to claim 3, wherein: The detecting, based on the rising edge time and the falling edge time, whether the signal quality of the PPG signal meets the quality standard includes: Calculate the time ratio of the rising edge time to the falling edge time; If the time ratio is lower than a first preset threshold, it is determined that the signal quality of the PPG signal does not meet the quality standard.

5. The blood oxygen detection method according to claim 2, wherein: The detecting, based on the time-frequency parameters of the PPG signal, whether the signal quality of the PPG signal meets a preset quality standard includes: In a case where the time-frequency parameter includes frequency domain information of the PPG signal, acquiring fundamental frequency energy of the PPG signal and second harmonic energy of the PPG signal based on the frequency domain information; Based on the fundamental frequency energy and the second harmonic energy, detecting whether the signal quality of the PPG signal meets the quality standard.

6. The blood oxygen detection method according to claim 5, wherein: The detecting, based on the fundamental frequency energy and the second harmonic energy, whether the signal quality of the PPG signal meets the quality standard includes: Calculating an energy ratio of the fundamental frequency energy to the second harmonic energy; If the energy ratio is higher than a second preset threshold, it is determined that the signal quality of the PPG signal does not meet the quality standard.

7. The blood oxygen detection method according to any one of claims 1 to 6, wherein: After detecting whether the signal quality of the PPG signal meets a preset quality standard based on the time-frequency parameters of the PPG signal, the method further includes: If the signal quality of the PPG signal does not meet the quality standard, a prompt message is issued; The prompt information is used to instruct the user to change the blood oxygen detection site.

8. A blood oxygen detection device, characterized in that: include: An acquisition module, used to acquire the PPG signal to be quality tested; An extraction module, configured to extract time-frequency parameters of the PPG signal; a detection module, configured to detect whether the signal quality of the PPG signal meets a preset quality standard based on the time-frequency parameters of the PPG signal; A calculation module is configured to calculate blood oxygen based on the PPG signal if the signal quality of the PPG signal meets the quality standard.

9. An electronic device comprising a processor and a memory, characterized in that: The memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device executes the blood oxygen detection method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the blood oxygen detection method according to any one of claims 1 to 7.