WO2024032084A1 - Wearing detection method and wearable device - Google Patents

Wearing detection method and wearable device Download PDF

Info

Publication number
WO2024032084A1
WO2024032084A1 PCT/CN2023/095987 CN2023095987W WO2024032084A1 WO 2024032084 A1 WO2024032084 A1 WO 2024032084A1 CN 2023095987 W CN2023095987 W CN 2023095987W WO 2024032084 A1 WO2024032084 A1 WO 2024032084A1
Authority
WO
WIPO (PCT)
Prior art keywords
wearable device
data
wearing
green light
detection result
Prior art date
Application number
PCT/CN2023/095987
Other languages
French (fr)
Chinese (zh)
Other versions
WO2024032084A9 (en
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 WO2024032084A1 publication Critical patent/WO2024032084A1/en
Publication of WO2024032084A9 publication Critical patent/WO2024032084A9/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/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
    • 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
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/08Detecting, measuring or recording devices for evaluating the respiratory organs
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/08Detecting, measuring or recording devices for evaluating the respiratory organs
    • A61B5/0816Measuring devices for examining respiratory frequency
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • 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
    • 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/48Other medical applications
    • A61B5/4806Sleep evaluation
    • 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes
    • G01K13/20Clinical contact thermometers for use with humans or animals
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K3/00Thermometers giving results other than momentary value of temperature
    • G01K3/02Thermometers giving results other than momentary value of temperature giving means values; giving integrated values

Definitions

  • the present application relates to the field of terminal technology, and in particular, to a wear detection method and a wearable device.
  • terminal equipment has become a part of people's work and life.
  • many terminal devices can support users to monitor human body data.
  • users can use wearable devices to detect human body data.
  • the wearable device can start to measure the user's heart rate, breathing rate or blood oxygen and other human body characteristics after passing the wearing test.
  • wearing detection is used to detect whether the wearable device is worn by an organism with vital characteristics.
  • wearable devices can perform wear detection based on infrared signals. For example, a wearable device can use infrared signals to detect the distance between the wearable device and human skin, and determine that the wearable device is in a user-worn condition when the distance is close, or determine that the wearable device is not in a user-worn condition when the distance is far. .
  • the accuracy of the above-mentioned wearing detection method using infrared signals is low.
  • Embodiments of the present application provide a wear detection method and a wearable device, so that the wearable device can obtain green light data used to indicate the heart rate detected when wearing the wearable device, and obtain the user information through feature extraction of the green light data. Characteristic values used to characterize the wearing status of the wearable device, and then inputting the characteristic values into the preset model can obtain more accurate wearing detection results.
  • embodiments of the present application provide a wear detection method.
  • the method includes: a wearable device collects target data; the target data includes green light data, and the green light data is used to indicate the heart rate detected when the wearable device is worn;
  • the wearable device performs feature extraction on the target data to obtain feature values related to the wearing status; the wearable device inputs the feature values into the preset model to obtain the first wearing detection result; the first wearing detection result is used to indicate the wearable Whether the device is being worn.
  • the wearable device can obtain the green light data used to indicate the heart rate detected when wearing the wearable device, and through feature extraction of the green light data, obtain the feature value used to characterize the wearing status of the wearable device, and then Inputting the feature values into the preset model can obtain more accurate wearing detection results.
  • the characteristic value includes: a first characteristic value obtained based on green light data, and the first characteristic value includes one or more of the following: green light AC component, green light DC component, green light time Domain autocorrelation coefficient, green light frequency domain maximum value, the mean value of the ordinate difference between adjacent green light peaks, the standard deviation of the ordinate difference between adjacent green light peaks, the mean value of the abscissa difference between adjacent green light peaks, The standard deviation of the abscissa difference between adjacent green light peaks, the mean of the ordinate of the green light peak, or the number of green light time domain peaks.
  • the wearable device can use the first characteristic value to simulate the heart rate characteristics detected when the user wears the wearable device, and then the wearable device can extract the first characteristic value to implement various functions in different scenarios. Accurate detection of wearing status.
  • the target data also includes one or more of the following: infrared light data, temperature data or acceleration data.
  • the characteristic value also includes one or more of the following: a second characteristic value obtained based on infrared light data, a third characteristic value obtained based on temperature data, or a fourth characteristic value obtained based on acceleration data.
  • Characteristic values wherein, the second characteristic value includes one or more of the following: infrared light AC component, infrared light DC component, or infrared light time domain autocorrelation coefficient; the third characteristic value includes: temperature average; the fourth characteristic value Includes: average combined velocity.
  • the wearable device can use the second characteristic value to distinguish whether the wearable device is worn by the user or other objects during the wearing detection process, and the third characteristic value can take into account the impact of temperature on the heart rate during the wearing detection process.
  • the fourth eigenvalue takes into account the impact of movement on heart rate during the wearing detection process, and the wearable device can achieve accurate detection of the wearing status in different scenarios based on the extraction of eigenvalues.
  • the wearable device performs feature extraction on the target data, including: when the wearable device determines that the mean value of the ambient light data is less than or equal to the first threshold, the temperature data meets the preset temperature range, and/or infrared When the mean value of the light data is less than or equal to the second threshold, the wearable device performs feature extraction on the target data.
  • the wearable device can also use infrared light data, ambient light data and temperature data for wear detection to eliminate various inaccuracies such as the wearable device not coming into contact with the human body, the wearable device being placed on an object, and the wearable device strap being loose. Meet the wearing scenarios and improve the accuracy of the wearing recognition method.
  • the method further includes: when the wearable device determines that the first target service is not detected and/or the second target service is not detected, the wearable device determines the first wearing detection result as the second Wearing detection results; where the first target business is a task performed when the wearable device is worn, and the second target task is a task performed when the wearable device is not worn.
  • wearable devices can perform business-based detection and improve the stability of the wear detection method.
  • the first target service includes one or more of the following: a heart rate detection service, a blood oxygen detection service, a respiratory rate detection service, a service for monitoring exercise status, or a service for monitoring sleep status.
  • the second target service includes one or more of the following: charging service, or service for indicating ejection of the wristband.
  • the wearable device determines that the first target service is not detected and/or the second target service is not detected, including: the wearable device determines that the first target service is not detected, and the second target service is not detected.
  • Target business and/or detect that the wearable device is not in motion. In this way, wearable devices can detect business-based and motion status, increasing the stability of the wear detection method.
  • the method further includes: when the wearable device determines that the first target task is detected, the wearable device determines that the second wearing detection result is that the wearable device is in a wearing state; and/or, when the wearable device determines that the first target task is detected, When the device determines that the second target task is detected, the wearable device determines that the second wearing detection result is that the wearable device is in an unworn state. In this way, wearable devices can perform business-based detection and improve the stability of the wear detection method.
  • the method further includes: when the second wearing detection result is that the wearable device is in a wearing state, the wearable device activates the target function. In this way, the wearable device can continue to perform the target function after detecting that the wearing status is satisfied, thereby improving the accuracy of the wearable device in detecting the target function.
  • the preset model includes: a first preset model and a second preset model.
  • the first preset model is different from the second preset model.
  • the wearable device inputs the characteristic value into the preset model.
  • obtaining the first wearing detection result includes: the wearable device inputs the characteristic values into the first preset module and the second preset model respectively, and obtains the first detection result and the second preset model corresponding to the first preset model.
  • the second detection result corresponding to the preset model wearable device Based on the first detection result and the second detection result, a first wearing detection result is obtained.
  • the wearable device can use the preset model to distinguish whether the user is wearing the wearable device or other objects are wearing the wearable device, and use the two preset models to improve the stability and accuracy of the wear detection method.
  • embodiments of the present application provide a wear detection device and a collection unit for collecting target data;
  • the target data includes green light data, and the green light data is used to indicate the heart rate detected when wearing the wearable device;
  • a processing unit used to extract features from the target data and obtain feature values related to the wearing status;
  • the processing unit is also used to input the feature values into the preset model to obtain the first wearing detection result;
  • the first wearing detection result is used to indicate Whether the wearable device shown is being worn.
  • the characteristic value includes: a first characteristic value obtained based on green light data, and the first characteristic value includes one or more of the following: green light AC component, green light DC component, green light time Domain autocorrelation coefficient, green light frequency domain maximum value, the mean value of the ordinate difference between adjacent green light peaks, the standard deviation of the ordinate difference between adjacent green light peaks, the mean value of the abscissa difference between adjacent green light peaks, The standard deviation of the abscissa difference between adjacent green light peaks, the mean of the ordinate of the green light peak, or the number of green light time domain peaks.
  • the target data also includes one or more of the following: infrared light data, temperature data or acceleration data.
  • the characteristic value also includes one or more of the following: a second characteristic value obtained based on infrared light data, a third characteristic value obtained based on temperature data, or a fourth characteristic value obtained based on acceleration data.
  • Characteristic values wherein, the second characteristic value includes one or more of the following: infrared light AC component, infrared light DC component, or infrared light time domain autocorrelation coefficient; the third characteristic value includes: temperature average; the fourth characteristic value Includes: average combined velocity.
  • the wearable device performs feature extraction on the target data, including: when the wearable device determines that the mean value of the ambient light data is less than or equal to the first threshold, the temperature data meets the preset temperature range, and/or infrared When the mean value of the light data is less than or equal to the second threshold, the wearable device performs feature extraction on the target data.
  • the processing unit when the wearable device determines that the first target service and/or the second target service is not detected, the processing unit is also configured to determine the first wear detection result as the second wear detection result. Detection results; among them, the first target business is a task performed when wearing a wearable device, and the second target task is a task performed when a wearable device is not worn.
  • the first target service includes one or more of the following: a heart rate detection service, a blood oxygen detection service, a respiratory rate detection service, a service for monitoring exercise status, or a service for monitoring sleep status.
  • the second target service includes one or more of the following: charging service, or service for indicating ejection of the wristband.
  • the wearable device determines that the first target service is not detected and/or the second target service is not detected, including: the wearable device determines that the first target service is not detected, and the second target service is not detected.
  • Target business and/or detect that the wearable device is not in motion.
  • the processing unit when the wearable device determines to detect the first target task, the processing unit is also configured to determine that the second wearing detection result is that the wearable device is in a wearing state; and/or, when the wearable device When it is determined that the second target task is detected, the processing unit is also configured to determine that the second wearing detection result is that the wearable device is in an unworn state.
  • the processing unit when the second wearing detection result is that the wearable device is in a wearing state, the processing unit is also configured to activate the target function.
  • the preset model includes: a first preset model and a second preset model.
  • the first preset model is different from the second preset model.
  • the processing unit is also configured to separate the feature values into Input into the first preset module to and the second preset model, obtain the first detection result corresponding to the first preset model and the second detection result corresponding to the second preset model; the processing unit is also configured to, based on the first detection result and the second detection result, Get the first wearing test result.
  • embodiments of the present application provide a wearable device, including a processor and a memory.
  • the memory is used to store code instructions; the processor is used to run the code instructions, so that the wearable device executes the first aspect or the first aspect.
  • embodiments of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium stores instructions.
  • the instructions executes as in the first aspect or any implementation of the first aspect. Described wear detection method.
  • a computer program product includes a computer program.
  • the computer program When the computer program is run, the computer performs the wearing detection method as described in the first aspect or any implementation of the first aspect.
  • Figure 1 is a schematic diagram of a scenario provided by an embodiment of the present application.
  • Figure 2 is a schematic diagram of the principle of wearing detection based on the PPG module provided by the embodiment of the present application;
  • FIG. 3 is a schematic structural diagram of a PPG module based on 2LED+8PD provided by the embodiment of the present application;
  • Figure 4 is a schematic structural diagram of a wearable device provided by an embodiment of the present application.
  • Figure 5 is a schematic structural diagram of a wearing detection method provided by an embodiment of the present application.
  • Figure 6 is a schematic flow chart of a wearing detection method provided by an embodiment of the present application.
  • Figure 7 is a schematic flow chart of another wearing detection method provided by an embodiment of the present application.
  • Figure 8 is a schematic flow chart of yet another wearing detection method provided by an embodiment of the present application.
  • Figure 9 is a schematic structural diagram of a wearing detection device provided by an embodiment of the present application.
  • Figure 10 is a schematic diagram of the hardware structure of another wearable device provided by an embodiment of the present application.
  • words such as “first” and “second” are used to distinguish the same or similar items with basically the same functions and effects.
  • the first value and the second value are only used to distinguish different values, and their order is not limited.
  • words such as “first” and “second” do not limit the number and execution order, and words such as “first” and “second” do not limit the number and execution order.
  • At least one refers to one or more, and “plurality” refers to two or more.
  • “And/or” describes the association of associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. character"/" Generally, it means that the related objects are in an "or” relationship. "At least one of the following” or similar expressions thereof refers to any combination of these items, including any combination of a single item (items) or a plurality of items (items).
  • At least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.
  • terminal equipment has become a part of people's work and life.
  • many terminal devices can support users to monitor human body data.
  • the wearable device can start to measure the user's heart rate, breathing rate or blood oxygen and other human body characteristics after passing the wearing test.
  • Figure 1 is a schematic diagram of a scenario provided by an embodiment of the present application. It can be understood that in the embodiment of the present application, the wearable device is a smart watch as an example for illustration, and this example does not constitute a limitation to the embodiment of the present application.
  • users can use smart watches to measure the user's human body characteristics during exercise.
  • the smart watch can perform wearing detection and measure the user's heart rate after passing the wearing detection, and then the smart watch can display the detection results as shown in In the interface shown in b in Figure 1.
  • the interface may include: a curve used to indicate changes in heart rate, and a heart rate value.
  • the heart rate value may be 108 beats/minute.
  • This interface can also display: the highest heart rate is 158 beats/min, the lowest heart rate is 62 beats/min, and the resting heart rate can be 67 beats/min.
  • Other content can also be displayed in this interface, which is not the case in the embodiment of the present application. Make limitations.
  • the wearable device displays the interface as shown in b in Figure 1
  • the wearable device can display the interface as shown in c in Figure 1.
  • the interface shown in c in Figure 1 may indicate that the heart rate cannot be detected currently, and other content displayed in this interface may be similar to the interface shown in b in Figure 1, which will not be described again here.
  • FIG. 2 is a schematic diagram of the principle of wearing detection based on the PPG module provided by the embodiment of the present application.
  • PPG can be understood as a detection method that uses photoelectric means to detect changes in blood volume in living tissues.
  • the PPG module 204 may include at least one PD, such as PD203, and at least one LED, such as LED202.
  • the wearable device can use the LED 202 in the PPG module 204 to emit a light signal corresponding to a preset current value, and the light signal is irradiated to the skin tissue (or understood as blood or blood vessels in the skin tissue). etc.) 201, using PD203 to receive the light signal reflected back through the skin tissue 201, PD203 converts the light signal into an electrical signal, and through analogue to digital conversion (A/D), converts the electrical signal into Digital signals (also known as PPG signals) that wearable devices can utilize.
  • A/D analogue to digital conversion
  • the wearing detection method is illustrated by taking the PPG signal as an infrared signal as an example. For example, when the wearable device detects that the received infrared signal is greater than the infrared signal threshold, the distance between the wearable device and the human skin is close, and the wearable device is in the user-worn state; or, when the wearable device detects When the received infrared signal is less than or equal to the infrared signal threshold, the distance between the wearable device and human skin is far, and the wearable device is not worn by the user.
  • the depth of the user's skin, the degree of hair coverage, and the tightness of the wearable device worn by the user may affect the accuracy of the above wearing detection method.
  • embodiments of the present application provide a wear detection method.
  • the wearable device collects target data; the target data includes green light data, and the green light data is used to indicate the heart rate detected when wearing the wearable device; the wearable device can Through feature extraction of the target data, feature values used to accurately characterize the wearing status of the wearable device are obtained; further, the wearable device inputs the feature values into the preset model to obtain more accurate wearing detection results; Wearing detection The result indicates whether the wearable device shown is worn.
  • the wearable device includes a PPG module.
  • the PPG module may include at least one PD and at least one LED.
  • the LED may be a three-color LED of red light, green light, and infrared light.
  • the PPG module described in the embodiment of this application may include 2 LEDs and 8 PDs.
  • FIG. 3 is a schematic structural diagram of a PPG module based on 2LED+8PD provided by the embodiment of the present application.
  • a wearable device can be provided with a circular structure PPG module.
  • the circular structure PPG module can include: 2 three-color LEDs and 8 PDs.
  • the innermost part of the PPG module is two three-color LEDs.
  • Both of the two three-color LEDs can be used to emit light signals, such as red light, green light, infrared light, etc.; the two three-color LEDs can be used to emit light signals.
  • the two three-color LEDs may include: LED1 and LED2.
  • the eight PDs in a surrounding structure may include: PD1, PD2, PD3, PD4, PD5, PD6, PD7 and PD8.
  • At least one of the 2 LEDs can emit a light signal, and at least one of the 8 PDs can obtain the light reflected back through the skin tissue. signal, and then the wearable device can perform wear detection based on the light signal obtained by at least one PD among the eight PDs.
  • the wearable device can use one PD among the 8 PDs to obtain the optical signal, or can use a pair of PDs (for example, two PDs) among the 8 PDs to obtain the optical signal. , or all PDs among the eight PDs may also be used to acquire optical signals, which is not limited in the embodiments of the present application.
  • the wearable device can also perform wear detection based on the light signal obtained by at least one PD among the eight PDs, data detected by other sensors, and/or business conditions executed by the wearable device.
  • the structure of the PPG module described in Figure 3 is only an example. In possible ways, the structure of the PPG module can also be 2LED+4PD or 3LED+6PD, etc., which is not done in the embodiment of this application. limited.
  • the wearable devices in the embodiments of the present application may include: smart watches, smart bracelets, smart gloves, or smart belts and other devices.
  • the specific technology and specific device form used by the wearable device there are no limitations on the specific technology and specific device form used by the wearable device.
  • FIG. 4 is a schematic structural diagram of a wearable device provided by an embodiment of the present application.
  • the wearable device may include a processor 110, an internal memory 121, a universal serial bus (USB) interface, a charging management module 140, a power management module 141, an antenna, a mobile communication module 150, a wireless communication module 160, and an audio module.
  • the sensor module 180 may include: a gyroscope sensor 180B, a barometer 180C, an acceleration sensor 180E, a proximity light sensor 180G, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the wearable device.
  • the wearable device may include more or fewer components than shown in the figures, or some components may be combined, Or splitting some parts, or different parts arrangements.
  • the components illustrated may be implemented in hardware, software, or a combination of software and hardware.
  • Processor 110 may include one or more processing units. Among them, different processing units can be independent devices or integrated in one or more processors.
  • the processor 110 may also be provided with a memory for storing instructions and data.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the power management module 141 is used to connect the charging management module 140 and the processor 110 .
  • the wireless communication function of the wearable device can be implemented through the antenna, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
  • Antennas are used to transmit and receive electromagnetic wave signals.
  • Antennas in wearable devices can be used to cover single or multiple communication bands. Different antennas can also be reused to improve antenna utilization.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied to wearable devices.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves through an antenna, perform filtering, amplification, and other processing on the received electromagnetic waves, and transmit them to a modem processor for demodulation.
  • the wireless communication module 160 can provide applications on wearable devices including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (bluetooth, BT), and global navigation satellite systems. (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM) and other wireless communication solutions.
  • WLAN wireless local area networks
  • Wi-Fi wireless fidelity
  • Bluetooth blue, BT
  • GNSS global navigation satellite system
  • FM frequency modulation
  • Wearable devices implement display functions through GPU, display 194, and application processor.
  • the GPU is an image processing microprocessor and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • the display screen 194 is used to display images, videos, etc.
  • Display 194 includes a display panel.
  • the wearable device may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • Wearable devices can implement shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
  • Camera 193 is used to capture still images or video.
  • the wearable device may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the internal memory 121 may include a program storage area and a data storage area.
  • the wearable device can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals.
  • Speaker 170A also called “speaker”
  • Receiver 170B also called “earpiece”
  • the voice can be heard by bringing the receiver 170B close to the human ear.
  • the gyro sensor 180B may be used to determine the motion posture of the wearable device.
  • the gyro sensor 180B and the acceleration sensor 180E can be used together to detect the motion state of the wearable device.
  • Barometer 180C is used to measure air pressure.
  • the wearable device can calculate the altitude through the air pressure value measured by the barometer 180C to assist positioning and navigation.
  • the acceleration sensor 180E can detect the acceleration of the wearable device in various directions (generally three axes). In this embodiment of the present application, the acceleration sensor 180E is used to detect whether the wearable device is in motion. Among them, the three axes can be X-axis, Y-axis and Z-axis.
  • the proximity light sensor 180G may include a light emitting diode LED and a light detector, for example, the light detector may be a photodiode PD.
  • the LED can be a three-color LED that can emit red light, green light, infrared light and other light sources; the PD can be used to receive optical signals and process the optical signals into electrical signals. .
  • the PD can receive the light signal reflected back by the skin tissue.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the temperature sensor 180J is used to detect the temperature of the wearable device. In the embodiment of the present application, the temperature sensor is used to detect the temperature of the environment where the wearable device is located.
  • Touch sensor 180K also known as “touch device”.
  • the touch sensor 180K can be disposed on the display screen 194.
  • the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen”.
  • the buttons 190 include a power button, a volume button, etc.
  • Key 190 may be a mechanical key. It can also be a touch button.
  • the wearable device can receive key input and generate key signal input related to user settings and function control of the wearable device.
  • the indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, or may be used to indicate messages, missed calls, notifications, etc.
  • FIG. 5 is an architectural schematic diagram of a wearing detection method provided by an embodiment of the present application.
  • the architecture of the wearing detection method may include multiple functional modules, such as: sensor data collection module 501, primary wearing detection module 502, feature extraction module 503, secondary wearing detection module 504, and wearing status Calibration module (or can also be called a three-level wearing detection module) 505.
  • the wearable device can use various types of sensors to collect data respectively.
  • a wearable device can use an acceleration sensor to detect acceleration data, a gyroscope sensor to detect gyroscope data (or angular acceleration data), a temperature sensor to detect temperature data, a proximity light sensor to detect infrared light data, green light data, and Ambient light data, etc.
  • the ambient light data can be data detected by the PD when the LED in the proximity light sensor does not emit light; or, the ambient light data can also be collected using sensors such as ambient light sensors.
  • This application implements In the example, there are no restrictions on the method of obtaining ambient light data.
  • the wearable device can use infrared light data and green light data to perform first-level wearing detection, and use temperature data to filter out situations where the user is not wearing the wearable device during the first-level wearing detection process.
  • the wearable device can perform signal filtering on the collected data to filter out noise; further, the wearable device can perform feature extraction on the filtered data to obtain feature values.
  • the characteristic value may include one or more of the following: green light AC component F1, green light DC component F2, red light External light AC component F3, infrared light DC component F4, green light time domain autocorrelation coefficient F5, infrared light time domain autocorrelation coefficient F6, green light frequency domain maximum value F7, temperature mean F8, green light adjacent peak ordinate
  • the 15 characteristic values provided in the embodiment of the present application are only used as an example.
  • the characteristic values may also include other parameter values, which are not limited in the embodiment of the present application.
  • the wearable device can input the feature values into the decision tree classification model and the logistic regression (LR) classification model respectively to obtain detection results corresponding to the two classification models, and based on the The two classification models respectively correspond to the detection results to obtain the secondary wearing detection results.
  • LR logistic regression
  • the wearable device can obtain the final wearing detection result by detecting the current business status, detecting the business status transfer situation, and the secondary wearing detection results.
  • the embodiments of the present application do not limit the order of primary wearing detection, secondary wearing detection, and wearing status correction.
  • the wearable device may also first perform a wearing state correction process, and then perform first-level wearing detection and second-level wearing detection, which is not limited in the embodiments of this application.
  • the wearable device can perform wearing detection based on one or more of the multi-level wearing detection methods shown in Figure 5, so that the wearing detection method can be used in a variety of scenarios and improve the accuracy of the wearing detection method. .
  • the method for performing wear detection by the primary wearing detection module 502 in the wearable device can refer to the embodiment corresponding to Figure 6.
  • FIG. 6 is a schematic flowchart of a wearing detection method provided by an embodiment of the present application.
  • the wearing detection method may include the following steps:
  • the wearable device acquires infrared light data, ambient light data and temperature data within the first time period.
  • the first time period may be 1 second.
  • the wearable device can obtain N pieces of infrared light data, N pieces of ambient light data, and N pieces of temperature data within 1 second. Further, the wearable device can obtain the average infrared light value corresponding to the N pieces of infrared light data and the average ambient light value corresponding to the N pieces of ambient light data.
  • the wearable device can perform the steps shown in S601 when detecting that the user turns on the target function; or the wearable device can also periodically perform the steps shown in S601 according to preset instructions.
  • the target function may be: a function for monitoring heart rate, a function for monitoring blood oxygen, a function for detecting respiratory rate, a function for recording sleep status, a function for recording exercise status, etc.
  • the wearable device determines whether the temperature data meets the preset temperature range.
  • the wearable device when the wearable device determines that the N pieces of temperature data all meet the preset range, the wearable device can perform the steps shown in S603; or when the wearable device determines that at least one temperature data among the N pieces of temperature data When the preset range is not met, the wearable device can perform the steps shown in S606.
  • the wearable device can detect the body temperature data of the human body, so the wearable device can use the temperature data to exclude scenarios when the wearable device is not in contact with the human body.
  • the preset temperature range may be the body temperature range of the human body in a normal environment.
  • the wearable device determines whether the average ambient light value is greater than the ambient light threshold.
  • the wearable device when the wearable device determines that the average ambient light value is greater than the ambient light threshold, the wearable device may perform the steps shown in S606; or, when the wearable device determines that the average ambient light value is less than or equal to the ambient light threshold, The wearable device can perform the steps shown in S604.
  • the ambient light average value and the ambient light threshold value can both be current values.
  • the wearable device can obtain ambient light data to exclude the scenario when the wearable device is not normally worn on the user's wrist.
  • wearable devices can exclude scenarios where the wearable device is placed on an object, or the strap is loose, and the ambient light is strong because the wearable device is not close to the human body.
  • the wearable device determines whether the average infrared light value is greater than the infrared light threshold.
  • the wearable device when the wearable device determines that the average infrared light value is greater than the infrared light threshold, the wearable device can perform the steps shown in S605; or, when the wearable device determines that the average infrared light value is less than or equal to the infrared light threshold, the wearable device can The wearable device can perform the steps shown in S606.
  • the infrared light threshold can be the value when the infrared signal is reflected back to the wearable device through the human body under normal circumstances, and the infrared light average value and the infrared light threshold can both be current values.
  • the blood or blood vessels in the skin tissue can absorb part of the infrared light, so that the infrared light data reflected back by the human body is different from the infrared light reflected back when the infrared light is irradiated to other objects.
  • wearable devices can use infrared light data to rule out scenarios where the wearable device is placed on an object.
  • the wearable device determines that the first-level wearing detection result is that it is in a wearing state.
  • the wearable device when the wearable device is determined to be in the wearing state based on the primary wearing detection, the wearable device may continue to perform the secondary wearing detection based on the embodiment corresponding to FIG. 7 .
  • the wearable device determines that the first-level wearing detection result is in the unworn state.
  • the wearable device when the wearable device is determined to be in an unworn state based on the primary wearing detection, the wearable device may perform secondary wearing detection based on the embodiment corresponding to FIG. 7 .
  • the wearable device when the wearable device is determined to be in an unworn state based on the first-level wearing detection, the wearable device can end the wearing detection process and display the interface as shown in c in Figure 1 . At this time, the wearable device does not need to detect heart rate or blood oxygen, etc., thereby reducing the power consumption of the wearable device.
  • the wearable device when the wearable device is determined to be in a not-worn state, it can also display prompt information or vibrate or ring to indicate that the user is not currently wearing the wearable device.
  • the wearable device can perform wearing detection based on one or more judgment logics in S602, S603 and S604, which is not limited in the embodiments of the present application.
  • the wearable device can use infrared light data, ambient light data and temperature data to conduct initial wear detection to rule out that the wearable device is not in contact with the human body, the wearable device is placed on an object, and the wearable device strap is loose, etc.
  • a variety of unsatisfactory wearing scenarios improve the accuracy of the wearing recognition method.
  • the method for performing wearing detection by the secondary wearing detection module 504 can refer to the embodiment corresponding to Figure 7.
  • FIG. 7 is a schematic flowchart of another wearing detection method provided by an embodiment of the present application.
  • the wearing detection method may include the following steps:
  • the wearable device acquires green light data, infrared light data, temperature data, and acceleration data within the second time period.
  • the wearable device can acquire at least one of green light data, infrared light data, temperature data, or acceleration data within the second time period.
  • the wearable device when the target data includes green light data, the wearable device can be based on the The green light data executes the steps shown in S702-S706 below to obtain the secondary wearing detection result. Further, when the target data also includes: at least one of infrared light data, temperature data, or acceleration data, the wearable device can detect at least one of the infrared light data, temperature data, or acceleration data. Execute the steps shown in S702-S706 below to obtain the secondary wearing detection result.
  • the second time period may be 5 seconds.
  • the wearable device can obtain M pieces of green light data, M pieces of infrared light data, M pieces of temperature data, and M pieces of acceleration data within 5 seconds.
  • the wearable device can also acquire M gyroscope data while acquiring M pieces of acceleration data.
  • the acceleration data and/or gyroscope data can be used to detect the motion status of the wearable device.
  • the wearable device performs data processing on green light data, infrared light data, temperature data, and acceleration data.
  • the data processing method may include: filtering processing, Fourier transform processing, etc.
  • the wearable device can perform band-pass filtering on green light data, infrared light data, temperature data, and acceleration data to filter noise; and perform Fourier filtering on the filtered green light data and infrared light data respectively.
  • Leaf transform is used to obtain green light data in the frequency domain and infrared light data in the frequency domain.
  • the wearable device can store the green light data in the time domain before Fourier transformation and the infrared light data in the time domain before Fourier transformation, so that the wearable device can store the green light data in the time domain in a Feature extraction is performed on infrared light data in the time domain.
  • the wearable device performs feature extraction on the processed green light data, infrared light data, temperature data, and acceleration data to obtain feature values (F1-F15).
  • the wearable device can perform feature extraction on at least one of the green light data, infrared light data, temperature data, or acceleration data that has been processed through the steps shown in S702 to obtain at least one Characteristic values corresponding to the data.
  • the characteristic value (or first characteristic value) obtained based on the green light data may include one or more of the following: green light AC component F1, green light DC component F2, green light time domain auto- Correlation coefficient F5, green light frequency domain maximum value F7, mean value of ordinate difference between adjacent green light peaks F9, standard deviation of ordinate difference between adjacent green light peaks F10, and mean value of abscissa difference between adjacent green light peaks
  • the characteristic value (or called the second Characteristic value) may include one or more of the following: infrared light AC component F3, infrared light DC component F4, infrared light time domain autocorrelation coefficient F6; characteristic value obtained based on temperature data (or called the third characteristic value) It may include: temperature average value F8; the characteristic value (or fourth characteristic value
  • the green light frequency domain maximum value F7 can be: the maximum value of the frequency in the frequency domain coordinate;
  • the average value F9 of the ordinate difference between adjacent green light peaks can be: the green light in the time domain coordinate, the two adjacent peaks The average value of the ordinate difference between them;
  • the standard deviation F10 of the ordinate difference between adjacent peaks of green light can be: the standard deviation of the ordinate difference between two adjacent peaks of green light in the time domain coordinate;
  • the average F11 of the abscissa difference between adjacent peaks of green light can be: the average of the abscissa difference between two adjacent peaks of green light in the time domain coordinate;
  • F12 can be: the standard deviation of the abscissa difference between two adjacent peaks of green light in the time domain coordinate system;
  • the mean F13 of the ordinate of the green light peak value can be: the green light in the time domain coordinate system, the corresponding peak value of each
  • the wearable device can simulate the user's heart rate characteristics by obtaining the characteristic value related to green light; by obtaining the characteristic value related to infrared light, the wearable device can distinguish the wearable device during the wear detection process Whether worn by the user or on other objects; by obtaining characteristic values related to temperature, the effect of temperature on heart rate during the wearing detection process is taken into account; by obtaining characteristic values related to acceleration, the effect of movement on heart rate during wearing detection is taken into account The impact is taken into account.
  • the feature value may also include feature values related to gyroscope data, such as gyroscope data mean, etc., so that the wearable device can use feature values related to acceleration and/or features related to gyroscope data. value to achieve accurate identification of multiple motion states of wearable devices.
  • the wearable device inputs the feature value into the decision tree classification model to obtain the first detection result.
  • the decision tree classification module may be obtained by training based on sample feature data; the first detection result may include: a probability value P1 used to indicate the wearing state, and a probability value 1- used to indicate the unworn state. P1.
  • the wearable device inputs the feature value into the LR classification model to obtain the second detection result.
  • the LR classification module can also be obtained by training based on sample feature data; the second detection result can include: a probability value P2 used to indicate the wearing state, and a probability value 1- used to indicate the unworn state. P2.
  • the wearable device can also input the feature value into other machine learning modules for multiple detections, and the module for wear monitoring may not be limited to the above-mentioned decision tree classification model and LR classification model.
  • the wearable device can input characteristic values into at least three or four different models for wear detection, which is not limited in the embodiments of the present application.
  • the wearable device obtains the secondary wearing detection result based on the first detection result and the second detection result.
  • the wearable device when the wearable device detects that P1+P2 is greater than 2-P1-P2, the wearable device can determine that the secondary wearing detection result is in the wearing state; or, when the wearable device detects that P1+P2 is less than or equal to 2 -P1-P2, the wearable device can determine that the secondary wearing detection result is in the unworn state.
  • the wearable device when the wearable device is determined to be in a wearing state based on the secondary wearing detection, the wearable device may continue to perform wearing correction based on the embodiment corresponding to FIG. 8 .
  • the wearable device may continue to perform wearing correction based on the embodiment corresponding to FIG. 8 .
  • the wearable device can end the wearing detection process and display the interface as shown in c in Figure 1 . At this time, the wearable device does not need to detect heart rate or blood oxygen, etc., thereby reducing the power consumption of the wearable device.
  • wearable devices can distinguish between users wearing wearable devices and other objects wearing wearable devices through feature extraction of green light data, infrared light data, temperature data, and acceleration data, as well as accurate identification of machine learning modules. Furthermore, the impact of temperature on heart rate and the impact of exercise on heart rate during the wear detection process are taken into account, which significantly improves the accuracy of the wear detection method.
  • the method for the wearing state correction module 505 to perform wearing detection can refer to the embodiment corresponding to FIG. 8 .
  • FIG. 8 is a schematic flowchart of yet another wearing detection method provided by an embodiment of the present application.
  • the wearing detection method may include the following steps:
  • the wearable device determines whether it meets the unworn service.
  • the unworn service may include one or more of the following, for example: charging services, or pop-up wristband services, etc., which are not limited in the embodiments of this application.
  • the wearable device determines that the unworn service is satisfied, the wearable device can perform the steps shown in S807; or, when the wearable device determines that the unworn service is not satisfied, the wearable device can perform the steps shown in S802. .
  • the wearable device when the wearable device detects that the unworn service is satisfied, the wearable device can directly output the final wearing result as being in the unworn state.
  • the wearable device determines whether it meets the wearing business.
  • the wearing service may include one or more of the following, such as: heart rate detection service, blood oxygen detection service, respiratory rate detection service, services corresponding to each exercise mode, or sleep mode Corresponding services, etc. are not limited in the embodiments of this application. Specifically, when the wearable device determines that the wearing service is satisfied, the wearable device may perform the steps shown in S806; or, when the wearable device determines that the wearing service is not satisfied, the wearable device may perform the steps shown in S803.
  • the wearable device when the wearable device detects that the wearing service is satisfied, the wearable device can directly output the final wearing result as being in a wearing state.
  • the wearable device determines whether the time period when the combined speed is greater than the combined speed threshold exceeds the time duration threshold.
  • the wearable device may perform the steps shown in S804. It is understood that the wearable device can be in motion in this scenario.
  • the wearable device may perform the steps shown in S805. It is understood that the wearable device can be in a non-moving state in this scenario.
  • the wearable device determines that it is in the wearing state.
  • the wearable device determines that the wearable device is in a motion state based on the step shown in S803 the wearable device can further determine whether an interactive service is detected.
  • the interactive service can be understood as a service that interacts with users. For example, when the wearable device detects any triggering operation of the user on the wearable device, the wearable device may determine that an interactive service is detected, and perform the steps shown in S806.
  • the wearable device determines the secondary wearing detection result as the final wearing detection result.
  • the wearable device may determine the secondary wearing detection result as the final wearing detection result. For example, when the wearable device determines that: the unworn service is not satisfied (detected based on the steps shown in S801), the unworn service is not satisfied (detected based on the steps shown in S802), and the motion state is not satisfied (detected based on the steps shown in S803).
  • the wearable device may determine the secondary wearing detection result as the final wearing detection result.
  • the wearable device determines that the final wearing detection result is that it is in a wearing state.
  • the wearable device may continue to use the wearable device to detect human body characteristics such as heart rate, blood oxygen, and/or respiration rate.
  • the wearable device determines that the final wearing detection result is that it is in an unworn state.
  • the wearable device may end the wearing detection process and display the interface shown in c in Figure 1 .
  • wearable devices can perform business-based detection to improve the stability of the wear detection method. It can be understood that based on the wearing detection processes described in the corresponding embodiments of Figures 6 to 8, the wearable device can achieve the accuracy of wearing detection in various scenarios.
  • Figure 9 is a schematic structural diagram of a wear detection device provided by an embodiment of the present application.
  • the wear detection device may be a wearable device in an embodiment of the present application, or may be a chip or chip in the wearable device. Chip system.
  • the wearing detection device 90 can be used in communication equipment, circuits, hardware components or chips.
  • the wearing detection device includes: a collection unit 901 and a processing unit 902 .
  • the collection unit 901 is used to support the wearing detection device 90 to perform data collection steps
  • the processing unit 902 is used to support the wearing detection device 90 to perform data processing steps.
  • the embodiment of the present application provides a wearing detection device 90 and a collection unit 901 for collecting target data;
  • the target data includes green light data, and the green light data is used to indicate the heart rate detected when wearing the wearable device;
  • processing Unit 902 is used to perform feature extraction on the target data to obtain feature values related to the wearing status;
  • the processing unit 902 is also used to input the feature values into the preset model to obtain the first wearing detection result;
  • the first wearing detection result Indicates whether the wearable device shown is being worn.
  • the wearing detection device 90 may also include a communication unit 903.
  • the communication unit 903 is used to support the wearing detection device 90 in performing the steps of sending data and receiving data.
  • the communication unit 903 may be an input or output interface, a pin or a circuit, etc.
  • the wearing detection device 90 may also include: a storage unit 904.
  • the processing unit 902 and the storage unit 904 are connected through lines.
  • the storage unit 904 may include one or more memories, which may be devices used to store programs or data in one or more devices or circuits.
  • the storage unit 904 may exist independently and be connected to the processing unit 902 of the wearing detection device through a communication line.
  • the storage unit 904 may also be integrated with the processing unit 902.
  • the storage unit 904 may store computer execution instructions for methods in the wearable device, so that the processing unit 902 executes the methods in the above embodiments.
  • the storage unit 904 may be a register, cache, RAM, etc., and the storage unit 904 may be integrated with the processing unit 902.
  • the storage unit 904 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, and the storage unit 904 may be independent from the processing unit 902.
  • FIG 10 is a schematic diagram of the hardware structure of another wearable device provided by an embodiment of the present application.
  • the wearable device includes a processor 1001, a communication line 1004 and at least one communication interface (exemplary in Figure 10 Taking the communication interface 1003 as an example for explanation).
  • the processor 1001 can be a general central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more processors used to control the execution of the program of the present application. integrated circuit.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • Communication lines 1004 may include circuitry that communicates information between the above-described components.
  • the communication interface 1003 uses any device such as a transceiver to communicate with other devices or communication networks, such as Ethernet, wireless local area networks (WLAN), etc.
  • a transceiver to communicate with other devices or communication networks, such as Ethernet, wireless local area networks (WLAN), etc.
  • WLAN wireless local area networks
  • the wearable device may also include memory 1002 .
  • Memory 1002 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory (RAM)) or other type that can store information and instructions.
  • a dynamic storage device can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be used by a computer Any other medium for access, but not limited to this.
  • the memory may exist independently and be connected to the processor through a communication line 1004 . Memory can also be integrated with the processor.
  • the memory 1002 is used to store computer execution instructions for executing the solution of the present application, and the processor 1001 controls the execution.
  • the processor 1001 is used to execute computer execution instructions stored in the memory 1002, thereby implementing the wearing detection method provided by the embodiment of the present application.
  • the computer execution instructions in the embodiments of the present application may also be called application codes, which are not specifically limited in the embodiments of the present application.
  • the processor 1001 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 10 .
  • the wearable device may include multiple processors, such as processor 1001 and processor 1005 in Figure 10 .
  • processors may be a single-CPU processor or a multi-CPU processor.
  • a processor here may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • a computer program product includes one or more computer instructions. When computer program instructions are loaded and executed on a computer, processes or functions according to embodiments of the present application are generated in whole or in part.
  • the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g., computer instructions may be transmitted from a website, computer, server or data center via a wired link (e.g. Coaxial cable, optical fiber, digital subscriber line (DSL) or wireless (such as infrared, wireless, microwave, etc.) means to transmit to another website site, computer, server or data center.
  • a wired link e.g. Coaxial cable, optical fiber, digital subscriber line (DSL) or wireless (such as infrared, wireless, microwave, etc.
  • the computer-readable storage medium can be Any available media that a computer can store or is a data storage device such as a server, data center, or other integrated server that includes one or more available media.
  • available media may include magnetic media (eg, floppy disks, hard disks, or tapes), optical media (eg, Digital versatile disc (digital versatile disc, DVD)), or semiconductor media (for example, solid state disk (solid state disk, SSD)), etc.
  • Computer-readable media may include computer storage media and communication media and may include any medium that can transfer a computer program from one place to another.
  • the storage media can be any target media that can be accessed by the computer.
  • the computer-readable medium may include compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM or other optical disk storage; the computer-readable medium may include a magnetic disk memory or other disk storage device.
  • any connecting wire may also be appropriately referred to as a computer-readable media.
  • coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave
  • coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium.
  • Disk and optical disc includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray disc, where disks typically reproduce data magnetically, while discs reproduce data optically using lasers. Reproduce data.

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Biophysics (AREA)
  • Animal Behavior & Ethology (AREA)
  • Pathology (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Physiology (AREA)
  • Cardiology (AREA)
  • Pulmonology (AREA)
  • General Physics & Mathematics (AREA)
  • Dentistry (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Optics & Photonics (AREA)
  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)

Abstract

Provided are a wearing detection method and a wearable device, which relate to the technical field of terminals. The method comprises: a wearable device collecting target data, the target data comprising green light data, and the green light data being used for indicating a heart rate condition detected when the wearable device is worn; the wearable device performing feature extraction on the target data to obtain a feature value related to a wearing state; and the wearable device inputting the feature value into a preset model to obtain a first wearing detection result, the first wearing detection result being used for indicating whether the wearable device is in a worn state or not. In this way, the wearable device can acquire the green light data used for indicating the heart rate condition detected when the wearable device is worn, performs feature extraction on the green light data to obtain a feature value used for representing the wearing state of the wearable device, and then inputs the feature value into the preset model, such that a relatively accurate wearing detection result can be obtained.

Description

佩戴检测方法和可穿戴设备Wear detection methods and wearable devices
本申请要求于2022年08月08日提交中国国家知识产权局、申请号为202210946262.1、申请名称为“佩戴检测方法和可穿戴设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on August 8, 2022, with application number 202210946262.1 and the application name "Wearable Detection Method and Wearable Device", the entire content of which is incorporated herein by reference. Applying.
技术领域Technical field
本申请涉及终端技术领域,尤其涉及一种佩戴检测方法和可穿戴设备。The present application relates to the field of terminal technology, and in particular, to a wear detection method and a wearable device.
背景技术Background technique
目前,随着终端技术的发展,终端设备已经成为人们工作生活的一部分。为了满足用户对于自身健康管理的需求,较多终端设备可以支持用户进行人体数据监测。例如,用户可以利用可穿戴设备检测人体数据。具体的,可穿戴设备可以在佩戴检测通过的情况下,开始测量用户的心率、呼吸率或血氧等人体特征。其中,佩戴检测用于检测可穿戴设备是否为有生命特征的生物体佩戴。At present, with the development of terminal technology, terminal equipment has become a part of people's work and life. In order to meet users' needs for their own health management, many terminal devices can support users to monitor human body data. For example, users can use wearable devices to detect human body data. Specifically, the wearable device can start to measure the user's heart rate, breathing rate or blood oxygen and other human body characteristics after passing the wearing test. Among them, wearing detection is used to detect whether the wearable device is worn by an organism with vital characteristics.
通常情况下,可穿戴设备可以基于红外信号进行佩戴检测。例如,可穿戴设备可以利用红外信号检测可穿戴设备与人体皮肤之间的距离,当距离较近时确定可穿戴设备处于用户佩戴情况,或者当距离较远时确定可穿戴设备未处于用户佩戴情况。Typically, wearable devices can perform wear detection based on infrared signals. For example, a wearable device can use infrared signals to detect the distance between the wearable device and human skin, and determine that the wearable device is in a user-worn condition when the distance is close, or determine that the wearable device is not in a user-worn condition when the distance is far. .
然而,在部分场景中,上述利用红外信号进行佩戴检测方法的准确性较低。However, in some scenarios, the accuracy of the above-mentioned wearing detection method using infrared signals is low.
发明内容Contents of the invention
本申请实施例提供一种佩戴检测方法和可穿戴设备,使得可穿戴设备可以获取用于指示佩戴可穿戴设备时检测到的心率情况的绿光数据,并通过绿光数据的特征提取,得到用于表征可穿戴设备的佩戴状态的特征值,进而将特征值输入到预设模型中可以得到较为准确的佩戴检测结果。Embodiments of the present application provide a wear detection method and a wearable device, so that the wearable device can obtain green light data used to indicate the heart rate detected when wearing the wearable device, and obtain the user information through feature extraction of the green light data. Characteristic values used to characterize the wearing status of the wearable device, and then inputting the characteristic values into the preset model can obtain more accurate wearing detection results.
第一方面,本申请实施例提供一种佩戴检测方法,方法包括:可穿戴设备采集目标数据;目标数据包括绿光数据,绿光数据用于指示佩戴可穿戴设备时检测到的心率情况;可穿戴设备对目标数据进行特征提取,得到与佩戴状态有关的特征值;可穿戴设备将特征值输入到预设模型中,得到第一佩戴检测结果;第一佩戴检测结果用于指示所示可穿戴设备是否处于佩戴状态。这样,使得可穿戴设备可以获取用于指示佩戴可穿戴设备时检测到的心率情况的绿光数据,并通过绿光数据的特征提取,得到用于表征可穿戴设备的佩戴状态的特征值,进而将特征值输入到预设模型中可以得到较为准确的佩戴检测结果。In a first aspect, embodiments of the present application provide a wear detection method. The method includes: a wearable device collects target data; the target data includes green light data, and the green light data is used to indicate the heart rate detected when the wearable device is worn; The wearable device performs feature extraction on the target data to obtain feature values related to the wearing status; the wearable device inputs the feature values into the preset model to obtain the first wearing detection result; the first wearing detection result is used to indicate the wearable Whether the device is being worn. In this way, the wearable device can obtain the green light data used to indicate the heart rate detected when wearing the wearable device, and through feature extraction of the green light data, obtain the feature value used to characterize the wearing status of the wearable device, and then Inputting the feature values into the preset model can obtain more accurate wearing detection results.
在一种可能的实现方式中,特征值包括:基于绿光数据得到的第一特征值,第一特征值包括下述一种或多种:绿光交流分量、绿光直流分量、绿光时域自相关系数、绿光频域极大值、绿光相邻峰纵坐标差值的均值、绿光相邻峰值纵坐标差值的标准差、绿光相邻峰值横坐标差值的均值、绿光相邻峰值横坐标差值的标准差、绿光峰值纵坐标的均值、或绿光时域峰值个数。这样,使得可穿戴设备可以通过第一特征值,模拟用户佩戴可穿戴设备时检测到的心率特征,进而可穿戴设备可以根据第一特征值的提取,实现对于不同场景中 佩戴状态的精准检测。In a possible implementation, the characteristic value includes: a first characteristic value obtained based on green light data, and the first characteristic value includes one or more of the following: green light AC component, green light DC component, green light time Domain autocorrelation coefficient, green light frequency domain maximum value, the mean value of the ordinate difference between adjacent green light peaks, the standard deviation of the ordinate difference between adjacent green light peaks, the mean value of the abscissa difference between adjacent green light peaks, The standard deviation of the abscissa difference between adjacent green light peaks, the mean of the ordinate of the green light peak, or the number of green light time domain peaks. In this way, the wearable device can use the first characteristic value to simulate the heart rate characteristics detected when the user wears the wearable device, and then the wearable device can extract the first characteristic value to implement various functions in different scenarios. Accurate detection of wearing status.
在一种可能的实现方式中,目标数据还包括下述一种或多种:红外光数据、温度数据或加速度数据。In a possible implementation, the target data also includes one or more of the following: infrared light data, temperature data or acceleration data.
在一种可能的实现方式中,特征值还包括下述一种或多种:基于红外光数据得到的第二特征值、基于温度数据得到的第三特征值、或基于加速度数据得到的第四特征值;其中,第二特征值包括下述一种或多种:红外光交流分量、红外光直流分量、或红外光时域自相关系数;第三特征值包括:温度均值;第四特征值包括:合速度均值。这样,使得可穿戴设备可以通过第二特征值,区分佩戴检测过程中可穿戴设备为用户佩戴还是其他物体等佩戴,通过第三特征值将佩戴检测过程中温度对于心率的影响考虑在内,通过第四特征值将佩戴检测过程中运动对于心率的影响考虑在内,进而可穿戴设备可以根据特征值的提取,实现对于不同场景中佩戴状态的精准检测。In a possible implementation, the characteristic value also includes one or more of the following: a second characteristic value obtained based on infrared light data, a third characteristic value obtained based on temperature data, or a fourth characteristic value obtained based on acceleration data. Characteristic values; wherein, the second characteristic value includes one or more of the following: infrared light AC component, infrared light DC component, or infrared light time domain autocorrelation coefficient; the third characteristic value includes: temperature average; the fourth characteristic value Includes: average combined velocity. In this way, the wearable device can use the second characteristic value to distinguish whether the wearable device is worn by the user or other objects during the wearing detection process, and the third characteristic value can take into account the impact of temperature on the heart rate during the wearing detection process. The fourth eigenvalue takes into account the impact of movement on heart rate during the wearing detection process, and the wearable device can achieve accurate detection of the wearing status in different scenarios based on the extraction of eigenvalues.
在一种可能的实现方式中,可穿戴设备对目标数据进行特征提取,包括:在可穿戴设备确定环境光数据的均值小于或等于第一阈值、温度数据满足预设温度范围,和/或红外光数据的均值小于或等于第二阈值的情况下,可穿戴设备对目标数据进行特征提取。这样,穿戴设备也可以利用红外光数据、环境光数据以及温度数据进行佩戴检测,排除可穿戴设备未与人体接触、可穿戴设备放置在物体上、以及可穿戴设备表带较松等多种不满足佩戴的场景,提高佩戴识别方法的准确性。In a possible implementation, the wearable device performs feature extraction on the target data, including: when the wearable device determines that the mean value of the ambient light data is less than or equal to the first threshold, the temperature data meets the preset temperature range, and/or infrared When the mean value of the light data is less than or equal to the second threshold, the wearable device performs feature extraction on the target data. In this way, the wearable device can also use infrared light data, ambient light data and temperature data for wear detection to eliminate various inaccuracies such as the wearable device not coming into contact with the human body, the wearable device being placed on an object, and the wearable device strap being loose. Meet the wearing scenarios and improve the accuracy of the wearing recognition method.
在一种可能的实现方式中,方法还包括:在可穿戴设备确定未检测到第一目标业务和/或未检测到第二目标业务时,可穿戴设备将第一佩戴检测结果确定为第二佩戴检测结果;其中,第一目标业务为佩戴可穿戴设备时执行的任务,第二目标任务为未佩戴可穿戴设备时执行的任务。这样,可穿戴设备可以基于业务的检测,提高佩戴检测方法的稳定性。In a possible implementation, the method further includes: when the wearable device determines that the first target service is not detected and/or the second target service is not detected, the wearable device determines the first wearing detection result as the second Wearing detection results; where the first target business is a task performed when the wearable device is worn, and the second target task is a task performed when the wearable device is not worn. In this way, wearable devices can perform business-based detection and improve the stability of the wear detection method.
在一种可能的实现方式中,第一目标业务包括下述一种或多种:心率检测业务、血氧检测业务、呼吸率检测业务、用于监测运动状态的业务、或用于监测睡眠状态的业务;第二目标业务包括下述一种或多种:充电业务、或用于指示弹出腕带的业务。In a possible implementation, the first target service includes one or more of the following: a heart rate detection service, a blood oxygen detection service, a respiratory rate detection service, a service for monitoring exercise status, or a service for monitoring sleep status. The second target service includes one or more of the following: charging service, or service for indicating ejection of the wristband.
在一种可能的实现方式中,可穿戴设备确定未检测到第一目标业务和/或未检测到第二目标业务,包括:可穿戴设备确定未检测到第一目标业务、未检测到第二目标业务、和/或检测到可穿戴设备未处于运动状态。这样,可穿戴设备可以基于业务的检测以及运动状态的检测,增加佩戴检测方法的稳定性。In a possible implementation, the wearable device determines that the first target service is not detected and/or the second target service is not detected, including: the wearable device determines that the first target service is not detected, and the second target service is not detected. Target business, and/or detect that the wearable device is not in motion. In this way, wearable devices can detect business-based and motion status, increasing the stability of the wear detection method.
在一种可能的实现方式中,方法还包括:在可穿戴设备确定检测到第一目标任务时,可穿戴设备确定第二佩戴检测结果为可穿戴设备处于佩戴状态;和/或,在可穿戴设备确定检测到第二目标任务时,可穿戴设备确定第二佩戴检测结果为可穿戴设备处于未佩戴状态。这样,可穿戴设备可以基于业务的检测,提高佩戴检测方法的稳定性。In a possible implementation, the method further includes: when the wearable device determines that the first target task is detected, the wearable device determines that the second wearing detection result is that the wearable device is in a wearing state; and/or, when the wearable device determines that the first target task is detected, When the device determines that the second target task is detected, the wearable device determines that the second wearing detection result is that the wearable device is in an unworn state. In this way, wearable devices can perform business-based detection and improve the stability of the wear detection method.
在一种可能的实现方式中,方法还包括:在第二佩戴检测结果为可穿戴设备处于佩戴状态的情况下,可穿戴设备启动目标功能。这样,可穿戴设备可以在检测到满足佩戴状态的情况下,继续执行目标功能,提高可穿戴设备进行目标功能的检测的准确性。In a possible implementation, the method further includes: when the second wearing detection result is that the wearable device is in a wearing state, the wearable device activates the target function. In this way, the wearable device can continue to perform the target function after detecting that the wearing status is satisfied, thereby improving the accuracy of the wearable device in detecting the target function.
在一种可能的实现方式中,预设模型中包括:第一预设模型以及第二预设模型,第一预设模型与第二预设模型不同,可穿戴设备将特征值输入到预设模型中,得到第一佩戴检测结果,包括:可穿戴设备将特征值分别输入到第一预设模块中以及第二预设模型中,得到第一预设模型对应的第一检测结果以及第二预设模型对应的第二检测结果;可穿戴设备 基于第一检测结果以及第二检测结果,得到第一佩戴检测结果。这样,可穿戴设备可以通过预设模型,区分用户佩戴可穿戴设备还是其他物体佩戴可穿戴设备,并利用两个预设模型提高佩戴检测方法的稳定性和准确性。In a possible implementation, the preset model includes: a first preset model and a second preset model. The first preset model is different from the second preset model. The wearable device inputs the characteristic value into the preset model. In the model, obtaining the first wearing detection result includes: the wearable device inputs the characteristic values into the first preset module and the second preset model respectively, and obtains the first detection result and the second preset model corresponding to the first preset model. The second detection result corresponding to the preset model; wearable device Based on the first detection result and the second detection result, a first wearing detection result is obtained. In this way, the wearable device can use the preset model to distinguish whether the user is wearing the wearable device or other objects are wearing the wearable device, and use the two preset models to improve the stability and accuracy of the wear detection method.
第二方面,本申请实施例提供一种佩戴检测装置,采集单元,用于采集目标数据;目标数据包括绿光数据,绿光数据用于指示佩戴可穿戴设备时检测到的心率情况;处理单元,用于对目标数据进行特征提取,得到与佩戴状态有关的特征值;处理单元,还用于将特征值输入到预设模型中,得到第一佩戴检测结果;第一佩戴检测结果用于指示所示可穿戴设备是否处于佩戴状态。In the second aspect, embodiments of the present application provide a wear detection device and a collection unit for collecting target data; the target data includes green light data, and the green light data is used to indicate the heart rate detected when wearing the wearable device; a processing unit , used to extract features from the target data and obtain feature values related to the wearing status; the processing unit is also used to input the feature values into the preset model to obtain the first wearing detection result; the first wearing detection result is used to indicate Whether the wearable device shown is being worn.
在一种可能的实现方式中,特征值包括:基于绿光数据得到的第一特征值,第一特征值包括下述一种或多种:绿光交流分量、绿光直流分量、绿光时域自相关系数、绿光频域极大值、绿光相邻峰纵坐标差值的均值、绿光相邻峰值纵坐标差值的标准差、绿光相邻峰值横坐标差值的均值、绿光相邻峰值横坐标差值的标准差、绿光峰值纵坐标的均值、或绿光时域峰值个数。In a possible implementation, the characteristic value includes: a first characteristic value obtained based on green light data, and the first characteristic value includes one or more of the following: green light AC component, green light DC component, green light time Domain autocorrelation coefficient, green light frequency domain maximum value, the mean value of the ordinate difference between adjacent green light peaks, the standard deviation of the ordinate difference between adjacent green light peaks, the mean value of the abscissa difference between adjacent green light peaks, The standard deviation of the abscissa difference between adjacent green light peaks, the mean of the ordinate of the green light peak, or the number of green light time domain peaks.
在一种可能的实现方式中,目标数据还包括下述一种或多种:红外光数据、温度数据或加速度数据。In a possible implementation, the target data also includes one or more of the following: infrared light data, temperature data or acceleration data.
在一种可能的实现方式中,特征值还包括下述一种或多种:基于红外光数据得到的第二特征值、基于温度数据得到的第三特征值、或基于加速度数据得到的第四特征值;其中,第二特征值包括下述一种或多种:红外光交流分量、红外光直流分量、或红外光时域自相关系数;第三特征值包括:温度均值;第四特征值包括:合速度均值。In a possible implementation, the characteristic value also includes one or more of the following: a second characteristic value obtained based on infrared light data, a third characteristic value obtained based on temperature data, or a fourth characteristic value obtained based on acceleration data. Characteristic values; wherein, the second characteristic value includes one or more of the following: infrared light AC component, infrared light DC component, or infrared light time domain autocorrelation coefficient; the third characteristic value includes: temperature average; the fourth characteristic value Includes: average combined velocity.
在一种可能的实现方式中,可穿戴设备对目标数据进行特征提取,包括:在可穿戴设备确定环境光数据的均值小于或等于第一阈值、温度数据满足预设温度范围,和/或红外光数据的均值小于或等于第二阈值的情况下,可穿戴设备对目标数据进行特征提取。In a possible implementation, the wearable device performs feature extraction on the target data, including: when the wearable device determines that the mean value of the ambient light data is less than or equal to the first threshold, the temperature data meets the preset temperature range, and/or infrared When the mean value of the light data is less than or equal to the second threshold, the wearable device performs feature extraction on the target data.
在一种可能的实现方式中,在可穿戴设备确定未检测到第一目标业务和/或未检测到第二目标业务时,处理单元,还用于将第一佩戴检测结果确定为第二佩戴检测结果;其中,第一目标业务为佩戴可穿戴设备时执行的任务,第二目标任务为未佩戴可穿戴设备时执行的任务。In a possible implementation, when the wearable device determines that the first target service and/or the second target service is not detected, the processing unit is also configured to determine the first wear detection result as the second wear detection result. Detection results; among them, the first target business is a task performed when wearing a wearable device, and the second target task is a task performed when a wearable device is not worn.
在一种可能的实现方式中,第一目标业务包括下述一种或多种:心率检测业务、血氧检测业务、呼吸率检测业务、用于监测运动状态的业务、或用于监测睡眠状态的业务;第二目标业务包括下述一种或多种:充电业务、或用于指示弹出腕带的业务。In a possible implementation, the first target service includes one or more of the following: a heart rate detection service, a blood oxygen detection service, a respiratory rate detection service, a service for monitoring exercise status, or a service for monitoring sleep status. The second target service includes one or more of the following: charging service, or service for indicating ejection of the wristband.
在一种可能的实现方式中,可穿戴设备确定未检测到第一目标业务和/或未检测到第二目标业务,包括:可穿戴设备确定未检测到第一目标业务、未检测到第二目标业务、和/或检测到可穿戴设备未处于运动状态。In a possible implementation, the wearable device determines that the first target service is not detected and/or the second target service is not detected, including: the wearable device determines that the first target service is not detected, and the second target service is not detected. Target business, and/or detect that the wearable device is not in motion.
在一种可能的实现方式中,在可穿戴设备确定检测到第一目标任务时,处理单元,还用于确定第二佩戴检测结果为可穿戴设备处于佩戴状态;和/或,在可穿戴设备确定检测到第二目标任务时,处理单元,还用于确定第二佩戴检测结果为可穿戴设备处于未佩戴状态。In a possible implementation, when the wearable device determines to detect the first target task, the processing unit is also configured to determine that the second wearing detection result is that the wearable device is in a wearing state; and/or, when the wearable device When it is determined that the second target task is detected, the processing unit is also configured to determine that the second wearing detection result is that the wearable device is in an unworn state.
在一种可能的实现方式中,在第二佩戴检测结果为可穿戴设备处于佩戴状态的情况下,处理单元,还用于启动目标功能。In a possible implementation, when the second wearing detection result is that the wearable device is in a wearing state, the processing unit is also configured to activate the target function.
在一种可能的实现方式中,预设模型中包括:第一预设模型以及第二预设模型,第一预设模型与第二预设模型不同,处理单元,还用于将特征值分别输入到第一预设模块中以 及第二预设模型中,得到第一预设模型对应的第一检测结果以及第二预设模型对应的第二检测结果;处理单元,还用于基于第一检测结果以及第二检测结果,得到第一佩戴检测结果。In a possible implementation, the preset model includes: a first preset model and a second preset model. The first preset model is different from the second preset model. The processing unit is also configured to separate the feature values into Input into the first preset module to and the second preset model, obtain the first detection result corresponding to the first preset model and the second detection result corresponding to the second preset model; the processing unit is also configured to, based on the first detection result and the second detection result, Get the first wearing test result.
第三方面,本申请实施例提供一种可穿戴设备,包括处理器和存储器,存储器用于存储代码指令;处理器用于运行代码指令,使得可穿戴设备以执行如第一方面或第一方面的任一种实现方式中描述的佩戴检测方法。In a third aspect, embodiments of the present application provide a wearable device, including a processor and a memory. The memory is used to store code instructions; the processor is used to run the code instructions, so that the wearable device executes the first aspect or the first aspect. The wear detection method described in any implementation.
第四方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质存储有指令,当指令被执行时,使得计算机执行如第一方面或第一方面的任一种实现方式中描述的佩戴检测方法。In a fourth aspect, embodiments of the present application provide a computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are executed, the computer executes as in the first aspect or any implementation of the first aspect. Described wear detection method.
第五方面,一种计算机程序产品,包括计算机程序,当计算机程序被运行时,使得计算机执行如第一方面或第一方面的任一种实现方式中描述的佩戴检测方法。In a fifth aspect, a computer program product includes a computer program. When the computer program is run, the computer performs the wearing detection method as described in the first aspect or any implementation of the first aspect.
应当理解的是,本申请的第三方面至第五方面与本申请的第一方面的技术方案相对应,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述。It should be understood that the third to fifth aspects of the present application correspond to the technical solution of the first aspect of the present application, and the beneficial effects achieved by each aspect and corresponding feasible implementations are similar, and will not be described again.
附图说明Description of drawings
图1为本申请实施例提供的一种场景示意图;Figure 1 is a schematic diagram of a scenario provided by an embodiment of the present application;
图2为本申请实施例提供的一种基于PPG模块进行佩戴检测的原理示意图;Figure 2 is a schematic diagram of the principle of wearing detection based on the PPG module provided by the embodiment of the present application;
图3为本申请实施例提供的一种基于2LED+8PD的PPG模块结构示意图;Figure 3 is a schematic structural diagram of a PPG module based on 2LED+8PD provided by the embodiment of the present application;
图4为本申请实施例提供的一种可穿戴设备的结构示意图;Figure 4 is a schematic structural diagram of a wearable device provided by an embodiment of the present application;
图5为本申请实施例提供的一种佩戴检测方法的架构示意图;Figure 5 is a schematic structural diagram of a wearing detection method provided by an embodiment of the present application;
图6为本申请实施例提供的一种佩戴检测方法的流程示意图;Figure 6 is a schematic flow chart of a wearing detection method provided by an embodiment of the present application;
图7为本申请实施例提供的另一种佩戴检测方法的流程示意图;Figure 7 is a schematic flow chart of another wearing detection method provided by an embodiment of the present application;
图8为本申请实施例提供的再一种佩戴检测方法的流程示意图;Figure 8 is a schematic flow chart of yet another wearing detection method provided by an embodiment of the present application;
图9为本申请实施例提供的一种佩戴检测装置的结构示意图;Figure 9 is a schematic structural diagram of a wearing detection device provided by an embodiment of the present application;
图10为本申请实施例提供的另一种可穿戴设备的硬件结构示意图。Figure 10 is a schematic diagram of the hardware structure of another wearable device provided by an embodiment of the present application.
具体实施方式Detailed ways
为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。例如,第一值和第二值仅仅是为了区分不同的值,并不对其先后顺序进行限定。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as “first” and “second” are used to distinguish the same or similar items with basically the same functions and effects. For example, the first value and the second value are only used to distinguish different values, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the number and execution order, and words such as "first" and "second" do not limit the number and execution order.
需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that in this application, words such as “exemplary” or “for example” are used to represent examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "such as" is not intended to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the words "exemplary" or "such as" is intended to present the concept in a concrete manner.
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/” 一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c,或a、b和c,其中a,b,c可以是单个,也可以是多个。In this application, "at least one" refers to one or more, and "plurality" refers to two or more. "And/or" describes the association of associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. character"/" Generally, it means that the related objects are in an "or" relationship. "At least one of the following" or similar expressions thereof refers to any combination of these items, including any combination of a single item (items) or a plurality of items (items). For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.
目前,随着终端技术的发展,终端设备已经成为人们工作生活的一部分。为了满足用户对于自身健康管理的需求,较多终端设备可以支持用户进行人体数据监测。具体的,可穿戴设备可以在佩戴检测通过的情况下,开始测量用户的心率、呼吸率或血氧等人体特征。At present, with the development of terminal technology, terminal equipment has become a part of people's work and life. In order to meet users' needs for their own health management, many terminal devices can support users to monitor human body data. Specifically, the wearable device can start to measure the user's heart rate, breathing rate or blood oxygen and other human body characteristics after passing the wearing test.
示例性的,图1为本申请实施例提供的一种场景示意图。可以理解的是,本申请实施例中以可穿戴设备为智能手表为例进行示例说明,该示例并不构成对本申请实施例的限定。Illustratively, Figure 1 is a schematic diagram of a scenario provided by an embodiment of the present application. It can be understood that in the embodiment of the present application, the wearable device is a smart watch as an example for illustration, and this example does not constitute a limitation to the embodiment of the present application.
如图1所示,用户可以利用智能手表测量用户在运动过程中的人体特征。示例性的,在用户如图1中的a所示的正常佩戴智能手表的情况下,智能手表可以进行佩戴检测,并在佩戴检测通过后测量用户心率,进而智能手表可以将检测结果显示在如图1中的b所示的界面中。如图1中的b所示的界面,该界面中可以包括:用于指示心率变化的曲线、以及心率数值,如该心率数值可以为108次/分。该界面中还可以显示:最高心率为158次/分,最低心率为62次/分,静息心率可以为67次/分,该界面中也可以显示其他内容,本申请实施例中对此不做限定。As shown in Figure 1, users can use smart watches to measure the user's human body characteristics during exercise. For example, when the user wears the smart watch normally as shown in a in Figure 1, the smart watch can perform wearing detection and measure the user's heart rate after passing the wearing detection, and then the smart watch can display the detection results as shown in In the interface shown in b in Figure 1. As shown in b in Figure 1, the interface may include: a curve used to indicate changes in heart rate, and a heart rate value. For example, the heart rate value may be 108 beats/minute. This interface can also display: the highest heart rate is 158 beats/min, the lowest heart rate is 62 beats/min, and the resting heart rate can be 67 beats/min. Other content can also be displayed in this interface, which is not the case in the embodiment of the present application. Make limitations.
进一步的,在可穿戴设备显示如图1中的b所示的界面的情况下,当可穿戴设备接收到用户摘下可穿戴设备的操作时,可穿戴设备则可以显示如图1中的c所示的界面。该图1中的c所示的界面中可以指示当前无法检测到心率,该界面中显示的其他内容可以与图1中的b所示的界面类似,在此不再赘述。Further, in the case where the wearable device displays the interface as shown in b in Figure 1, when the wearable device receives the user's operation of taking off the wearable device, the wearable device can display the interface as shown in c in Figure 1. interface shown. The interface shown in c in Figure 1 may indicate that the heart rate cannot be detected currently, and other content displayed in this interface may be similar to the interface shown in b in Figure 1, which will not be described again here.
通常情况下,可穿戴设备可以基于自身设备中的PPG模块进行佩戴检测。示例性的,图2为本申请实施例提供的一种基于PPG模块进行佩戴检测的原理示意图。其中,PPG可以理解为一种借助光电手段在活体组织中检测血液容积变化的一种检测方法。如图2所示,该PPG模块204中可以包括至少一个PD,例如PD203,以及至少一个LED,例如LED202。Normally, wearable devices can perform wear detection based on the PPG module in their own devices. For example, FIG. 2 is a schematic diagram of the principle of wearing detection based on the PPG module provided by the embodiment of the present application. Among them, PPG can be understood as a detection method that uses photoelectric means to detect changes in blood volume in living tissues. As shown in FIG. 2 , the PPG module 204 may include at least one PD, such as PD203, and at least one LED, such as LED202.
在图2对应的实施例中,可穿戴设备可以利用PPG模块204中的LED 202发射预设的电流值对应的光信号,光信号照射至皮肤组织(或理解为皮肤组织内的血液、或血管等)201,利用PD203接收透过皮肤组织201反射回的光信号,PD203将该光信号转换成电信号,并经过模数转换(analogue to digital conversion,A/D),将该电信号转换为可穿戴设备可以利用的数字信号(或称为PPG信号)。In the embodiment corresponding to Figure 2, the wearable device can use the LED 202 in the PPG module 204 to emit a light signal corresponding to a preset current value, and the light signal is irradiated to the skin tissue (or understood as blood or blood vessels in the skin tissue). etc.) 201, using PD203 to receive the light signal reflected back through the skin tissue 201, PD203 converts the light signal into an electrical signal, and through analogue to digital conversion (A/D), converts the electrical signal into Digital signals (also known as PPG signals) that wearable devices can utilize.
进一步的,以该PPG信号为红外信号为例对佩戴检测方法进行示例说明。例如,当可穿戴设备检测到接收到的红外信号大于红外信号阈值时,则可穿戴设备与人体皮肤之间的距离较近,进而可穿戴设备处于用户佩戴状态;或者,当可穿戴设备检测到接收到的红外信号小于或等于红外信号阈值时,则可穿戴设备与人体皮肤之间的距离较远,进而可穿戴设备处于用户未佩戴情况。Furthermore, the wearing detection method is illustrated by taking the PPG signal as an infrared signal as an example. For example, when the wearable device detects that the received infrared signal is greater than the infrared signal threshold, the distance between the wearable device and the human skin is close, and the wearable device is in the user-worn state; or, when the wearable device detects When the received infrared signal is less than or equal to the infrared signal threshold, the distance between the wearable device and human skin is far, and the wearable device is not worn by the user.
然而,当可穿戴设备放置于其他物体上、或者当可穿戴设备处于光线较暗或光线较强等环境中时,上述基于红外信号进行佩戴检测的方法的准确性较低,无法实现可穿戴设备处于不同场景时的灵活检测。However, when the wearable device is placed on other objects, or when the wearable device is in an environment with dark or strong light, the accuracy of the above-mentioned wearing detection method based on infrared signals is low, and the wearable device cannot be implemented. Flexible detection in different scenarios.
可能的实现方式中,用户的皮肤深浅、毛发覆盖程度、以及用户佩戴可穿戴设备的松紧程度等均可能影响上述佩戴检测的方法的准确性。 In possible implementations, the depth of the user's skin, the degree of hair coverage, and the tightness of the wearable device worn by the user may affect the accuracy of the above wearing detection method.
有鉴于此,本申请实施例提供一种佩戴检测方法,可穿戴设备采集目标数据;目标数据包括绿光数据,绿光数据用于指示佩戴可穿戴设备时检测到的心率情况;可穿戴设备可以通过对目标数据的特征提取,得到用于准确表征可穿戴设备的佩戴状态的特征值;进一步的,可穿戴设备将特征值输入到预设模型中,可以得到较为准确的佩戴检测结果;佩戴检测结果用于指示所示可穿戴设备是否处于佩戴状态。In view of this, embodiments of the present application provide a wear detection method. The wearable device collects target data; the target data includes green light data, and the green light data is used to indicate the heart rate detected when wearing the wearable device; the wearable device can Through feature extraction of the target data, feature values used to accurately characterize the wearing status of the wearable device are obtained; further, the wearable device inputs the feature values into the preset model to obtain more accurate wearing detection results; Wearing detection The result indicates whether the wearable device shown is worn.
本申请实施例中,该可穿戴设备中包括PPG模块,PPG模块中可以包括至少一个PD以及至少一个LED,该LED可以为红光、绿光和红外光的三色合一的LED。本申请实施例中描述的PPG模块中可以包括2个LED以及8个PD。In this embodiment of the present application, the wearable device includes a PPG module. The PPG module may include at least one PD and at least one LED. The LED may be a three-color LED of red light, green light, and infrared light. The PPG module described in the embodiment of this application may include 2 LEDs and 8 PDs.
示例性的,图3为本申请实施例提供的一种基于2LED+8PD的PPG模块结构示意图。如图3所示,可穿戴设备中可以设置有圆形结构的PPG模块,该圆形结构的PPG模块中可以包括:2个三色合一的LED以及8个PD。具体的,该PPG模块的最内侧为两个三色合一的LED,该两个三色合一的LED均可以用于发射光信号,例如可以发出红光、绿光和红外光等;该两个三色合一的LED外侧设置有8个呈包围结构的PD。如图3所示,该两个三色合一的LED可以包括:LED1和LED2。该8个呈包围结构的PD可以包括:PD1、PD2、PD3、PD4、PD5、PD6、PD7和PD8。For example, FIG. 3 is a schematic structural diagram of a PPG module based on 2LED+8PD provided by the embodiment of the present application. As shown in Figure 3, a wearable device can be provided with a circular structure PPG module. The circular structure PPG module can include: 2 three-color LEDs and 8 PDs. Specifically, the innermost part of the PPG module is two three-color LEDs. Both of the two three-color LEDs can be used to emit light signals, such as red light, green light, infrared light, etc.; the two three-color LEDs can be used to emit light signals. There are 8 PDs in a surrounding structure on the outside of the three-color LED. As shown in Figure 3, the two three-color LEDs may include: LED1 and LED2. The eight PDs in a surrounding structure may include: PD1, PD2, PD3, PD4, PD5, PD6, PD7 and PD8.
具体的,在利用2LED+8PD的PPG模块进行佩戴检测时,该2个LED中的至少一个LED可以发射光信号,该8个PD中的至少一个PD可以获取该由经由皮肤组织反射回的光信号,进而可穿戴设备可以基于该8个PD中的至少一个PD获取的光信号进行佩戴检测。Specifically, when using a 2LED+8PD PPG module for wear detection, at least one of the 2 LEDs can emit a light signal, and at least one of the 8 PDs can obtain the light reflected back through the skin tissue. signal, and then the wearable device can perform wear detection based on the light signal obtained by at least one PD among the eight PDs.
可以理解的是,在进行佩戴检测过程中,可穿戴设备可以利用该8个PD中的一个PD获取光信号,也可以利用该8个PD中的一对PD(例如两个PD)获取光信号,或者,也可以利用该8个PD中的所有PD获取光信号,本申请实施例中对此不做限定。It can be understood that during the wearing detection process, the wearable device can use one PD among the 8 PDs to obtain the optical signal, or can use a pair of PDs (for example, two PDs) among the 8 PDs to obtain the optical signal. , or all PDs among the eight PDs may also be used to acquire optical signals, which is not limited in the embodiments of the present application.
本申请实施例中,可穿戴设备也可以基于该8个PD中的至少一个PD获取的光信号、其他传感器检测的数据、和/或可穿戴设备执行的业务情况等,进行佩戴检测。In the embodiment of the present application, the wearable device can also perform wear detection based on the light signal obtained by at least one PD among the eight PDs, data detected by other sensors, and/or business conditions executed by the wearable device.
可以理解的是,图3中描述的PPG模块的结构仅作为一种示例,可能的方式中该PPG模块的结构也可以为2LED+4PD或者3LED+6PD等,本申请实施例中对此不做限定。It can be understood that the structure of the PPG module described in Figure 3 is only an example. In possible ways, the structure of the PPG module can also be 2LED+4PD or 3LED+6PD, etc., which is not done in the embodiment of this application. limited.
可以理解的是,本申请实施例中的可穿戴设备可以包括:智能手表、智能手环、智能手套、或智能腰带等设备。本申请实施例中对可穿戴设备所采用的具体技术和具体设备形态不做限定。It can be understood that the wearable devices in the embodiments of the present application may include: smart watches, smart bracelets, smart gloves, or smart belts and other devices. In the embodiments of this application, there are no limitations on the specific technology and specific device form used by the wearable device.
为了能够更好地理解本申请实施例,下面对本申请实施例的可穿戴设备的结构进行介绍。示例性的,图4为本申请实施例提供的一种可穿戴设备的结构示意图。In order to better understand the embodiments of the present application, the structure of the wearable device according to the embodiments of the present application is introduced below. Exemplarily, FIG. 4 is a schematic structural diagram of a wearable device provided by an embodiment of the present application.
可穿戴设备可以包括处理器110,内部存储器121,通用串行总线(universal serial bus,USB)接口,充电管理模块140,电源管理模块141,天线,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,传感器模块180,按键190,指示器192,摄像头193,以及显示屏194等。其中,传感器模块180可以包括:陀螺仪传感器180B,气压计180C,加速度传感器180E,接近光传感器180G,温度传感器180J,触摸传感器180K,以及环境光传感器180L等。The wearable device may include a processor 110, an internal memory 121, a universal serial bus (USB) interface, a charging management module 140, a power management module 141, an antenna, a mobile communication module 150, a wireless communication module 160, and an audio module. 170, speaker 170A, receiver 170B, sensor module 180, button 190, indicator 192, camera 193, and display screen 194, etc. Among them, the sensor module 180 may include: a gyroscope sensor 180B, a barometer 180C, an acceleration sensor 180E, a proximity light sensor 180G, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, etc.
可以理解的是,本申请实施例示意的结构并不构成对可穿戴设备的具体限定。在本申请另一些实施例中,可穿戴设备可以包括比图示更多或更少的部件,或者组合某些部件, 或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the wearable device. In other embodiments of the present application, the wearable device may include more or fewer components than shown in the figures, or some components may be combined, Or splitting some parts, or different parts arrangements. The components illustrated may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。处理器110中还可以设置存储器,用于存储指令和数据。Processor 110 may include one or more processing units. Among them, different processing units can be independent devices or integrated in one or more processors. The processor 110 may also be provided with a memory for storing instructions and data.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。电源管理模块141用于连接充电管理模块140与处理器110。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. The power management module 141 is used to connect the charging management module 140 and the processor 110 .
可穿戴设备的无线通信功能可以通过天线,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the wearable device can be implemented through the antenna, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
天线用于发射和接收电磁波信号。可穿戴设备中的天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。Antennas are used to transmit and receive electromagnetic wave signals. Antennas in wearable devices can be used to cover single or multiple communication bands. Different antennas can also be reused to improve antenna utilization.
移动通信模块150可以提供应用在可穿戴设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。The mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied to wearable devices. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves through an antenna, perform filtering, amplification, and other processing on the received electromagnetic waves, and transmit them to a modem processor for demodulation.
无线通信模块160可以提供应用在可穿戴设备上的包括无线局域网(wirelesslocal area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM)等无线通信的解决方案。The wireless communication module 160 can provide applications on wearable devices including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (bluetooth, BT), and global navigation satellite systems. (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM) and other wireless communication solutions.
可穿戴设备通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。Wearable devices implement display functions through GPU, display 194, and application processor. The GPU is an image processing microprocessor and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。在一些实施例中,可穿戴设备可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos, etc. Display 194 includes a display panel. In some embodiments, the wearable device may include 1 or N display screens 194, where N is a positive integer greater than 1.
可穿戴设备可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。Wearable devices can implement shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
摄像头193用于捕获静态图像或视频。在一些实施例中,可穿戴设备可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. In some embodiments, the wearable device may include 1 or N cameras 193, where N is a positive integer greater than 1.
内部存储器121可以用于存储计算机可执行程序代码,可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。Internal memory 121 may be used to store computer executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area.
可穿戴设备可以通过音频模块170,扬声器170A,受话器170B,以及应用处理器等实现音频功能。例如音乐播放,录音等。The wearable device can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, and the application processor. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。可穿戴设备可以通过扬声器170A收听音乐,或收听免提通话。受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当可穿戴设备接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. Speaker 170A, also called "speaker", is used to convert audio electrical signals into sound signals. The wearable device can listen to music through speaker 170A, or listen to hands-free calls. Receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the wearable device answers a call or voice message, the voice can be heard by bringing the receiver 170B close to the human ear.
陀螺仪传感器180B可以用于确定可穿戴设备的运动姿态。本申请实施例中,该陀螺仪传感器180B与加速度传感器180E可以共同用于对可穿戴设备运动状态的检测。 The gyro sensor 180B may be used to determine the motion posture of the wearable device. In this embodiment of the present application, the gyro sensor 180B and the acceleration sensor 180E can be used together to detect the motion state of the wearable device.
气压计180C用于测量气压。在一些实施例中,可穿戴设备可以通过气压计180C测得的气压值计算海拔高度,辅助定位和导航。Barometer 180C is used to measure air pressure. In some embodiments, the wearable device can calculate the altitude through the air pressure value measured by the barometer 180C to assist positioning and navigation.
加速度传感器180E可检测可穿戴设备在各个方向上(一般为三轴)加速度的大小。本申请实施例中,该加速度传感器180E用于检测可穿戴设备是否处于运动状态。其中,该三轴可以为X轴、Y轴以及Z轴。The acceleration sensor 180E can detect the acceleration of the wearable device in various directions (generally three axes). In this embodiment of the present application, the acceleration sensor 180E is used to detect whether the wearable device is in motion. Among them, the three axes can be X-axis, Y-axis and Z-axis.
接近光传感器180G可以包括发光二极管LED和光检测器,例如该光检测器可以为光电二极管PD。在本申请实施例中,该LED可以为三色合一的LED,该LED可以发出红光、绿光和红外光等光源;该PD可以用于接收光信号,并将该光信号处理为电信号。例如,在利用可穿戴设备进行佩戴检测的场景中,PD可以接收经过皮肤组织反射回的光信号。The proximity light sensor 180G may include a light emitting diode LED and a light detector, for example, the light detector may be a photodiode PD. In the embodiment of the present application, the LED can be a three-color LED that can emit red light, green light, infrared light and other light sources; the PD can be used to receive optical signals and process the optical signals into electrical signals. . For example, in a scenario where a wearable device is used for wear detection, the PD can receive the light signal reflected back by the skin tissue.
环境光传感器180L用于感知环境光亮度。温度传感器180J用于检测可穿戴设备的温度。本申请实施例中,温度传感器用于检测可穿戴设备所处环境的温度情况。The ambient light sensor 180L is used to sense ambient light brightness. The temperature sensor 180J is used to detect the temperature of the wearable device. In the embodiment of the present application, the temperature sensor is used to detect the temperature of the environment where the wearable device is located.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。Touch sensor 180K, also known as "touch device". The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen".
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。可穿戴设备可以接收按键输入,产生与可穿戴设备的用户设置以及功能控制有关的键信号输入。指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The buttons 190 include a power button, a volume button, etc. Key 190 may be a mechanical key. It can also be a touch button. The wearable device can receive key input and generate key signal input related to user settings and function control of the wearable device. The indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, or may be used to indicate messages, missed calls, notifications, etc.
可能的实现方式中,可穿戴设备中也可以设置其他硬件模块,本申请实施例提供的硬件结构仅作为一种示例,并不能构成对本申请实施例的限定。In possible implementations, other hardware modules may also be provided in the wearable device. The hardware structure provided in the embodiments of this application is only an example and does not constitute a limitation on the embodiments of this application.
下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以独立实现,也可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be implemented independently or combined with each other. The same or similar concepts or processes may not be described again in some embodiments.
示例性的,图5为本申请实施例提供的一种佩戴检测方法的架构示意图。如图5所示,该佩戴检测方法的架构中可以包括多个功能模块,例如:传感器数据采集模块501、一级佩戴检测模块502、特征提取模块503、二级佩戴检测模块504、以及佩戴状态校正模块(或也可以称为三级佩戴检测模块)505。Exemplarily, FIG. 5 is an architectural schematic diagram of a wearing detection method provided by an embodiment of the present application. As shown in Figure 5, the architecture of the wearing detection method may include multiple functional modules, such as: sensor data collection module 501, primary wearing detection module 502, feature extraction module 503, secondary wearing detection module 504, and wearing status Calibration module (or can also be called a three-level wearing detection module) 505.
在传感器数据采集模块501中,可穿戴设备可以利用各类型传感器分别进行数据采集。例如,可穿戴设备可以利用加速度传感器检测加速度数据、利用陀螺仪传感器检测陀螺仪数据(或称为角加速度数据)、利用温度传感器检测温度数据、利用接近光传感器检测红外光数据、绿光数据以及环境光数据等。In the sensor data collection module 501, the wearable device can use various types of sensors to collect data respectively. For example, a wearable device can use an acceleration sensor to detect acceleration data, a gyroscope sensor to detect gyroscope data (or angular acceleration data), a temperature sensor to detect temperature data, a proximity light sensor to detect infrared light data, green light data, and Ambient light data, etc.
可能的实现方式中,该环境光数据可以是接近光传感器中的LED不发光时,PD检测到的数据;或者,该环境光数据也可以是利用环境光传感器等传感器采集得到的,本申请实施例中对获取环境光数据的方法不做限定。In a possible implementation, the ambient light data can be data detected by the PD when the LED in the proximity light sensor does not emit light; or, the ambient light data can also be collected using sensors such as ambient light sensors. This application implements In the example, there are no restrictions on the method of obtaining ambient light data.
在一级佩戴检测模块502中,可穿戴设备可以利用红外光数据以及绿光数据进行一级佩戴检测,并在一级佩戴检测过程中利用温度数据过滤用户未佩戴可穿戴设备的情况。In the first-level wearing detection module 502, the wearable device can use infrared light data and green light data to perform first-level wearing detection, and use temperature data to filter out situations where the user is not wearing the wearable device during the first-level wearing detection process.
在特征提取模块503中,可穿戴设备可以对采集到的数据进行信号滤波处理,以滤除噪声;进一步的,可穿戴设备对该经过滤波处理后的数据进行特征提取,得到特征值。In the feature extraction module 503, the wearable device can perform signal filtering on the collected data to filter out noise; further, the wearable device can perform feature extraction on the filtered data to obtain feature values.
其中,该特征值可以包括下述一种或多种:绿光交流分量F1、绿光直流分量F2、红 外光交流分量F3、红外光直流分量F4、绿光时域自相关系数F5、红外光时域自相关系数F6、绿光频域极大值F7、温度均值F8、绿光相邻峰纵坐标差值的均值F9、绿光相邻峰值纵坐标差值的标准差F10、绿光相邻峰值横坐标差值的均值F11、绿光相邻峰值横坐标差值的标准差F12、绿光峰值纵坐标的均值F13、绿光时域峰值个数F14、或合速度均值F15等。其中,上述特征值的描述可以参见图7对应的实施例,在此不再赘述。Wherein, the characteristic value may include one or more of the following: green light AC component F1, green light DC component F2, red light External light AC component F3, infrared light DC component F4, green light time domain autocorrelation coefficient F5, infrared light time domain autocorrelation coefficient F6, green light frequency domain maximum value F7, temperature mean F8, green light adjacent peak ordinate The mean value of the difference F9, the standard deviation of the ordinate difference between adjacent green light peaks F10, the mean value of the abscissa difference between adjacent green light peaks F11, the standard deviation of the abscissa difference between adjacent green light peaks F12, the green light peak value The mean value of the ordinate F13, the number of peaks in the green light time domain F14, or the mean value of the combined speed F15, etc. For the description of the above characteristic values, please refer to the corresponding embodiment in Figure 7 and will not be described again here.
可以理解的是,本申请实施例中提供的15个特征值仅作为一种示例,该特征值中也可以包括其他参数值,本申请实施例中对此不做限定。It can be understood that the 15 characteristic values provided in the embodiment of the present application are only used as an example. The characteristic values may also include other parameter values, which are not limited in the embodiment of the present application.
在二级佩戴检测模块504中,可穿戴设备可以将特征值分别输入到决策树分类模型以及逻辑回归(logistic regression,LR)分类模型中,得到两个分类模型分别对应的检测结果,并基于该两个分类模型分别对应的检测结果,得到二级佩戴检测结果。In the secondary wearing detection module 504, the wearable device can input the feature values into the decision tree classification model and the logistic regression (LR) classification model respectively to obtain detection results corresponding to the two classification models, and based on the The two classification models respectively correspond to the detection results to obtain the secondary wearing detection results.
在佩戴状态校正模块505,可穿戴设备可以通过对于当前业务状态的检测、业务状态转移情况的检测、以及二级佩戴检测结果,得到最终佩戴检测结果。In the wearing status correction module 505, the wearable device can obtain the final wearing detection result by detecting the current business status, detecting the business status transfer situation, and the secondary wearing detection results.
可以理解的是,本申请实施例对一级佩戴检测、二级佩戴检测以及佩戴状态校正的顺序不做限定。可能的实现方式中,可穿戴设备也可以先执行佩戴状态校正过程,再执行一级佩戴检测以及二级佩戴检测,本申请实施例中对此不做限定。It can be understood that the embodiments of the present application do not limit the order of primary wearing detection, secondary wearing detection, and wearing status correction. In a possible implementation, the wearable device may also first perform a wearing state correction process, and then perform first-level wearing detection and second-level wearing detection, which is not limited in the embodiments of this application.
可以理解的是,可穿戴设备可以基于图5所示的多级佩戴检测中的一种或多种方式进行佩戴检测,使得佩戴检测方法可以使用于多种场景,并提高佩戴检测方法的准确性。It can be understood that the wearable device can perform wearing detection based on one or more of the multi-level wearing detection methods shown in Figure 5, so that the wearing detection method can be used in a variety of scenarios and improve the accuracy of the wearing detection method. .
在图5对应的实施例的基础上,可能的实现方式中,可穿戴设备中的一级佩戴检测模块502进行佩戴检测的方法可以参见图6对应的实施例。Based on the embodiment corresponding to Figure 5, in a possible implementation, the method for performing wear detection by the primary wearing detection module 502 in the wearable device can refer to the embodiment corresponding to Figure 6.
示例性的,图6为本申请实施例提供的一种佩戴检测方法的流程示意图。如图6所示,该佩戴检测方法可以包括如下步骤:Exemplarily, FIG. 6 is a schematic flowchart of a wearing detection method provided by an embodiment of the present application. As shown in Figure 6, the wearing detection method may include the following steps:
S601、可穿戴设备获取第一时间段内的红外光数据、环境光数据以及温度数据。S601. The wearable device acquires infrared light data, ambient light data and temperature data within the first time period.
本申请实施例中,该第一时间段可以为1秒。具体的,可穿戴设备可以在1秒内获取N个红外光数据、N个环境光数据、以及N个温度数据。进一步的,可穿戴设备可以获取该N个红外光数据对应的红外光均值、以及该N个环境光数据对应的环境光均值。In this embodiment of the present application, the first time period may be 1 second. Specifically, the wearable device can obtain N pieces of infrared light data, N pieces of ambient light data, and N pieces of temperature data within 1 second. Further, the wearable device can obtain the average infrared light value corresponding to the N pieces of infrared light data and the average ambient light value corresponding to the N pieces of ambient light data.
示例性的,可穿戴设备可以在检测到用户开启目标功能时执行S601所示的步骤;或者,可穿戴设备也可以根据预先设置的指令周期性的执行S601所示的步骤。其中,该目标功能可以为:用于监测心率的功能、用于监测血氧的功能、用于检测呼吸率的功能、用于记录睡眠状态的功能、以及用于记录运动状态的功能等。For example, the wearable device can perform the steps shown in S601 when detecting that the user turns on the target function; or the wearable device can also periodically perform the steps shown in S601 according to preset instructions. Among them, the target function may be: a function for monitoring heart rate, a function for monitoring blood oxygen, a function for detecting respiratory rate, a function for recording sleep status, a function for recording exercise status, etc.
S602、可穿戴设备判断温度数据是否满足预设温度范围。S602. The wearable device determines whether the temperature data meets the preset temperature range.
本申请实施例中,当可穿戴设备确定N个温度数据均满足预设范围时,可穿戴设备可以执行S603所示的步骤;或者,当可穿戴设备确定N个温度数据中的至少一个温度数据不满足预设范围时,可穿戴设备可以执行S606所示的步骤。In the embodiment of the present application, when the wearable device determines that the N pieces of temperature data all meet the preset range, the wearable device can perform the steps shown in S603; or when the wearable device determines that at least one temperature data among the N pieces of temperature data When the preset range is not met, the wearable device can perform the steps shown in S606.
可以理解的是,在用户佩戴可穿戴设备的过程中,可穿戴设备可以检测人体的体温数据,因此可穿戴设备可以利用温度数据排除可穿戴设备未与人体接触时的场景。其中该预设温度范围可以为人体在正常环境下的体温范围。It can be understood that when the user wears the wearable device, the wearable device can detect the body temperature data of the human body, so the wearable device can use the temperature data to exclude scenarios when the wearable device is not in contact with the human body. The preset temperature range may be the body temperature range of the human body in a normal environment.
S603、可穿戴设备判断环境光均值是否大于环境光阈值。S603. The wearable device determines whether the average ambient light value is greater than the ambient light threshold.
本申请实施例中,当可穿戴设备确定环境光均值大于环境光阈值时,可穿戴设备可以执行S606所示的步骤;或者,当可穿戴设备确定环境光均值小于或等于环境光阈值时, 可穿戴设备可以执行S604所示的步骤。其中,该环境光均值以及环境光阈值均可以为电流数值。In the embodiment of the present application, when the wearable device determines that the average ambient light value is greater than the ambient light threshold, the wearable device may perform the steps shown in S606; or, when the wearable device determines that the average ambient light value is less than or equal to the ambient light threshold, The wearable device can perform the steps shown in S604. Wherein, the ambient light average value and the ambient light threshold value can both be current values.
可以理解的是,可穿戴设备可以通过环境光数据的获取,排除可穿戴设备未正常佩戴在用户手腕时的场景。例如,可穿戴设备可以排除可穿戴设备放置在物体上、或者表带较松等由于可穿戴设备未紧靠人体导致的环境光较强的场景。It is understandable that the wearable device can obtain ambient light data to exclude the scenario when the wearable device is not normally worn on the user's wrist. For example, wearable devices can exclude scenarios where the wearable device is placed on an object, or the strap is loose, and the ambient light is strong because the wearable device is not close to the human body.
S604、可穿戴设备判断红外光均值是否大于红外光阈值。S604. The wearable device determines whether the average infrared light value is greater than the infrared light threshold.
本申请实施例中,当可穿戴设备确定红外光均值大于红外光阈值时,可穿戴设备可以执行S605所示的步骤;或者,当可穿戴设备确定红外光均值小于或等于红外光阈值时,可穿戴设备可以执行S606所示的步骤。其中,该红外光阈值可以为通常情况下红外信号经由人体反射回可穿戴设备时的数值,该红外光均值以及红外光阈值均可以为电流数值。In the embodiment of the present application, when the wearable device determines that the average infrared light value is greater than the infrared light threshold, the wearable device can perform the steps shown in S605; or, when the wearable device determines that the average infrared light value is less than or equal to the infrared light threshold, the wearable device can The wearable device can perform the steps shown in S606. Wherein, the infrared light threshold can be the value when the infrared signal is reflected back to the wearable device through the human body under normal circumstances, and the infrared light average value and the infrared light threshold can both be current values.
可以理解的是,由于红外光照射到人体时,皮肤组织中的血液或血管等可以对部分红外光进行吸收,使得经由人体反射回的红外光数据与红外光照射到其他物体时反射回的红外光数据存在较大差异,因此可穿戴设备可以利用红外光数据排除可穿戴设备放置在物体上的场景。It can be understood that when infrared light is irradiated to the human body, the blood or blood vessels in the skin tissue can absorb part of the infrared light, so that the infrared light data reflected back by the human body is different from the infrared light reflected back when the infrared light is irradiated to other objects. There are large differences in light data, so wearable devices can use infrared light data to rule out scenarios where the wearable device is placed on an object.
S605、可穿戴设备确定一级佩戴检测结果为处于佩戴状态。S605. The wearable device determines that the first-level wearing detection result is that it is in a wearing state.
示例性的,在可穿戴设备基于一级佩戴检测确定处于佩戴状态的情况下,可穿戴设备可以继续基于图7对应的实施例进行二级佩戴检测。For example, when the wearable device is determined to be in the wearing state based on the primary wearing detection, the wearable device may continue to perform the secondary wearing detection based on the embodiment corresponding to FIG. 7 .
S606、可穿戴设备确定一级佩戴检测结果为处于未佩戴状态。S606. The wearable device determines that the first-level wearing detection result is in the unworn state.
可能的实现方式中,在可穿戴设备基于一级佩戴检测确定处于未佩戴状态的情况下,可穿戴设备可以基于图7对应的实施例进行二级佩戴检测。In a possible implementation, when the wearable device is determined to be in an unworn state based on the primary wearing detection, the wearable device may perform secondary wearing detection based on the embodiment corresponding to FIG. 7 .
可能的实现方式中,在可穿戴设备基于一级佩戴检测确定处于未佩戴状态的情况下,可穿戴设备可以结束佩戴检测流程,并显示如图1中的c所示的界面。此时,可穿戴设备可以不进行心率或血氧等的检测,降低可穿戴设备的功耗。In a possible implementation, when the wearable device is determined to be in an unworn state based on the first-level wearing detection, the wearable device can end the wearing detection process and display the interface as shown in c in Figure 1 . At this time, the wearable device does not need to detect heart rate or blood oxygen, etc., thereby reducing the power consumption of the wearable device.
可能的实现方式中,可穿戴设备也可以在确定处于未佩戴状态的情况下,显示提示信息或者进行震动或者响铃等提示,指示用户当前未佩戴好可穿戴设备。In a possible implementation, when the wearable device is determined to be in a not-worn state, it can also display prompt information or vibrate or ring to indicate that the user is not currently wearing the wearable device.
可以理解的是,可穿戴设备可以基于S602、S603以及S604中的一种或多种判断逻辑进行佩戴检测,本申请实施例中对此不做限定。It can be understood that the wearable device can perform wearing detection based on one or more judgment logics in S602, S603 and S604, which is not limited in the embodiments of the present application.
基于此,可穿戴设备可以利用红外光数据、环境光数据以及温度数据进行初次的佩戴检测,排除可穿戴设备未与人体接触、可穿戴设备放置在物体上、以及可穿戴设备表带较松等多种不满足佩戴的场景,提高佩戴识别方法的准确性。Based on this, the wearable device can use infrared light data, ambient light data and temperature data to conduct initial wear detection to rule out that the wearable device is not in contact with the human body, the wearable device is placed on an object, and the wearable device strap is loose, etc. A variety of unsatisfactory wearing scenarios improve the accuracy of the wearing recognition method.
在图5对应的实施例的基础上,可能的实现方式中,二级佩戴检测模块504进行佩戴检测的方法可以参见图7对应的实施例。Based on the embodiment corresponding to Figure 5, in a possible implementation, the method for performing wearing detection by the secondary wearing detection module 504 can refer to the embodiment corresponding to Figure 7.
示例性的,图7为本申请实施例提供的另一种佩戴检测方法的流程示意图。如图7所示,该佩戴检测方法可以包括如下步骤:Exemplarily, FIG. 7 is a schematic flowchart of another wearing detection method provided by an embodiment of the present application. As shown in Figure 7, the wearing detection method may include the following steps:
S701、可穿戴设备获取第二时间段内的绿光数据、红外光数据、温度数据、以及加速度数据。S701. The wearable device acquires green light data, infrared light data, temperature data, and acceleration data within the second time period.
可能的实现方式中,可穿戴设备可以获取第二时间段内的绿光数据、红外光数据、温度数据、或加速度数据中的至少一种数据。In a possible implementation, the wearable device can acquire at least one of green light data, infrared light data, temperature data, or acceleration data within the second time period.
可能的实现方式中,在目标数据中包括绿光数据的情况下,可穿戴设备可以基于对该 绿光数据执行如下述S702-S706所示的步骤,得到二级佩戴检测结果。进一步的,当目标数据中还包括:红外光数据、温度数据、或加速度数据中的至少一种数据时,可穿戴设备可以对该红外光数据、温度数据、或加速度数据中的至少一种数据执行如下述S702-S706所示的步骤,得到二级佩戴检测结果。In a possible implementation, when the target data includes green light data, the wearable device can be based on the The green light data executes the steps shown in S702-S706 below to obtain the secondary wearing detection result. Further, when the target data also includes: at least one of infrared light data, temperature data, or acceleration data, the wearable device can detect at least one of the infrared light data, temperature data, or acceleration data. Execute the steps shown in S702-S706 below to obtain the secondary wearing detection result.
本申请实施例中该第二时间段可以为5秒。具体的,可穿戴设备可以在5秒内获取M个绿光数据、M个红外光数据、M个温度数据以及M个加速度数据。In this embodiment of the present application, the second time period may be 5 seconds. Specifically, the wearable device can obtain M pieces of green light data, M pieces of infrared light data, M pieces of temperature data, and M pieces of acceleration data within 5 seconds.
可能的实现方式中,可穿戴设备也可以在获取M个加速度数据的同时,获取M个陀螺仪数据。其中,该加速度数据和/或陀螺仪数据可以用于对可穿戴设备的运动状态进行检测。In a possible implementation, the wearable device can also acquire M gyroscope data while acquiring M pieces of acceleration data. The acceleration data and/or gyroscope data can be used to detect the motion status of the wearable device.
S702、可穿戴设备对绿光数据、红外光数据、温度数据、以及加速度数据进行数据处理。S702. The wearable device performs data processing on green light data, infrared light data, temperature data, and acceleration data.
本申请实施例中,该数据处理的方法可以包括:滤波处理、以及傅里叶变换处理等。示例性的,可穿戴设备可以对绿光数据、红外光数据、温度数据、以及加速度数据分别进行带通滤波处理,以过滤噪声;并对滤波后的绿光数据以及红外光数据分别进行傅里叶变换,得到频域的绿光数据、以及频域的红外光数据。In this embodiment of the present application, the data processing method may include: filtering processing, Fourier transform processing, etc. For example, the wearable device can perform band-pass filtering on green light data, infrared light data, temperature data, and acceleration data to filter noise; and perform Fourier filtering on the filtered green light data and infrared light data respectively. Leaf transform is used to obtain green light data in the frequency domain and infrared light data in the frequency domain.
可以理解的是,可穿戴设备可以存储傅里叶变换前的时域的绿光数据、以及傅里叶变换前的时域的红外光数据,使得可穿戴设备可以对时域的绿光数据以及时域的红外光数据进行特征提取。It can be understood that the wearable device can store the green light data in the time domain before Fourier transformation and the infrared light data in the time domain before Fourier transformation, so that the wearable device can store the green light data in the time domain in a Feature extraction is performed on infrared light data in the time domain.
S703、可穿戴设备对数据处理后的绿光数据、红外光数据、温度数据、以及加速度数据进行特征提取,得到特征值(F1-F15)。S703. The wearable device performs feature extraction on the processed green light data, infrared light data, temperature data, and acceleration data to obtain feature values (F1-F15).
可能的实现方式中,可穿戴设备可以对经过S702所示的步骤进行数据处理后的绿光数据、红外光数据、温度数据、或加速度数据中的至少一种数据进行特征提取,得到至少一种数据对应的特征值。In a possible implementation, the wearable device can perform feature extraction on at least one of the green light data, infrared light data, temperature data, or acceleration data that has been processed through the steps shown in S702 to obtain at least one Characteristic values corresponding to the data.
本申请实施例中,基于绿光数据得到的特征值(或称为第一特征值)可以包括下述一种或多种:绿光交流分量F1、绿光直流分量F2、绿光时域自相关系数F5、绿光频域极大值F7、绿光相邻峰纵坐标差值的均值F9、绿光相邻峰值纵坐标差值的标准差F10、绿光相邻峰值横坐标差值的均值F11、绿光相邻峰值横坐标差值的标准差F12、绿光峰值纵坐标的均值F13、或绿光时域峰值个数F14;基于红外光数据得到的特征值(或称为第二特征值)可以包括下述一种或多种:红外光交流分量F3、红外光直流分量F4、红外光时域自相关系数F6;基于温度数据得到的特征值(或称为第三特征值)可以包括:温度均值F8;基于加速度数据得到的特征值(或称为第四特征值)可以包括:合速度均值F15等。In the embodiment of the present application, the characteristic value (or first characteristic value) obtained based on the green light data may include one or more of the following: green light AC component F1, green light DC component F2, green light time domain auto- Correlation coefficient F5, green light frequency domain maximum value F7, mean value of ordinate difference between adjacent green light peaks F9, standard deviation of ordinate difference between adjacent green light peaks F10, and mean value of abscissa difference between adjacent green light peaks The mean F11, the standard deviation of the abscissa difference between adjacent green light peaks F12, the mean of the ordinate of the green light peak F13, or the number of green light time domain peaks F14; the characteristic value (or called the second Characteristic value) may include one or more of the following: infrared light AC component F3, infrared light DC component F4, infrared light time domain autocorrelation coefficient F6; characteristic value obtained based on temperature data (or called the third characteristic value) It may include: temperature average value F8; the characteristic value (or fourth characteristic value) obtained based on the acceleration data may include: resultant velocity average value F15, etc.
其中,该绿光频域极大值F7可以为:频域坐标下频率的最大值;绿光相邻峰纵坐标差值的均值F9可以为:绿光在时域坐标下,相邻两峰值之间的纵坐标差值的平均值;绿光相邻峰值纵坐标差值的标准差F10可以为:绿光在时域坐标下,相邻两峰值之间的纵坐标差值的标准差;绿光相邻峰值横坐标差值的均值F11可以为:绿光在时域坐标下,相邻两峰值之间的横坐标差值的平均值;绿光相邻峰值横坐标差值的标准差F12可以为:绿光在时域坐标下,相邻两峰值之间的横坐标差值的标准差;绿光峰值纵坐标的均值F13可以为:绿光在时域坐标系下,各峰值对应的纵坐标的均值;绿光时域峰值个数F14可以为:绿光在时域坐标系下,峰值的个数;合速度均值F15可以为:基于三轴分别对应的加速度 数据得到的。Among them, the green light frequency domain maximum value F7 can be: the maximum value of the frequency in the frequency domain coordinate; the average value F9 of the ordinate difference between adjacent green light peaks can be: the green light in the time domain coordinate, the two adjacent peaks The average value of the ordinate difference between them; the standard deviation F10 of the ordinate difference between adjacent peaks of green light can be: the standard deviation of the ordinate difference between two adjacent peaks of green light in the time domain coordinate; The average F11 of the abscissa difference between adjacent peaks of green light can be: the average of the abscissa difference between two adjacent peaks of green light in the time domain coordinate; the standard deviation of the abscissa difference of adjacent peaks of green light F12 can be: the standard deviation of the abscissa difference between two adjacent peaks of green light in the time domain coordinate system; the mean F13 of the ordinate of the green light peak value can be: the green light in the time domain coordinate system, the corresponding peak value of each peak The mean value of the ordinate; the number of green light time domain peaks F14 can be: the number of green light peaks in the time domain coordinate system; the combined velocity mean F15 can be: the corresponding acceleration based on the three axes data obtained.
可以理解的是,在特征提取模块503中,可穿戴设备可以通过获取与绿光相关的特征值,模拟用户的心率特征;通过获取与红外光相关的特征值,区分佩戴检测过程中可穿戴设备为用户佩戴还是其他物体等佩戴;通过获取与温度相关的特征值,将佩戴检测过程中温度对于心率的影响考虑在内;通过获取与加速度相关的特征值,将佩戴检测过程中运动对于心率的影响考虑在内。It can be understood that in the feature extraction module 503, the wearable device can simulate the user's heart rate characteristics by obtaining the characteristic value related to green light; by obtaining the characteristic value related to infrared light, the wearable device can distinguish the wearable device during the wear detection process Whether worn by the user or on other objects; by obtaining characteristic values related to temperature, the effect of temperature on heart rate during the wearing detection process is taken into account; by obtaining characteristic values related to acceleration, the effect of movement on heart rate during wearing detection is taken into account The impact is taken into account.
可能的实现方式中,该特征值中也可以包括陀螺仪数据相关的特征值,例如陀螺仪数据均值等,使得可穿戴设备可以通过与加速度相关的特征值和/或与陀螺仪数据相关的特征值,实现对于可穿戴设备的多种运动状态的精准识别。In a possible implementation, the feature value may also include feature values related to gyroscope data, such as gyroscope data mean, etc., so that the wearable device can use feature values related to acceleration and/or features related to gyroscope data. value to achieve accurate identification of multiple motion states of wearable devices.
S704、可穿戴设备将特征值输入到决策树分类模型中,得到第一检测结果。S704. The wearable device inputs the feature value into the decision tree classification model to obtain the first detection result.
其中,该决策树分类模块可以为基于样本特征数据的训练得到的;该第一检测结果可以包括:用于指示处于佩戴状态的概率值P1、以及用于指示处于未佩戴状态的概率值1-P1。Wherein, the decision tree classification module may be obtained by training based on sample feature data; the first detection result may include: a probability value P1 used to indicate the wearing state, and a probability value 1- used to indicate the unworn state. P1.
S705、可穿戴设备将特征值输入到LR分类模型中,得到第二检测结果。S705. The wearable device inputs the feature value into the LR classification model to obtain the second detection result.
其中,该LR分类模块也可以为基于样本特征数据的训练得到的;该第二检测结果可以包括:用于指示处于佩戴状态的概率值P2、以及用于指示处于未佩戴状态的概率值1-P2。Wherein, the LR classification module can also be obtained by training based on sample feature data; the second detection result can include: a probability value P2 used to indicate the wearing state, and a probability value 1- used to indicate the unworn state. P2.
可以理解的是,可穿戴设备也可以将该特征值输入到其他机器学习模块中进行多次检测,且进行佩戴监测的模块可以不限于上述决策树分类模型以及LR分类模型。例如,可穿戴设备可以将特征值分别输入到至少3个或4等不同的模型中进行佩戴检测,本申请实施例中对此不做限定。It can be understood that the wearable device can also input the feature value into other machine learning modules for multiple detections, and the module for wear monitoring may not be limited to the above-mentioned decision tree classification model and LR classification model. For example, the wearable device can input characteristic values into at least three or four different models for wear detection, which is not limited in the embodiments of the present application.
S706、可穿戴设备基于第一检测结果以及第二检测结果,得到二级佩戴检测结果。S706. The wearable device obtains the secondary wearing detection result based on the first detection result and the second detection result.
其中,当可穿戴设备检测到P1+P2大于2-P1-P2时,则可穿戴设备可以确定二级佩戴检测结果为处于佩戴状态;或者,当可穿戴设备检测到P1+P2小于或等于2-P1-P2时,则可穿戴设备可以确定二级佩戴检测结果为处于未佩戴状态。Among them, when the wearable device detects that P1+P2 is greater than 2-P1-P2, the wearable device can determine that the secondary wearing detection result is in the wearing state; or, when the wearable device detects that P1+P2 is less than or equal to 2 -P1-P2, the wearable device can determine that the secondary wearing detection result is in the unworn state.
进一步的,在可穿戴设备基于二级佩戴检测确定处于佩戴状态的情况下,可穿戴设备可以继续基于图8对应的实施例进行佩戴校正。Further, when the wearable device is determined to be in a wearing state based on the secondary wearing detection, the wearable device may continue to perform wearing correction based on the embodiment corresponding to FIG. 8 .
在可穿戴设备基于二级佩戴检测确定处于未佩戴状态的情况下,可穿戴设备可以继续基于图8对应的实施例进行佩戴校正。或者,在可穿戴设备基于二级佩戴检测确定处于未佩戴状态的情况下,可穿戴设备可以结束佩戴检测流程,并显示如图1中的c所示的界面。此时,可穿戴设备可以不进行心率或血氧等的检测,降低可穿戴设备的功耗。When the wearable device is determined to be in the unworn state based on the secondary wearing detection, the wearable device may continue to perform wearing correction based on the embodiment corresponding to FIG. 8 . Alternatively, when the wearable device is determined to be in the unworn state based on the secondary wearing detection, the wearable device can end the wearing detection process and display the interface as shown in c in Figure 1 . At this time, the wearable device does not need to detect heart rate or blood oxygen, etc., thereby reducing the power consumption of the wearable device.
基于此,可穿戴设备可以通过对绿光数据、红外光数据、温度数据、以及加速度数据等的特征提取,以及机器学习模块的精准识别,区分用户佩戴可穿戴设备还是其他物体佩戴可穿戴设备,并且将佩戴检测过程中温度对于心率的影响、以及运动对于心率的影响考虑在内,显著进而提高佩戴检测方法的准确性。Based on this, wearable devices can distinguish between users wearing wearable devices and other objects wearing wearable devices through feature extraction of green light data, infrared light data, temperature data, and acceleration data, as well as accurate identification of machine learning modules. Furthermore, the impact of temperature on heart rate and the impact of exercise on heart rate during the wear detection process are taken into account, which significantly improves the accuracy of the wear detection method.
在图5对应的实施例的基础上,可能的实现方式中,佩戴状态校正模块505进行佩戴检测的方法可以参见图8对应的实施例。Based on the embodiment corresponding to FIG. 5 , in a possible implementation, the method for the wearing state correction module 505 to perform wearing detection can refer to the embodiment corresponding to FIG. 8 .
示例性的,图8为本申请实施例提供的再一种佩戴检测方法的流程示意图。如图8所示,该佩戴检测方法可以包括如下步骤:Exemplarily, FIG. 8 is a schematic flowchart of yet another wearing detection method provided by an embodiment of the present application. As shown in Figure 8, the wearing detection method may include the following steps:
S801、可穿戴设备判断是否满足未佩戴业务。S801. The wearable device determines whether it meets the unworn service.
其中,该未佩戴业务(或称为第二目标业务)可以包括下述一种或多种,例如:充电 业务、或弹出腕带业务等,本申请实施例中对此不做限定。具体的,当可穿戴设备确定满足未佩戴业务时,可穿戴设备可以执行S807所示的步骤;或者,当可穿戴设备确定不满足该未佩戴业务时,可穿戴设备可以执行S802所示的步骤。The unworn service (or called the second target service) may include one or more of the following, for example: charging services, or pop-up wristband services, etc., which are not limited in the embodiments of this application. Specifically, when the wearable device determines that the unworn service is satisfied, the wearable device can perform the steps shown in S807; or, when the wearable device determines that the unworn service is not satisfied, the wearable device can perform the steps shown in S802. .
可以理解的是,在可穿戴设备检测到满足未佩戴业务时,可穿戴设备可以直接输出最终佩戴结果为处于未佩戴状态。It can be understood that when the wearable device detects that the unworn service is satisfied, the wearable device can directly output the final wearing result as being in the unworn state.
S802、可穿戴设备判断是否满足佩戴业务。S802. The wearable device determines whether it meets the wearing business.
其中,该佩戴业务(或称为第一目标业务)可以包括下述一种或多种,例如:心率检测业务、血氧检测业务、呼吸率检测业务、各运动模式对应的业务、或睡眠模式对应的业务等,本申请实施例中对此不做限定。具体的,当可穿戴设备确定满足佩戴业务时,可穿戴设备可以执行S806所示的步骤;或者,当可穿戴设备确定不满足该佩戴业务时,可穿戴设备可以执行S803所示的步骤。The wearing service (or first target service) may include one or more of the following, such as: heart rate detection service, blood oxygen detection service, respiratory rate detection service, services corresponding to each exercise mode, or sleep mode Corresponding services, etc. are not limited in the embodiments of this application. Specifically, when the wearable device determines that the wearing service is satisfied, the wearable device may perform the steps shown in S806; or, when the wearable device determines that the wearing service is not satisfied, the wearable device may perform the steps shown in S803.
可以理解的是,在可穿戴设备检测到满足佩戴业务时,可穿戴设备可以直接输出最终佩戴结果为处于佩戴状态。It can be understood that when the wearable device detects that the wearing service is satisfied, the wearable device can directly output the final wearing result as being in a wearing state.
S803、可穿戴设备判断是否满足合速度大于合速度阈值的时长超过时长阈值。S803. The wearable device determines whether the time period when the combined speed is greater than the combined speed threshold exceeds the time duration threshold.
示例性的,当可穿戴设备确定合速度大于合速度阈值的时长超过时长阈值时,可穿戴设备可以执行S804所示的步骤。可以理解的是,在此场景中可穿戴设备可以处于运动状态。For example, when the wearable device determines that the duration for which the combined speed is greater than the combined speed threshold exceeds the duration threshold, the wearable device may perform the steps shown in S804. It is understood that the wearable device can be in motion in this scenario.
或者,当可穿戴设备确定合速度小于或等于合速度阈值,或者可穿戴设备确定合速度大于合速度阈值的时长未超过时长阈值时,可穿戴设备可以执行S805所示的步骤。可以理解的是,在此场景中可穿戴设备可以处于未运动状态。Alternatively, when the wearable device determines that the combined speed is less than or equal to the combined speed threshold, or the wearable device determines that the duration during which the combined speed is greater than the combined speed threshold does not exceed the duration threshold, the wearable device may perform the steps shown in S805. It is understood that the wearable device can be in a non-moving state in this scenario.
S804、可穿戴设备在检测到交互业务时,确定处于佩戴状态。S804. When detecting the interactive service, the wearable device determines that it is in the wearing state.
可以理解的是,在可穿戴设备基于S803所示的步骤确定可穿戴设备处于运动状态的情况下,可穿戴设备可以进一步的确定是否检测到交互业务。其中,该交互业务可以理解为与用户进行交互的业务。例如,当可穿戴设备检测到用户针对可穿戴设备的任一触发操作时,可穿戴设备可以确定检测到交互业务,并执行S806所示的步骤。It can be understood that, in the case where the wearable device determines that the wearable device is in a motion state based on the step shown in S803, the wearable device can further determine whether an interactive service is detected. Among them, the interactive service can be understood as a service that interacts with users. For example, when the wearable device detects any triggering operation of the user on the wearable device, the wearable device may determine that an interactive service is detected, and perform the steps shown in S806.
S805、可穿戴设备将二级佩戴检测结果确定为最终佩戴检测结果。S805. The wearable device determines the secondary wearing detection result as the final wearing detection result.
可能的实现方式中,当可穿戴设备确定满足下述一种或多种情况下,可穿戴设备可以将二级佩戴检测结果确定为最终佩戴检测结果。示例性的,当可穿戴设备确定:不满足未佩戴业务(基于S801所示的步骤进行检测)、不满足未佩戴业务(基于S802所示的步骤进行检测)、不满足运动状态(基于S803所示的步骤进行检测)、或者未检测到交互业务(基于S804所示的步骤进行检测)时,可穿戴设备可以将二级佩戴检测结果确定为最终佩戴检测结果。In a possible implementation, when the wearable device determines that one or more of the following conditions are met, the wearable device may determine the secondary wearing detection result as the final wearing detection result. For example, when the wearable device determines that: the unworn service is not satisfied (detected based on the steps shown in S801), the unworn service is not satisfied (detected based on the steps shown in S802), and the motion state is not satisfied (detected based on the steps shown in S803). When the interactive service is not detected (detected based on the steps shown in S804), or the interactive service is not detected (detected based on the steps shown in S804), the wearable device may determine the secondary wearing detection result as the final wearing detection result.
S806、可穿戴设备确定最终佩戴检测结果为处于佩戴状态。S806. The wearable device determines that the final wearing detection result is that it is in a wearing state.
示例性的,可穿戴设备确定最终佩戴检测结果为处于佩戴状态时,可穿戴设备则可以继续于利用可穿戴设备进行心率、血氧和/或呼吸率等的人体特征检测。For example, when the wearable device determines that the final wearing detection result is that the wearer is in a wearing state, the wearable device may continue to use the wearable device to detect human body characteristics such as heart rate, blood oxygen, and/or respiration rate.
S807、可穿戴设备确定最终佩戴检测结果为处于未佩戴状态。S807. The wearable device determines that the final wearing detection result is that it is in an unworn state.
示例性的,可穿戴设备确定最终佩戴检测结果为处于未佩戴状态时,可穿戴设备可以结束佩戴检测流程,并显示如图1中的c所示的界面。For example, when the wearable device determines that the final wearing detection result is that the device is not worn, the wearable device may end the wearing detection process and display the interface shown in c in Figure 1 .
可以理解的是,本申请实施例中对图8对应的实施例中各步骤的执行顺序不做具体限 定。It can be understood that in the embodiment of the present application, there is no specific limitation on the execution order of each step in the embodiment corresponding to Figure 8. Certainly.
基于此,可穿戴设备可以基于业务的检测,提高佩戴检测方法的稳定性。可以理解的是,基于图6-图8对应的实施例中分别描述的佩戴检测流程,使得可穿戴设备可以实现多种场景中佩戴检测的准确性。Based on this, wearable devices can perform business-based detection to improve the stability of the wear detection method. It can be understood that based on the wearing detection processes described in the corresponding embodiments of Figures 6 to 8, the wearable device can achieve the accuracy of wearing detection in various scenarios.
上面结合图5-图8,对本申请实施例提供的方法进行了说明,下面对本申请实施例提供的执行上述方法的装置进行描述。如图9所示,图9为本申请实施例提供的一种佩戴检测装置的结构示意图,该佩戴检测装置可以是本申请实施例中的可穿戴设备,也可以是可穿戴设备内的芯片或芯片系统。The method provided by the embodiment of the present application has been described above with reference to FIGS. 5-8 . The device for performing the above method provided by the embodiment of the present application will be described below. As shown in Figure 9, Figure 9 is a schematic structural diagram of a wear detection device provided by an embodiment of the present application. The wear detection device may be a wearable device in an embodiment of the present application, or may be a chip or chip in the wearable device. Chip system.
如图9所示,佩戴检测装置90可以用于通信设备、电路、硬件组件或者芯片中,该佩戴检测装置包括:采集单元901、以及处理单元902。其中,采集单元901用于支持佩戴检测装置90执行数据采集的步骤,处理单元902用于支持佩戴检测装置90执行数据处理的步骤。As shown in FIG. 9 , the wearing detection device 90 can be used in communication equipment, circuits, hardware components or chips. The wearing detection device includes: a collection unit 901 and a processing unit 902 . The collection unit 901 is used to support the wearing detection device 90 to perform data collection steps, and the processing unit 902 is used to support the wearing detection device 90 to perform data processing steps.
具体的,本申请实施例提供一种佩戴检测装置90,采集单元901,用于采集目标数据;目标数据包括绿光数据,绿光数据用于指示佩戴可穿戴设备时检测到的心率情况;处理单元902,用于对目标数据进行特征提取,得到与佩戴状态有关的特征值;处理单元902,还用于将特征值输入到预设模型中,得到第一佩戴检测结果;第一佩戴检测结果用于指示所示可穿戴设备是否处于佩戴状态。Specifically, the embodiment of the present application provides a wearing detection device 90 and a collection unit 901 for collecting target data; the target data includes green light data, and the green light data is used to indicate the heart rate detected when wearing the wearable device; processing Unit 902 is used to perform feature extraction on the target data to obtain feature values related to the wearing status; the processing unit 902 is also used to input the feature values into the preset model to obtain the first wearing detection result; the first wearing detection result Indicates whether the wearable device shown is being worn.
可能的实现方式中,该佩戴检测装置90中也可以包括通信单元903。具体的,通信单元903用于支持佩戴检测装置90执行数据的发送以及数据的接收的步骤。其中,该通信单元903可以是输入或者输出接口、管脚或者电路等。In a possible implementation, the wearing detection device 90 may also include a communication unit 903. Specifically, the communication unit 903 is used to support the wearing detection device 90 in performing the steps of sending data and receiving data. The communication unit 903 may be an input or output interface, a pin or a circuit, etc.
可能的实施例中,佩戴检测装置90还可以包括:存储单元904。处理单元902、存储单元904通过线路相连。存储单元904可以包括一个或者多个存储器,存储器可以是一个或者多个设备、电路中用于存储程序或者数据的器件。存储单元904可以独立存在,通过通信线路与佩戴检测装置具有的处理单元902相连。存储单元904也可以和处理单元902集成在一起。In a possible embodiment, the wearing detection device 90 may also include: a storage unit 904. The processing unit 902 and the storage unit 904 are connected through lines. The storage unit 904 may include one or more memories, which may be devices used to store programs or data in one or more devices or circuits. The storage unit 904 may exist independently and be connected to the processing unit 902 of the wearing detection device through a communication line. The storage unit 904 may also be integrated with the processing unit 902.
存储单元904可以存储可穿戴设备中的方法的计算机执行指令,以使处理单元902执行上述实施例中的方法。存储单元904可以是寄存器、缓存或者RAM等,存储单元904可以和处理单元902集成在一起。存储单元904可以是只读存储器(read-only memory,ROM)或者可存储静态信息和指令的其他类型的静态存储设备,存储单元904可以与处理单元902相独立。The storage unit 904 may store computer execution instructions for methods in the wearable device, so that the processing unit 902 executes the methods in the above embodiments. The storage unit 904 may be a register, cache, RAM, etc., and the storage unit 904 may be integrated with the processing unit 902. The storage unit 904 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, and the storage unit 904 may be independent from the processing unit 902.
图10为本申请实施例提供的另一种可穿戴设备的硬件结构示意图,如图10所示,该可穿戴设备包括处理器1001,通信线路1004以及至少一个通信接口(图10中示例性的以通信接口1003为例进行说明)。Figure 10 is a schematic diagram of the hardware structure of another wearable device provided by an embodiment of the present application. As shown in Figure 10, the wearable device includes a processor 1001, a communication line 1004 and at least one communication interface (exemplary in Figure 10 Taking the communication interface 1003 as an example for explanation).
处理器1001可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。The processor 1001 can be a general central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more processors used to control the execution of the program of the present application. integrated circuit.
通信线路1004可包括在上述组件之间传送信息的电路。Communication lines 1004 may include circuitry that communicates information between the above-described components.
通信接口1003,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,无线局域网(wireless local area networks,WLAN)等。 The communication interface 1003 uses any device such as a transceiver to communicate with other devices or communication networks, such as Ethernet, wireless local area networks (WLAN), etc.
可能的,该可穿戴设备还可以包括存储器1002。Possibly, the wearable device may also include memory 1002 .
存储器1002可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过通信线路1004与处理器相连接。存储器也可以和处理器集成在一起。Memory 1002 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory (RAM)) or other type that can store information and instructions. A dynamic storage device can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be used by a computer Any other medium for access, but not limited to this. The memory may exist independently and be connected to the processor through a communication line 1004 . Memory can also be integrated with the processor.
其中,存储器1002用于存储执行本申请方案的计算机执行指令,并由处理器1001来控制执行。处理器1001用于执行存储器1002中存储的计算机执行指令,从而实现本申请实施例所提供的佩戴检测方法。Among them, the memory 1002 is used to store computer execution instructions for executing the solution of the present application, and the processor 1001 controls the execution. The processor 1001 is used to execute computer execution instructions stored in the memory 1002, thereby implementing the wearing detection method provided by the embodiment of the present application.
可能的,本申请实施例中的计算机执行指令也可以称之为应用程序代码,本申请实施例对此不作具体限定。Possibly, the computer execution instructions in the embodiments of the present application may also be called application codes, which are not specifically limited in the embodiments of the present application.
在具体实现中,作为一种实施例,处理器1001可以包括一个或多个CPU,例如图10中的CPU0和CPU1。In specific implementation, as an embodiment, the processor 1001 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 10 .
在具体实现中,作为一种实施例,可穿戴设备可以包括多个处理器,例如图10中的处理器1001和处理器1005。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In specific implementation, as an embodiment, the wearable device may include multiple processors, such as processor 1001 and processor 1005 in Figure 10 . Each of these processors may be a single-CPU processor or a multi-CPU processor. A processor here may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。例如,可用介质可以包括磁性介质(例如,软盘、硬盘或磁带)、光介质(例如,数字通用光盘(digital versatile disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。A computer program product includes one or more computer instructions. When computer program instructions are loaded and executed on a computer, processes or functions according to embodiments of the present application are generated in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g., computer instructions may be transmitted from a website, computer, server or data center via a wired link (e.g. Coaxial cable, optical fiber, digital subscriber line (DSL) or wireless (such as infrared, wireless, microwave, etc.) means to transmit to another website site, computer, server or data center. The computer-readable storage medium can be Any available media that a computer can store or is a data storage device such as a server, data center, or other integrated server that includes one or more available media. For example, available media may include magnetic media (eg, floppy disks, hard disks, or tapes), optical media (eg, Digital versatile disc (digital versatile disc, DVD)), or semiconductor media (for example, solid state disk (solid state disk, SSD)), etc.
本申请实施例还提供了一种计算机可读存储介质。上述实施例中描述的方法可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。计算机可读介质可以包括计算机存储介质和通信介质,还可以包括任何可以将计算机程序从一个地方传送到另一个地方的介质。存储介质可以是可由计算机访问的任何目标介质。An embodiment of the present application also provides a computer-readable storage medium. The methods described in the above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. Computer-readable media may include computer storage media and communication media and may include any medium that can transfer a computer program from one place to another. The storage media can be any target media that can be accessed by the computer.
作为一种可能的设计,计算机可读介质可以包括紧凑型光盘只读储存器(compact disc read-only memory,CD-ROM)、RAM、ROM、EEPROM或其它光盘存储器;计算机可读介质可以包括磁盘存储器或其它磁盘存储设备。而且,任何连接线也可以被适当地称为计 算机可读介质。例如,如果使用同轴电缆,光纤电缆,双绞线,DSL或无线技术(如红外,无线电和微波)从网站,服务器或其它远程源传输软件,则同轴电缆,光纤电缆,双绞线,DSL或诸如红外,无线电和微波之类的无线技术包括在介质的定义中。如本文所使用的磁盘和光盘包括光盘(CD),激光盘,光盘,数字通用光盘(digital versatile disc,DVD),软盘和蓝光盘,其中磁盘通常以磁性方式再现数据,而光盘利用激光光学地再现数据。As a possible design, the computer-readable medium may include compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM or other optical disk storage; the computer-readable medium may include a magnetic disk memory or other disk storage device. Furthermore, any connecting wire may also be appropriately referred to as a computer-readable media. For example, if coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies (such as infrared, radio and microwave) are used to transmit the Software from a website, server or other remote source, then coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium. Disk and optical disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray disc, where disks typically reproduce data magnetically, while discs reproduce data optically using lasers. Reproduce data.
上述的组合也应包括在计算机可读介质的范围内。以上,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。 Combinations of the above should also be included within the scope of computer-readable media. The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, and all of them should be covered. within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (14)

  1. 一种佩戴检测方法,其特征在于,所述方法包括:A wearing detection method, characterized in that the method includes:
    可穿戴设备采集目标数据;所述目标数据包括绿光数据,所述绿光数据用于指示佩戴所述可穿戴设备时检测到的心率情况;The wearable device collects target data; the target data includes green light data, and the green light data is used to indicate the heart rate detected when wearing the wearable device;
    所述可穿戴设备对所述目标数据进行特征提取,得到与佩戴状态有关的特征值;The wearable device performs feature extraction on the target data to obtain feature values related to the wearing status;
    所述可穿戴设备将所述特征值输入到预设模型中,得到第一佩戴检测结果;所述第一佩戴检测结果用于指示所示可穿戴设备是否处于佩戴状态。The wearable device inputs the characteristic value into the preset model to obtain a first wearing detection result; the first wearing detection result is used to indicate whether the wearable device is in a wearing state.
  2. 根据权利要求1所述的方法,其特征在于,所述特征值包括:基于所述绿光数据得到的第一特征值,所述第一特征值包括下述一种或多种:绿光交流分量、绿光直流分量、绿光时域自相关系数、绿光频域极大值、绿光相邻峰纵坐标差值的均值、绿光相邻峰值纵坐标差值的标准差、绿光相邻峰值横坐标差值的均值、绿光相邻峰值横坐标差值的标准差、绿光峰值纵坐标的均值、或绿光时域峰值个数。The method according to claim 1, wherein the characteristic value includes: a first characteristic value obtained based on the green light data, and the first characteristic value includes one or more of the following: green light communication component, green light DC component, green light time domain autocorrelation coefficient, green light frequency domain maximum value, the mean of the ordinate difference between adjacent green light peaks, the standard deviation of the ordinate difference between adjacent green light peaks, green light The mean of the abscissa difference between adjacent peaks, the standard deviation of the abscissa difference between adjacent green light peaks, the mean of the ordinate of the green light peak, or the number of green light time domain peaks.
  3. 根据权利要求1或2所述的方法,其特征在于,所述目标数据还包括下述一种或多种:红外光数据、温度数据或加速度数据。The method according to claim 1 or 2, characterized in that the target data further includes one or more of the following: infrared light data, temperature data or acceleration data.
  4. 根据权利要求3所述的方法,其特征在于,所述特征值还包括下述一种或多种:基于所述红外光数据得到的第二特征值、基于所述温度数据得到的第三特征值、或基于所述加速度数据得到的第四特征值;The method of claim 3, wherein the characteristic value further includes one or more of the following: a second characteristic value obtained based on the infrared light data, a third characteristic obtained based on the temperature data. value, or a fourth characteristic value obtained based on the acceleration data;
    其中,所述第二特征值包括下述一种或多种:红外光交流分量、红外光直流分量、或红外光时域自相关系数;所述第三特征值包括:温度均值;所述第四特征值包括:合速度均值。Wherein, the second characteristic value includes one or more of the following: infrared light AC component, infrared light DC component, or infrared light time domain autocorrelation coefficient; the third characteristic value includes: temperature average; the third The four eigenvalues include: mean mean speed.
  5. 根据权利要求3或4所述的方法,其特征在于,所述可穿戴设备对所述目标数据进行特征提取,包括:The method according to claim 3 or 4, characterized in that the wearable device performs feature extraction on the target data, including:
    在所述可穿戴设备确定环境光数据的均值小于或等于第一阈值、所述温度数据满足预设温度范围,和/或所述红外光数据的均值小于或等于第二阈值的情况下,所述可穿戴设备对所述目标数据进行特征提取。In the case where the wearable device determines that the mean value of ambient light data is less than or equal to the first threshold, the temperature data satisfies the preset temperature range, and/or the mean value of the infrared light data is less than or equal to the second threshold, the The wearable device performs feature extraction on the target data.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-5, characterized in that the method further includes:
    在所述可穿戴设备确定未检测到第一目标业务和/或未检测到第二目标业务时,所述可穿戴设备将所述第一佩戴检测结果确定为第二佩戴检测结果;When the wearable device determines that the first target service is not detected and/or the second target service is not detected, the wearable device determines the first wearing detection result as a second wearing detection result;
    其中,所述第一目标业务为佩戴所述可穿戴设备时执行的任务,所述第二目标任务为未佩戴所述可穿戴设备时执行的任务。Wherein, the first target task is a task performed when the wearable device is worn, and the second target task is a task performed when the wearable device is not worn.
  7. 根据权利要求6所述的方法,其特征在于,所述第一目标业务包括下述一种或多种:心率检测业务、血氧检测业务、呼吸率检测业务、用于监测运动状态的业务、或用于监测睡眠状态的业务;所述第二目标业务包括下述一种或多种:充电业务、或用于指示弹出腕带的业务。The method according to claim 6, characterized in that the first target service includes one or more of the following: heart rate detection service, blood oxygen detection service, respiratory rate detection service, service for monitoring exercise status, Or a service for monitoring sleep status; the second target service includes one or more of the following: charging service, or a service for indicating ejection of the wristband.
  8. 根据权利要求6或7所述的方法,其特征在于,所述可穿戴设备确定未检测到第一目标业务和/或未检测到第二目标业务,包括:所述可穿戴设备确定未检测到所述第一目标业务、未检测到所述第二目标业务、和/或检测到所述可穿戴设备未处于运动状态。The method according to claim 6 or 7, characterized in that the wearable device determines that the first target service and/or the second target service is not detected, including: the wearable device determines that the first target service is not detected and/or the second target service is not detected. The first target service, the second target service is not detected, and/or it is detected that the wearable device is not in a motion state.
  9. 根据权利要求6-8任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 6-8, characterized in that the method further includes:
    在所述可穿戴设备确定检测到所述第一目标任务时,所述可穿戴设备确定所述第二佩 戴检测结果为所述可穿戴设备处于所述佩戴状态;When the wearable device determines that the first target task is detected, the wearable device determines that the second wearable device The wearing detection result is that the wearable device is in the wearing state;
    和/或,在所述可穿戴设备确定检测到所述第二目标任务时,所述可穿戴设备确定所述第二佩戴检测结果为所述可穿戴设备处于未佩戴状态。And/or, when the wearable device determines that the second target task is detected, the wearable device determines that the second wearing detection result is that the wearable device is in an unworn state.
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method of claim 9, further comprising:
    在所述第二佩戴检测结果为所述可穿戴设备处于所述佩戴状态的情况下,所述可穿戴设备启动目标功能。When the second wearing detection result is that the wearable device is in the wearing state, the wearable device activates the target function.
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述预设模型中包括:第一预设模型以及第二预设模型,所述第一预设模型与所述第二预设模型不同,所述可穿戴设备将所述特征值输入到预设模型中,得到第一佩戴检测结果,包括:The method according to any one of claims 1 to 10, characterized in that the preset model includes: a first preset model and a second preset model, and the first preset model and the second preset model The preset model is different. The wearable device inputs the characteristic value into the preset model to obtain the first wearing detection result, including:
    所述可穿戴设备将所述特征值分别输入到所述第一预设模块中以及所述第二预设模型中,得到所述第一预设模型对应的第一检测结果以及所述第二预设模型对应的第二检测结果;The wearable device inputs the characteristic values into the first preset module and the second preset model respectively, and obtains the first detection result corresponding to the first preset model and the second preset model. The second detection result corresponding to the preset model;
    所述可穿戴设备基于所述第一检测结果以及所述第二检测结果,得到所述第一佩戴检测结果。The wearable device obtains the first wearing detection result based on the first detection result and the second detection result.
  12. 一种可穿戴设备,其特征在于,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储计算机程序,当所述处理器调用所述计算机程序时,使得所述可穿戴设备执行如权利要求1至11中任一项所述的方法。A wearable device, characterized in that it includes: a processor, the processor is coupled to a memory, the memory is used to store a computer program, and when the processor calls the computer program, the wearable device The method as claimed in any one of claims 1 to 11 is carried out.
  13. 一种计算机可读存储介质,其特征在于,用于存储计算机程序,所述计算机程序包括用于实现如权利要求1至11中任一项所述的方法的指令。A computer-readable storage medium, characterized in that it is used to store a computer program, the computer program including instructions for implementing the method according to any one of claims 1 to 11.
  14. 一种计算机程序产品,其特征在于,所述计算机程序产品中包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机实现如权利要求1至11中任一项所述的方法。 A computer program product, characterized in that the computer program product includes computer program code. When the computer program code is run on a computer, it causes the computer to implement the method according to any one of claims 1 to 11. .
PCT/CN2023/095987 2022-08-08 2023-05-24 Wearing detection method and wearable device WO2024032084A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210946262.1 2022-08-08
CN202210946262.1A CN117562522A (en) 2022-08-08 2022-08-08 Wearing detection method and wearable device

Publications (2)

Publication Number Publication Date
WO2024032084A1 true WO2024032084A1 (en) 2024-02-15
WO2024032084A9 WO2024032084A9 (en) 2024-05-23

Family

ID=89850540

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/095987 WO2024032084A1 (en) 2022-08-08 2023-05-24 Wearing detection method and wearable device

Country Status (2)

Country Link
CN (1) CN117562522A (en)
WO (1) WO2024032084A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160278647A1 (en) * 2015-03-26 2016-09-29 Intel Corporation Misalignment detection of a wearable device
CN106153098A (en) * 2016-08-08 2016-11-23 深圳市宏电技术股份有限公司 The wearing state detection method of a kind of wearable device and device
CN107820410A (en) * 2017-09-22 2018-03-20 深圳市汇顶科技股份有限公司 Wearing state detection method, device and the wearable device of wearable device
CN113397518A (en) * 2021-06-30 2021-09-17 杭州思立普科技有限公司 Intelligent wearable device and wearing detection method
US20220022814A1 (en) * 2018-11-01 2022-01-27 Huawei Technologies Co., Ltd. Method and Electronic Device for Detecting Heart Rate
CN114366062A (en) * 2022-03-18 2022-04-19 荣耀终端有限公司 Wearable device, wearing detection method thereof and medium
KR20220107725A (en) * 2021-01-26 2022-08-02 (주)이플마인드 Wearable device, control method and computer program that perform control in consideration of whether the device is worn or not

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105758452B (en) * 2016-02-04 2018-05-15 歌尔股份有限公司 The wearing state detection method and device of a kind of wearable device
CN111134648B (en) * 2018-11-01 2021-05-04 华为终端有限公司 Heart rate detection method and electronic equipment
CN114224335A (en) * 2020-09-09 2022-03-25 华为技术有限公司 Blood oxygen detection method and device with multiple parallel photoelectric detectors
CN113017591B (en) * 2021-03-01 2022-10-28 歌尔科技有限公司 Wearable device wearing state detection method, wearable device wearing state detection device, wearable device wearing state detection equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160278647A1 (en) * 2015-03-26 2016-09-29 Intel Corporation Misalignment detection of a wearable device
CN106153098A (en) * 2016-08-08 2016-11-23 深圳市宏电技术股份有限公司 The wearing state detection method of a kind of wearable device and device
CN107820410A (en) * 2017-09-22 2018-03-20 深圳市汇顶科技股份有限公司 Wearing state detection method, device and the wearable device of wearable device
US20220022814A1 (en) * 2018-11-01 2022-01-27 Huawei Technologies Co., Ltd. Method and Electronic Device for Detecting Heart Rate
KR20220107725A (en) * 2021-01-26 2022-08-02 (주)이플마인드 Wearable device, control method and computer program that perform control in consideration of whether the device is worn or not
CN113397518A (en) * 2021-06-30 2021-09-17 杭州思立普科技有限公司 Intelligent wearable device and wearing detection method
CN114366062A (en) * 2022-03-18 2022-04-19 荣耀终端有限公司 Wearable device, wearing detection method thereof and medium

Also Published As

Publication number Publication date
CN117562522A (en) 2024-02-20
WO2024032084A9 (en) 2024-05-23

Similar Documents

Publication Publication Date Title
US20200323489A1 (en) Wearable electronic device including biometric sensor and wireless charging module
JP6650974B2 (en) Electronic device and method for acquiring biological information
CN109804641A (en) The output equipment and its control method of output audio signal
CN113827185B (en) Wearing tightness degree detection method and device for wearing equipment and wearing equipment
CN113164080A (en) Electronic device for obtaining blood pressure value by using pulse wave velocity algorithm and method for obtaining blood pressure value
CN110785118A (en) Wearing prompt method and device for wearable equipment
US11928947B2 (en) Fall detection-based help-seeking method and electronic device
CN106484253A (en) The intelligent response method of user equipment and user equipment
CN103810817A (en) Wearable human body collapse detecting and warning device and application
CN105380655B (en) A kind of emotion method for early warning of mobile terminal, device and mobile terminal
CN108353227A (en) Continue sound pressure level monitoring
US11832925B2 (en) Electronic device for measuring biometric information and method for operating the same
US20190350464A1 (en) Electronic device for measuring blood pressure and operating method thereof
WO2021254131A1 (en) Voice wake-up method, electronic device, wearable device, and system
US20230045200A1 (en) Electronic Device, Method for Controlling Electronic Device to Perform PPG Detection, and Medium
WO2024032084A1 (en) Wearing detection method and wearable device
WO2023273640A1 (en) Epilepsy detection method and apparatus
EP4056108A1 (en) Apparatus and method for estimating bio-information
CN113164081A (en) Electronic device and method for identifying the occurrence of hypotension
WO2023124261A9 (en) Photo plethysmo graphy (ppg)-based control method and electronic device
US20220378306A1 (en) Apparatus and method for estimating bio-information
US20230119697A1 (en) Method of evaluating quality of bio-signal and apparatus for estimating bio-information
US20230128404A1 (en) Wearable device for identifying breathing state of user
WO2021203941A1 (en) Prompting method and apparatus
CN216353339U (en) Voice interaction equipment for medical treatment

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: 23851314

Country of ref document: EP

Kind code of ref document: A1