WO2021190377A1 - Ppg signal obtaining method and apparatus, terminal device, and storage medium - Google Patents

Ppg signal obtaining method and apparatus, terminal device, and storage medium Download PDF

Info

Publication number
WO2021190377A1
WO2021190377A1 PCT/CN2021/081307 CN2021081307W WO2021190377A1 WO 2021190377 A1 WO2021190377 A1 WO 2021190377A1 CN 2021081307 W CN2021081307 W CN 2021081307W WO 2021190377 A1 WO2021190377 A1 WO 2021190377A1
Authority
WO
WIPO (PCT)
Prior art keywords
ppg signal
wearable device
signal
pressure value
ppg
Prior art date
Application number
PCT/CN2021/081307
Other languages
French (fr)
Chinese (zh)
Inventor
熊浩
李靖
李玥
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021190377A1 publication Critical patent/WO2021190377A1/en

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/0205Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/0002Remote monitoring of patients using telemetry, e.g. transmission of vital signals via a communication network
    • A61B5/0004Remote monitoring of patients using telemetry, e.g. transmission of vital signals via a communication network characterised by the type of physiological signal transmitted
    • 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/02416Detecting, measuring or recording pulse rate or heart rate using photoplethysmograph signals, e.g. generated by infrared radiation
    • 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/02416Detecting, measuring or recording pulse rate or heart rate using photoplethysmograph signals, e.g. generated by infrared radiation
    • A61B5/02427Details of sensor
    • A61B5/02433Details of sensor for infrared radiation
    • 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/02438Detecting, measuring or recording pulse rate or heart rate with portable devices, e.g. worn by the patient
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
    • A61B5/14542Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue for measuring blood gases
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
    • A61B5/1455Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue using optical sensors, e.g. spectral photometrical oximeters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
    • A61B5/1455Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue using optical sensors, e.g. spectral photometrical oximeters
    • A61B5/14551Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue using optical sensors, e.g. spectral photometrical oximeters for measuring blood gases
    • 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
    • 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
    • A61B5/681Wristwatch-type devices
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis

Definitions

  • This application belongs to the technical field of medical detection, and in particular relates to a method, a device, a terminal device, and a storage medium for obtaining PPG signals.
  • the oxygen required in the process of human metabolism enters the human blood mainly through the respiratory system, combines with the deoxyhemoglobin of the red blood cells in the blood to obtain oxygenated hemoglobin, and then transports it to the tissue cells of various parts of the human body.
  • An important indicator of blood oxygen detection is blood oxygen saturation, which refers to the percentage of the volume of oxygenated hemoglobin in the blood that is bound by oxygen to the total volume of hemoglobin that can be bound, that is, the concentration of blood oxygen in the blood.
  • blood oxygen detection usually adopts dual-wavelength spectroscopy, which mainly includes: irradiating red light and infrared light into human tissues; using photoelectric sensors to receive red light and infrared light through human tissues to produce red light photoplethysmography (PhotoPlethysmoGraph , PPG) signal and infrared PPG signal; decompose the red light PPG signal and infrared PPG signal into the corresponding DC signal and AC signal; finally, use the characteristics of the obtained DC signal and AC signal to substitute into the set blood oxygen concentration calculation
  • the formula can calculate the blood oxygen concentration.
  • the accuracy of the above blood oxygen detection method is very dependent on the quality of the obtained PPG signal, that is, it is required to obtain a stable and reliable PPG signal.
  • a blood oxygen detection device such as a wristband with blood oxygen detection function or a wearable device such as a watch
  • the obtained PPG signal will be unstable, which will lead to the blood oxygen detection.
  • the accuracy drops.
  • the embodiments of the present application provide a method, a device, a terminal device, and a storage medium for acquiring a PPG signal, which can improve the quality of PPG signal acquisition, thereby improving the accuracy of blood oxygen detection.
  • an embodiment of the present application provides a method for acquiring a PPG signal, including:
  • the acquired PPG signal does not meet the preset condition, adjust the pressure value between the wearable device and the designated part, and reacquire the PPG signal collected by the wearable device after the pressure value is adjusted, Until the acquired PPG signal meets the preset condition.
  • the embodiment of the application After acquiring the PPG signal, the embodiment of the application will determine whether the PPG signal meets the preset conditions. If it meets the preset conditions, it indicates that the PPG signal is relatively stable and reliable and meets the signal quality requirements for blood oxygen detection. At this time, the PPG signal can be output. Perform the subsequent blood oxygen detection process; if it does not meet the requirements, it indicates that the signal quality of the PPG signal does not meet the requirements. At this time, by adjusting the pressure value between the wearable device (blood oxygen detection device) and the body wearing part, the wearable can be made The device is steadily worn on the human body, thereby effectively improving the quality of the PPG signal obtained, thereby improving the accuracy of blood oxygen detection.
  • the wearable device blood oxygen detection device
  • the wearable device before acquiring the photoplethysmography PPG signal collected by the wearable device, it may further include:
  • the pressure value between the wearable device and the designated part is adjusted to the target pressure value.
  • the wearable device Before acquiring the PPG signal, first determine the user account currently logged in to the wearable device, find the target pressure value associated with the user account, and adjust the pressure value between the wearable device and the designated part to the target pressure value. Through this setting, the pressure value worn by the wearable device can be adjusted to a more reasonable value in advance, thereby increasing the probability of obtaining high-quality PPG signals, and reducing multiple and repetitive pressures caused by unqualified PPG signal quality in subsequent operations Adjustment process.
  • the wearable device may also include:
  • the acquired PPG signal meets the preset condition, that is, the PPG signal is relatively stable and reliable, and meets the signal quality requirements of the blood oxygen test.
  • the current wearable device and the wearable device can be detected and recorded.
  • the pressure value between the designated parts is then associated with the recorded pressure value and the user account and stored in the pressure reference value database.
  • whether the acquired PPG signal meets the preset condition can be determined by the following steps:
  • the standard signal is a PPG signal that is associated with the user and whose signal characteristics meet a preset requirement
  • the matching degree is less than the preset threshold, it is determined that the PPG signal does not meet the preset condition.
  • the PPG information obtained from the blood oxygen test can be stored.
  • As a standard PPG signal associated with this user A he can match the currently detected PPG signal with the pre-stored standard PPG signal. If the matching degree exceeds a certain preset threshold (for example, 90%), the currently detected PPG signal is considered The quality of the PPG signal meets the requirements, that is, meets the preset conditions.
  • whether the acquired PPG signal meets the preset condition can be determined by the following steps:
  • the PPG signal meets the preset condition.
  • a target signal of a preset length can be intercepted from the PPG signal, for example, a signal segment of 20 seconds can be intercepted. Then, each wave peak and wave trough of the target signal is detected, and according to the characteristics of the wave peak and wave trough, it is determined whether the PPG signal meets the preset condition. For example, whether the number of crests and troughs meet the requirements, and whether the peak characteristics of crests and troughs are obvious.
  • the determining whether the PPG signal meets the preset condition according to the characteristics of the peaks and the characteristics of the valleys may include:
  • the number of wave crests is less than a preset threshold, or the number of wave troughs is less than a preset threshold, it is determined that the PPG signal does not meet the preset condition
  • the variance of the amplitude of each wave crest exceeds a preset threshold, or the variance of the peak width of each wave crest exceeds the preset threshold, or the variance of the peak distance between each wave crest and adjacent wave crests exceeds the preset threshold, It is determined that the PPG signal does not meet the preset condition.
  • a high-quality PPG signal should have obvious periodic pulse wave signal characteristics, that is, the signal should have a certain number of peaks and valleys; moreover, the amplitude of each pulse wave should be approximately the same ; In addition, the amplitude, peak width (peak width) of each pulse wave and the peak distance (peak distance) between adjacent peaks should be approximately the same, that is, the variance of the amplitude of each peak, the peak of each peak The wide variance and the variance of the peak distance between each peak and adjacent peaks are small. Therefore, these signal characteristics can be used to determine whether the acquired PPG signal meets the preset quality conditions.
  • the wearable device before acquiring the photoplethysmography PPG signal collected by the wearable device, it may further include:
  • the pressure value between the wearable device and the specified part of the user's body Before acquiring the PPG signal, detect the pressure value between the wearable device and the specified part of the user's body. If the pressure value between the wearable device and the specified part does not fall within the preset pressure range interval, adjust the pressure value. The tightness of the wearable device worn on the designated part until the pressure value between the wearable device and the designated part falls within the pressure range interval. Through this setting, the pressure value worn by the wearable device can be adjusted to a more reasonable value in advance, thereby increasing the probability of obtaining high-quality PPG signals, and reducing multiple and repetitive pressures caused by unqualified PPG signal quality in subsequent operations Adjustment process.
  • an apparatus for acquiring a PPG signal including:
  • a signal acquisition module for acquiring photoplethysmography PPG signals collected by a wearable device, wherein the wearable device is worn on a designated part of the user's body;
  • the pressure adjustment module is configured to adjust the pressure value between the wearable device and the designated part if the acquired PPG signal does not meet the preset condition, and obtain the wearable again after the pressure value is adjusted The PPG signal collected by the device until the acquired PPG signal meets the preset condition.
  • an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and running on the processor.
  • the processor executes the computer program, The method for acquiring the PPG signal as proposed in the first aspect of the embodiments of the present application is implemented.
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements what is proposed in the first aspect of the embodiment of the present application. Method of obtaining PPG signal.
  • the embodiments of the present application provide a computer program product, which when the computer program product runs on a terminal device, causes the terminal device to execute the method for acquiring a PPG signal as described in any one of the above-mentioned first aspects.
  • the embodiment of the present application has the beneficial effects that the quality of PPG signal acquisition can be improved, thereby improving the accuracy of blood oxygen detection, and the implementation is convenient and has strong practicability.
  • FIG. 1 is a schematic diagram of the hardware structure of a wearable device to which the method for acquiring a PPG signal provided by an embodiment of the present application is applicable;
  • FIG. 2 is a flowchart of a method for acquiring a PPG signal provided by an embodiment of the present application
  • FIG. 3 is a flowchart of another method for obtaining a PPG signal according to an embodiment of the present application
  • FIG. 4 is a flowchart of another method for acquiring a PPG signal according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a system in which the method for acquiring PPG signals proposed in an embodiment of the present application is applied in an actual scenario
  • Fig. 6 is a schematic flow chart of the working principle of the system shown in Fig. 5;
  • Fig. 7 is another schematic flow chart of the working principle of the system shown in Fig. 5;
  • FIG. 8 is a schematic diagram of PPG signals obtained when the wearable device is worn on the user's wrist too tightly, too loosely, and appropriately;
  • FIG. 9 is a structural diagram of a device for acquiring a PPG signal provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a terminal device provided by an embodiment of the present application.
  • the method for obtaining PPG signals can be applied to mobile phones, tablet computers, wearable devices, in-vehicle devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, and super mobiles.
  • terminal devices or servers such as ultra-mobile personal computers (UMPC), netbooks, and personal digital assistants (PDAs), the embodiments of this application do not impose any restrictions on the specific types of terminal devices and servers.
  • UMPC ultra-mobile personal computers
  • PDAs personal digital assistants
  • the terminal device may be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, Personal Digital Assistant (PDA) devices, handheld devices with wireless communication functions, computing devices or other processing devices connected to wireless modems, in-vehicle devices, car networking terminals, computers, laptop computers, handheld communication devices , Handheld computing equipment, satellite wireless equipment, wireless modem cards, TV set top boxes (STB), customer premise equipment (customer premise equipment, CPE), and/or other equipment used to communicate on wireless devices and download
  • a first-generation communication device for example, a mobile terminal in a 5G network or a mobile terminal in a public land mobile network (PLMN) network that will evolve in the future.
  • PLMN public land mobile network
  • the wearable device when the terminal device is a wearable device, can also be a general term for applying wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, Watches, bracelets, clothing and shoes, etc.
  • a wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a kind of hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction.
  • wearable smart devices include full-featured, large-sized, complete or partial functions that can be implemented without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, and need to be used in conjunction with other devices such as smart phones. , Such as all kinds of smart bracelets and smart jewelry for physical sign monitoring.
  • FIG. 1 shows a block diagram of a part of the structure of a wearable device provided by an embodiment of the present application.
  • the wearable device includes: a radio frequency (RF) circuit 101, a memory 102, an input unit 103, a display unit 104, a pressure sensor 105, an audio circuit 106, and a wireless fidelity (WiFi) module 107 , Processor 108, power supply 109, light source 110 and photodetector 111 and other components.
  • RF radio frequency
  • Memory 102 includes: a radio frequency (RF) circuit 101, a memory 102, an input unit 103, a display unit 104, a pressure sensor 105, an audio circuit 106, and a wireless fidelity (WiFi) module 107 , Processor 108, power supply 109, light source 110 and photodetector 111 and other components.
  • WiFi wireless fidelity
  • the RF circuit 101 can be used for receiving and sending signals during the process of sending and receiving information or talking. In particular, after receiving the downlink information of the base station, it is processed by the processor 108; in addition, the designed uplink data is sent to the base station.
  • the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
  • the RF circuit 101 can also communicate with the network and other devices through wireless communication.
  • the above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), Email, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile Communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • Email Short Messaging Service
  • the memory 102 may be used to store software programs and modules.
  • the processor 108 executes various functional applications and data processing of the wearable device by running the software programs and modules stored in the memory 102.
  • the memory 102 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating device, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of wearable devices (such as audio data, phone book, etc.), etc.
  • the memory 102 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the input unit 103 can be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the wearable device.
  • the input unit 103 may include a touch panel 1031 and other input devices 1032.
  • the touch panel 1031 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1031 or near the touch panel 1031. Operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 1031 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 108, and can receive commands sent by the processor 108 and execute them.
  • the touch panel 1031 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the input unit 103 may also include other input devices 1032.
  • the other input device 1032 may include, but is not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick.
  • the display unit 104 may be used to display information input by the user or information provided to the user and various menus of the wearable device.
  • the display unit 104 may include a display panel 1041.
  • the display panel 1041 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • the touch panel 1031 can cover the display panel 1041. When the touch panel 1031 detects a touch operation on or near it, it transmits it to the processor 108 to determine the type of the touch event, and then the processor 108 responds to the touch event. The type provides corresponding visual output on the display panel 1041.
  • the touch panel 1031 and the display panel 1041 are used as two independent components to realize the input and input functions of the wearable device, but in some embodiments, the touch panel 1031 and the display panel 1041 can be combined. Integrate to realize the input and output functions of wearable devices.
  • the wearable device also includes at least one pressure sensor 105, which can be used to detect the pressure of the wearable device worn on the human body.
  • the light sensor may include an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor can close the display panel 1041 when the wearable device is moved to the ear. And/or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that recognize the posture of wearable devices (such as horizontal and vertical screen switching) , Related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; as for wearable devices, gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors can also be configured, I won't repeat them here.
  • the audio circuit 106, the speaker 1061, and the microphone 1062 can provide an audio interface between the user and the wearable device.
  • the audio circuit 106 can transmit the electric signal after the conversion of the received audio data to the speaker 1061, which is converted into a sound signal by the speaker 1061 for output; on the other hand, the microphone 1062 converts the collected sound signal into an electric signal, and the audio circuit 106 After being received, it is converted into audio data, and then processed by the audio data output processor 108, and then sent to, for example, another wearable device through the RF circuit 101, or the audio data is output to the memory 102 for further processing.
  • WiFi is a short-range wireless transmission technology. Wearable devices can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 107. It provides users with wireless broadband Internet access.
  • FIG. 1 shows the WiFi module 107, it is understandable that it is not a necessary component of a wearable device, and can be omitted as needed without changing the essence of the invention.
  • the processor 108 is the control center of the wearable device. It uses various interfaces and lines to connect the various parts of the entire wearable device, runs or executes the software programs and/or modules stored in the memory 102, and calls and stores them in the memory 102. Perform various functions of the wearable device and process the data, so as to monitor the wearable device as a whole.
  • the processor 108 may include one or more processing units; preferably, the processor 108 may integrate an application processor and a modem processor, where the application processor mainly processes operating devices, user interfaces, application programs, etc. , The modem processor mainly deals with wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 108.
  • the wearable device also includes a power supply 109 (such as a battery) for supplying power to various components.
  • a power supply 109 such as a battery
  • the power supply can be logically connected to the processor 108 through a power management device, so that functions such as charging, discharging, and power consumption management can be managed by the power management device. .
  • the wearable device also includes a light source 110.
  • the light source 110 may include an infrared light source and a red light source, which can respectively emit infrared light and red light.
  • the infrared light and red light can pass through the user's wrist and other parts to generate corresponding PPG signals.
  • the wearable device also includes a photodetector 111, which is used to collect the red light PPG signal and the infrared PPG signal generated after the red light or infrared light passes through the user's wrist and other parts.
  • the wearable device also includes a wearing component for wearing the wearable device on the user.
  • the wearing component may be a watchband, a buckle, or the like.
  • the wearing part also includes a pressure adjusting device, which can adjust the pressure of the wearable device worn on a designated part of the user's body.
  • Fig. 2 shows a flow chart of a method for acquiring a PPG signal provided by an embodiment of the present application, including:
  • the execution subject of the embodiment of the present application may be a wearable device with a blood oxygen detection function, such as a smart watch, a smart bracelet, and so on.
  • the wearable device may include functional modules such as a pressure detection module, a PPG signal detection module, a pressure adjustment module, and a signal quality evaluation module.
  • the PPG signal detection module may include components such as a red light source, an infrared light source, and a photoelectric sensor.
  • the wearable device wears the wearable device on a designated part of the user's body, such as the wrist, neck, and other parts that can detect the user's heart rate; then, collect the photoplethysmography signal (PPG signal) through the PPG signal detection module, specifically to control the light source
  • PPG signal photoplethysmography signal
  • the emitted light infrared, red light, etc.
  • the PPG signal is collected by the photoelectric sensor.
  • the preset conditions are the PPG signal quality conditions preset to meet the accuracy requirements of blood oxygen detection, such as whether the number of peaks and troughs of the PPG signal meet the requirements, and whether the characteristics of each peak and trough are obvious.
  • a signal quality evaluation module can be used to evaluate the PPG signal, by detecting the peak amplitude, period, peak distance, and peak number of the PPG signal, and then judging whether the PPG signal meets the signal quality requirements based on these characteristics.
  • the PPG information obtained from the blood oxygen test can be stored.
  • As a standard PPG signal associated with this user A he can match the currently detected PPG signal with the pre-stored standard PPG signal. If the matching degree exceeds a certain preset threshold (for example, 90%), the currently detected PPG signal is considered The quality of the PPG signal meets the requirements, that is, meets the preset conditions.
  • a target signal of a preset length can be intercepted from the PPG signal, for example, a signal segment of 20 seconds can be intercepted. Then, each wave peak and wave trough of the target signal is detected, and according to the characteristics of the wave peak and wave trough, it is determined whether the PPG signal meets the preset condition. For example, whether the number of crests and troughs meet the requirements, and whether the peak characteristics of crests and troughs are obvious.
  • the determining whether the PPG signal meets the preset condition according to the characteristics of the peak and the characteristics of the valley may include the following multiple methods:
  • a high-quality PPG signal should have obvious periodic pulse wave signal characteristics, that is, the signal should have a certain number of peaks and troughs. Therefore, the quality of the PPG signal can be determined by counting the number of crests and troughs to determine whether the quality of the PPG signal meets the requirements: if the number of crests or troughs is too small, it is determined that the PPG signal does not meet the preset conditions; if the number of crests or troughs If enough, it is determined that the PPG signal meets the preset condition.
  • a high-quality PPG signal should have approximately the same amplitude of each pulse wave. Therefore, it is possible to determine whether the quality of the PPG signal meets the requirements by calculating the amplitude difference between any two adjacent peaks in the target signal: if the amplitude difference exceeds the set threshold, it is determined that the PPG signal does not meet the requirements. A preset condition; if the amplitude difference does not exceed a set threshold, it is determined that the PPG signal meets the preset condition. It should be understood that there can be multiple amplitude differences here. For example, for peak A, peak B, and peak C, the amplitude difference includes the amplitude difference between A and B, and the amplitude difference between B and C. When determining , All amplitude differences can be used, or a certain number of amplitude differences can be selected from them.
  • the amplitude, peak width (peak width) of each pulse wave and the peak distance (peak distance) between adjacent peaks should be approximately the same, that is, the variance of the amplitude of each peak, each
  • the variance of the peak width of the wave crest and the variance of the peak distance between each wave crest and adjacent wave crests are both small.
  • the quality of the PPG signal meets the requirements by calculating the variance of the amplitude of each peak in the target signal, the variance of the peak width of each peak, and the variance of the peak distance between each peak and adjacent peaks: If none of these variances exceeds the set threshold, it is determined that the PPG signal meets the preset condition; if more than one of these variances exceeds the set threshold, it is determined that the PPG signal does not meet the preset condition.
  • step 204 is executed; if the acquired PPG signal does not meet the preset condition, step 203 is executed.
  • the acquired PPG signal does not meet the preset condition, which indicates that the quality of the PPG signal is low.
  • the PPG signal cannot be directly used to complete blood oxygen detection.
  • the reason for this problem is probably due to the improper tightness of the wearable device worn by the user. For example, wearing too tightly (excessive pressure) will compress the arm, causing abnormal blood perfusion, causing local blood flow to decrease, and then leading to The PPG signal is abnormal; wearing too loose (the pressure value is too small) will cause the detected PPG signal to be very weak and the signal characteristic is not obvious. Therefore, the quality of the obtained PPG signal can be adjusted and improved by adjusting the pressure value between the wearable device and the designated part.
  • the specific operation method may be to adjust the pressure value between the wearable device and the designated part to a certain suitable pressure range interval, and the pressure range interval may be preset according to an empirical value.
  • the pressure value is adjusted, return to step 201, that is, reacquire the PPG signal obtained under the current pressure condition, and then evaluate the quality of the reacquired PPG signal. If the quality meets the requirements, proceed to step 204, if the quality is still not If the requirements are met, the pressure value between the wearable device and the designated part is adjusted again, and so on, until a high-quality PPG signal that meets the requirements is obtained.
  • the acquired PPG signal meets the preset conditions, indicating that the PPG signal is relatively stable and reliable, and meets the signal quality requirements for blood oxygen detection. At this time, the PPG signal can be output to execute the subsequent blood oxygen detection process.
  • the embodiment of the application After acquiring the PPG signal, the embodiment of the application will determine whether the PPG signal meets the preset conditions. If it meets the preset conditions, it indicates that the PPG signal is relatively stable and reliable and meets the signal quality requirements for blood oxygen detection. At this time, the PPG signal can be output. Perform the subsequent blood oxygen detection process; if it does not meet the requirements, it indicates that the signal quality of the PPG signal does not meet the requirements. At this time, by adjusting the pressure value between the wearable device (blood oxygen detection device) and the body wearing part, the wearable can be made The device is steadily worn on the human body, thereby effectively improving the quality of the PPG signal obtained, thereby improving the accuracy of blood oxygen detection.
  • the wearable device blood oxygen detection device
  • Fig. 3 shows a flowchart of another method for obtaining PPG signals provided by the present application, including:
  • the user can log in to his user account in the wearable device, and wear the wearable device on a designated part of his body, such as a wrist, neck, and other parts that can detect the user's heart rate.
  • the wearable device Before the wearable device obtains the PPG signal, it will first determine the user account currently logged in to find the user’s historical blood oxygen test record. Through the historical blood oxygen test record, a relatively reasonable initial pressure recommendation value for the user can be obtained. That is, a suitable pressure value for the wearable device to be worn on the user.
  • the target pressure value associated with the user account is searched. If the user account has performed a blood oxygen test before, you can record the pressure value of the user wearing a wearable device in a previous effective blood oxygen test as the target pressure value, which is associated with the user account and stored in a certain pressure Reference value database. During the current blood oxygen test, the wearable device can find from the database whether there is a target pressure value associated with the currently logged-in user account.
  • step 304 It is judged whether the target pressure value associated with the user account can be found. If the target pressure value is found, step 304 is executed. If the target pressure value is not found, step 305 can be directly executed, or the user account can be adjusted. The pressure value between the wearable device and the designated part is close to a default recommended pressure value, and then step 305 is executed.
  • the target pressure value After finding the target pressure value, adjust the pressure value between the wearable device and the designated part to the target pressure value, and then obtain the corresponding PPG signal on this basis. It should be understood that it is also possible to use the target pressure value as the center of the range interval to construct a floating pressure range interval, and adjust the pressure value between the wearable device and the designated part to fall within the pressure range interval. . In addition, if the target pressure value is not found, a preset default pressure value can also be used as the center of the pressure range interval.
  • step 308 is executed; if the preset condition is not met, step 307 is executed.
  • steps 305-308 please refer to the relevant descriptions of steps 201-204 in the previous embodiment.
  • step 308 it may also include:
  • the current wearable device and the wearable device can be detected and recorded.
  • the pressure value between the designated parts is then associated with the recorded pressure value and the user account and stored in the pressure reference value database.
  • the target pressure value can be updated with the currently detected and recorded pressure value.
  • the currently detected and recorded pressure value can be used as the associated target pressure value.
  • this embodiment of the application will determine the user account currently logged in to the wearable device, find the target pressure value associated with the user account, and adjust the pressure value between the wearable device and the designated part to the target Pressure value. Through this setting, the pressure value worn by the wearable device can be adjusted to a more reasonable value in advance, thereby increasing the probability of obtaining high-quality PPG signals, and reducing multiple and repetitive pressures caused by unqualified PPG signal quality in subsequent operations Adjustment process.
  • Fig. 4 shows a flowchart of another method for obtaining PPG signals provided by the present application, including:
  • the pressure value between the wearable device and a designated part of the user's body is detected.
  • the pressure value between the watch, bracelet and the user's wrist is detected.
  • the wearable device can be adjusted to be worn on the designated part Until the pressure value between the wearable device and the designated part falls within the pressure range interval. It should be noted that, in the embodiments of the present application, the specific form of pressure adjustment is not limited, and only two examples are listed below.
  • Example 1 The wearing part of the wearable device is a watchband, and the length of the watchband is stretched and contracted under the drive of a motor.
  • the adjusting the tightness of the wearable device at the designated position includes:
  • the length of the watchband is controlled to expand and contract, so as to adjust the tightness of the wearable device at the designated position.
  • a control command can be sent to the motor to control the motor to rotate, and drive the length of the wearing part of the watchband to shrink, increase the wearing tightness, thereby increasing the wearing pressure.
  • a control command can be sent to the motor to control the motor to rotate in the opposite direction to drive the length of the wearing part of the watchband to extend, reduce the wearing tightness, and thereby reduce the wearing pressure.
  • Example 2 The wearing part of the wearable device is a hollow watchband, and an airbag is installed inside the watchband.
  • the airbag is inflated and deflated under the action of an air pump.
  • the tightness at the specified position can include:
  • a control command can be sent to the air pump, and the air pump can be controlled to inflate the airbag to expand the strap, thereby increasing the wearing pressure.
  • a control command can be sent to the air pump, and the air pump can be controlled to deflate the airbag to contract the watchband, thereby reducing the wearing pressure.
  • step 406 is executed; if the PPG signal does not meet the preset condition, step 405 is executed.
  • steps 403-406, please refer to the relevant descriptions of steps 201-204.
  • the embodiment of this application detects the pressure value between the wearable device and the designated part of the user's body before acquiring the PPG signal, if the pressure value between the wearable device and the designated part does not fall within the preset pressure range interval , Adjust the tightness of the wearable device worn on the designated part until the pressure value between the wearable device and the designated part falls within the pressure range interval.
  • the pressure value worn by the wearable device can be adjusted to a more reasonable value in advance, thereby increasing the probability of obtaining high-quality PPG signals, and reducing multiple and repetitive pressures caused by unqualified PPG signal quality in subsequent operations Adjustment process.
  • Fig. 5 is a schematic diagram of a system applied in an actual scenario of the method for acquiring a PPG signal proposed in an embodiment of the present application.
  • the wearable device for blood oxygen detection includes four functions: pressure detection module, PPG detection module (including red light source, infrared light source, photodetector, etc.), pressure adjustment module, and signal quality evaluation module.
  • the pressure detection module is used to detect the pressure of the wearable device on the user's wrist and other parts in real time, using a pressure sensor;
  • the PPG detection module is used to detect and collect the PPG signal generated by the red and infrared light passing through the wrist; signal quality
  • the evaluation module is used to evaluate whether the quality of the currently collected PPG signal meets the requirements. If it does not meet the requirements, the pressure adjustment module is used to adjust the pressure of the wearable device on the wrist and other parts.
  • the signal quality evaluation module continues to evaluate the quality of the re-acquired PPG signal, and repeats this until the PPG signal with the signal quality meeting the requirements is obtained for subsequent blood oxygen calculation.
  • the pressure adjustment method for the pressure adjustment module is optional, such as adopting an overall inflatable and deflating watchband, a partially inflatable and deflating watchband, and a stretchable length watchband, and so on.
  • Figure 6 is a schematic flow chart of the working principle of the system shown in Figure 5.
  • the pressure on the user's wrist and other designated parts is detected to determine whether the pressure is at a preset level If not, start the pressure adjustment module to adjust the pressure of the wearable device on the wrist and other parts until the pressure is within the pressure range; wait until the pressure is continuously and stably in the pressure range
  • start the PPG signal quality evaluation module to obtain the PPG signal collected under the current pressure condition for evaluation, and judge whether the PPG signal meets the quality conditions; if it meets the quality conditions, the PPG signal can be used to calculate the blood oxygen value, and finally the blood
  • the result of the oxygen test if the quality conditions are not met, continue to start the pressure adjustment module, adjust the pressure of the wearable device on the wrist and other parts, and then re-acquire the PPG signal collected after the pressure adjustment for evaluation, and repeat until Obtain the PPG signal that meets the quality conditions.
  • Figure 7 is another flow diagram of the working principle of the system shown in Figure 5.
  • the user wears the wearable device, he starts the blood oxygen detection process, and searches the user's historical blood oxygen detection process from the pre-built pressure reference database The best detected pressure value (ie target pressure value). If the target pressure value exists in the database, the target pressure value is extracted as the central threshold of the pressure range interval; if the target pressure value does not exist in the database, it is used The default pressure value of the system is used as the central threshold of the pressure range interval.
  • the subsequent processing flow is basically the same as that shown in Figure 6, with the only difference being that when the PPG signal that meets the quality conditions is collected After that, the pressure of the current wearable device worn on the wrist and other parts will be detected and recorded in the pressure reference database as the new target pressure value bound to the user. In this way, after the user uses the wearable device for a period of time, it can automatically call and adjust to the best measured pressure value that matches the user according to the user's historical pressure adjustment value, so as to accurately match the user's individual characteristics and usage habits. , Intelligent blood oxygen measurement.
  • FIG. 8 is a schematic diagram of PPG signals obtained when the wearable device is worn on the user's wrist too tightly, too loosely, and appropriately.
  • the abscissas of each PPG signal image and real-time pressure image are all time.
  • the upper left of Figure 8 is the PPG signal image obtained when wearing too tightly, and the upper right is the real-time pressure image detected when wearing too tightly. It can be seen that the detected real-time pressure is significantly higher than the recommended standard pressure. As a result, the acquired PPG signal is relatively sharp, which is an abnormal condition.
  • the bottom left of Figure 8 shows the PPG signal image and the detected real-time pressure image obtained when wearing too loosely.
  • the detected real-time pressure is significantly lower than the recommended standard pressure, resulting in a very weak PPG signal. , This is also an abnormal situation.
  • the pressure of the user wearing the wearable device can be adjusted to near the appropriate standard pressure, and the finally obtained PPG signal image and the detected real-time pressure image are shown in the lower right of Figure 8. You can see The detected real-time pressure is close to the standard pressure, and the acquired PPG signal has obvious characteristics and the quality meets the requirements.
  • FIG. 9 shows a structural block diagram of the apparatus for obtaining PPG signals provided by an embodiment of the present application. For ease of description, only the information related to the embodiment of the present application is shown part.
  • the device includes:
  • the signal acquisition module 501 is configured to acquire a photoplethysmography PPG signal collected by a wearable device, where the wearable device is worn on a designated part of the user's body;
  • the pressure adjustment module 502 is configured to adjust the pressure value between the wearable device and the designated part if the acquired PPG signal does not meet the preset condition, and re-acquire the pressure value after the pressure value is adjusted.
  • the PPG signal collected by the wearable device until the acquired PPG signal meets the preset condition.
  • the apparatus for acquiring the PPG signal may further include:
  • the user account determination module is used to determine the user account currently logged in to the wearable device
  • the target pressure value search module is used to search for the target pressure value associated with the user account
  • the pressure adjustment module is configured to adjust the pressure value between the wearable device and the designated part to the target pressure value if the target pressure value is found.
  • the apparatus for acquiring the PPG signal may further include:
  • a pressure value recording module configured to detect and record the current pressure value between the wearable device and the designated part if the acquired PPG signal meets the preset condition
  • the pressure value association module is used for associating the recorded pressure value with the user account.
  • the apparatus for acquiring the PPG signal may further include:
  • a signal matching module configured to match the PPG signal with a pre-stored standard signal to obtain a matching degree, where the standard signal is a PPG signal that is associated with the user and whose signal characteristics meet a preset requirement;
  • a first signal evaluation module configured to determine that the PPG signal meets the preset condition if the matching degree is greater than or equal to a preset threshold
  • the second signal evaluation module is configured to determine that the PPG signal does not meet the preset condition if the matching degree is less than the preset threshold.
  • the apparatus for acquiring the PPG signal may further include:
  • a signal interception module for intercepting a target signal of a preset length from the PPG signal
  • a signal feature detection module for detecting the peaks and troughs of the target signal
  • the third signal evaluation module is configured to determine whether the PPG signal meets the preset condition according to the characteristics of the wave crests and the characteristics of the wave troughs.
  • the third signal evaluation module may include:
  • a first signal evaluation unit configured to determine that the PPG signal does not meet the preset condition if the number of wave crests is less than a preset threshold, or the number of wave troughs is less than a preset threshold;
  • An amplitude difference calculation unit configured to calculate the amplitude difference of any two adjacent peaks in the target signal
  • a second signal evaluation unit configured to determine that the PPG signal does not meet the preset condition if the amplitude difference exceeds a preset threshold
  • the variance calculation unit is configured to calculate the variance of the amplitude of each peak in the target signal, the variance of the peak width of each peak, and the variance of the peak distance between each peak and adjacent peaks;
  • the third signal evaluation unit is configured to: if the variance of the amplitude of each wave crest exceeds a preset threshold, or the variance of the peak width of each wave crest exceeds the preset threshold, or the peak between each wave crest and adjacent wave crests If the variance of the distance exceeds a preset threshold, it is determined that the PPG signal does not meet the preset condition.
  • the apparatus for acquiring the PPG signal may further include:
  • a pressure detection module for detecting the pressure value between the wearable device and the designated part
  • the tightness adjustment module is configured to adjust the tightness of the wearable device at the specified position if the pressure value between the wearable device and the designated part does not fall within a preset pressure range interval , Until the pressure value between the wearable device and the designated part falls within the pressure range interval.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the steps of each method for obtaining PPG signals as proposed in the present application. .
  • the embodiments of the present application also provide a computer program product, which when the computer program product runs on a terminal device, causes the terminal device to execute the steps of each method for acquiring a PPG signal proposed in this application.
  • FIG. 10 is a schematic structural diagram of a terminal device provided by an embodiment of this application.
  • the terminal device 6 of this embodiment includes: at least one processor 60 (only one is shown in FIG. A computer program 62 running on the processor 60, when the processor 60 executes the computer program 62, the steps in any of the above-mentioned method embodiments for acquiring a PPG signal are implemented.
  • the terminal device 6 may be a computing device such as a mobile phone, a wearable device, a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device may include, but is not limited to, a processor 60 and a memory 61.
  • FIG. 10 is only an example of the terminal device 6 and does not constitute a limitation on the terminal device 6. It may include more or less components than shown in the figure, or a combination of certain components, or different components. , For example, can also include input and output devices, network access devices, and so on.
  • the so-called processor 60 may be a central processing unit (Central Processing Unit, CPU), and the processor 60 may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and application specific integrated circuits (Application Specific Integrated Circuits). , ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory 61 may be an internal storage unit of the terminal device 6 in some embodiments, such as a hard disk or a memory of the terminal device 6. In other embodiments, the memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk equipped on the terminal device 6, a smart media card (SMC), a secure digital (Secure Digital, SD) card, Flash Card, etc. Further, the memory 61 may also include both an internal storage unit of the terminal device 6 and an external storage device.
  • the memory 61 is used to store an operating device, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 61 can also be used to temporarily store data that has been output or will be output.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be divided. It can be combined or integrated into another device, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the computer program can be stored in a computer-readable storage medium. When executed by the processor, the steps of the foregoing method embodiments can be implemented.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms.
  • the computer-readable medium may at least include: any entity or device capable of carrying computer program code to a terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), and a random access memory (RAM, Random Access Memory), electric carrier signal, telecommunications signal and software distribution medium.
  • ROM read-only memory
  • RAM random access memory
  • electric carrier signal telecommunications signal and software distribution medium.
  • U disk mobile hard disk, floppy disk or CD-ROM, etc.
  • computer-readable media cannot be electrical carrier signals and telecommunication signals.

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Biophysics (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Cardiology (AREA)
  • Physiology (AREA)
  • Optics & Photonics (AREA)
  • Pulmonology (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Psychiatry (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

A photoplethysmograph (PPG) signal obtaining method and apparatus, a terminal device, and a storage medium, applicable to the technical field of medical measurement. The method comprises: obtaining a PPG signal acquired by a wearable device (201, 305, 403), wherein the wearable device is worn at a designated part of a user body; and if the obtained PPG signal does not meet a preset condition, adjusting the pressure value between the wearable device and the designated part (203, 307, 405), and obtaining, after adjusting the pressure value, a new PPG signal acquired by the wearable device, until the obtained PPG signal meets the preset condition. After a PPG signal is obtained, whether the PPG signal meets a preset condition would be determined, and if not, it indicates that the signal quality of the PPG signal does not meet requirements; at that time, the wearable device can be firmly worn on the human body by adjusting the pressure value between the wearable device and the wearing part of the human body, thereby improving the quality of an obtained PPG signal and further improving the accuracy of blood oxygen measurement.

Description

获取PPG信号的方法、装置、终端设备和存储介质Method, device, terminal equipment and storage medium for acquiring PPG signal
本申请要求于2020年3月27日提交国家知识产权局、申请号为202010227848.3、申请名称为“获取PPG信号的方法、装置、终端设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on March 27, 2020, the application number is 202010227848.3, and the application name is "Methods, devices, terminal equipment and storage media for obtaining PPG signals", and its entire contents Incorporated in this application by reference.
技术领域Technical field
本申请属于医学检测技术领域,尤其涉及一种获取PPG信号的方法、装置、终端设备和存储介质。This application belongs to the technical field of medical detection, and in particular relates to a method, a device, a terminal device, and a storage medium for obtaining PPG signals.
背景技术Background technique
人体新陈代谢过程中所需的氧,主要通过呼吸系统进入人体血液,与血液中红细胞的去氧血红蛋白进行结合得到氧合血红蛋白,再输送到人体各部分的组织细胞中去。血氧检测的一个重要指标是血氧饱和度,指血液中被氧结合的氧合血红蛋白的容量占全部可结合的血红蛋白容量的百分比,即血液中血氧的浓度。The oxygen required in the process of human metabolism enters the human blood mainly through the respiratory system, combines with the deoxyhemoglobin of the red blood cells in the blood to obtain oxygenated hemoglobin, and then transports it to the tissue cells of various parts of the human body. An important indicator of blood oxygen detection is blood oxygen saturation, which refers to the percentage of the volume of oxygenated hemoglobin in the blood that is bound by oxygen to the total volume of hemoglobin that can be bound, that is, the concentration of blood oxygen in the blood.
目前,血氧检测通常采用双波长光谱法,该方法主要包括:将红光和红外光照射入人体组织;采用光电传感器接收红光和红外光经过人体组织后产生的红光光电容积描记(PhotoPlethysmoGraph,PPG)信号以及红外PPG信号;将红光PPG信号和红外PPG信号都分解为对应的直流信号和交流信号;最后,利用获得的直流信号、交流信号的特征,代入设定的血氧浓度计算公式即可计算得到血氧浓度。At present, blood oxygen detection usually adopts dual-wavelength spectroscopy, which mainly includes: irradiating red light and infrared light into human tissues; using photoelectric sensors to receive red light and infrared light through human tissues to produce red light photoplethysmography (PhotoPlethysmoGraph , PPG) signal and infrared PPG signal; decompose the red light PPG signal and infrared PPG signal into the corresponding DC signal and AC signal; finally, use the characteristics of the obtained DC signal and AC signal to substitute into the set blood oxygen concentration calculation The formula can calculate the blood oxygen concentration.
显然,上述血氧检测方法的准确性十分依赖于获得的PPG信号的质量,即要求获得稳定、可靠的PPG信号。然而,用户在佩戴血氧检测设备(比如带血氧检测功能的手环或手表等可穿戴设备)时,由于设备佩戴不稳等原因,会导致获得的PPG信号不稳定,进而导致血氧检测的准确性下降。Obviously, the accuracy of the above blood oxygen detection method is very dependent on the quality of the obtained PPG signal, that is, it is required to obtain a stable and reliable PPG signal. However, when the user is wearing a blood oxygen detection device (such as a wristband with blood oxygen detection function or a wearable device such as a watch), due to the unstable wearing of the device and other reasons, the obtained PPG signal will be unstable, which will lead to the blood oxygen detection. The accuracy drops.
发明内容Summary of the invention
有鉴于此,本申请实施例提供了一种获取PPG信号的方法、装置、终端设备和存储介质,可以提高PPG信号采集的质量,进而提高血氧检测的准确性。In view of this, the embodiments of the present application provide a method, a device, a terminal device, and a storage medium for acquiring a PPG signal, which can improve the quality of PPG signal acquisition, thereby improving the accuracy of blood oxygen detection.
第一方面,本申请实施例提供了一种获取PPG信号的方法,包括:In the first aspect, an embodiment of the present application provides a method for acquiring a PPG signal, including:
获取可穿戴设备采集的光电容积描记PPG信号,其中,所述可穿戴设备佩戴在用户身体的指定部位;Acquiring a photoplethysmography PPG signal collected by a wearable device, wherein the wearable device is worn on a designated part of the user's body;
若获取到的所述PPG信号不符合预设条件,则调整所述可穿戴设备与所述指定部位之间的压力值,并在压力值调整后重新获取所述可穿戴设备采集的PPG信号,直至获取到的所述PPG信号符合所述预设条件。If the acquired PPG signal does not meet the preset condition, adjust the pressure value between the wearable device and the designated part, and reacquire the PPG signal collected by the wearable device after the pressure value is adjusted, Until the acquired PPG signal meets the preset condition.
本申请实施例在获取到PPG信号之后,会判断该PPG信号是否符合预设条件,若符合则表明该PPG信号比较稳定可靠,符合血氧检测的信号质量要求,此时可输出该PPG信号,执行后续的血氧检测流程;若不符合则表明该PPG信号的信号质量不合要求,此时通过调整可穿戴设备(血氧检测设备)和人体佩戴部位之间的压力值,可以使该可穿戴设备稳固佩戴在人体上,从而有效提高获得的PPG信号的质量,进而 提高血氧检测的准确性。After acquiring the PPG signal, the embodiment of the application will determine whether the PPG signal meets the preset conditions. If it meets the preset conditions, it indicates that the PPG signal is relatively stable and reliable and meets the signal quality requirements for blood oxygen detection. At this time, the PPG signal can be output. Perform the subsequent blood oxygen detection process; if it does not meet the requirements, it indicates that the signal quality of the PPG signal does not meet the requirements. At this time, by adjusting the pressure value between the wearable device (blood oxygen detection device) and the body wearing part, the wearable can be made The device is steadily worn on the human body, thereby effectively improving the quality of the PPG signal obtained, thereby improving the accuracy of blood oxygen detection.
在第一方面的一种可能的实现方式中,在获取可穿戴设备采集的光电容积描记PPG信号之前,还可以包括:In a possible implementation of the first aspect, before acquiring the photoplethysmography PPG signal collected by the wearable device, it may further include:
确定所述可穿戴设备当前登录的用户账户;Determining the user account currently logged in to the wearable device;
查找与所述用户账户关联的目标压力值;Looking up the target pressure value associated with the user account;
若查找到所述目标压力值,则调整所述可穿戴设备与所述指定部位之间的压力值为所述目标压力值。If the target pressure value is found, the pressure value between the wearable device and the designated part is adjusted to the target pressure value.
在获取PPG信号之前,先确定可穿戴设备当前登录的用户账户,查找与该用户账户关联的目标压力值,并调整该可穿戴设备与该指定部位之间的压力值为该目标压力值。通过这样设置,可以预先将可穿戴设备佩戴的压力值调整为一个比较合理的数值,从而提高获得高质量PPG信号的概率,减少后续操作中由于PPG信号质量不合要求导致的多次、重复的压力调整过程。Before acquiring the PPG signal, first determine the user account currently logged in to the wearable device, find the target pressure value associated with the user account, and adjust the pressure value between the wearable device and the designated part to the target pressure value. Through this setting, the pressure value worn by the wearable device can be adjusted to a more reasonable value in advance, thereby increasing the probability of obtaining high-quality PPG signals, and reducing multiple and repetitive pressures caused by unqualified PPG signal quality in subsequent operations Adjustment process.
更进一步的,在获取可穿戴设备采集的光电容积描记PPG信号之后,还可以包括:Furthermore, after obtaining the photoplethysmography PPG signal collected by the wearable device, it may also include:
若获取到的所述PPG信号符合所述预设条件,则检测并记录当前所述可穿戴设备与所述指定部位之间的压力值;If the acquired PPG signal meets the preset condition, detect and record the current pressure value between the wearable device and the designated part;
将记录的所述压力值与所述用户账户进行关联。Associating the recorded pressure value with the user account.
在当次血氧检测中,若获取到的PPG信号符合该预设条件,即该PPG信号比较稳定可靠,符合血氧检测的信号质量要求,此时可以检测并记录下当前该可穿戴设备与该指定部位之间的压力值,然后将记录的压力值和该用户账户进行关联,存储到压力参考值数据库中。In the current blood oxygen test, if the acquired PPG signal meets the preset condition, that is, the PPG signal is relatively stable and reliable, and meets the signal quality requirements of the blood oxygen test. At this time, the current wearable device and the wearable device can be detected and recorded. The pressure value between the designated parts is then associated with the recorded pressure value and the user account and stored in the pressure reference value database.
在第一方面的一种可能的实现方式中,获取到的所述PPG信号是否符合所述预设条件可以通过以下步骤确定:In a possible implementation manner of the first aspect, whether the acquired PPG signal meets the preset condition can be determined by the following steps:
将所述PPG信号和预存储的标准信号进行匹配,得到匹配度,所述标准信号为与所述用户关联且信号特征满足预设要求的PPG信号;Matching the PPG signal with a pre-stored standard signal to obtain a matching degree, where the standard signal is a PPG signal that is associated with the user and whose signal characteristics meet a preset requirement;
若所述匹配度大于或等于预设阈值,则确定所述PPG信号符合所述预设条件;If the matching degree is greater than or equal to a preset threshold, determining that the PPG signal meets the preset condition;
若所述匹配度小于所述预设阈值,则确定所述PPG信号不符合所述预设条件。If the matching degree is less than the preset threshold, it is determined that the PPG signal does not meet the preset condition.
对于某个用户A来说,若在之前的某一次血氧检测中,获取到比较稳定、信号特征明显的高质量的PPG信号,则可以将该次血氧检测获取到的PPG信息存储起来,作为与该用户A关联的标准PPG信号。之后,当用户A再次进行血氧检测时,可以将当前检测到的PPG信号和预存储的标准PPG信号进行匹配,若匹配度超过某个预设阈值(比如90%),则认为当前检测的PPG信号的质量满足要求,也即符合所述预设条件。For a user A, if in a previous blood oxygen test, a relatively stable and high-quality PPG signal with obvious signal characteristics is obtained, the PPG information obtained from the blood oxygen test can be stored. As a standard PPG signal associated with this user A. Later, when user A performs blood oxygen detection again, he can match the currently detected PPG signal with the pre-stored standard PPG signal. If the matching degree exceeds a certain preset threshold (for example, 90%), the currently detected PPG signal is considered The quality of the PPG signal meets the requirements, that is, meets the preset conditions.
在第一方面的一种可能的实现方式中,获取到的所述PPG信号是否符合所述预设条件可以通过以下步骤确定:In a possible implementation manner of the first aspect, whether the acquired PPG signal meets the preset condition can be determined by the following steps:
从所述PPG信号中截取预设长度的目标信号;Intercepting a target signal of a preset length from the PPG signal;
检测所述目标信号的波峰和波谷;Detecting the peaks and troughs of the target signal;
根据所述波峰的特征和所述波谷的特征,确定所述PPG信号是否符合所述预设条件。According to the characteristics of the wave peaks and the characteristics of the wave valleys, it is determined whether the PPG signal meets the preset condition.
首先,可以从该PPG信号中截取预设长度的目标信号,比如截取20秒的一个信 号段。然后,检测该目标信号具有的各个波峰和波谷,并根据波峰、波谷的特征,确定该PPG信号是否符合所述预设条件。比如,波峰和波谷的数量是否符合要求,波峰和波谷的峰值特征是否明显等。First, a target signal of a preset length can be intercepted from the PPG signal, for example, a signal segment of 20 seconds can be intercepted. Then, each wave peak and wave trough of the target signal is detected, and according to the characteristics of the wave peak and wave trough, it is determined whether the PPG signal meets the preset condition. For example, whether the number of crests and troughs meet the requirements, and whether the peak characteristics of crests and troughs are obvious.
进一步的,所述根据所述波峰的特征和所述波谷的特征,确定所述PPG信号是否符合所述预设条件可以包括:Further, the determining whether the PPG signal meets the preset condition according to the characteristics of the peaks and the characteristics of the valleys may include:
统计所述波峰的数量和所述波谷的数量;Counting the number of wave crests and the number of wave troughs;
若所述波峰的数量小于预设阈值,或者所述波谷的数量小于预设阈值,则确定所述PPG信号不符合所述预设条件;If the number of wave crests is less than a preset threshold, or the number of wave troughs is less than a preset threshold, it is determined that the PPG signal does not meet the preset condition;
或者or
计算所述目标信号中任意两个相邻的波峰的振幅差;Calculating the amplitude difference of any two adjacent peaks in the target signal;
若所述振幅差超过预设阈值,则确定所述PPG信号不符合所述预设条件;If the amplitude difference exceeds a preset threshold, it is determined that the PPG signal does not meet the preset condition;
或者or
分别计算所述目标信号中各个波峰的振幅的方差、各个波峰的峰宽的方差以及各个波峰和相邻波峰之间的峰距的方差;Respectively calculating the variance of the amplitude of each peak in the target signal, the variance of the peak width of each peak, and the variance of the peak distance between each peak and adjacent peaks;
若所述各个波峰的振幅的方差超过预设阈值,或者所述各个波峰的峰宽的方差超过预设阈值,或者所述各个波峰和相邻波峰之间的峰距的方差超过预设阈值,则确定所述PPG信号不符合所述预设条件。If the variance of the amplitude of each wave crest exceeds a preset threshold, or the variance of the peak width of each wave crest exceeds the preset threshold, or the variance of the peak distance between each wave crest and adjacent wave crests exceeds the preset threshold, It is determined that the PPG signal does not meet the preset condition.
一般来说,高质量的PPG信号,应该具备明显的周期性的脉冲波信号特征,也即信号中应该具备一定数量的波峰和波谷;而且,其具有的各个脉冲波的振幅应该是近似相同的;另外,其具有的各个脉冲波的振幅、峰宽(波峰宽度)和相邻波峰之间的峰距(波峰距离)应该是近似相同的,也即各个波峰的振幅的方差、各个波峰的峰宽的方差以及各个波峰和相邻波峰之间的峰距的方差均较小。因此,可以采用这些信号特征来判断获取到的PPG信号是否符合预设的质量条件。Generally speaking, a high-quality PPG signal should have obvious periodic pulse wave signal characteristics, that is, the signal should have a certain number of peaks and valleys; moreover, the amplitude of each pulse wave should be approximately the same ; In addition, the amplitude, peak width (peak width) of each pulse wave and the peak distance (peak distance) between adjacent peaks should be approximately the same, that is, the variance of the amplitude of each peak, the peak of each peak The wide variance and the variance of the peak distance between each peak and adjacent peaks are small. Therefore, these signal characteristics can be used to determine whether the acquired PPG signal meets the preset quality conditions.
在第一方面的一种可能的实现方式中,在获取可穿戴设备采集的光电容积描记PPG信号之前,还可以包括:In a possible implementation of the first aspect, before acquiring the photoplethysmography PPG signal collected by the wearable device, it may further include:
检测所述可穿戴设备与所述指定部位之间的压力值;Detecting the pressure value between the wearable device and the designated part;
若所述可穿戴设备与所述指定部位之间的压力值未落入预设的压力范围区间,则调整所述可穿戴设备佩戴于所述指定部位处的松紧度,直至所述可穿戴设备与所述指定部位之间的压力值落入所述压力范围区间。If the pressure value between the wearable device and the designated part does not fall within the preset pressure range interval, adjust the tightness of the wearable device at the designated part until the wearable device The pressure value between and the designated part falls within the pressure range interval.
在获取PPG信号之前,检测可穿戴设备与用户身体的指定部位之间的压力值,若该可穿戴设备与该指定部位之间的压力值未落入预设的压力范围区间,则调整该可穿戴设备佩戴于该指定部位处的松紧度,直至该可穿戴设备与该指定部位之间的压力值落入该压力范围区间。通过这样设置,可以预先将可穿戴设备佩戴的压力值调整为一个比较合理的数值,从而提高获得高质量PPG信号的概率,减少后续操作中由于PPG信号质量不合要求导致的多次、重复的压力调整过程。Before acquiring the PPG signal, detect the pressure value between the wearable device and the specified part of the user's body. If the pressure value between the wearable device and the specified part does not fall within the preset pressure range interval, adjust the pressure value. The tightness of the wearable device worn on the designated part until the pressure value between the wearable device and the designated part falls within the pressure range interval. Through this setting, the pressure value worn by the wearable device can be adjusted to a more reasonable value in advance, thereby increasing the probability of obtaining high-quality PPG signals, and reducing multiple and repetitive pressures caused by unqualified PPG signal quality in subsequent operations Adjustment process.
第二方面,本申请实施例提供了一种获取PPG信号的装置,包括:In the second aspect, an embodiment of the present application provides an apparatus for acquiring a PPG signal, including:
信号获取模块,用于获取可穿戴设备采集的光电容积描记PPG信号,其中,所述可穿戴设备佩戴在用户身体的指定部位;A signal acquisition module for acquiring photoplethysmography PPG signals collected by a wearable device, wherein the wearable device is worn on a designated part of the user's body;
压力调整模块,用于若获取到的所述PPG信号不符合预设条件,则调整所述可穿 戴设备与所述指定部位之间的压力值,并在压力值调整后重新获取所述可穿戴设备采集的PPG信号,直至获取到的所述PPG信号符合所述预设条件。The pressure adjustment module is configured to adjust the pressure value between the wearable device and the designated part if the acquired PPG signal does not meet the preset condition, and obtain the wearable again after the pressure value is adjusted The PPG signal collected by the device until the acquired PPG signal meets the preset condition.
第三方面,本申请实施例提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如本申请实施例第一方面提出的获取PPG信号的方法。In the third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, The method for acquiring the PPG signal as proposed in the first aspect of the embodiments of the present application is implemented.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如本申请实施例第一方面提出的获取PPG信号的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements what is proposed in the first aspect of the embodiment of the present application. Method of obtaining PPG signal.
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面中任一项所述的获取PPG信号的方法。In a fifth aspect, the embodiments of the present application provide a computer program product, which when the computer program product runs on a terminal device, causes the terminal device to execute the method for acquiring a PPG signal as described in any one of the above-mentioned first aspects.
本申请实施例与现有技术相比存在的有益效果是:可以提高PPG信号采集的质量,进而提高血氧检测的准确性,而且实施方便,具有较强的实用性。Compared with the prior art, the embodiment of the present application has the beneficial effects that the quality of PPG signal acquisition can be improved, thereby improving the accuracy of blood oxygen detection, and the implementation is convenient and has strong practicability.
附图说明Description of the drawings
图1是本申请实施例提供的获取PPG信号的方法所适用于的可穿戴设备的硬件结构示意图;FIG. 1 is a schematic diagram of the hardware structure of a wearable device to which the method for acquiring a PPG signal provided by an embodiment of the present application is applicable;
图2是本申请实施例提供的一种获取PPG信号的方法的流程图;FIG. 2 is a flowchart of a method for acquiring a PPG signal provided by an embodiment of the present application;
图3是本申请实施例提供的另一种获取PPG信号的方法的流程图;FIG. 3 is a flowchart of another method for obtaining a PPG signal according to an embodiment of the present application;
图4是本申请实施例提供的另一种获取PPG信号的方法的流程图;FIG. 4 is a flowchart of another method for acquiring a PPG signal according to an embodiment of the present application;
图5是本申请实施例提出的获取PPG信号的方法在实际场景下应用的一种系统示意图;FIG. 5 is a schematic diagram of a system in which the method for acquiring PPG signals proposed in an embodiment of the present application is applied in an actual scenario;
图6是图5所示系统的工作原理的一种流程示意图;Fig. 6 is a schematic flow chart of the working principle of the system shown in Fig. 5;
图7是图5所示系统的工作原理的另一种流程示意图;Fig. 7 is another schematic flow chart of the working principle of the system shown in Fig. 5;
图8是可穿戴设备佩戴于用户手腕处过紧、过松和合适3种情况下分别获取到的PPG信号的示意图;FIG. 8 is a schematic diagram of PPG signals obtained when the wearable device is worn on the user's wrist too tightly, too loosely, and appropriately;
图9是本申请实施例提供的一种获取PPG信号的装置的结构图;FIG. 9 is a structural diagram of a device for acquiring a PPG signal provided by an embodiment of the present application;
图10是本申请实施例提供的一种终端设备的示意图。FIG. 10 is a schematic diagram of a terminal device provided by an embodiment of the present application.
具体实施方式Detailed ways
以下描述中,为了说明而不是为了限定,提出了诸如特定装置结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as a specific device structure and technology are proposed for a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known devices, circuits, and methods are omitted to avoid unnecessary details from obstructing the description of this application.
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请实施例中,“一个或多个”是指一个、两个或两个以上;“和/或”,描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to limit the application. As used in the specification and appended claims of this application, the singular expressions "a", "an", "said", "above", "the" and "this" are intended to also This includes expressions such as "one or more" unless the context clearly indicates to the contrary. It should also be understood that in the embodiments of the present application, "one or more" refers to one, two or more than two; "and/or" describes the association relationship of the associated objects, indicating that there may be three relationships; for example, A and/or B can mean the situation where 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 character "/" generally indicates that the associated objects before and after are in an "or" relationship.
本申请实施例提供的获取PPG信号的方法可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等终端设备或者服务器上,本申请实施例对终端设备和服务器的具体类型不作任何限制。The method for obtaining PPG signals provided by the embodiments of this application can be applied to mobile phones, tablet computers, wearable devices, in-vehicle devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, and super mobiles. On terminal devices or servers such as ultra-mobile personal computers (UMPC), netbooks, and personal digital assistants (PDAs), the embodiments of this application do not impose any restrictions on the specific types of terminal devices and servers.
例如,所述终端设备可以是WLAN中的站点(STAION,ST),可以是蜂窝电话、无绳电话、会话启动协议(Session InitiationProtocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)设备、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、车联网终端、电脑、膝上型计算机、手持式通信设备、手持式计算设备、卫星无线设备、无线调制解调器卡、电视机顶盒(set top box,STB)、用户驻地设备(customer premise equipment,CPE)和/或用于在无线装置上进行通信的其它设备以及下一代通信装置,例如,5G网络中的移动终端或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)网络中的移动终端等。For example, the terminal device may be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, Personal Digital Assistant (PDA) devices, handheld devices with wireless communication functions, computing devices or other processing devices connected to wireless modems, in-vehicle devices, car networking terminals, computers, laptop computers, handheld communication devices , Handheld computing equipment, satellite wireless equipment, wireless modem cards, TV set top boxes (STB), customer premise equipment (customer premise equipment, CPE), and/or other equipment used to communicate on wireless devices and download A first-generation communication device, for example, a mobile terminal in a 5G network or a mobile terminal in a public land mobile network (PLMN) network that will evolve in the future.
作为示例而非限定,当所述终端设备为可穿戴设备时,该可穿戴设备还可以是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、手环、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,如智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example and not a limitation, when the terminal device is a wearable device, the wearable device can also be a general term for applying wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, Watches, bracelets, clothing and shoes, etc. A wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a kind of hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-sized, complete or partial functions that can be implemented without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, and need to be used in conjunction with other devices such as smart phones. , Such as all kinds of smart bracelets and smart jewelry for physical sign monitoring.
以所述终端设备为可穿戴设备为例。图1示出的是与本申请实施例提供的可穿戴设备的部分结构的框图。参考图1,该可穿戴设备包括:射频(Radio Frequency,RF)电路101、存储器102、输入单元103、显示单元104、压力传感器105、音频电路106、无线保真(wireless fidelity,WiFi)模块107、处理器108、电源109、光源110和光电检测器111等部件。本领域技术人员可以理解,图1中示出的可穿戴设备结构并不构成对可穿戴设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Take the terminal device as a wearable device as an example. FIG. 1 shows a block diagram of a part of the structure of a wearable device provided by an embodiment of the present application. 1, the wearable device includes: a radio frequency (RF) circuit 101, a memory 102, an input unit 103, a display unit 104, a pressure sensor 105, an audio circuit 106, and a wireless fidelity (WiFi) module 107 , Processor 108, power supply 109, light source 110 and photodetector 111 and other components. Those skilled in the art can understand that the structure of the wearable device shown in FIG. 1 does not constitute a limitation on the wearable device, and may include more or fewer components than shown in the figure, or a combination of certain components, or different components Layout.
下面结合图1对可穿戴设备的各个构成部件进行具体的介绍:The following describes the components of the wearable device in detail with reference to Figure 1:
RF电路101可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器108处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路101还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯装置(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service, SMS)等。The RF circuit 101 can be used for receiving and sending signals during the process of sending and receiving information or talking. In particular, after receiving the downlink information of the base station, it is processed by the processor 108; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), Email, Short Messaging Service (SMS), etc.
存储器102可用于存储软件程序以及模块,处理器108通过运行存储在存储器102的软件程序以及模块,从而执行可穿戴设备的各种功能应用以及数据处理。存储器102可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作装置、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据可穿戴设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器102可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 102 may be used to store software programs and modules. The processor 108 executes various functional applications and data processing of the wearable device by running the software programs and modules stored in the memory 102. The memory 102 may mainly include a storage program area and a storage data area. The storage program area may store an operating device, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of wearable devices (such as audio data, phone book, etc.), etc. In addition, the memory 102 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
输入单元103可用于接收输入的数字或字符信息,以及产生与可穿戴设备的用户设置以及功能控制有关的键信号输入。具体地,输入单元103可包括触控面板1031以及其他输入设备1032。触控面板1031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1031上或在触控面板1031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器108,并能接收处理器108发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1031。除了触控面板1031,输入单元103还可以包括其他输入设备1032。具体地,其他输入设备1032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 103 can be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the wearable device. Specifically, the input unit 103 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1031 or near the touch panel 1031. Operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 1031 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 108, and can receive commands sent by the processor 108 and execute them. In addition, the touch panel 1031 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1031, the input unit 103 may also include other input devices 1032. Specifically, the other input device 1032 may include, but is not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick.
显示单元104可用于显示由用户输入的信息或提供给用户的信息以及可穿戴设备的各种菜单。显示单元104可包括显示面板1041,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1041。进一步的,触控面板1031可覆盖显示面板1041,当触控面板1031检测到在其上或附近的触摸操作后,传送给处理器108以确定触摸事件的类型,随后处理器108根据触摸事件的类型在显示面板1041上提供相应的视觉输出。虽然在图1中,触控面板1031与显示面板1041是作为两个独立的部件来实现可穿戴设备的输入和输入功能,但是在某些实施例中,可以将触控面板1031与显示面板1041集成而实现可穿戴设备的输入和输出功能。The display unit 104 may be used to display information input by the user or information provided to the user and various menus of the wearable device. The display unit 104 may include a display panel 1041. Optionally, the display panel 1041 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 1031 can cover the display panel 1041. When the touch panel 1031 detects a touch operation on or near it, it transmits it to the processor 108 to determine the type of the touch event, and then the processor 108 responds to the touch event. The type provides corresponding visual output on the display panel 1041. Although in FIG. 1, the touch panel 1031 and the display panel 1041 are used as two independent components to realize the input and input functions of the wearable device, but in some embodiments, the touch panel 1031 and the display panel 1041 can be combined. Integrate to realize the input and output functions of wearable devices.
可穿戴设备还包括至少一种压力传感器105,可用于检测可穿戴设备佩戴在人体身上的压力,除此外还可以包括其他类型的传感器,比如光传感器、运动传感器等。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1041的亮度,接近传感器可在可穿戴设备移动到耳边时,关闭显示面板1041和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别可穿戴设备姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于可穿戴设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The wearable device also includes at least one pressure sensor 105, which can be used to detect the pressure of the wearable device worn on the human body. In addition, it can also include other types of sensors, such as light sensors, motion sensors, and the like. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor can close the display panel 1041 when the wearable device is moved to the ear. And/or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that recognize the posture of wearable devices (such as horizontal and vertical screen switching) , Related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; as for wearable devices, gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors can also be configured, I won't repeat them here.
音频电路106、扬声器1061,传声器1062可提供用户与可穿戴设备之间的音频接口。音频电路106可将接收到的音频数据转换后的电信号,传输到扬声器1061,由扬声器1061转换为声音信号输出;另一方面,传声器1062将收集的声音信号转换为电信号,由音频电路106接收后转换为音频数据,再将音频数据输出处理器108处理后,经RF电路101以发送给比如另一可穿戴设备,或者将音频数据输出至存储器102以便进一步处理。The audio circuit 106, the speaker 1061, and the microphone 1062 can provide an audio interface between the user and the wearable device. The audio circuit 106 can transmit the electric signal after the conversion of the received audio data to the speaker 1061, which is converted into a sound signal by the speaker 1061 for output; on the other hand, the microphone 1062 converts the collected sound signal into an electric signal, and the audio circuit 106 After being received, it is converted into audio data, and then processed by the audio data output processor 108, and then sent to, for example, another wearable device through the RF circuit 101, or the audio data is output to the memory 102 for further processing.
WiFi属于短距离无线传输技术,可穿戴设备通过WiFi模块107可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图1示出了WiFi模块107,但是可以理解的是,其并不属于可穿戴设备的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology. Wearable devices can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 107. It provides users with wireless broadband Internet access. Although FIG. 1 shows the WiFi module 107, it is understandable that it is not a necessary component of a wearable device, and can be omitted as needed without changing the essence of the invention.
处理器108是可穿戴设备的控制中心,利用各种接口和线路连接整个可穿戴设备的各个部分,通过运行或执行存储在存储器102内的软件程序和/或模块,以及调用存储在存储器102内的数据,执行可穿戴设备的各种功能和处理数据,从而对可穿戴设备进行整体监控。可选的,处理器108可包括一个或多个处理单元;优选的,处理器108可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作装置、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器108中。The processor 108 is the control center of the wearable device. It uses various interfaces and lines to connect the various parts of the entire wearable device, runs or executes the software programs and/or modules stored in the memory 102, and calls and stores them in the memory 102. Perform various functions of the wearable device and process the data, so as to monitor the wearable device as a whole. Optionally, the processor 108 may include one or more processing units; preferably, the processor 108 may integrate an application processor and a modem processor, where the application processor mainly processes operating devices, user interfaces, application programs, etc. , The modem processor mainly deals with wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 108.
可穿戴设备还包括给各个部件供电的电源109(比如电池),优选的,电源可以通过电源管理装置与处理器108逻辑相连,从而通过电源管理装置实现管理充电、放电、以及功耗管理等功能。The wearable device also includes a power supply 109 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 108 through a power management device, so that functions such as charging, discharging, and power consumption management can be managed by the power management device. .
可穿戴设备还包括光源110,具体的,该光源110可以包括红外光源和红光光源,分别可以发出红外光和红光,红外光和红光通过用户的手腕等部位,可以产生相应的PPG信号,可用于血氧检测。The wearable device also includes a light source 110. Specifically, the light source 110 may include an infrared light source and a red light source, which can respectively emit infrared light and red light. The infrared light and red light can pass through the user's wrist and other parts to generate corresponding PPG signals. , Can be used for blood oxygen detection.
可穿戴设备还包括光电检测器111,用于采集红光或红外光通过用户手腕等部位后产生的红光PPG信号和红外PPG信号。The wearable device also includes a photodetector 111, which is used to collect the red light PPG signal and the infrared PPG signal generated after the red light or infrared light passes through the user's wrist and other parts.
另外,尽管未示出,可穿戴设备还包括佩戴部件,用于将可穿戴设备佩戴在用户身上,具体的,该佩戴部件可以为表带、表扣等部件。另外,该佩戴部件还包括压力调节装置,可以调整可穿戴设备佩戴于用户身上指定部位的压力。In addition, although not shown, the wearable device also includes a wearing component for wearing the wearable device on the user. Specifically, the wearing component may be a watchband, a buckle, or the like. In addition, the wearing part also includes a pressure adjusting device, which can adjust the pressure of the wearable device worn on a designated part of the user's body.
图2示出了本申请实施例提供的一种获取PPG信号的方法的流程图,包括:Fig. 2 shows a flow chart of a method for acquiring a PPG signal provided by an embodiment of the present application, including:
201、获取可穿戴设备采集的光电容积描记PPG信号;201. Obtain a photoplethysmography PPG signal collected by a wearable device;
本申请实施例的执行主体可以是一个具备血氧检测功能的可穿戴设备,比如智能手表、智能手环等。该可穿戴设备可以包含压力检测模块、PPG信号检测模块、压力调整模块和信号质量评估模块等功能模块,其中该PPG信号检测模块可以包括红光光源、红外光源和光电传感器等部件。首先,将该可穿戴设备佩戴在用户身体的指定部位、比如手腕、颈部等可以检测用户心率的部位;然后,通过该PPG信号检测模块采集光电容积描记信号(PPG信号),具体为控制光源发射光(红外、红光等)照射到该指定部位,从而产生相应的PPG信号,然后利用该光电传感器采集得到该PPG信号。The execution subject of the embodiment of the present application may be a wearable device with a blood oxygen detection function, such as a smart watch, a smart bracelet, and so on. The wearable device may include functional modules such as a pressure detection module, a PPG signal detection module, a pressure adjustment module, and a signal quality evaluation module. The PPG signal detection module may include components such as a red light source, an infrared light source, and a photoelectric sensor. First, wear the wearable device on a designated part of the user's body, such as the wrist, neck, and other parts that can detect the user's heart rate; then, collect the photoplethysmography signal (PPG signal) through the PPG signal detection module, specifically to control the light source The emitted light (infrared, red light, etc.) is irradiated to the designated part to generate a corresponding PPG signal, and then the PPG signal is collected by the photoelectric sensor.
202、判断获取到的所述PPG信号是否符合预设条件;202. Determine whether the acquired PPG signal meets a preset condition.
在获取到PPG信号之后,判断该PPG信号是否符合预设条件。这里的预设条件是为满足血氧检测的准确度要求而预先设置的关于PPG信号的质量条件,比如PPG信号的波峰、波谷数量是否满足要求,各个波峰和波谷的特征是否明显等。具体的,可以采用信号质量评估模块对该PPG信号进行评价,通过检测该PPG信号的波峰幅度、周期、峰距、波峰数量等特征,然后根据这些特征判断该PPG信号是否满足信号质量的要求。After the PPG signal is acquired, it is determined whether the PPG signal meets the preset condition. The preset conditions here are the PPG signal quality conditions preset to meet the accuracy requirements of blood oxygen detection, such as whether the number of peaks and troughs of the PPG signal meet the requirements, and whether the characteristics of each peak and trough are obvious. Specifically, a signal quality evaluation module can be used to evaluate the PPG signal, by detecting the peak amplitude, period, peak distance, and peak number of the PPG signal, and then judging whether the PPG signal meets the signal quality requirements based on these characteristics.
具体的,获取到的所述PPG信号是否符合所述预设条件可以通过以下步骤确定:Specifically, whether the acquired PPG signal meets the preset condition can be determined through the following steps:
(1)将所述PPG信号和预存储的标准信号进行匹配,得到匹配度,所述标准信号为与所述用户关联且信号特征满足预设要求的PPG信号;(1) Matching the PPG signal with a pre-stored standard signal to obtain a degree of matching, where the standard signal is a PPG signal that is associated with the user and whose signal characteristics meet preset requirements;
(2)若所述匹配度大于或等于预设阈值,则确定所述PPG信号符合所述预设条件;(2) If the matching degree is greater than or equal to a preset threshold, determining that the PPG signal meets the preset condition;
(3)若所述匹配度小于所述预设阈值,则确定所述PPG信号不符合所述预设条件。(3) If the matching degree is less than the preset threshold, it is determined that the PPG signal does not meet the preset condition.
对于某个用户A来说,若在之前的某一次血氧检测中,获取到比较稳定、信号特征明显的高质量的PPG信号,则可以将该次血氧检测获取到的PPG信息存储起来,作为与该用户A关联的标准PPG信号。之后,当用户A再次进行血氧检测时,可以将当前检测到的PPG信号和预存储的标准PPG信号进行匹配,若匹配度超过某个预设阈值(比如90%),则认为当前检测的PPG信号的质量满足要求,也即符合所述预设条件。For a user A, if in a previous blood oxygen test, a relatively stable and high-quality PPG signal with obvious signal characteristics is obtained, the PPG information obtained from the blood oxygen test can be stored. As a standard PPG signal associated with this user A. Later, when user A performs blood oxygen detection again, he can match the currently detected PPG signal with the pre-stored standard PPG signal. If the matching degree exceeds a certain preset threshold (for example, 90%), the currently detected PPG signal is considered The quality of the PPG signal meets the requirements, that is, meets the preset conditions.
具体的,获取到的所述PPG信号是否符合所述预设条件可以通过以下步骤确定:Specifically, whether the acquired PPG signal meets the preset condition can be determined through the following steps:
(1)从所述PPG信号中截取预设长度的目标信号;(1) Intercept a target signal of a preset length from the PPG signal;
(2)检测所述目标信号的波峰和波谷;(2) Detect the peaks and troughs of the target signal;
(3)根据所述波峰的特征和所述波谷的特征,确定所述PPG信号是否符合所述预设条件。(3) Determine whether the PPG signal meets the preset condition according to the characteristics of the wave crests and the characteristics of the wave troughs.
首先,可以从该PPG信号中截取预设长度的目标信号,比如截取20秒的一个信号段。然后,检测该目标信号具有的各个波峰和波谷,并根据波峰、波谷的特征,确定该PPG信号是否符合所述预设条件。比如,波峰和波谷的数量是否符合要求,波峰和波谷的峰值特征是否明显等。First, a target signal of a preset length can be intercepted from the PPG signal, for example, a signal segment of 20 seconds can be intercepted. Then, each wave peak and wave trough of the target signal is detected, and according to the characteristics of the wave peak and wave trough, it is determined whether the PPG signal meets the preset condition. For example, whether the number of crests and troughs meet the requirements, and whether the peak characteristics of crests and troughs are obvious.
进一步的,所述根据所述波峰的特征和所述波谷的特征,确定所述PPG信号是否符合所述预设条件可以包括以下多种方式:Further, the determining whether the PPG signal meets the preset condition according to the characteristics of the peak and the characteristics of the valley may include the following multiple methods:
方式一:method one:
(1)统计所述波峰的数量和所述波谷的数量;(1) Count the number of wave crests and the number of wave troughs;
(2)若所述波峰的数量小于预设阈值,或者所述波谷的数量小于预设阈值,则确定所述PPG信号不符合所述预设条件。(2) If the number of wave crests is less than a preset threshold, or the number of wave troughs is less than a preset threshold, it is determined that the PPG signal does not meet the preset condition.
一般来说,高质量的PPG信号,应该具备明显的周期性的脉冲波信号特征,也即信号中应该具备一定数量的波峰和波谷。因此,可以通过统计波峰数量和波谷数量的方式来判定PPG信号的质量是否符合要求:若波峰或波谷的数量过少,则确定该PPG信号不符合所述预设条件;若波峰或波谷的数量足够多,则确定该PPG信号符合所述预设条件。Generally speaking, a high-quality PPG signal should have obvious periodic pulse wave signal characteristics, that is, the signal should have a certain number of peaks and troughs. Therefore, the quality of the PPG signal can be determined by counting the number of crests and troughs to determine whether the quality of the PPG signal meets the requirements: if the number of crests or troughs is too small, it is determined that the PPG signal does not meet the preset conditions; if the number of crests or troughs If enough, it is determined that the PPG signal meets the preset condition.
方式二:Way two:
(1)计算所述目标信号中任意两个相邻的波峰的振幅差;(1) Calculate the amplitude difference of any two adjacent peaks in the target signal;
(2)若所述振幅差超过预设阈值,则确定所述PPG信号不符合所述预设条件。(2) If the amplitude difference exceeds a preset threshold, it is determined that the PPG signal does not meet the preset condition.
考虑另一种方式,高质量的PPG信号,其具有的各个脉冲波的振幅,应该是近似相同的。因此,可以通过计算该目标信号中任意两个相邻的波峰的振幅差的方式来判定PPG信号的质量是否符合要求:若该振幅差超过设定的阈值,则确定该PPG信号不符合所述预设条件;若该振幅差未超过设定的阈值,则确定该PPG信号符合所述预设条件。应当理解,这里的振幅差可以有多个,比如对于波峰A、波峰B和波峰C来说,振幅差有A和B之间的振幅差,以及B和C之间的振幅差,在判定时,可以采用所有的振幅差,也可以从中选取一定数量的振幅差。Consider another way. A high-quality PPG signal should have approximately the same amplitude of each pulse wave. Therefore, it is possible to determine whether the quality of the PPG signal meets the requirements by calculating the amplitude difference between any two adjacent peaks in the target signal: if the amplitude difference exceeds the set threshold, it is determined that the PPG signal does not meet the requirements. A preset condition; if the amplitude difference does not exceed a set threshold, it is determined that the PPG signal meets the preset condition. It should be understood that there can be multiple amplitude differences here. For example, for peak A, peak B, and peak C, the amplitude difference includes the amplitude difference between A and B, and the amplitude difference between B and C. When determining , All amplitude differences can be used, or a certain number of amplitude differences can be selected from them.
方式三:Way three:
(1)分别计算所述目标信号中各个波峰的振幅的方差、各个波峰的峰宽的方差以及各个波峰和相邻波峰之间的峰距的方差;(1) Calculate the variance of the amplitude of each peak in the target signal, the variance of the peak width of each peak, and the variance of the peak distance between each peak and adjacent peaks;
(2)若所述各个波峰的振幅的方差超过预设阈值,或者所述各个波峰的峰宽的方差超过预设阈值,或者所述各个波峰和相邻波峰之间的峰距的方差超过预设阈值,则确定所述PPG信号不符合所述预设条件。(2) If the variance of the amplitude of each wave peak exceeds the preset threshold, or the variance of the peak width of each wave exceeds the preset threshold, or the variance of the peak distance between each wave peak and adjacent wave peaks exceeds the preset threshold. If a threshold is set, it is determined that the PPG signal does not meet the preset condition.
高质量的PPG信号,其具有的各个脉冲波的振幅、峰宽(波峰宽度)和相邻波峰之间的峰距(波峰距离)应该是近似相同的,也即各个波峰的振幅的方差、各个波峰的峰宽的方差以及各个波峰和相邻波峰之间的峰距的方差均较小。因此,可以通过计算所述目标信号中各个波峰的振幅的方差、各个波峰的峰宽的方差以及各个波峰和相邻波峰之间的峰距的方差的方式来判定PPG信号的质量是否符合要求:若这些方差都未超过设定的阈值,则确定该PPG信号符合所述预设条件;若这些方差中,有一个以上的方差超过设定的阈值,则确定该PPG信号不符合所述预设条件。For a high-quality PPG signal, the amplitude, peak width (peak width) of each pulse wave and the peak distance (peak distance) between adjacent peaks should be approximately the same, that is, the variance of the amplitude of each peak, each The variance of the peak width of the wave crest and the variance of the peak distance between each wave crest and adjacent wave crests are both small. Therefore, it is possible to determine whether the quality of the PPG signal meets the requirements by calculating the variance of the amplitude of each peak in the target signal, the variance of the peak width of each peak, and the variance of the peak distance between each peak and adjacent peaks: If none of these variances exceeds the set threshold, it is determined that the PPG signal meets the preset condition; if more than one of these variances exceeds the set threshold, it is determined that the PPG signal does not meet the preset condition.
若获取到的所述PPG信号符合所述预设条件,则执行步骤204;若获取到的所述PPG信号不符合所述预设条件,则执行步骤203。If the acquired PPG signal meets the preset condition, step 204 is executed; if the acquired PPG signal does not meet the preset condition, step 203 is executed.
203、调整所述可穿戴设备与所述指定部位之间的压力值;203. Adjust the pressure value between the wearable device and the designated part;
获取到的所述PPG信号不符合所述预设条件,表明该PPG信号的质量较低,此时无法直接采用该PPG信号来完成血氧的检测。出现该问题的原因,很可能是由于用户佩戴可穿戴设备的松紧度不合适,比如佩戴过紧(压力值过大)会压迫手臂,导致血流灌注不正常,引起局部血流减少,进而导致PPG信号异常;佩戴过松(压力值太小)会导致检测到的PPG信号很微弱,信号特征不明显。因此,可以通过调整该可穿戴设备与该指定部位之间的压力值,来调节和改善获得的PPG信号的质量。具体操作方式可以是,调整所述可穿戴设备与所述指定部位之间的压力值至某个合适的压力范围区间,该压力范围区间可以根据经验值预先设置。在压力值调整后,返回执行步骤201,即重新采集当前压力条件下所获得的PPG信号,然后对该重新采集的PPG信号进行质量的评估,若质量符合要求则执行步骤204,若质量还是不符合要求,则再次调整该可穿戴设备与该指定部位之间的压力值,如此循环,直至获得符合要求的高质量的PPG信号。The acquired PPG signal does not meet the preset condition, which indicates that the quality of the PPG signal is low. At this time, the PPG signal cannot be directly used to complete blood oxygen detection. The reason for this problem is probably due to the improper tightness of the wearable device worn by the user. For example, wearing too tightly (excessive pressure) will compress the arm, causing abnormal blood perfusion, causing local blood flow to decrease, and then leading to The PPG signal is abnormal; wearing too loose (the pressure value is too small) will cause the detected PPG signal to be very weak and the signal characteristic is not obvious. Therefore, the quality of the obtained PPG signal can be adjusted and improved by adjusting the pressure value between the wearable device and the designated part. The specific operation method may be to adjust the pressure value between the wearable device and the designated part to a certain suitable pressure range interval, and the pressure range interval may be preset according to an empirical value. After the pressure value is adjusted, return to step 201, that is, reacquire the PPG signal obtained under the current pressure condition, and then evaluate the quality of the reacquired PPG signal. If the quality meets the requirements, proceed to step 204, if the quality is still not If the requirements are met, the pressure value between the wearable device and the designated part is adjusted again, and so on, until a high-quality PPG signal that meets the requirements is obtained.
204、执行后续的血氧检测操作步骤。204. Perform subsequent blood oxygen detection operation steps.
获取到的所述PPG信号符合所述预设条件,表明该PPG信号比较稳定可靠,符合血氧检测的信号质量要求,此时可输出该PPG信号,执行后续的血氧检测流程。The acquired PPG signal meets the preset conditions, indicating that the PPG signal is relatively stable and reliable, and meets the signal quality requirements for blood oxygen detection. At this time, the PPG signal can be output to execute the subsequent blood oxygen detection process.
本申请实施例在获取到PPG信号之后,会判断该PPG信号是否符合预设条件,若符合则表明该PPG信号比较稳定可靠,符合血氧检测的信号质量要求,此时可输出该PPG信号,执行后续的血氧检测流程;若不符合则表明该PPG信号的信号质量不合要求,此时通过调整可穿戴设备(血氧检测设备)和人体佩戴部位之间的压力值,可以使该可穿戴设备稳固佩戴在人体上,从而有效提高获得的PPG信号的质量,进而提高血氧检测的准确性。After acquiring the PPG signal, the embodiment of the application will determine whether the PPG signal meets the preset conditions. If it meets the preset conditions, it indicates that the PPG signal is relatively stable and reliable and meets the signal quality requirements for blood oxygen detection. At this time, the PPG signal can be output. Perform the subsequent blood oxygen detection process; if it does not meet the requirements, it indicates that the signal quality of the PPG signal does not meet the requirements. At this time, by adjusting the pressure value between the wearable device (blood oxygen detection device) and the body wearing part, the wearable can be made The device is steadily worn on the human body, thereby effectively improving the quality of the PPG signal obtained, thereby improving the accuracy of blood oxygen detection.
图3示出了本申请提供的另一种获取PPG信号的方法的流程图,包括:Fig. 3 shows a flowchart of another method for obtaining PPG signals provided by the present application, including:
301、确定可穿戴设备当前登录的用户账户;301. Determine the user account currently logged in to the wearable device;
在本申请实施例中,用户可以在可穿戴设备中登录自己的用户账户,并将可穿戴设备佩戴在自己身体的指定部位、比如手腕、颈部等可以检测用户心率的部位。该可穿戴设备在获取PPG信号之前,会先确定当前登录的用户账户,以查找该用户的历史血氧检测记录,通过历史血氧检测记录可以获得该用户的比较合理的一个初始压力推荐值,即可穿戴设备佩戴在该用户身上的一个比较合适的压力值。In this embodiment of the application, the user can log in to his user account in the wearable device, and wear the wearable device on a designated part of his body, such as a wrist, neck, and other parts that can detect the user's heart rate. Before the wearable device obtains the PPG signal, it will first determine the user account currently logged in to find the user’s historical blood oxygen test record. Through the historical blood oxygen test record, a relatively reasonable initial pressure recommendation value for the user can be obtained. That is, a suitable pressure value for the wearable device to be worn on the user.
302、查找与所述用户账户关联的目标压力值;302. Search for a target pressure value associated with the user account.
在确定可穿戴设备当前登录的用户账户之后,查找与所述用户账户关联的目标压力值。若该用户账户之前有执行过血氧检测,则可以记录之前进行的某次有效血氧检测中,用户佩戴可穿戴设备的压力值作为目标压力值,与该用户账户关联,存储在某个压力参考值数据库中。在当次血氧检测时,可穿戴设备可以从该数据库中查找是否存在与当前登录的用户账户关联的目标压力值。After determining the user account currently logged in to the wearable device, the target pressure value associated with the user account is searched. If the user account has performed a blood oxygen test before, you can record the pressure value of the user wearing a wearable device in a previous effective blood oxygen test as the target pressure value, which is associated with the user account and stored in a certain pressure Reference value database. During the current blood oxygen test, the wearable device can find from the database whether there is a target pressure value associated with the currently logged-in user account.
303、判断是否查找到所述目标压力值;303. Judge whether the target pressure value is found;
判断是否可以查找到与该用户账户关联的目标压力值,若查找到该目标压力值,则执行步骤304,若未查找到该目标压力值,则直接执行步骤305,或者也可以调整所述可穿戴设备与所述指定部位之间的压力值为一个默认的推荐压力值附近,然后再执行步骤305。It is judged whether the target pressure value associated with the user account can be found. If the target pressure value is found, step 304 is executed. If the target pressure value is not found, step 305 can be directly executed, or the user account can be adjusted. The pressure value between the wearable device and the designated part is close to a default recommended pressure value, and then step 305 is executed.
304、调整所述可穿戴设备与所述指定部位之间的压力值为所述目标压力值;304. Adjust the pressure value between the wearable device and the designated part to the target pressure value;
查找到该目标压力值后,调整该可穿戴设备与该指定部位之间的压力值为该目标压力值,在此基础上再获取相应的PPG信号。应当理解的是,也可以以该目标压力值作为范围区间的中心,构建一个上下浮动的压力范围区间,调整该可穿戴设备与该指定部位之间的压力值落入该压力范围区间内即可。另外,若未查找到该目标压力值,也可以采用预设的一个默认压力值作为该压力范围区间的中心。After finding the target pressure value, adjust the pressure value between the wearable device and the designated part to the target pressure value, and then obtain the corresponding PPG signal on this basis. It should be understood that it is also possible to use the target pressure value as the center of the range interval to construct a floating pressure range interval, and adjust the pressure value between the wearable device and the designated part to fall within the pressure range interval. . In addition, if the target pressure value is not found, a preset default pressure value can also be used as the center of the pressure range interval.
305、获取所述可穿戴设备采集的光电容积描记PPG信号;305. Acquire the photoplethysmography PPG signal collected by the wearable device;
306、判断获取到的所述PPG信号是否符合预设条件;306. Determine whether the acquired PPG signal meets a preset condition.
若符合预设条件,则执行步骤308;若不符合该预设条件,则执行步骤307。If the preset condition is met, step 308 is executed; if the preset condition is not met, step 307 is executed.
307、调整所述可穿戴设备与所述指定部位之间的压力值;307. Adjust the pressure value between the wearable device and the designated part;
所述PPG信号不符合预设条件,此时调整所述可穿戴设备与所述指定部位之间的压力值,并在压力值调整后返回执行步骤305。If the PPG signal does not meet the preset condition, adjust the pressure value between the wearable device and the designated part at this time, and return to step 305 after the pressure value is adjusted.
308、执行后续的血氧检测操作步骤。308. Perform subsequent blood oxygen detection operation steps.
步骤305-308的具体描述,可以参照上一个实施例中步骤201-204的相关说明。For specific descriptions of steps 305-308, please refer to the relevant descriptions of steps 201-204 in the previous embodiment.
进一步的,在步骤308中,还可以包括:Further, in step 308, it may also include:
(1)若获取到的所述PPG信号符合所述预设条件,则检测并记录当前所述可穿戴设备与所述指定部位之间的压力值;(1) If the acquired PPG signal meets the preset condition, detect and record the current pressure value between the wearable device and the designated part;
(2)将记录的所述压力值与所述用户账户进行关联。(2) Associating the recorded pressure value with the user account.
在当次血氧检测中,若获取到的PPG信号符合该预设条件,即该PPG信号比较稳定可靠,符合血氧检测的信号质量要求,此时可以检测并记录下当前该可穿戴设备与该指定部位之间的压力值,然后将记录的压力值和该用户账户进行关联,存储到压力参考值数据库中。对于已关联目标压力值的用户账户,可以用当前检测并记录的压力值对目标压力值进行更新。对于未关联目标压力值的用户账户,可以采用当前检测并记录的压力值作为关联的目标压力值。In the current blood oxygen test, if the acquired PPG signal meets the preset condition, that is, the PPG signal is relatively stable and reliable, and meets the signal quality requirements of the blood oxygen test. At this time, the current wearable device and the wearable device can be detected and recorded. The pressure value between the designated parts is then associated with the recorded pressure value and the user account and stored in the pressure reference value database. For user accounts that have been associated with a target pressure value, the target pressure value can be updated with the currently detected and recorded pressure value. For user accounts that are not associated with the target pressure value, the currently detected and recorded pressure value can be used as the associated target pressure value.
本申请实施例在获取PPG信号之前,会确定可穿戴设备当前登录的用户账户,查找与该用户账户关联的目标压力值,并调整该可穿戴设备与该指定部位之间的压力值为该目标压力值。通过这样设置,可以预先将可穿戴设备佩戴的压力值调整为一个比较合理的数值,从而提高获得高质量PPG信号的概率,减少后续操作中由于PPG信号质量不合要求导致的多次、重复的压力调整过程。Before acquiring the PPG signal, this embodiment of the application will determine the user account currently logged in to the wearable device, find the target pressure value associated with the user account, and adjust the pressure value between the wearable device and the designated part to the target Pressure value. Through this setting, the pressure value worn by the wearable device can be adjusted to a more reasonable value in advance, thereby increasing the probability of obtaining high-quality PPG signals, and reducing multiple and repetitive pressures caused by unqualified PPG signal quality in subsequent operations Adjustment process.
图4示出了本申请提供的另一种获取PPG信号的方法的流程图,包括:Fig. 4 shows a flowchart of another method for obtaining PPG signals provided by the present application, including:
401、检测可穿戴设备与用户身体的指定部位之间的压力值;401. Detect the pressure value between the wearable device and a designated part of the user's body;
在用户佩戴好用于血氧检测的可穿戴设备之后,检测该可穿戴设备与用户身体的指定部位之间的压力值。比如,对于手表、手环等可穿戴设备,则检测该手表、手环与用户手腕之间的压力值。After the user wears the wearable device for blood oxygen detection, the pressure value between the wearable device and a designated part of the user's body is detected. For example, for wearable devices such as watches and bracelets, the pressure value between the watch, bracelet and the user's wrist is detected.
402、若所述可穿戴设备与所述指定部位之间的压力值未落入预设的压力范围区间,则调整所述可穿戴设备佩戴于所述指定部位处的松紧度,直至所述可穿戴设备与所述指定部位之间的压力值落入所述压力范围区间;402. If the pressure value between the wearable device and the designated part does not fall within the preset pressure range interval, adjust the tightness of the wearable device at the designated part until the wearable device is worn at the designated part. The pressure value between the wearable device and the designated part falls within the pressure range interval;
若该可穿戴设备与该指定部位之间的压力值未落入预设的压力范围区间,表明该可穿戴设备当前佩戴的松紧度不合适,此时可以调整该可穿戴设备佩戴于该指定部位处的松紧度,直至该可穿戴设备与该指定部位之间的压力值落入该压力范围区间。需要说明的是,在本申请实施例中,压力调节的具体形式不做限制,下面仅列举两种示例。If the pressure value between the wearable device and the designated part does not fall within the preset pressure range interval, it indicates that the tightness of the wearable device currently worn is not appropriate. At this time, the wearable device can be adjusted to be worn on the designated part Until the pressure value between the wearable device and the designated part falls within the pressure range interval. It should be noted that, in the embodiments of the present application, the specific form of pressure adjustment is not limited, and only two examples are listed below.
示例一:所述可穿戴设备的佩戴部件为表带,所述表带的长度在电机的带动下伸缩,所述调整所述可穿戴设备佩戴于所述指定部位处的松紧度包括:Example 1: The wearing part of the wearable device is a watchband, and the length of the watchband is stretched and contracted under the drive of a motor. The adjusting the tightness of the wearable device at the designated position includes:
(1)发送控制指令至所述电机,以启动所述电机进行旋转;(1) Send a control command to the motor to start the motor to rotate;
(2)在所述电机旋转的带动下,控制所述表带的长度伸缩,从而调整所述可穿戴设备佩戴于所述指定部位处的松紧度。(2) Driven by the rotation of the motor, the length of the watchband is controlled to expand and contract, so as to adjust the tightness of the wearable device at the designated position.
当需要增加可穿戴设备的佩戴压力时,可以发送控制指令至该电机,控制该电机进行旋转,带动该表带佩戴部分的长度收缩,提升佩戴的紧度,从而增加佩戴压力。当需要减少佩戴压力时,可以发送控制指令至该电机,控制该电机进行反向的旋转,带动该表带佩戴部分的长度伸长,降低佩戴的紧度,从而减少佩戴压力。When it is necessary to increase the wearing pressure of the wearable device, a control command can be sent to the motor to control the motor to rotate, and drive the length of the wearing part of the watchband to shrink, increase the wearing tightness, thereby increasing the wearing pressure. When it is necessary to reduce the wearing pressure, a control command can be sent to the motor to control the motor to rotate in the opposite direction to drive the length of the wearing part of the watchband to extend, reduce the wearing tightness, and thereby reduce the wearing pressure.
示例二:所述可穿戴设备的佩戴部件为空心的表带,所述表带内部安装有气囊, 所述气囊在气泵的作用下实现充放气,所述调整所述可穿戴设备佩戴于所述指定部位处的松紧度可以包括:Example 2: The wearing part of the wearable device is a hollow watchband, and an airbag is installed inside the watchband. The airbag is inflated and deflated under the action of an air pump. The tightness at the specified position can include:
发送控制指令至所述气泵,以控制所述气泵对所述气囊进行充放气操作,从而调整所述可穿戴设备佩戴于所述指定部位处的松紧度。Sending a control instruction to the air pump to control the air pump to perform inflation and deflation operations on the airbag, so as to adjust the tightness of the wearable device worn at the designated location.
当需要增加可穿戴设备的佩戴压力时,可以发送控制指令至该气泵,控制该气泵对该气囊进行充气操作,使该表带膨胀,从而增加佩戴压力。当需要减少佩戴压力时,可以发送控制指令至该气泵,控制该气泵对该气囊进行放气操作,使该表带收缩,从而减少佩戴压力。When the wearing pressure of the wearable device needs to be increased, a control command can be sent to the air pump, and the air pump can be controlled to inflate the airbag to expand the strap, thereby increasing the wearing pressure. When it is necessary to reduce the wearing pressure, a control command can be sent to the air pump, and the air pump can be controlled to deflate the airbag to contract the watchband, thereby reducing the wearing pressure.
403、获取所述可穿戴设备采集的光电容积描记PPG信号;403. Acquire a photoplethysmography PPG signal collected by the wearable device;
404、判断获取到的所述PPG信号是否符合预设条件;404. Determine whether the acquired PPG signal meets a preset condition.
若所述PPG信号符合该预设条件,则执行步骤406;若不符合该预设条件,则执行步骤405。If the PPG signal meets the preset condition, step 406 is executed; if the PPG signal does not meet the preset condition, step 405 is executed.
405、调整所述可穿戴设备与所述指定部位之间的压力值;405. Adjust the pressure value between the wearable device and the designated part.
调整所述可穿戴设备与所述指定部位之间的压力值,并在压力值调整后返回执行步骤403。Adjust the pressure value between the wearable device and the designated part, and return to step 403 after the pressure value is adjusted.
406、执行后续的血氧检测操作步骤。406. Perform subsequent blood oxygen detection operation steps.
步骤403-406的具体描述,可以参照步骤201-204的相关说明。For detailed descriptions of steps 403-406, please refer to the relevant descriptions of steps 201-204.
本申请实施例在获取PPG信号之前,会检测可穿戴设备与用户身体的指定部位之间的压力值,若该可穿戴设备与该指定部位之间的压力值未落入预设的压力范围区间,则调整该可穿戴设备佩戴于该指定部位处的松紧度,直至该可穿戴设备与该指定部位之间的压力值落入该压力范围区间。通过这样设置,可以预先将可穿戴设备佩戴的压力值调整为一个比较合理的数值,从而提高获得高质量PPG信号的概率,减少后续操作中由于PPG信号质量不合要求导致的多次、重复的压力调整过程。The embodiment of this application detects the pressure value between the wearable device and the designated part of the user's body before acquiring the PPG signal, if the pressure value between the wearable device and the designated part does not fall within the preset pressure range interval , Adjust the tightness of the wearable device worn on the designated part until the pressure value between the wearable device and the designated part falls within the pressure range interval. Through this setting, the pressure value worn by the wearable device can be adjusted to a more reasonable value in advance, thereby increasing the probability of obtaining high-quality PPG signals, and reducing multiple and repetitive pressures caused by unqualified PPG signal quality in subsequent operations Adjustment process.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence number of each step in the foregoing embodiment does not mean the order of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
为便于理解,下面以几个实际应用场景来说明本申请提出的获取PPG信号的方法。For ease of understanding, the method for acquiring PPG signals proposed in this application will be explained in several practical application scenarios below.
图5是本申请实施例提出的获取PPG信号的方法在实际场景下应用的一种系统示意图。Fig. 5 is a schematic diagram of a system applied in an actual scenario of the method for acquiring a PPG signal proposed in an embodiment of the present application.
在图5中,用于血氧检测的可穿戴设备,包括压力检测模块、PPG检测模块(包括红光光源、红外光源、光电检测器等)、压力调整模块和信号质量评估模块等4个功能模块。其中,压力检测模块用于实时检测该可穿戴设备佩戴在用户手腕等部位的压力,采用压力传感器实现;PPG检测模块用于检测和采集红光、红外光通过手腕后产生的PPG信号;信号质量评估模块用于评估当前采集到的PPG信号的质量是否符合要求,若不符合要求,则通过压力调整模块对该可穿戴设备佩戴在手腕等部位的压力进行调整,在压力调整后,重新采集当前压力条件下的PPG信号,该信号质量评估模块继续对重新采集的PPG信号的质量进行评估,如此重复,直至获得信号质量符合要求的PPG信号,用于后续的血氧计算。具体的,压力调整模块进行压力调节的方式是可选的,比如采用整体可充放气的表带,采用局部可充放气的表带,采用长度可伸 缩的表带,等等。In Figure 5, the wearable device for blood oxygen detection includes four functions: pressure detection module, PPG detection module (including red light source, infrared light source, photodetector, etc.), pressure adjustment module, and signal quality evaluation module. Module. Among them, the pressure detection module is used to detect the pressure of the wearable device on the user's wrist and other parts in real time, using a pressure sensor; the PPG detection module is used to detect and collect the PPG signal generated by the red and infrared light passing through the wrist; signal quality The evaluation module is used to evaluate whether the quality of the currently collected PPG signal meets the requirements. If it does not meet the requirements, the pressure adjustment module is used to adjust the pressure of the wearable device on the wrist and other parts. After the pressure is adjusted, the current For the PPG signal under pressure, the signal quality evaluation module continues to evaluate the quality of the re-acquired PPG signal, and repeats this until the PPG signal with the signal quality meeting the requirements is obtained for subsequent blood oxygen calculation. Specifically, the pressure adjustment method for the pressure adjustment module is optional, such as adopting an overall inflatable and deflating watchband, a partially inflatable and deflating watchband, and a stretchable length watchband, and so on.
图6为图5所示系统的工作原理的一种流程示意图,用户在佩戴好可穿戴设备之后,启动血氧检测流程;接着会检测用户手腕等指定部位的压力,判断该压力是否处于预设的压力范围区间内;若否,则启动压力调整模块,对可穿戴设备佩戴在手腕等部位的压力进行调整,直至该压力处于该压力范围区间内;待该压力持续稳定地处于该压力范围区间内之后,启动PPG信号质量评估模块,获取当前压力条件下采集到的PPG信号进行评估,判断PPG信号是否符合质量条件;若符合质量条件,则可以采用该PPG信号计算血氧值,最终得到血氧检测的结果;若不符合质量条件,则继续启动压力调整模块,对可穿戴设备佩戴在手腕等部位的压力进行调整,然后重新获取压力调整后采集到的PPG信号进行评估,如此反复,直至获得符合质量条件的PPG信号。Figure 6 is a schematic flow chart of the working principle of the system shown in Figure 5. After the user wears the wearable device, he starts the blood oxygen detection process; then the pressure on the user's wrist and other designated parts is detected to determine whether the pressure is at a preset level If not, start the pressure adjustment module to adjust the pressure of the wearable device on the wrist and other parts until the pressure is within the pressure range; wait until the pressure is continuously and stably in the pressure range After that, start the PPG signal quality evaluation module to obtain the PPG signal collected under the current pressure condition for evaluation, and judge whether the PPG signal meets the quality conditions; if it meets the quality conditions, the PPG signal can be used to calculate the blood oxygen value, and finally the blood The result of the oxygen test; if the quality conditions are not met, continue to start the pressure adjustment module, adjust the pressure of the wearable device on the wrist and other parts, and then re-acquire the PPG signal collected after the pressure adjustment for evaluation, and repeat until Obtain the PPG signal that meets the quality conditions.
图7为图5所示系统的工作原理的另一种流程示意图,用户在佩戴好可穿戴设备之后,启动血氧检测流程,从预先构建的压力参考数据库中查找该用户历史血氧检测过程中最佳的检测压力值(即目标压力值),若该数据库中存在该目标压力值,则提取该目标压力值作为压力范围区间的中心阈值;若该数据库中不存在该目标压力值,则采用系统默认的一个压力值作为压力范围区间的中心阈值。接着,检测用户手腕等指定部位的压力,判断该压力是否处于该压力范围区间内,后续的处理流程基本和图6所示的流程相同,唯一的区别在于,当采集到符合质量条件的PPG信号之后,会检测并记录当前可穿戴设备佩戴在手腕等部位的压力到该压力参考数据库中,作为与该用户绑定的新的目标压力值。采用这种方式,在用户使用可穿戴设备一段时间后,可根据用户的历史压力调节值,自动调用并调节至与用户匹配的最佳测量压力值,实现精准匹配用户个体特征以及使用习惯的快速、智能的血氧测量。Figure 7 is another flow diagram of the working principle of the system shown in Figure 5. After the user wears the wearable device, he starts the blood oxygen detection process, and searches the user's historical blood oxygen detection process from the pre-built pressure reference database The best detected pressure value (ie target pressure value). If the target pressure value exists in the database, the target pressure value is extracted as the central threshold of the pressure range interval; if the target pressure value does not exist in the database, it is used The default pressure value of the system is used as the central threshold of the pressure range interval. Next, detect the pressure on the user's wrist and other designated parts to determine whether the pressure is within the pressure range. The subsequent processing flow is basically the same as that shown in Figure 6, with the only difference being that when the PPG signal that meets the quality conditions is collected After that, the pressure of the current wearable device worn on the wrist and other parts will be detected and recorded in the pressure reference database as the new target pressure value bound to the user. In this way, after the user uses the wearable device for a period of time, it can automatically call and adjust to the best measured pressure value that matches the user according to the user's historical pressure adjustment value, so as to accurately match the user's individual characteristics and usage habits. , Intelligent blood oxygen measurement.
图8为可穿戴设备佩戴于用户手腕处过紧、过松和合适3种情况下分别获取到的PPG信号的示意图。在图8中,各个PPG信号图像和实时压力图像的横坐标都为时间。图8左上方为佩戴过紧时,获取到的PPG信号图像,右上方为佩戴过紧时,检测到的实时压力图像,可以看出,检测到的实时压力,明显高于推荐的标准压力,导致获取到的PPG信号比较尖锐,这是一种异常状况。图8左下方为佩戴过松时,获取到的PPG信号图像和检测到的实时压力图像,可以看出,检测到的实时压力,明显低于推荐的标准压力,导致获取到的PPG信号十分微弱,这也是一种异常状况。采用本申请提出的压力自调节方式,可以将用户佩戴可穿戴设备的压力调整至合适的标准压力附近,最终获得的PPG信号图像和检测到的实时压力图像如图8右下方所示,可以看出,检测到的实时压力和标准压力接近,获取到的PPG信号特征明显,质量符合要求。FIG. 8 is a schematic diagram of PPG signals obtained when the wearable device is worn on the user's wrist too tightly, too loosely, and appropriately. In Fig. 8, the abscissas of each PPG signal image and real-time pressure image are all time. The upper left of Figure 8 is the PPG signal image obtained when wearing too tightly, and the upper right is the real-time pressure image detected when wearing too tightly. It can be seen that the detected real-time pressure is significantly higher than the recommended standard pressure. As a result, the acquired PPG signal is relatively sharp, which is an abnormal condition. The bottom left of Figure 8 shows the PPG signal image and the detected real-time pressure image obtained when wearing too loosely. It can be seen that the detected real-time pressure is significantly lower than the recommended standard pressure, resulting in a very weak PPG signal. , This is also an abnormal situation. Using the pressure self-adjustment method proposed in this application, the pressure of the user wearing the wearable device can be adjusted to near the appropriate standard pressure, and the finally obtained PPG signal image and the detected real-time pressure image are shown in the lower right of Figure 8. You can see The detected real-time pressure is close to the standard pressure, and the acquired PPG signal has obvious characteristics and the quality meets the requirements.
对应于上文实施例所述的获取PPG信号的方法,图9示出了本申请实施例提供的获取PPG信号的装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to the method for obtaining PPG signals described in the above embodiments, FIG. 9 shows a structural block diagram of the apparatus for obtaining PPG signals provided by an embodiment of the present application. For ease of description, only the information related to the embodiment of the present application is shown part.
参照图9,该装置包括:Referring to Figure 9, the device includes:
信号获取模块501,用于获取可穿戴设备采集的光电容积描记PPG信号,其中,所述可穿戴设备佩戴在用户身体的指定部位;The signal acquisition module 501 is configured to acquire a photoplethysmography PPG signal collected by a wearable device, where the wearable device is worn on a designated part of the user's body;
压力调整模块502,用于若获取到的所述PPG信号不符合预设条件,则调整所述可穿戴设备与所述指定部位之间的压力值,并在压力值调整后重新获取所述可穿戴设 备采集的PPG信号,直至获取到的所述PPG信号符合所述预设条件。The pressure adjustment module 502 is configured to adjust the pressure value between the wearable device and the designated part if the acquired PPG signal does not meet the preset condition, and re-acquire the pressure value after the pressure value is adjusted. The PPG signal collected by the wearable device until the acquired PPG signal meets the preset condition.
进一步的,所述获取PPG信号的装置还可以包括:Further, the apparatus for acquiring the PPG signal may further include:
用户账户确定模块,用于确定所述可穿戴设备当前登录的用户账户;The user account determination module is used to determine the user account currently logged in to the wearable device;
目标压力值查找模块,用于查找与所述用户账户关联的目标压力值;The target pressure value search module is used to search for the target pressure value associated with the user account;
压力调整模块,用于若查找到所述目标压力值,则调整所述可穿戴设备与所述指定部位之间的压力值为所述目标压力值。The pressure adjustment module is configured to adjust the pressure value between the wearable device and the designated part to the target pressure value if the target pressure value is found.
进一步的,所述获取PPG信号的装置还可以包括:Further, the apparatus for acquiring the PPG signal may further include:
压力值记录模块,用于若获取到的所述PPG信号符合所述预设条件,则检测并记录当前所述可穿戴设备与所述指定部位之间的压力值;A pressure value recording module, configured to detect and record the current pressure value between the wearable device and the designated part if the acquired PPG signal meets the preset condition;
压力值关联模块,用于将记录的所述压力值与所述用户账户进行关联。The pressure value association module is used for associating the recorded pressure value with the user account.
进一步的,所述获取PPG信号的装置还可以包括:Further, the apparatus for acquiring the PPG signal may further include:
信号匹配模块,用于将所述PPG信号和预存储的标准信号进行匹配,得到匹配度,所述标准信号为与所述用户关联且信号特征满足预设要求的PPG信号;A signal matching module, configured to match the PPG signal with a pre-stored standard signal to obtain a matching degree, where the standard signal is a PPG signal that is associated with the user and whose signal characteristics meet a preset requirement;
第一信号评估模块,用于若所述匹配度大于或等于预设阈值,则确定所述PPG信号符合所述预设条件;A first signal evaluation module, configured to determine that the PPG signal meets the preset condition if the matching degree is greater than or equal to a preset threshold;
第二信号评估模块,用于若所述匹配度小于所述预设阈值,则确定所述PPG信号不符合所述预设条件。The second signal evaluation module is configured to determine that the PPG signal does not meet the preset condition if the matching degree is less than the preset threshold.
进一步的,所述获取PPG信号的装置还可以包括:Further, the apparatus for acquiring the PPG signal may further include:
信号截取模块,用于从所述PPG信号中截取预设长度的目标信号;A signal interception module for intercepting a target signal of a preset length from the PPG signal;
信号特征检测模块,用于检测所述目标信号的波峰和波谷;A signal feature detection module for detecting the peaks and troughs of the target signal;
第三信号评估模块,用于根据所述波峰的特征和所述波谷的特征,确定所述PPG信号是否符合所述预设条件。The third signal evaluation module is configured to determine whether the PPG signal meets the preset condition according to the characteristics of the wave crests and the characteristics of the wave troughs.
更进一步的,所述第三信号评估模块可以包括:Furthermore, the third signal evaluation module may include:
数量统计单元,用于统计所述波峰的数量和所述波谷的数量;A quantity statistical unit for counting the number of wave crests and the number of wave troughs;
第一信号评估单元,用于若所述波峰的数量小于预设阈值,或者所述波谷的数量小于预设阈值,则确定所述PPG信号不符合所述预设条件;A first signal evaluation unit, configured to determine that the PPG signal does not meet the preset condition if the number of wave crests is less than a preset threshold, or the number of wave troughs is less than a preset threshold;
振幅差计算单元,用于计算所述目标信号中任意两个相邻的波峰的振幅差;An amplitude difference calculation unit, configured to calculate the amplitude difference of any two adjacent peaks in the target signal;
第二信号评估单元,用于若所述振幅差超过预设阈值,则确定所述PPG信号不符合所述预设条件;A second signal evaluation unit, configured to determine that the PPG signal does not meet the preset condition if the amplitude difference exceeds a preset threshold;
方差计算单元,用于分别计算所述目标信号中各个波峰的振幅的方差、各个波峰的峰宽的方差以及各个波峰和相邻波峰之间的峰距的方差;The variance calculation unit is configured to calculate the variance of the amplitude of each peak in the target signal, the variance of the peak width of each peak, and the variance of the peak distance between each peak and adjacent peaks;
第三信号评估单元,用于若所述各个波峰的振幅的方差超过预设阈值,或者所述各个波峰的峰宽的方差超过预设阈值,或者所述各个波峰和相邻波峰之间的峰距的方差超过预设阈值,则确定所述PPG信号不符合所述预设条件。The third signal evaluation unit is configured to: if the variance of the amplitude of each wave crest exceeds a preset threshold, or the variance of the peak width of each wave crest exceeds the preset threshold, or the peak between each wave crest and adjacent wave crests If the variance of the distance exceeds a preset threshold, it is determined that the PPG signal does not meet the preset condition.
进一步的,所述获取PPG信号的装置还可以包括:Further, the apparatus for acquiring the PPG signal may further include:
压力检测模块,用于检测所述可穿戴设备与所述指定部位之间的压力值;A pressure detection module for detecting the pressure value between the wearable device and the designated part;
松紧度调整模块,用于若所述可穿戴设备与所述指定部位之间的压力值未落入预设的压力范围区间,则调整所述可穿戴设备佩戴于所述指定部位处的松紧度,直至所述可穿戴设备与所述指定部位之间的压力值落入所述压力范围区间。The tightness adjustment module is configured to adjust the tightness of the wearable device at the specified position if the pressure value between the wearable device and the designated part does not fall within a preset pressure range interval , Until the pressure value between the wearable device and the designated part falls within the pressure range interval.
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如本申请提出的各个获取PPG信号的方法的步骤。The embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the steps of each method for obtaining PPG signals as proposed in the present application. .
本申请实施例还提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行本申请提出的各个获取PPG信号的方法的步骤。The embodiments of the present application also provide a computer program product, which when the computer program product runs on a terminal device, causes the terminal device to execute the steps of each method for acquiring a PPG signal proposed in this application.
图10为本申请一实施例提供的终端设备的结构示意图。如图10所示,该实施例的终端设备6包括:至少一个处理器60(图10中仅示出一个)处理器、存储器61以及存储在所述存储器61中并可在所述至少一个处理器60上运行的计算机程序62,所述处理器60执行所述计算机程序62时实现上述任意获取PPG信号的方法实施例中的步骤。FIG. 10 is a schematic structural diagram of a terminal device provided by an embodiment of this application. As shown in FIG. 10, the terminal device 6 of this embodiment includes: at least one processor 60 (only one is shown in FIG. A computer program 62 running on the processor 60, when the processor 60 executes the computer program 62, the steps in any of the above-mentioned method embodiments for acquiring a PPG signal are implemented.
所述终端设备6可以是手机、可穿戴设备、桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。该终端设备可包括,但不仅限于,处理器60、存储器61。本领域技术人员可以理解,图10仅仅是终端设备6的举例,并不构成对终端设备6的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。The terminal device 6 may be a computing device such as a mobile phone, a wearable device, a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art can understand that FIG. 10 is only an example of the terminal device 6 and does not constitute a limitation on the terminal device 6. It may include more or less components than shown in the figure, or a combination of certain components, or different components. , For example, can also include input and output devices, network access devices, and so on.
所称处理器60可以是中央处理单元(Central Processing Unit,CPU),该处理器60还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 60 may be a central processing unit (Central Processing Unit, CPU), and the processor 60 may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and application specific integrated circuits (Application Specific Integrated Circuits). , ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
所述存储器61在一些实施例中可以是所述终端设备6的内部存储单元,例如终端设备6的硬盘或内存。所述存储器61在另一些实施例中也可以是所述终端设备6的外部存储设备,例如所述终端设备6上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器61还可以既包括所述终端设备6的内部存储单元也包括外部存储设备。所述存储器61用于存储操作装置、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器61还可以用于暂时地存储已经输出或者将要输出的数据。The memory 61 may be an internal storage unit of the terminal device 6 in some embodiments, such as a hard disk or a memory of the terminal device 6. In other embodiments, the memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk equipped on the terminal device 6, a smart media card (SMC), a secure digital (Secure Digital, SD) card, Flash Card, etc. Further, the memory 61 may also include both an internal storage unit of the terminal device 6 and an external storage device. The memory 61 is used to store an operating device, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 61 can also be used to temporarily store data that has been output or will be output.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述装置中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the division of the above functional units and modules is used as an example. In practical applications, the above functions can be allocated to different functional units and modules as needed. Module completion, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist alone physically, or two or more units can be integrated into one unit. The above-mentioned integrated units can be hardware-based Formal realization can also be realized in the form of a software functional unit. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the above-mentioned device, reference may be made to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记 载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail or recorded in an embodiment, reference may be made to related descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be divided. It can be combined or integrated into another device, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the implementation of all or part of the processes in the above-mentioned embodiment methods in the present application can be accomplished by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms. The computer-readable medium may at least include: any entity or device capable of carrying computer program code to a terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), and a random access memory (RAM, Random Access Memory), electric carrier signal, telecommunications signal and software distribution medium. For example, U disk, mobile hard disk, floppy disk or CD-ROM, etc. In some jurisdictions, according to legislation and patent practices, computer-readable media cannot be electrical carrier signals and telecommunication signals.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that it can still implement the foregoing The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in Within the scope of protection of this application.

Claims (10)

  1. 一种获取PPG信号的方法,其特征在于,包括:A method for obtaining a PPG signal, characterized in that it comprises:
    获取可穿戴设备采集的光电容积描记PPG信号,其中,所述可穿戴设备佩戴在用户身体的指定部位;Acquiring a photoplethysmography PPG signal collected by a wearable device, wherein the wearable device is worn on a designated part of the user's body;
    若获取到的所述PPG信号不符合预设条件,则调整所述可穿戴设备与所述指定部位之间的压力值,并在压力值调整后重新获取所述可穿戴设备采集的PPG信号,直至获取到的所述PPG信号符合所述预设条件。If the acquired PPG signal does not meet the preset condition, adjust the pressure value between the wearable device and the designated part, and reacquire the PPG signal collected by the wearable device after the pressure value is adjusted, Until the acquired PPG signal meets the preset condition.
  2. 如权利要求1所述的获取PPG信号的方法,其特征在于,在获取可穿戴设备采集的光电容积描记PPG信号之前,还包括:The method for obtaining PPG signals according to claim 1, wherein before obtaining the PPG signals of photoplethysmography collected by the wearable device, the method further comprises:
    确定所述可穿戴设备当前登录的用户账户;Determining the user account currently logged in to the wearable device;
    查找与所述用户账户关联的目标压力值;Looking up the target pressure value associated with the user account;
    若查找到所述目标压力值,则调整所述可穿戴设备与所述指定部位之间的压力值为所述目标压力值。If the target pressure value is found, the pressure value between the wearable device and the designated part is adjusted to the target pressure value.
  3. 如权利要求2所述的获取PPG信号的方法,其特征在于,在获取可穿戴设备采集的光电容积描记PPG信号之后,还包括:The method for obtaining PPG signals according to claim 2, wherein after obtaining the PPG signals of photoplethysmography collected by the wearable device, the method further comprises:
    若获取到的所述PPG信号符合所述预设条件,则检测并记录当前所述可穿戴设备与所述指定部位之间的压力值;If the acquired PPG signal meets the preset condition, detect and record the current pressure value between the wearable device and the designated part;
    将记录的所述压力值与所述用户账户进行关联。Associating the recorded pressure value with the user account.
  4. 如权利要求1所述的获取PPG信号的方法,其特征在于,获取到的所述PPG信号是否符合所述预设条件通过以下步骤确定:The method for acquiring a PPG signal according to claim 1, wherein whether the acquired PPG signal meets the preset condition is determined by the following steps:
    将所述PPG信号和预存储的标准信号进行匹配,得到匹配度,所述标准信号为与所述用户关联且信号特征满足预设要求的PPG信号;Matching the PPG signal with a pre-stored standard signal to obtain a matching degree, where the standard signal is a PPG signal that is associated with the user and whose signal characteristics meet a preset requirement;
    若所述匹配度大于或等于预设阈值,则确定所述PPG信号符合所述预设条件;If the matching degree is greater than or equal to a preset threshold, determining that the PPG signal meets the preset condition;
    若所述匹配度小于所述预设阈值,则确定所述PPG信号不符合所述预设条件。If the matching degree is less than the preset threshold, it is determined that the PPG signal does not meet the preset condition.
  5. 如权利要求1所述的获取PPG信号的方法,其特征在于,获取到的所述PPG信号是否符合所述预设条件通过以下步骤确定:The method for acquiring a PPG signal according to claim 1, wherein whether the acquired PPG signal meets the preset condition is determined by the following steps:
    从所述PPG信号中截取预设长度的目标信号;Intercepting a target signal of a preset length from the PPG signal;
    检测所述目标信号的波峰和波谷;Detecting the peaks and troughs of the target signal;
    根据所述波峰的特征和所述波谷的特征,确定所述PPG信号是否符合所述预设条件。According to the characteristics of the wave peaks and the characteristics of the wave valleys, it is determined whether the PPG signal meets the preset condition.
  6. 如权利要求5所述的获取PPG信号的方法,其特征在于,所述根据所述波峰的特征和所述波谷的特征,确定所述PPG信号是否符合所述预设条件包括:5. The method for obtaining a PPG signal according to claim 5, wherein the determining whether the PPG signal meets the preset condition according to the characteristics of the peak and the characteristics of the valley comprises:
    统计所述波峰的数量和所述波谷的数量;Counting the number of wave crests and the number of wave troughs;
    若所述波峰的数量小于预设阈值,或者所述波谷的数量小于预设阈值,则确定所述PPG信号不符合所述预设条件;If the number of wave crests is less than a preset threshold, or the number of wave troughs is less than a preset threshold, it is determined that the PPG signal does not meet the preset condition;
    或者or
    计算所述目标信号中任意两个相邻的波峰的振幅差;Calculating the amplitude difference of any two adjacent peaks in the target signal;
    若所述振幅差超过预设阈值,则确定所述PPG信号不符合所述预设条件;If the amplitude difference exceeds a preset threshold, it is determined that the PPG signal does not meet the preset condition;
    或者or
    分别计算所述目标信号中各个波峰的振幅的方差、各个波峰的峰宽的方差以及各个波峰和相邻波峰之间的峰距的方差;Respectively calculating the variance of the amplitude of each peak in the target signal, the variance of the peak width of each peak, and the variance of the peak distance between each peak and adjacent peaks;
    若所述各个波峰的振幅的方差超过预设阈值,或者所述各个波峰的峰宽的方差超过预设阈值,或者所述各个波峰和相邻波峰之间的峰距的方差超过预设阈值,则确定所述PPG信号不符合所述预设条件。If the variance of the amplitude of each wave crest exceeds a preset threshold, or the variance of the peak width of each wave crest exceeds the preset threshold, or the variance of the peak distance between each wave crest and adjacent wave crests exceeds the preset threshold, It is determined that the PPG signal does not meet the preset condition.
  7. 如权利要求1至6中任一项所述的获取PPG信号的方法,其特征在于,在获取可穿戴设备采集的光电容积描记PPG信号之前,还包括:The method for obtaining PPG signals according to any one of claims 1 to 6, characterized in that, before obtaining the photoplethysmography PPG signals collected by the wearable device, the method further comprises:
    检测所述可穿戴设备与所述指定部位之间的压力值;Detecting the pressure value between the wearable device and the designated part;
    若所述可穿戴设备与所述指定部位之间的压力值未落入预设的压力范围区间,则调整所述可穿戴设备佩戴于所述指定部位处的松紧度,直至所述可穿戴设备与所述指定部位之间的压力值落入所述压力范围区间。If the pressure value between the wearable device and the designated part does not fall within the preset pressure range interval, adjust the tightness of the wearable device at the designated part until the wearable device The pressure value between and the designated part falls within the pressure range interval.
  8. 一种获取PPG信号的装置,其特征在于,包括:A device for acquiring a PPG signal, characterized in that it comprises:
    信号获取模块,用于获取可穿戴设备采集的光电容积描记PPG信号,其中,所述可穿戴设备佩戴在用户身体的指定部位;A signal acquisition module for acquiring photoplethysmography PPG signals collected by a wearable device, wherein the wearable device is worn on a designated part of the user's body;
    压力调整模块,用于若获取到的所述PPG信号不符合预设条件,则调整所述可穿戴设备与所述指定部位之间的压力值,并在压力值调整后重新获取所述可穿戴设备采集的PPG信号,直至获取到的所述PPG信号符合所述预设条件。The pressure adjustment module is configured to adjust the pressure value between the wearable device and the designated part if the acquired PPG signal does not meet a preset condition, and reacquire the wearable after the pressure value is adjusted The PPG signal collected by the device until the acquired PPG signal meets the preset condition.
  9. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至7任一项所述的获取PPG信号的方法的步骤。A terminal device, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the computer program as claimed in claims 1 to 7. Steps of any of the methods for obtaining PPG signals.
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述的获取PPG信号的方法的步骤。A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the PPG signal acquisition according to any one of claims 1 to 7 Method steps.
PCT/CN2021/081307 2020-03-27 2021-03-17 Ppg signal obtaining method and apparatus, terminal device, and storage medium WO2021190377A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010227848.3A CN113440118A (en) 2020-03-27 2020-03-27 Method and device for acquiring PPG signal, terminal equipment and storage medium
CN202010227848.3 2020-03-27

Publications (1)

Publication Number Publication Date
WO2021190377A1 true WO2021190377A1 (en) 2021-09-30

Family

ID=77807732

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/081307 WO2021190377A1 (en) 2020-03-27 2021-03-17 Ppg signal obtaining method and apparatus, terminal device, and storage medium

Country Status (2)

Country Link
CN (1) CN113440118A (en)
WO (1) WO2021190377A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114089218A (en) * 2021-10-19 2022-02-25 广东电网有限责任公司东莞供电局 Power distribution network high-resistance grounding fault identification method, device, terminal and medium
CN114287897A (en) * 2021-12-28 2022-04-08 深圳市汇顶科技股份有限公司 Blood pressure data acquisition method, chip, electronic device and readable storage medium
CN114287901A (en) * 2021-12-23 2022-04-08 上海掌门科技有限公司 Method and device for acquiring pulse condition data
US11478606B1 (en) 2020-01-08 2022-10-25 New Heights Energy, LLC Wearable devices and methods for providing therapy to a user and/or for measuring physiological parameters of the user
CN115868940A (en) * 2023-02-27 2023-03-31 安徽通灵仿生科技有限公司 IABP-based physiological signal quality evaluation method and device
CN116509389A (en) * 2023-06-27 2023-08-01 深圳启脉科技有限公司 Blood fat monitoring method based on radio frequency
CN116570291A (en) * 2023-07-14 2023-08-11 北京中科心研科技有限公司 Wearing state judging method and device of wearing equipment, electronic equipment and medium
CN116725484A (en) * 2022-09-09 2023-09-12 荣耀终端有限公司 Physiological detection method based on wearable device and wearable device
WO2024021680A1 (en) * 2022-07-25 2024-02-01 荣耀终端有限公司 Blood pressure measurement method for wearable devices, and wearable devices

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117481624A (en) * 2022-07-25 2024-02-02 荣耀终端有限公司 Blood pressure measurement method of wearable device and wearable device
CN116007669B (en) * 2023-01-03 2024-06-18 芯海科技(深圳)股份有限公司 Wearing state detection method, device, equipment and storage medium
CN117398075A (en) * 2023-12-14 2024-01-16 荣耀终端有限公司 Physiological parameter detection method and wearable device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103228205A (en) * 2011-01-20 2013-07-31 日东电工株式会社 Devices and methods for photoplethysmographic measurements
CN107007274A (en) * 2017-04-24 2017-08-04 苏州国科智策智能科技有限公司 The healthy finger ring of the Split type intelligent of pressure controllable
CN107872965A (en) * 2016-05-09 2018-04-03 倍灵科技有限公司 Wearable device and its method for health care
CN108697329A (en) * 2017-06-29 2018-10-23 华为技术有限公司 The detection method and wearable device of wearable device
CN108852323A (en) * 2018-05-10 2018-11-23 京东方科技集团股份有限公司 A kind of method of wearable device and adjustment wearable device
WO2019220012A1 (en) * 2018-05-14 2019-11-21 Pulseon Oy A method, an apparatus and a computer program product for estimating the quality of a signal

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012099534A2 (en) * 2011-01-20 2012-07-26 Nitto Denko Corporation Method and apparatus for deriving a health index for determining cardiovascular health
CN103932688B (en) * 2014-05-15 2016-01-13 成都天奥电子股份有限公司 The wrist-watch of sudden death prior-warning device and application sudden death prior-warning device
US20160071408A1 (en) * 2014-09-09 2016-03-10 Beijing Lenovo Software Ltd. Wearable apparatus and data processing method
US9781984B2 (en) * 2015-03-08 2017-10-10 Apple Inc. Dynamic fit adjustment for wearable electronic devices
US10765331B2 (en) * 2015-04-02 2020-09-08 Microsoft Technology Licensing, Llc Wearable pulse sensing device signal quality estimation
CN106580291B (en) * 2016-12-22 2020-04-10 广东乐源数字技术有限公司 Method for adjusting wearing of intelligent wearable equipment
CN107106044B (en) * 2017-03-30 2021-03-16 深圳市汇顶科技股份有限公司 Wearable device, wearing quality detection method and device
CN109143835A (en) * 2018-09-10 2019-01-04 广东小天才科技有限公司 Based reminding method, smartwatch and storage medium applied to smartwatch
CN110427073A (en) * 2019-07-23 2019-11-08 努比亚技术有限公司 Watchband adjusting method, wearable device and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103228205A (en) * 2011-01-20 2013-07-31 日东电工株式会社 Devices and methods for photoplethysmographic measurements
CN107872965A (en) * 2016-05-09 2018-04-03 倍灵科技有限公司 Wearable device and its method for health care
CN107007274A (en) * 2017-04-24 2017-08-04 苏州国科智策智能科技有限公司 The healthy finger ring of the Split type intelligent of pressure controllable
CN108697329A (en) * 2017-06-29 2018-10-23 华为技术有限公司 The detection method and wearable device of wearable device
CN108852323A (en) * 2018-05-10 2018-11-23 京东方科技集团股份有限公司 A kind of method of wearable device and adjustment wearable device
WO2019220012A1 (en) * 2018-05-14 2019-11-21 Pulseon Oy A method, an apparatus and a computer program product for estimating the quality of a signal

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11478606B1 (en) 2020-01-08 2022-10-25 New Heights Energy, LLC Wearable devices and methods for providing therapy to a user and/or for measuring physiological parameters of the user
US11969557B1 (en) 2020-01-08 2024-04-30 New Heights Energy, LLC Wearable devices for providing pressure therapy to a user
US11944757B2 (en) 2020-01-08 2024-04-02 New Heights Energy, LLC Therapy devices for providing pressure therapy and breathing therapy to a user and/or for measuring physiological parameters of the user
CN114089218A (en) * 2021-10-19 2022-02-25 广东电网有限责任公司东莞供电局 Power distribution network high-resistance grounding fault identification method, device, terminal and medium
CN114287901A (en) * 2021-12-23 2022-04-08 上海掌门科技有限公司 Method and device for acquiring pulse condition data
CN114287897A (en) * 2021-12-28 2022-04-08 深圳市汇顶科技股份有限公司 Blood pressure data acquisition method, chip, electronic device and readable storage medium
CN114287897B (en) * 2021-12-28 2024-02-06 深圳市汇顶科技股份有限公司 Blood pressure data acquisition method, chip, electronic device and readable storage medium
WO2024021680A1 (en) * 2022-07-25 2024-02-01 荣耀终端有限公司 Blood pressure measurement method for wearable devices, and wearable devices
CN116725484B (en) * 2022-09-09 2024-04-16 荣耀终端有限公司 Physiological detection method based on wearable device and wearable device
CN116725484A (en) * 2022-09-09 2023-09-12 荣耀终端有限公司 Physiological detection method based on wearable device and wearable device
CN115868940A (en) * 2023-02-27 2023-03-31 安徽通灵仿生科技有限公司 IABP-based physiological signal quality evaluation method and device
CN115868940B (en) * 2023-02-27 2023-05-26 安徽通灵仿生科技有限公司 IABP-based physiological signal quality assessment method and device
CN116509389B (en) * 2023-06-27 2023-09-01 深圳启脉科技有限公司 Blood fat monitoring method based on radio frequency
CN116509389A (en) * 2023-06-27 2023-08-01 深圳启脉科技有限公司 Blood fat monitoring method based on radio frequency
CN116570291B (en) * 2023-07-14 2023-10-03 北京中科心研科技有限公司 Wearing state judging method and device of wearing equipment, electronic equipment and medium
CN116570291A (en) * 2023-07-14 2023-08-11 北京中科心研科技有限公司 Wearing state judging method and device of wearing equipment, electronic equipment and medium

Also Published As

Publication number Publication date
CN113440118A (en) 2021-09-28

Similar Documents

Publication Publication Date Title
WO2021190377A1 (en) Ppg signal obtaining method and apparatus, terminal device, and storage medium
US10285626B1 (en) Activity identification using an optical heart rate monitor
CN108594991A (en) A kind of method, apparatus and computer storage media that help user to adjust mood
CN107360327A (en) Audio recognition method, device and storage medium
CN108968920A (en) A kind of data detection method and electronic equipment
CN110013260B (en) Emotion theme regulation and control method, equipment and computer-readable storage medium
CN108762472A (en) Wearable device control method, wearable device and computer readable storage medium
CN109683703A (en) A kind of display control method, terminal and computer readable storage medium
WO2023185122A1 (en) Heart rhythm detection method and electronic device
CN109222927A (en) A kind of processing method based on health status, intelligent wearable device and storage medium
CN109718112A (en) Medication based reminding method, device and computer readable storage medium
CN108829231A (en) A kind of method of adjustment of wearable device, wearable device and storage medium
CN109567773A (en) Blood pressure measuring method, terminal and computer readable storage medium based on fingerprint
CN108804170A (en) The wearing of intelligent wearable device determines method, intelligent wearable device and storage medium
WO2021121226A1 (en) Electrocardiosignal prediction method and device, terminals, and storage medium
WO2020248949A1 (en) Blood pressure measurement method and electronic device
CN109799924A (en) False-touch prevention control method and device, mobile terminal, computer readable storage medium
KR20150082045A (en) Electronic device and photoplethysmography method
CN110350935A (en) Audio signal output control method, wearable device and readable storage medium storing program for executing
CN110533651A (en) A kind of image processing method and device
CN107085718A (en) Method for detecting human face and device, computer equipment, computer-readable recording medium
WO2021098488A1 (en) Atrial fibrillation signal classification method and device, and terminal and storage medium
CN109992472A (en) A kind of interface monitoring method, terminal and computer readable storage medium
CN116585177B (en) Data mining-based moxibustion device control method, device, equipment and medium
CN112168155A (en) Blood pressure detection method, wearable device and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21776188

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21776188

Country of ref document: EP

Kind code of ref document: A1