CN108697329B - Wearable device detection method and wearable device - Google Patents

Wearable device detection method and wearable device Download PDF

Info

Publication number
CN108697329B
CN108697329B CN201780009704.7A CN201780009704A CN108697329B CN 108697329 B CN108697329 B CN 108697329B CN 201780009704 A CN201780009704 A CN 201780009704A CN 108697329 B CN108697329 B CN 108697329B
Authority
CN
China
Prior art keywords
wearable device
signal
value
threshold value
contact state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201780009704.7A
Other languages
Chinese (zh)
Other versions
CN108697329A (en
Inventor
杨波
汪婵
孙士友
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority claimed from PCT/CN2017/108129 external-priority patent/WO2019000742A1/en
Publication of CN108697329A publication Critical patent/CN108697329A/en
Application granted granted Critical
Publication of CN108697329B publication Critical patent/CN108697329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6802Sensor mounted on worn items
    • A61B5/681Wristwatch-type devices
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/0205Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02416Detecting, measuring or recording pulse rate or heart rate using photoplethysmograph signals, e.g. generated by infrared radiation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02438Detecting, measuring or recording pulse rate or heart rate with portable devices, e.g. worn by the patient
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/389Electromyography [EMG]
    • 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/6813Specially adapted to be attached to a specific body part
    • A61B5/6824Arm or wrist
    • 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/6843Monitoring or controlling sensor contact pressure
    • 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/6844Monitoring or controlling distance between sensor and tissue
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/74Details of notification to user or communication with user or patient ; user input means
    • A61B5/742Details of notification to user or communication with user or patient ; user input means using visual displays
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/74Details of notification to user or communication with user or patient ; user input means
    • A61B5/7455Details of notification to user or communication with user or patient ; user input means characterised by tactile indication, e.g. vibration or electrical stimulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers
    • H04B1/385Transceivers carried on the body, e.g. in helmets

Landscapes

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

Abstract

A detection method of a wearable device (70) and the wearable device (70), wherein the method comprises the following steps: if the wearable device (70) is worn, acquiring a signal value generated based on the current contact state of the wearable device (70) and the wearer (S101, S204); wherein the wearing state comprises wearing and not wearing; if the current contact state is judged not to meet the measurement condition according to the signal value and the signal threshold value, a first prompt message is sent out (S102, S205); wherein the signal threshold value comprises a signal threshold value generated based on a first contact state of the wearable device (70) with the wearer; the first prompting message is used to prompt adjustment of wearing of the wearable device (70). The method can improve the accuracy of the wearable device (70) in measuring the physiological parameters.

Description

Wearable device detection method and wearable device
The present application claims priority of chinese patent application having application number 201710514246.4 entitled "method for detecting wearing tightness of wearable device" filed by chinese patent office on 29/6/2017, the entire contents of which are incorporated herein by reference.
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method for detecting a wearable device and a wearable device.
Background
Wearable equipment such as intelligent wrist-watch and bracelet main advantage lies in monitoring user health, for example, utilizes bracelet monitoring motion step number, rhythm of the heart, sleep index etc. and these intelligent wearing equipment have integrateed many sensors for obtain the sign data of wearer, record health status. Since pulse or heart rate is one of the important parameters of vital signs, heart rate measurement has become a necessary function of intelligent wearable devices.
Currently, heart rate measurement of wearable devices is mainly by photoplethysmography (PPG). PPG is a non-invasive method of detecting blood volume changes in living tissue by means of photovoltaics, and is a technique of measuring pulse using light. The heart rate is calculated from the obtained pulse waveform by detecting the difference of the reflected light intensity after absorption by blood and tissue of a human body by using a photoelectric sensor, tracing the change of blood flow in the heart cycle. As with the configuration of the photosensor shown in fig. 1, the photosensor may include a transmitter, a receiver, and the like. Wherein the transmitter may be a light emitting diode, an infrared emitting diode, etc., and the receiver may include a phototransistor, etc. There is some attenuation of the illumination emitted by the transmitter as it passes through the skin tissue and then reflects back to the receiver. The change of the volume pulse blood flow can be realized through the change of the illumination.
However, to wearable equipment such as smart watch and bracelet, measurement of rhythm of the heart signal can be influenced to irregular wearing methods, for example light leak, the swing of arm and the slight movement on intelligence watch or bracelet skin that incompletely laminating leads to all can influence measured rhythm of the heart signal. Too tightly, the arm is raised and fist etc. also can influence blood circulation is worn to intelligence wrist-watch or bracelet, equally probably influences the heart rate signal.
Disclosure of Invention
The embodiment of the application provides a detection method of wearable equipment and the wearable equipment, which can detect the wearing tightness of the wearable equipment, further ensure the accuracy of heart rate measurement, and solve the problem of inaccurate heart rate measurement caused by improper wearing tightness of the wearable equipment in the prior art.
In a first aspect, an embodiment of the present application provides a method for detecting a wearable device, including:
if the wearable device is worn, acquiring a signal value generated based on the current contact state of the wearable device and a wearer; wherein the wearing state includes worn and unworn;
if the current contact state is judged to not meet the measurement condition according to the signal value and the signal threshold value, sending a first prompt message; wherein the signal threshold comprises a signal threshold generated based on a first contact state of the wearable device with a wearer; the first prompting message is used for prompting to adjust wearing of the wearable device.
In this application embodiment, whether the elasticity of wearing that can the automated inspection wearable equipment is suitable, when the elasticity that wearable equipment wore is not suitable, the suggestion person of wearing in time adjusts and wears wearable equipment to improve follow-up measuring accuracy.
In one possible implementation, after the obtaining of the signal value generated based on the current contact state of the wearable device with the wearer, the method further includes: and if the current contact state meets the measurement condition according to the signal value and the signal threshold value, starting to measure the physiological parameter.
In the embodiment of the application, when the tightness of wearing of wearable equipment is suitable, the physiological parameters begin to be measured, and the accuracy of measurement is guaranteed.
In a possible implementation manner, before acquiring a signal value generated based on a current contact state of the wearable device and a wearer if the wearable device is worn, the method further includes: an instruction to measure a physiological parameter is received.
The embodiment of the application provides a trigger instruction for measuring physiological parameters, and the subsequent steps are executed after the instruction input by a user is received, so that the effectiveness of physiological parameter measurement is improved, and the energy consumption is saved.
With reference to the first aspect, in a first implementation manner of the first aspect, before the obtaining a signal value generated based on a current contact state of the wearable device and a wearer if the wearable device is worn, the method further includes: detecting a wearing state of the wearable device.
In the embodiment of the application, the wearing state of the wearable device is detected, and when the wearing state of the wearable device is detected to be worn, a signal value is obtained. A trigger mode for acquiring the signal value is provided, the acquired signal value is guaranteed to be generated under the condition that the wearable device is worn, and the validity of the signal value is guaranteed.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, before the detecting the wearing state of the wearable device, the method further includes: acquiring a signal threshold value; the signal threshold value comprises a maximum threshold value and a minimum threshold value.
The embodiment of the application provides a signal threshold value, and whether the current wearing tightness of the wearable device is proper or not is judged by comparing the currently acquired signal value with the signal threshold value.
With reference to the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the signal value includes a PPG signal value.
The embodiment of the application provides a specific parameter, and whether the current wearing tightness of the wearable device is proper or not is judged through a PPG signal value.
With reference to the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, if the wearable device is worn, the acquiring a signal value generated based on a current contact state of the wearable device and a wearer includes:
if the wearable equipment is worn, sending a second prompt message; wherein the second prompting message is used for prompting to input a specified action;
and acquiring a signal value generated based on the current contact state of the wearable device and the wearer within a preset time after the second prompt message is sent out.
In the embodiment of the application, when the wearing state of the wearable device is detected to be worn, the user is prompted to input a specified action within a certain time length to obtain a signal value generated within the time length. The signal value generated by inputting the specified action can reflect the wearing tightness of the wearable device to a certain extent.
With reference to the fourth implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the obtaining a signal threshold includes:
acquiring signal values generated based on a first contact state of the wearable device and a wearer within N times of preset duration after the second prompt message is sent; wherein N is a positive integer;
respectively acquiring the maximum value and the minimum value in the signal values generated based on the first contact state of the wearable device and the wearer within the preset time after the second prompt message is sent each time, and determining N maximum values and N minimum values in the signal values generated based on the first contact state of the wearable device and the wearer within the preset time after the second prompt message is sent for N times;
and determining the maximum threshold value according to the N maximum values, and determining the minimum threshold value according to the N minimum values.
The embodiment of the application provides a signal threshold value obtaining mode, and the signal threshold value is determined by collecting signal values generated by inputting specified actions for multiple times under the condition of proper wearing tightness in advance. The signal threshold value represents a critical value of the signal value generated when the tightness of the wearing is proper. The more times of collection, the more accurate the final signal threshold value is.
In a possible implementation manner, the determining the maximum threshold value according to the N maximum values and the determining the minimum threshold value according to the N minimum values includes:
and determining the maximum value of the N maximum values as the maximum threshold value, and determining the minimum value of the N minimum values as the minimum threshold value.
The embodiment of the application provides a method for determining a maximum threshold value and a minimum threshold value, and a comparison reference is provided for a signal value generated based on a current contact state through the maximum threshold value and the minimum threshold value, so that whether the wearing tightness of wearable equipment is proper or not is determined.
In a possible implementation manner, the determining the maximum threshold value according to the N maximum values and the determining the minimum threshold value according to the N minimum values includes:
and determining the average value of the N maximum values as the maximum threshold value, and determining the average value of the N minimum values as the minimum threshold value.
The embodiment of the application provides another method for determining the maximum threshold value and the minimum threshold value, and a comparison reference is provided for a signal value generated based on the current contact state through the maximum threshold value and the minimum threshold value, so that whether the wearing tightness of the wearable device is proper or not is determined.
With reference to the fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the sending a first prompt message if it is determined that the current contact state does not satisfy the measurement condition according to the signal value and the signal threshold value includes:
acquiring the maximum value and the minimum value in the signal values;
calculating a first variance of a maximum value of the signal values and the maximum threshold value, and calculating a second variance of a minimum value of the signal values and the minimum threshold value;
comparing the first variance, the second variance and a variance threshold respectively;
and if at least one of the first variance and the second variance is not smaller than the variance threshold, judging that the current contact state does not meet the measurement condition, and sending a first prompt message.
The embodiment of the application provides a specific way for comparing a signal value generated based on a current contact state with a signal threshold value, the fluctuation degree of the current signal value and the signal threshold value is represented by the variance, and when the fluctuation degree exceeds a certain degree, the accuracy of the current signal value is not enough. The situation that the tightness of the wearable equipment is not proper at present and the measurement condition is not met is shown.
With reference to the second implementation manner of the first aspect, in a seventh implementation manner of the first aspect, the signal value includes a capacitance value.
The embodiment of the application provides another specific parameter, and whether the current wearing tightness of the wearable device is proper or not is judged through the capacitance value.
With reference to the seventh implementation manner of the first aspect, in an eighth implementation manner of the first aspect, the obtaining a signal threshold value includes:
obtaining N signal values generated based on a first contact state of the wearable device and a wearer N times; wherein N is a positive integer;
acquiring the maximum value and the minimum value in the N signal values;
determining the maximum threshold value according to a maximum value of the N signal values, and determining the minimum threshold value according to a minimum value of the N signal values.
The embodiment of the application provides a signal threshold value obtaining mode, and the signal threshold value is determined by collecting signal values generated by inputting specified actions for multiple times under the condition of proper wearing tightness in advance. The signal threshold value represents a critical value of the signal value generated when the tightness of the wearing is proper. The more times of collection, the more accurate the final signal threshold value is.
With reference to the eighth implementation manner of the first aspect, in a ninth implementation manner of the first aspect, the sending a first prompt message if it is determined that the current contact state does not satisfy the measurement condition according to the signal value and the signal threshold value includes:
comparing the magnitude of the signal value with the maximum threshold value and the minimum threshold value;
if the signal value is larger than the maximum threshold value or smaller than the minimum threshold value, judging that the current contact state does not meet the measurement condition, and sending a first prompt message.
The embodiment of the application provides a specific way for comparing a signal value generated based on a current contact state with a signal threshold value, and if the current signal value exceeds a range represented by the signal threshold value, the accuracy of the current signal value is not enough. The situation that the tightness of the wearable equipment is not proper at present and the measurement condition is not met is shown.
With reference to the first implementation manner of the first aspect, in a tenth implementation manner of the first aspect, the detecting a wearing state of the wearable device includes:
detecting a level value of the electromyographic signal;
if the electromyographic signal is at a high level, detecting that the wearable device is worn;
and if the electromyographic signal is at a low level, detecting that the wearable device is not worn.
The embodiment of the application provides a method for detecting a wearable device wearing mode, which judges the wearable device wearing mode according to a level value of an electromyographic signal, and ensures the accuracy of wearable device wearing mode detection.
In one possible implementation, the wearable device includes a watchband;
the detecting the wearing state of the wearable device comprises:
detecting a state of a buckle of a watchband of the wearable device; wherein, the buckle state of the watchband comprises buckled state and unbuckled state;
if the buckle state of the wearable equipment watchband is detected to be buckled, detecting that the wearable equipment is worn;
and if the buckle state of the wearable equipment watchband is detected to be not buckled, detecting that the wearable equipment is not worn.
The embodiment of the application provides another wearable device wearing mode detection method, which is characterized in that the wearing mode of the wearable device is judged through a buckle mode of a wearable device watchband, and the accuracy of wearable device wearing mode detection is guaranteed.
In one possible implementation, the detecting a state of a clasp of the wearable device watchband includes:
detecting a pressure value of a target area of the wearable equipment watchband;
if the pressure value of the target area is nonzero, detecting that the buckle state of the wearable equipment watchband is buckled;
if the pressure value of the target area is zero, detecting that the buckle state of the wearable equipment watchband is not buckled;
before the detecting a state of a clasp of the wearable device watchband, the method further comprises:
and arranging a pressure sensor in a target area of the wearable device watchband.
The embodiment of the application provides a detection mode of wearable equipment watchband hasp state, judges the hasp state of watchband through the voltage value that detects watchband target area, guarantees the accuracy that wearable equipment watchband hasp state detected.
In a second aspect, an embodiment of the present application provides a wearable device, including:
the wearable device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a signal value generated based on the current contact state of the wearable device and a wearer if the wearable device is worn; wherein the wearing state includes worn and unworn;
the first prompting module is used for sending a first prompting message if the current contact state is judged to not meet the measurement condition according to the signal value and the signal threshold value; wherein the signal threshold comprises a signal threshold generated based on a first contact state of the wearable device with a wearer; the first prompting message is used for prompting to adjust wearing of the wearable device.
In one possible implementation, the wearable device further includes: and the measuring module is used for starting to measure the physiological parameters if the current contact state is judged to meet the measuring conditions according to the signal value and the signal threshold value.
In one possible implementation, the wearable device further includes: a receiving module for receiving an instruction to measure a physiological parameter before the first obtaining module obtains a signal value generated based on a current contact state of the wearable device with a wearer.
With reference to the second aspect, in a first implementation manner of the second aspect, the wearable device further includes:
a detection module for detecting the wearing state of the wearable device before the first acquisition module acquires the signal value generated based on the current contact state of the wearable device and the wearer.
With reference to the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the wearable device further includes:
the second acquisition module is used for acquiring a signal threshold value before the detection module detects the wearing state of the wearable device; the signal threshold value comprises a maximum threshold value and a minimum threshold value.
With reference to the second implementation manner of the second aspect, in a third implementation manner of the second aspect, the signal value includes a PPG signal value.
With reference to the third implementation manner of the second aspect, in a fourth implementation manner of the second aspect, the first obtaining module includes:
the prompting unit is used for sending a second prompting message if the wearable device is worn; wherein the second prompting message is used to prompt the wearer to input a specified action;
and the first acquisition unit is used for acquiring a signal value generated based on the current contact state of the wearable device and the wearer within a preset time after the second prompt message is sent out.
With reference to the fourth implementation manner of the second aspect, in a fifth implementation manner of the second aspect, the second obtaining module includes:
the second acquisition unit is used for acquiring signal values generated based on the first contact state of the wearable device and the wearer within the preset time length after the second prompt message is sent for N times; wherein N is a positive integer;
a third obtaining unit, configured to respectively obtain, within a preset time period after the second prompt message is sent each time, N maximum values and N minimum values among signal values generated based on the first contact state of the wearable device and the wearer within the preset time period after the second prompt message is sent, where the N times are determined within the preset time period after the second prompt message is sent, and the N maximum values and the N minimum values are generated based on the first contact state of the wearable device and the wearer;
a first determining unit, configured to determine the maximum threshold value according to the N maximum values, and determine the minimum threshold value according to the N minimum values.
In a possible implementation manner, the first determining unit is configured to determine a maximum value of the N maximum values as the maximum threshold value, and determine a minimum value of the N minimum values as the minimum threshold value.
In a possible implementation manner, the first determining unit is configured to determine an average value of the N maximum values as the maximum threshold value, and determine an average value of the N minimum values as the minimum threshold value.
With reference to the fifth implementation manner of the second aspect, in a sixth implementation manner of the second aspect, the first prompting module includes:
a fifth acquiring unit, configured to acquire a maximum value and a minimum value of the signal values;
a calculation unit for calculating a first variance of a maximum value of the signal values and the maximum threshold value, and calculating a second variance of a minimum value of the signal values and the minimum threshold value;
a first comparing unit for comparing the first variance, the second variance and a variance threshold value respectively;
and the first prompting unit is used for judging that the current contact state does not meet the measurement condition and sending a first prompting message if at least one of the first variance and the second variance is not smaller than the variance threshold.
With reference to the second implementation manner of the second aspect, in a seventh implementation manner of the second aspect, the signal value includes a capacitance value.
With reference to the seventh implementation manner of the second aspect, in an eighth implementation manner of the second aspect, the second obtaining module includes:
the sixth acquisition unit is used for acquiring N signal values generated based on the preset contact state of the wearable device and the wearer for N times; wherein N is a positive integer;
a seventh obtaining unit, configured to obtain a maximum value and a minimum value of the N signal values obtained by the sixth obtaining unit;
an eighth obtaining unit, configured to obtain the maximum threshold value according to a maximum value of the N signal values obtained by the seventh obtaining unit, and obtain the minimum threshold value according to a minimum value of the N signal values obtained by the seventh obtaining unit.
With reference to the eighth implementation manner of the second aspect, in a ninth implementation manner of the second aspect, the first prompting module includes:
a second comparing unit, configured to compare the signal value with the maximum threshold value and the minimum threshold value;
and the second prompting unit is used for judging that the current contact state does not meet the measurement condition if the signal value is larger than the maximum threshold value or smaller than the minimum threshold value, and sending a first prompting message.
With reference to the first implementation manner of the second aspect, in a tenth implementation manner of the second aspect, the detecting module is configured to detect a level value of the electromyographic signal;
if the electromyographic signal is at a high level, detecting that the wearable device is worn;
and if the electromyographic signal is at a low level, detecting that the wearable device is not worn.
In one possible implementation, the wearable device includes a watchband;
the detection module is used for detecting the hasp state of the wearable equipment watchband; wherein, the buckle state of the watchband comprises buckled state and unbuckled state;
if the buckle state of the wearable equipment watchband is detected to be buckled, detecting that the wearable equipment is worn;
and if the buckle state of the wearable equipment watchband is detected to be not buckled, detecting that the wearable equipment is not worn.
In a possible implementation manner, the detection module is configured to detect a pressure value of a target area of a watchband of the wearable device;
if the pressure value of the target area is nonzero, detecting that the buckle state of the wearable equipment watchband is buckled;
if the pressure value of the target area is zero, detecting that the buckle state of the wearable equipment watchband is not buckled;
the wearable device further comprises a setting module, and the setting module is used for setting a pressure sensor in a target area of the wearable device watchband before the detection module detects the hasp state of the wearable device watchband.
In a third aspect, an embodiment of the present application provides a wearable device, including:
a memory to store wearable device detection instructions;
a processor for invoking the wearable device detection instructions stored in the memory and performing the steps of:
if the wearable device is worn, acquiring a signal value generated based on the current contact state of the wearable device and a wearer; wherein the wearing state includes worn and unworn;
if the current contact state is judged to not meet the measurement condition according to the signal value and the signal threshold value, sending a first prompt message; wherein the signal threshold comprises a signal threshold generated based on a first contact state of the wearable device with a wearer; the first prompting message is used for prompting to adjust wearing of the wearable device.
In one possible implementation, after obtaining the signal value generated based on the current contact state of the wearable device with the wearer, the processor is further configured to: and if the current contact state meets the measurement condition according to the signal value and the signal threshold value, starting to measure the physiological parameter.
In a possible implementation manner, before acquiring the signal value generated based on the current contact state of the wearable device and the wearer if the wearing state of the wearable device is worn, the processor is further configured to: an instruction to measure a physiological parameter is received.
With reference to the third aspect, in a first implementation manner of the third aspect, before the obtaining a signal value generated based on a current contact state of the wearable device and a wearer if the wearable device is worn, the method further includes: detecting a wearing state of the wearable device.
With reference to the first implementation manner of the third aspect, in a second implementation manner of the third aspect, before the detecting of the wearing state of the wearable device, the processor is further configured to: acquiring a signal threshold value; the signal threshold value comprises a maximum threshold value and a minimum threshold value.
With reference to the second implementation manner of the third aspect, in a third implementation manner of the third aspect, the signal value includes a PPG signal value.
With reference to the third implementation manner of the third aspect, in a fourth implementation manner of the third aspect, the obtaining, by the processor, a signal value generated based on a current contact state of the wearable device and a wearer if a wearing state of the wearable device is worn includes:
if the wearable equipment is worn, sending a second prompt message; wherein the second prompting message is used for prompting to input a specified action;
and acquiring a signal value generated based on the current contact state of the wearable device and the wearer within a preset time after the second prompt message is sent out.
With reference to the fourth implementation manner of the third aspect, in a fifth implementation manner of the third aspect, the acquiring, by the processor, a signal threshold value includes:
acquiring signal values generated based on a first contact state of the wearable device and a wearer within N times of preset duration after the second prompt message is sent; wherein N is a positive integer;
respectively acquiring the maximum value and the minimum value in the signal values generated based on the first contact state of the wearable device and the wearer within the preset time after the second prompt message is sent each time, and determining N maximum values and N minimum values in the signal values generated based on the first contact state of the wearable device and the wearer within the preset time after the second prompt message is sent for N times;
and determining the maximum threshold value according to the N maximum values, and determining the minimum threshold value according to the N minimum values.
In a possible implementation manner, the determining, by the processor, the maximum threshold value according to the N maximum values, and the determining the minimum threshold value according to the N minimum values includes:
and determining the maximum value of the N maximum values as the maximum threshold value, and determining the minimum value of the N minimum values as the minimum threshold value.
In a possible implementation manner, the determining, by the processor, the maximum threshold value according to the N maximum values, and the determining the minimum threshold value according to the N minimum values includes:
and determining the average value of the N maximum values as the maximum threshold value, and determining the average value of the N minimum values as the minimum threshold value.
With reference to the fifth implementation manner of the third aspect, in a sixth implementation manner of the third aspect, if the processor determines, according to the signal value and the signal threshold value, that the current contact state does not satisfy the measurement condition, the sending a first prompt message includes:
acquiring the maximum value and the minimum value in the signal values;
calculating a first variance of a maximum value of the signal values and the maximum threshold value, and calculating a second variance of a minimum value of the signal values and the minimum threshold value;
comparing the first variance, the second variance and a variance threshold respectively;
and if at least one of the first variance and the second variance is not smaller than the variance threshold, judging that the current contact state does not meet the measurement condition, and sending a first prompt message.
With reference to the second implementation manner of the third aspect, in a seventh implementation manner of the third aspect, the signal value includes a capacitance value.
With reference to the seventh implementation manner of the third aspect, in an eighth implementation manner of the third aspect, the acquiring, by the processor, a signal threshold value includes:
obtaining N signal values generated based on a first contact state of the wearable device and a wearer N times; wherein N is a positive integer;
acquiring the maximum value and the minimum value in the N signal values;
determining the maximum threshold value according to a maximum value of the N signal values, and determining the minimum threshold value according to a minimum value of the N signal values.
With reference to the eighth implementation manner of the third aspect, in a ninth implementation manner of the third aspect, if the processor determines that the current contact state does not satisfy the measurement condition according to the signal value and the signal threshold value, the sending a first prompt message includes:
comparing the magnitude of the signal value with the maximum threshold value and the minimum threshold value;
if the signal value is larger than the maximum threshold value or smaller than the minimum threshold value, judging that the current contact state does not meet the measurement condition, and sending a first prompt message.
With reference to the first implementation manner of the third aspect, in a tenth implementation manner of the third aspect, the processor detecting the wearing state of the wearable device includes:
detecting a level value of the electromyographic signal;
if the electromyographic signal is at a high level, detecting that the wearable device is worn;
and if the electromyographic signal is at a low level, detecting that the wearable device is not worn.
In one possible implementation, the wearable device includes a watchband;
the processor detecting a wearing state of the wearable device includes:
detecting a state of a buckle of a watchband of the wearable device; wherein, the buckle state of the watchband comprises buckled state and unbuckled state;
if the buckle state of the wearable equipment watchband is detected to be buckled, detecting that the wearable equipment is worn;
and if the buckle state of the wearable equipment watchband is detected to be not buckled, detecting that the wearable equipment is not worn.
In one possible implementation, the processor detecting a snap state of the wearable device watchband includes:
detecting a pressure value of a target area of the wearable equipment watchband;
if the pressure value of the target area is nonzero, detecting that the buckle state of the wearable equipment watchband is buckled;
if the pressure value of the target area is zero, detecting that the buckle state of the wearable equipment watchband is not buckled;
before the detecting a state of a clasp of the wearable device wristband, the processor is further configured to:
and arranging a pressure sensor in a target area of the wearable device watchband.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium for storing one or more computer programs, where the one or more computer programs include instructions for executing the method for detecting a wearable device provided in the first aspect or any implementation manner of the first aspect when the computer program runs on a computer.
In a fifth aspect, the present application provides a computer program, where the computer program includes instructions for executing the detection method of the wearable device provided in the first aspect or any implementation manner of the first aspect.
By implementing the embodiment of the application, the signal value generated based on the current contact state of the wearable device and the wearer can be acquired when the wearing state of the wearable device is detected to be worn, when the current contact state is judged to be not satisfied with the measurement condition according to the signal value and the signal threshold value, a first prompt message is sent out to prompt the wearer to adjust and wear the wearable device, the wearing tightness of the wearable device is intelligently detected, the accuracy of heart rate measurement is further ensured, and the problem that the heart rate measurement is inaccurate due to the fact that the wearing tightness of the wearable device is not appropriate in the prior art is solved.
Drawings
FIG. 1 is a schematic diagram of a prior art photosensor configuration;
FIG. 2 is a schematic diagram illustrating a smart watch wearing requirement in the prior art;
figure 3 is a graph of PPG signals measured when the watch is worn too loosely;
figure 4 is a graph of the PPG signal measured when the watch is worn correctly;
FIG. 5 is a schematic diagram showing a relationship between the degree of tightness of wearing a watch and the heart rate accuracy;
fig. 6 is a schematic flowchart of a detection method of a wearable device according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a first prompting message according to an embodiment of the present application;
fig. 8 is a schematic flowchart of a detection method of a wearable device according to another embodiment of the present application;
FIG. 9 is a schematic view of the position of each sensor;
fig. 10 is a flowchart illustrating a method for obtaining a signal threshold according to an embodiment of the present application;
fig. 11 is a schematic diagram of a second prompting message according to an embodiment of the present application;
fig. 12 is a schematic view of a scenario provided in an embodiment of the present application;
fig. 13 is a schematic diagram illustrating a correspondence relationship between the wearing tightness of the wearable device and the capacitance value;
fig. 14 is a flowchart illustrating a method for obtaining a signal threshold according to another embodiment of the present application;
fig. 15 is a flowchart illustrating a method for issuing a first prompt message according to an embodiment of the present application;
fig. 16 is a flowchart illustrating another method for issuing a first prompt message according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a wearable device provided in an embodiment of the present application;
fig. 18 is a schematic structural diagram of a first obtaining module according to an embodiment of the present application;
fig. 19 is a schematic structural diagram of a second obtaining module according to an embodiment of the present application;
fig. 20 is a schematic structural diagram of a first prompt module according to an embodiment of the present application;
fig. 21 is a schematic structural diagram of another second obtaining module according to an embodiment of the present disclosure;
fig. 22 is a schematic structural diagram of another first prompt module according to an embodiment of the present application;
fig. 23 is a schematic structural diagram of a wearable device according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
The wearable device that relates to in this application can be intelligent wrist-watch, intelligent bracelet, intelligent glasses, intelligent safety helmet, intelligent gloves, intelligent running shoes etc.. The wearable equipment can detect the physiological parameters of the wearer, and the wearing degree can influence the accuracy of the measurement parameters of the wearable equipment. In the embodiment of the application, wearable equipment is taken as an example of a smart watch, and the smart watch is adopted to measure the heart rate of a wearer for explanation.
Fig. 2 is a schematic diagram illustrating a wearing requirement of a smart watch in the prior art. As shown in the left diagram in fig. 2, when the watch is worn too loosely, the watch may slide on the wrist due to a gap between the watch and the wrist, so that the sensor may not read the heart rate or may not accurately read the heart rate, and as shown in fig. 3, the PPG signal measured when the watch is worn too loosely may show a sudden change in the PPG signal, and at this time, the user should try to tighten the band of the watch a bit. The right diagram in fig. 2 illustrates the correct wearing manner of the watch, and the watch should be comfortably attached to the wrist to ensure the stability of the measured PPG signal value, for example, the measured PPG signal value is stable without sudden change when the watch shown in fig. 4 is worn correctly.
In addition, when the watch is worn too tightly, the accuracy of the watch in measuring the heart rate is also affected. Fig. 5 shows a relationship between the degree of tightness of watch wearing and the heart rate accuracy. It can be seen from the figure that the heart rate accuracy rate measured increases with the tightness of the watch from too loose to tight, and when the watch is worn in tight (correct wearing manner shown in the right diagram in fig. 2), the heart rate accuracy rate is highest, but when the watch is worn too tight, the heart rate accuracy rate decreases to the lowest. The accuracy in the figure is specifically the probability that the measured value differs from the standard value by less than 5bpm (Beat Per Minute).
Therefore, the method for detecting the wearable equipment can detect the wearing tightness of the wearable equipment and ensure the accuracy of heart rate measurement.
Please refer to fig. 6. Fig. 6 is a schematic flowchart of a detection method of a wearable device provided in an embodiment of the present application, and as shown in fig. 6, the detection method of the wearable device at least includes the following steps:
s101: and if the wearing state of the wearable equipment is worn, acquiring a signal value generated based on the current contact state of the wearable equipment and the wearer.
Specifically, the wearing state of the wearable device includes worn and unworn.
Specifically, the signal value generated based on the current contact state of the wearable device and the wearer is the signal value generated based on the degree of tightness of wearing of the wearable device. The signal value may be a PPG signal value or a capacitance value, or may be other signal values that can reflect the degree of tightness of wearing the wearable device.
In a possible implementation manner, before determining that the wearing state of the wearable device is worn and acquiring the signal value generated based on the current contact state of the wearable device and the wearer, the method further includes receiving an instruction for measuring the physiological parameter input by the wearer.
The instruction for measuring the physiological parameter may be an instruction input by a voice of the wearer, or an instruction input by the wearer for measuring the physiological parameter based on a corresponding control in an operation interface of the wearable device, or an instruction input by the wearer for pressing an entity button of the wearable device, or an instruction input by the wearer for inputting a specific gesture as the physiological parameter, or an instruction sent by the wearer to the wearable device through a terminal such as a mobile phone connected to the wearable device for measuring the physiological parameter, or the like. It will be appreciated that the input of the instruction to measure the physiological parameter may be implemented in a variety of ways, and is not limited thereto.
S102: and if the current contact state does not meet the measurement condition according to the signal value and the signal threshold value, sending a first prompt message.
In particular, the signal threshold value comprises a signal threshold value generated based on a first contact state of the wearable device with the wearer. The first contact state is a state when the wearable device is worn with proper tightness, that is, the wearing tightness in fig. 5 is tight.
Specifically, the measurement conditions are determined by the signal values, and the measurement conditions are different for different signal values. The specific correspondence between the signal values and the measurement conditions can be described in detail in the following embodiments.
Specifically, the first prompt message is used for prompting the wearer to adjust wearing of the wearable device. The first prompt message may be a dialog box or an animation prompt displayed by the wearable device through the operation interface; the first prompting message may also be a wearable device voice prompt; the first prompt message can also be prompted in a mode of combining operation interface display and vibration; the first prompting message can also be a combined voice and vibration prompting. Fig. 7 shows an exemplary illustration of a first prompting message prompted by way of an operator interface display in combination with vibration. It can be appreciated that the prompting manner of the first prompting message may also have other implementation manners, and is not limited to the foregoing implementation manner, and is not limited herein.
In addition, if the current contact state is judged to meet the measurement condition according to the signal value and the signal threshold value, the physiological parameter is measured.
By implementing the embodiment of the application, the signal value generated based on the current contact state of the wearable device and a wearer can be acquired after the wearable device is detected to be worn; if the current contact state is judged to not meet the measurement condition according to the signal value and the signal threshold value, a first prompt message is sent out to prompt a wearer to adjust wearing of the wearable equipment, wearing tightness of the wearable equipment is intelligently detected, and accuracy of heart rate measurement is guaranteed.
Please refer to fig. 8. Fig. 8 is a schematic flowchart of a detection method of a wearable device according to another embodiment of the present application, and as shown in fig. 8, the detection method of the wearable device at least includes the following steps:
s201: and acquiring a signal threshold value.
In particular, the signal threshold value comprises a signal threshold value generated based on a first contact state of the wearable device with the wearer, and the signal threshold value comprises a maximum threshold value and a minimum threshold value. The first contact state is a state when the wearable device is worn with proper tightness, that is, the wearing tightness in fig. 5 is tight. It is appreciated that the signal threshold value is determined by a signal value generated based on the first contact state of the wearable device with the wearer. The signal value may be a PPG signal value or a capacitance value, or may be another signal value that can reflect the degree of tightness of wearing the wearable device.
Alternatively, the signal value may be a PPG signal value. The PPG signal may be measured using a photosensor to obtain a PPG signal value. Specifically, the photoelectric sensor may be disposed inside the dial of the smart watch, as shown by the 10 region in fig. 9.
At this time, the method for obtaining the signal threshold value is shown in fig. 10, and may include at least the following steps:
s301: and acquiring a signal value generated based on the first contact state of the wearable device and the wearer within the preset time after the second prompt message is sent for N times.
Wherein N is a positive integer. N may be, for example, 5, 10, 13, 15, 20, etc. The larger the value of N is, the more accurate the finally obtained signal threshold value is.
Specifically, the second prompting message is used for prompting the wearer to input a specified action after detecting that the wearing state of the wearable device is worn. And the prompting mode of the second prompting message is similar to that of the first message. Specifically, the second prompt message may be a dialog box or an animation prompt displayed by the wearable device through the operation interface; the second prompting message can also be a wearable device voice prompt; the second prompt message can also be prompted in a mode of combining operation interface display and vibration; the second prompting message can also be a combined voice and vibration prompting. Fig. 11 illustrates an example of the second prompt message displayed through the operation interface. It can be appreciated that the prompting manner of the second prompting message may also have other implementation manners, and is not limited to the foregoing implementation manner, and is not limited herein.
Specifically, the designated action may be the arm wrapping around the "8" word, or shaking the arm (up and down shaking the arm, left and right shaking the arm), lifting the arm, sweeping the back of the hand at an angle, sweeping a curve, flipping the wrist, rotating the arm clockwise, rotating the arm counterclockwise, etc. As shown in the scene diagram of fig. 12, after receiving the second prompting message, the wearer specifies an action according to the prompting input.
Specifically, the preset time period may be 5s, 10s, 20s, 30s, or the like. And inputting a specified action by the wearer according to the second prompt message within a preset time length based on the first contact state of the wearable device and the wearer, wherein the generated signal value is a continuous signal.
In addition, the wearable device can judge whether the wearer inputs the specified action according to the second prompt message according to the data collected by the gravity sensor or the gyroscope.
For example, assuming that the designated action is an arm-around "8" word, data collected by a gravity sensor or a gyroscope during the arm-around "8" word when the wearable device is worn by the wearer may be collected in advance as a reference. After the second prompt message is sent, the data collected by the gravity sensor or the gyroscope at the moment is compared with the data collected in advance, if the deviation is within the error range, the wearer can be judged to input the specified action according to the second prompt message, and if the deviation is not within the error range, the wearer can be judged not to input the specified action according to the second prompt message.
S302: and respectively obtaining the maximum value and the minimum value in the signal values generated based on the first contact state of the wearable device and the wearer within the preset time after the second prompt message is sent each time, and determining the N maximum values and the N minimum values.
Specifically, within a preset time period after the second prompt message is sent out, the signal generated based on the first contact state of the wearable device and the wearer is a continuous signal. And respectively obtaining the maximum value and the minimum value in the continuous signals generated each time, namely obtaining N maximum values and N minimum values in the signal values generated based on the first contact state of the wearable device and the wearer within the preset time length after the second prompt message is sent for N times.
S303: and determining the maximum threshold value according to the N maximum values, and determining the minimum threshold value according to the N minimum values.
In one possible implementation, the maximum threshold value may be an average of the N maximum values, and the minimum threshold value may be an average of the N minimum values.
In another possible implementation manner, the maximum threshold may be a maximum value among the N maximum values, and the minimum threshold may be a minimum value among the N minimum values.
Alternatively, the signal value may be a capacitance value. Capacitance sensors may be used to measure capacitance to obtain a capacitance value. The tightness degree of wearing of the wearable device is different, and the capacitance values collected by the capacitance sensors are different, as shown in fig. 13. As can be seen from fig. 13, the larger the capacitance value acquired by the capacitance sensor, the closer the sensor of the watch is to the skin; the smaller the capacitance value collected by the capacitance sensor is, the farther the sensor of the watch is from the skin is, namely the watch is worn loosely. Specifically, the capacitive sensor may be provided in a plurality of places including the dial inner side 10 and the band inner side 20 as shown in fig. 9.
At this time, the method for obtaining the signal threshold value may further include, as shown in fig. 14, at least the following steps:
s401: n signal values generated based on a first contact state of the wearable device and a wearer are obtained for N times.
Wherein N is a positive integer. N may be, for example, 5, 10, 13, 15, 20, etc. The larger the value of N is, the more accurate the finally obtained signal threshold value is.
Specifically, the capacitance value generated based on the first contact state of the wearable device with the wearer is a single value.
S402: and acquiring the maximum value and the minimum value in the N signal values.
Specifically, the signal values obtained N times are N capacitance values. And acquiring a maximum value and a minimum value from the N capacitance values.
S403: determining the maximum threshold value according to a maximum value of the N signal values, and determining the minimum threshold value according to a minimum value of the N signal values.
Specifically, the maximum value of the N capacitance values is the maximum threshold value, and the minimum value of the N signal values is the minimum threshold value.
S202: an instruction to measure a physiological parameter is received.
Specifically, the instruction for measuring the physiological parameter may be an instruction input by the wearer by voice, or an instruction input by the wearer for measuring the physiological parameter based on a corresponding control in an operation interface of the wearable device, or an instruction input by the wearer for inputting a specific gesture as the instruction for measuring the physiological parameter, and the like. It will be appreciated that the input of the instruction to measure the physiological parameter may be implemented in a variety of ways, and is not limited herein.
S203: and detecting the wearing state of the wearable equipment.
Alternatively, the wearable device may be detected by detecting a level value of the electromyographic signal. If the electromyographic signal is at a high level, detecting that the wearable device is worn; and detecting that the wearable device is not worn if the electromyographic signal is at a low level. The electromyographic signals can be collected by electromyographic signal sensors, and the electromyographic signal sensors can be distributed at the positions similar to the arrangement positions of the capacitance sensors and can be distributed at a plurality of places including the dial inner side 10 and the watch band inner side 20 as shown in fig. 9.
Optionally, the wearable device may be configured to be worn by detecting a state of a buckle of the wristband. The buckle state of the watchband comprises buckled state and unbuckled state. If the buckle state of the wearable equipment watchband is detected to be buckled, detecting that the wearable equipment is worn; and detecting that the wearable device is not worn if the buckle state of the wearable device watchband is detected to be not buckled.
The buckle state of the watchband can be judged by setting the pressure value collected by the pressure sensor in the target area of the watchband of the wearable device. If the pressure value of the target area is nonzero, detecting that the buckle state of the wearable equipment watchband is buckled; and if the pressure value of the target area is zero, detecting that the buckle state of the wearable equipment watchband is not buckled. Therefore, before detecting the buckle state of the wearable device watchband, the method further comprises the step of arranging a pressure sensor in a target area of the wearable device watchband. Specifically, the pressure sensor may be disposed in the region 30 as shown in fig. 9.
Alternatively, the detection mode for detecting the wearing state of the wearable device may be determined by combining the two modes. Namely, the level value of the electromyographic signal is combined with the hasp state of the watchband to judge. If the electromyographic signal is detected to be at a high level and the buckle state of the watchband is buckled, detecting that the wearable device is worn; otherwise, the wearable device is detected to be not worn.
Specifically, the wearable device may determine its own wearing state according to a result detected by the detection manner, or the wearable device may upload a result detected by the detection manner to a server or other devices through a network, so that the server or other devices determine the wearing state of the wearable device according to the detection result.
S204: and if the wearing state of the wearable equipment is worn, acquiring a signal value generated based on the current contact state of the wearable equipment and the wearer.
Optionally, if the signal value is a PPG signal value, and if the wearable device is worn in the wearing state, acquiring the signal value generated based on the current contact state of the wearable device and the wearer includes:
s2071: and if the wearable equipment is worn, sending a second prompt message.
Specifically, the second prompting message is used for prompting the wearer to input a specified action after detecting that the wearing state of the wearable device is worn. And the prompting mode of the second prompting message is similar to that of the first message. Specifically, the second prompt message may be a dialog box or an animation prompt displayed by the wearable device through the operation interface; the second prompting message can also be a wearable device voice prompt; the second prompt message can also be prompted in a mode of combining operation interface display and vibration; the second prompting message can also be a combined voice and vibration prompting. It can be appreciated that the prompting manner of the second prompting message may also have other implementation manners, and is not limited to the foregoing implementation manner, and is not limited herein.
Specifically, the designated action may be the arm wrapping around the "8" word, or shaking the arm (up and down shaking the arm, left and right shaking the arm), lifting the arm, sweeping the back of the hand at an angle, sweeping a curve, flipping the wrist, rotating the arm clockwise, rotating the arm counterclockwise, etc.
S2072: and acquiring a signal value generated based on the current contact state of the wearable device and the wearer within a preset time after the second prompt message is sent out.
Specifically, the preset time period may be 5s, 10s, 20s, 30s, or the like. And inputting a specified action by the wearer according to the second prompt message within a preset time length based on the current contact state of the wearable device and the wearer, wherein the generated signal value is a continuous signal.
In addition, the wearable device can judge whether the wearer inputs the specified action according to the second prompt message according to the data collected by the gravity sensor or the gyroscope.
For example, assuming that the designated action is an arm-around "8" word, data collected by a gravity sensor or a gyroscope during the arm-around "8" word when the wearable device is worn by the wearer may be collected in advance as a reference. After the second prompt message is sent, the data collected by the gravity sensor or the gyroscope at the moment is compared with the data collected in advance, if the deviation is within the error range, the wearer can be judged to input the specified action according to the second prompt message, and if the deviation is not within the error range, the wearer can be judged not to input the specified action according to the second prompt message. It is known that the data collected by the gravity sensor or gyroscope when entering a given action is independent of the current contact state of the wearable device with the wearer.
Optionally, if the signal value is a capacitance value, the signal value generated based on the current contact state of the wearable device and the wearer is a single capacitance value.
S205: and if the current contact state does not meet the measurement condition according to the signal value and the signal threshold value, sending a first prompt message.
Optionally, if the signal value is a PPG signal value, the sending the first prompt message specifically includes the following steps, as shown in fig. 15:
s501: and acquiring the maximum value and the minimum value in the signal values.
Specifically, the PPG signal value is a continuous signal, and a maximum value and a minimum value in the continuous signal are obtained.
S502: a first variance between a maximum value of the signal values and the maximum threshold value is calculated, and a second variance between a minimum value of the signal values and the minimum threshold value is calculated.
S503: the first variance, the second variance and a variance threshold are compared.
Specifically, the variance represents the degree of dispersion of the data, and the variance of the PPG signal value generated based on the current contact state of the wearable device and the wearer and a pre-obtained signal threshold value may be used to determine the stability of the PPG signal value generated based on the current contact state of the wearable device and the wearer.
In particular, the smaller the variance, the more stable the PPG signal value currently measured is. The variance threshold may be, for example, 0.02, 0.05, 0.1, etc.
S504: if at least one of the first variance and the second variance is not less than the variance threshold, the current contact state is judged not to meet the measurement condition, and a first prompt message is sent.
Specifically, if at least one of the first variance and the second variance is not smaller than the variance threshold, that is, a sudden change occurs in a maximum value or/and a minimum value, it indicates that a PPG signal value generated based on a current contact state of the wearable device and the wearer is unstable, indicates that the wearing tightness of the wearable device is not appropriate, and issues a first prompt message to prompt the wearer to readjust wearing of the wearable device.
Optionally, if the signal value is a capacitance value, the sending the first prompt message specifically includes the following steps, as shown in fig. 16:
s601: comparing the signal value with the maximum threshold value and the minimum threshold value.
Specifically, the signal value is a single capacitance value, and the capacitance value may be directly compared with a maximum threshold value and a minimum threshold value of a signal threshold value obtained in advance.
S602: if the signal value is larger than the maximum threshold value or smaller than the minimum threshold value, the current contact state is judged not to meet the measurement condition, and a first prompt message is sent.
Specifically, if the capacitance value is greater than the maximum threshold value or less than the minimum threshold value, it indicates that the capacitance value exceeds a normal range of the capacitance value generated when the wearing tightness of the wearable device is proper, and indicates that the wearing tightness of the wearable device is not proper at this time, a first prompt message is sent to prompt the wearer to readjust wearing of the wearable device.
S206: and if the current contact state meets the measurement condition according to the signal value and the signal threshold value, starting to measure the physiological parameter.
In addition, the embodiment of the application also provides a method for detecting the wearing condition of the wearable device, which comprises the following steps:
s901: the wearable device detects the PPG signal.
In particular, the PPG signal may be detected by a photosensor carried by the wearable device itself. Alternatively, the wearable device may detect the PPG signal over a period of time, e.g., 1 hour, 5 minutes, etc. Optionally, before this step, the method may further include: detecting whether the user wears the wearable device, if so, executing S901. specifically, referring to S203, the process of detecting whether the user wears the wearable device.
S902: the wearable device determines whether the PPG signal is mutated.
Specifically, the wearable device may analyze whether a mutation occurs in the PPG signal by detecting the PPG signal over a period of time. When the PPG signal suddenly increases or decreases at a certain moment, it is indicated that the PPG signal has a sudden change. Reference is made to fig. 10 and 15 for determining whether the PPG signal is mutated.
S903: when the PPG signal is mutated, it is determined that the wearable device is not worn correctly.
When the PPG signal is stable, the wearable device is well worn; when the PPG signal suddenly increases or decreases at a certain moment, it is indicated that the wearable device is worn poorly, e.g. worn too loosely. Optionally, the user may be prompted to wear correctly if it is determined that the wearable device is not worn correctly.
The method and the device for detecting the wearing state of the wearable device can detect the wearing state of the wearable device by setting a PPG signal value or a signal threshold value of a capacitance value, and if the wearable device is worn, obtain a signal value generated based on the current contact state of the wearable device and a wearer; judging whether the current contact state meets the measurement condition or not through a PPG signal value or a capacitance value; if the current contact state is judged to be not satisfied with the measurement condition according to the PPG signal value or the capacitance value and the signal threshold value, a first prompt message is sent out to prompt a wearer to adjust and wear the wearable equipment, and the wearing tightness of the wearable equipment is intelligently detected, so that the accuracy of heart rate measurement is ensured.
While the method of the embodiments of the present application has been described in detail, in order to better implement the above-described aspects of the embodiments of the present application, the following also provides related apparatus for implementing the aspects.
As shown in fig. 17, which is a schematic structural diagram of a wearable device provided in the embodiment of the present application, the wearable device 70 may include at least: a first obtaining module 710, a first prompting module 720, wherein,
a first obtaining module 710, configured to obtain a signal value generated based on a current contact state of the wearable device 70 and a wearer if the wearing state of the wearable device 70 is worn; wherein, the wearing state comprises wearing and not wearing.
A first prompt module 720, configured to send a first prompt message if it is determined that the current contact state does not satisfy the measurement condition according to the signal value and the signal threshold value; wherein the signal threshold comprises a signal threshold generated based on a first contact state of the wearable device 70 with the wearer; the first prompting message is used for prompting to adjust the wearable device 70.
In one possible implementation, the wearable device 70 further includes: the measuring module 730 is configured to start measuring the physiological parameter if the current contact state is determined to satisfy the measurement condition according to the signal value and the signal threshold value.
In one possible implementation, the wearable device 70 further includes: a receiving module 740 for receiving an instruction to measure a physiological parameter before the first acquiring module 710 acquires a signal value generated based on a current contact state of the wearable device 70 with the wearer.
In an optional embodiment, the wearable device 70 further comprises: a detection module 750 for detecting the wearing state of the wearable device 70 before the first acquisition module 710 acquires the signal value generated based on the current contact state of the wearable device 70 with the wearer.
In an optional embodiment, the wearable device 70 further comprises: a second obtaining module 760, configured to obtain the signal threshold value before the detecting module 750 detects the wearing state of the wearable device 70; the signal threshold includes a maximum threshold and a minimum threshold.
In an alternative embodiment, the signal value comprises a PPG signal value.
In an alternative embodiment, as shown in fig. 18, the first obtaining module 710 may include at least: a prompt unit 7110, a first acquisition unit 7120, wherein,
a prompt unit 7110, configured to send a second prompt message if the wearable device 70 is worn; wherein the second prompt message is used for prompting the wearer to input a specified action.
A first obtaining unit 7120, configured to obtain a signal value generated based on a current contact state of the wearable device 70 and the wearer within a preset time period after the second prompt message is sent out.
In an alternative embodiment, as shown in fig. 19, the second obtaining module 760 may include at least: a second acquisition unit 7610, a third acquisition unit 7620, a first determination unit 7630, wherein,
a second obtaining unit 7610, configured to obtain signal values generated based on a first contact state between the wearable device 70 and the wearer within a preset time after the sending of the second prompt message for N times; wherein N is a positive integer.
A third obtaining unit 7620, configured to obtain, each time within a preset time period after the second prompt message is sent, a maximum value and a minimum value in signal values generated based on the first contact state of the wearable device 70 and the wearer, and determine N maximum values and N minimum values in signal values generated based on the first contact state of the wearable device 70 and the wearer within the preset time period after the second prompt message is sent N times.
A first determining unit 7630, configured to determine the maximum threshold value according to the N maximum values, and determine the minimum threshold value according to the N minimum values.
In a possible implementation manner, the first determining unit 7630 is configured to determine a maximum value of the N maximum values as the maximum threshold value, and determine a minimum value of the N minimum values as the minimum threshold value.
In another possible implementation manner, the first determining unit 7630 is configured to determine an average value of the N maximum values as the maximum threshold value, and determine an average value of the N minimum values as the minimum threshold value.
In an alternative embodiment, as shown in fig. 20, the first prompting module 720 at least includes: a fifth obtaining unit 7210, a calculating unit 7220, a first comparing unit 7230, a first prompting unit 7240, wherein,
a fifth acquiring unit 7210 configured to acquire a maximum value and a minimum value of the signal values.
A calculating unit 7220, configured to calculate a first variance between a maximum value of the signal values and the maximum threshold value, and calculate a second variance between a minimum value of the signal values and the minimum threshold value.
A first comparing unit 7230 configured to compare the first variance, the second variance, and a variance threshold, respectively.
A first prompting unit 7240, configured to determine that the current contact state does not satisfy the measurement condition if at least one of the first variance and the second variance is not less than the variance threshold, and send a first prompting message.
In an alternative embodiment, the signal value comprises a capacitance value.
In an alternative embodiment, as shown in fig. 21, the second obtaining module 760 may include at least: a sixth acquisition unit 7640, a seventh acquisition unit 7650, an eighth acquisition unit 7660, wherein,
a sixth obtaining unit 7640, configured to obtain N signal values generated N times based on a preset contact state of the wearable device 70 with the wearer; wherein N is a positive integer.
A seventh obtaining unit 7650, configured to obtain a maximum value and a minimum value of the N signal values obtained by the sixth obtaining unit 7640.
An eighth obtaining unit 7660, configured to obtain the maximum threshold according to a maximum value of the N signal values obtained by the seventh obtaining unit 7650, and obtain the minimum threshold according to a minimum value of the N signal values obtained by the seventh obtaining unit 7650.
In a possible implementation manner, the eighth obtaining unit 7660 is configured to use a maximum value of the N signal values obtained by the seventh obtaining unit 7650 as the maximum threshold value, and use a minimum value of the N signal values obtained by the seventh obtaining unit 7650 as the minimum threshold value.
In an alternative embodiment, as shown in fig. 22, the first prompting module 720 at least includes: a second comparing unit 7250, a second prompt unit 7260, wherein,
a second comparing unit 7250, configured to compare the signal value with the maximum threshold value and the minimum threshold value.
A second prompting unit 7260, configured to determine that the current contact state does not satisfy the measurement condition if the signal value is greater than the maximum threshold value or less than the minimum threshold value, and send a first prompting message.
In an alternative embodiment, the detecting module 750 is configured to detect a level value of the electromyographic signal; if the electromyographic signal is at a high level, detecting that the wearable device 70 is worn; if the myoelectric signal is at a low level, it is detected that the wearable device 70 is not worn.
In an alternative embodiment, wearable device 70 comprises a watch band. The detection module 750 is used for detecting the buckle state of the wearable device watchband; wherein, the buckle state of the watchband comprises buckled state and unbuckled state. If the buckle state of the wearable device watchband is detected to be buckled, detecting that the wearable device 70 is worn; if it is detected that the wearable device band is not fastened, it is detected that the wearable device 70 is not worn.
In one possible implementation, the detection module 750 is configured to detect a pressure value of a target area of a wearable device wristband. If the pressure value of the target area is nonzero, detecting that the buckle state of the watchband of the wearable device is buckled; and if the pressure value of the target area is zero, detecting that the buckle state of the wearable equipment watchband is not buckled. The wearable device 70 further comprises a setting module for setting a pressure sensor at a target area of the wearable device wristband before the detection module 750 detects the buckle status of the wearable device wristband.
In an alternative embodiment, the detecting module 750 is used for detecting a level value of the electromyographic signal and a fastening state of the watch strap. If the electromyographic signal is detected to be at a high level and the buckle state of the watchband is buckled, detecting that the wearable device 70 is worn; otherwise, it is detected that the wearable device 70 is not worn.
It is understood that the functions of the functional modules of the wearable device 70 in the embodiment of the present application can be specifically implemented according to the method in the foregoing method embodiment, and are not described herein again.
Fig. 23 shows a schematic structural diagram of another wearable device provided in the embodiment of the present application, where the wearable device 80 may include at least: baseband chip 810, memory 820 (one or more computer-readable storage media), peripheral system 830, and radio frequency module 840. These components may communicate over one or more communication buses 850.
The peripheral system 830 is mainly used to implement an interactive function between the wearable device 80 and a user/external environment, and mainly includes an input/output device of the wearable device 80. Specifically, the peripheral system 830 may include: a touch screen controller 831, a camera controller 832, an audio controller 833, and a sensor management module 834. Wherein the touch screen controller 831 can be a touch screen 835; camera controller 832 may be a camera 836; the audio controller 833 may be the audio circuit 837; the sensor management module 834 may be a sensor 838, wherein the sensor 836 may include a photoelectric sensor 8361, a capacitive sensor 8362, a myoelectric signal sensor 8363, a pressure sensor 8364, and the like.
In other embodiments, peripheral system 830 may also include other peripherals.
The baseband chip 810 may integrally include: one or more processors 811, a clock module 812, and a power management module 813. The clock module 812 integrated in the baseband chip 810 is mainly used for generating clocks required for data transmission and timing control for the processor 811. The power management module 813 integrated in the baseband chip 810 is mainly used to provide stable and high-precision voltages for the processor 811, the rf module 840 and the peripheral system 830.
The rf module 840 is used for receiving and transmitting rf signals, and mainly integrates a receiver and a transmitter of the wearable device 80. The rf module 840 communicates with a communication network and other communication devices through rf signals. In a particular implementation, the rf module 840 may include, but is not limited to: an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC chip, a SIM card, a storage medium, and the like. In some embodiments, the radio frequency module 840 may be implemented on a separate chip.
The memory 820 is coupled to the processor 811 for storing various software programs or sets of instructions. In particular, the memory 820 may include high-speed random access memory and may include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 820 may store an operating system (hereinafter referred to simply as a system), such as an embedded operating system like ANDROID, IOS, WINDOWS, or LINUX. The memory 820 may also store a network communication program that may be used to communicate with one or more additional devices, one or more terminal devices, one or more network devices. The memory 820 may also store a user interface program, which may vividly display the content of the application program through a graphical operation interface, and receive the control operation of the application program from the user through input controls such as menus, dialog boxes, and buttons. The memory 820 may also store wearable device detection instructions.
Processor 811 may be configured to invoke wearable device detection instructions stored in memory 820 and perform the following operations:
if the wearable device 80 is worn, acquiring a signal value generated based on the current contact state of the wearable device 80 and the wearer through the photoelectric sensor 8361; wherein, the wearing state comprises wearing and not wearing.
If the current contact state does not meet the measurement condition according to the signal value and the signal threshold value, a first prompt message is sent out through the peripheral system 830; wherein the signal threshold comprises a signal threshold generated based on a first contact state of the wearable device 80 with the wearer; the first prompt message is used to prompt the wearable device 80 to be worn.
In one possible implementation, after obtaining the signal value generated based on the current contact state of the wearable device 80 with the wearer, the processor 811 is further configured to: and if the current contact state meets the measurement condition according to the signal value and the signal threshold value, starting to measure the physiological parameter.
In a possible implementation manner, before acquiring the signal value generated based on the current contact state of the wearable device 80 and the wearer if the wearing state of the wearable device 80 is worn, the processor 811 is further configured to: the instructions to measure the physiological parameters are received by the peripheral system 830.
In an alternative embodiment, before the signal value generated based on the current contact state of the wearable device and the wearer is obtained by the photoelectric sensor 8361 if the wearable device 80 is worn, the processor 811 is further configured to: the wearing state of the wearable device 80 is detected by the sensor 838.
In an alternative embodiment, before detecting the wearing state of the wearable device 80, the processor 811 is further configured to: signal threshold values are obtained by sensor 838; the signal threshold includes a maximum threshold and a minimum threshold.
In an alternative embodiment, the signal value comprises a PPG signal value.
In an alternative embodiment, the processor 811 is configured to obtain the signal value generated based on the current contact state of the wearable device 80 and the wearer if the wearing state of the wearable device 80 is worn, including:
if the wearable device 80 is worn, a second prompt message is sent through the peripheral system 830; and the second prompt message is used for prompting the input of a specified action.
The signal value generated based on the current contact state of the wearable device 80 and the wearer within the preset time after the second prompt message is sent is acquired through the photoelectric sensor 8361.
In an alternative embodiment, processor 811 obtains the signal threshold value by:
acquiring a signal value generated based on a first contact state of the wearable device 80 and the wearer within a preset time after the second prompt message is sent for N times through the photoelectric sensor 8361; wherein N is a positive integer.
And respectively acquiring the maximum value and the minimum value in the signal values generated based on the first contact state of the wearable device 80 and the wearer in the preset time after the second prompt message is sent each time, and determining N maximum values and N minimum values in the signal values generated based on the first contact state of the wearable device 80 and the wearer in the preset time after the second prompt message is sent for N times.
And determining the maximum threshold value according to the N maximum values, and determining the minimum threshold value according to the N minimum values.
In an alternative embodiment, if the processor 811 determines that the current contact state does not satisfy the measurement condition according to the signal value and the signal threshold, the sending the first prompt message includes:
and acquiring the maximum value and the minimum value in the signal values.
A first variance between a maximum value of the signal values and the maximum threshold value is calculated, and a second variance between a minimum value of the signal values and the minimum threshold value is calculated.
The first variance, the second variance and a variance threshold are compared.
If at least one of the first variance and the second variance is not less than the variance threshold, it is determined that the current contact state does not satisfy the measurement condition, and a first prompt message is sent through the peripheral system 830.
In an alternative embodiment, the signal value comprises a capacitance value.
In an alternative embodiment, processor 811 obtains the signal threshold value by:
acquiring, by the capacitive sensor 8362, N signal values generated based on a first contact state of the wearable device 80 with the wearer; wherein N is a positive integer.
And acquiring the maximum value and the minimum value in the N signal values.
Determining the maximum threshold value according to a maximum value of the N signal values, and determining the minimum threshold value according to a minimum value of the N signal values.
In one possible implementation, the processor 811 determines the maximum threshold value according to the N maximum values, and the determining the minimum threshold value according to the N minimum values includes:
and determining the maximum value of the N maximum values as the maximum threshold value, and determining the minimum value of the N minimum values as the minimum threshold value.
In one possible implementation, the processor 811 determines the maximum threshold value according to the N maximum values, and the determining the minimum threshold value according to the N minimum values includes:
and determining the average value of the N maximum values as the maximum threshold value, and determining the average value of the N minimum values as the minimum threshold value.
In an alternative embodiment, if the processor 80 determines that the current contact state does not satisfy the measurement condition according to the signal value and the signal threshold value, the sending the first prompt message includes:
comparing the signal value with the maximum threshold value and the minimum threshold value.
If the signal value is greater than the maximum threshold value or less than the minimum threshold value, it is determined that the current contact state does not satisfy the measurement condition, and a first prompt message is sent through the peripheral system 830.
In an alternative embodiment, the processor 811 detecting the wearing state of the wearable device 80 includes: detecting a level value of the electromyogram signal through the electromyogram signal sensor 8363; if the electromyographic signal is at a high level, detecting that the wearable device 80 is worn; if the myoelectric signal is at a low level, it is detected that the wearable device 80 is not worn.
In one possible implementation, the wearable device 80 includes a watchband; the processor 811 detecting the wearing state of the wearable device 80 includes:
detecting a hasp state of a wearable device watchband; the buckle state of the watchband comprises buckled state and unbuckled state.
When the wearable device wristband is detected to be in a state of being fastened, it is detected that the wearable device 811 is worn.
When the buckle state of the wearable device band is detected as not buckled, it is detected that the wearable device 811 is worn.
In one possible implementation, the processor 811 detecting a snap state of a wearable device wristband includes:
detecting a pressure value of a target area of a wearable device watchband by a pressure sensor 8364; if the pressure value of the target area is nonzero, detecting that the buckle state of the watchband of the wearable device is buckled; and if the pressure value of the target area is zero, detecting that the buckle state of the wearable equipment watchband is not buckled.
Before detecting the state of the buckle of the wearable device wristband through the pressure sensor 8364, the processor 811 is further configured to: and arranging a pressure sensor in a target area of the watchband of the wearable device.
By implementing the embodiment of the application, the signal value generated based on the current contact state of the wearable device and a wearer can be acquired after the wearable device is detected to be worn; if the current contact state is judged to not meet the measurement condition according to the signal value and the signal threshold value, a first prompt message is sent out to prompt a wearer to adjust wearing of the wearable equipment, wearing tightness of the wearable equipment is intelligently detected, and accuracy of heart rate measurement is guaranteed.
One of ordinary skill in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the above method embodiments. And the aforementioned storage medium includes: various media capable of storing program codes, such as ROM or RAM, magnetic or optical disks, etc.
While the application is described in connection with various embodiments, which are not intended to limit the scope of the application, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the application, and the scope of the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single controller or other unit may fulfill the functions of several items recited in the claims. Certain terms are recited in mutually different dependent claims, but this does not indicate that a combination of these terms cannot be used to advantage.

Claims (16)

1. A method for detecting a wearable device, comprising:
if the wearable device is worn, acquiring a signal value generated based on the current contact state of the wearable device and a wearer; wherein the wearing state includes worn and unworn;
if the current contact state is judged to not meet the measurement condition according to the signal value and the signal threshold value, sending a first prompt message; wherein the signal threshold comprises a signal threshold generated based on a first contact state of the wearable device with a wearer; the first prompt message is used for prompting to adjust wearing of the wearable device;
the signal threshold value comprises a maximum threshold value and a minimum threshold value; the maximum threshold value is determined according to the maximum value of the signal value generated each time in the signal values generated by the first contact state of the wearable device and the wearer within the preset time after the second prompt message is sent out for N times; the minimum threshold value is determined according to the minimum value of signal values generated each time in the signal values generated by the first contact state of the wearable device and the wearer within the preset time after the second prompt message is sent out for N times; n is a positive integer; the second prompt message is sent under the condition that other wearing tightness before the wearing is proper, and is used for prompting to input a specified action;
wherein the content of the first and second substances,
if the current contact state is judged to not meet the measurement condition according to the signal value and the signal threshold value, sending a first prompt message, comprising: acquiring the maximum value and the minimum value in the signal values; calculating a first variance of a maximum value of the signal values and the maximum threshold value, and calculating a second variance of a minimum value of the signal values and the minimum threshold value; comparing the first variance, the second variance and a variance threshold respectively; and if at least one of the first variance and the second variance is not smaller than the variance threshold, judging that the current contact state does not meet the measurement condition, and sending a first prompt message.
2. The method of claim 1, wherein before obtaining the signal value generated based on the current contact state of the wearable device with the wearer if the wearing state of the wearable device is worn, the method further comprises: detecting a wearing state of the wearable device.
3. The method of claim 2,
before the detecting the wearing state of the wearable device, the method further comprises: and acquiring a signal threshold value.
4. The method of claim 3, in which the signal value comprises a PPG signal value.
5. The method of any of claims 2 to 4, wherein the detecting the wearing state of the wearable device comprises:
detecting a level value of the electromyographic signal;
if the electromyographic signal is at a high level, detecting that the wearable device is worn;
and if the electromyographic signal is at a low level, detecting that the wearable device is not worn.
6. A wearable device, comprising:
the wearable device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a signal value generated based on the current contact state of the wearable device and a wearer if the wearable device is worn; wherein the wearing state includes worn and unworn;
the first prompting module is used for sending a first prompting message if the current contact state is judged to not meet the measurement condition according to the signal value and the signal threshold value; wherein the signal threshold comprises a signal threshold generated based on a first contact state of the wearable device with a wearer; the first prompt message is used for prompting to adjust wearing of the wearable device, and the signal threshold value comprises a maximum threshold value and a minimum threshold value; the maximum threshold value is determined according to the maximum value of the signal value generated each time in the signal values generated by the first contact state of the wearable device and the wearer within the preset time after the second prompt message is sent out for N times; the minimum threshold value is determined according to the minimum value of signal values generated each time in the signal values generated by the first contact state of the wearable device and the wearer within the preset time after the second prompt message is sent out for N times; n is a positive integer; the second prompt message is sent under the condition that other wearing tightness before the wearing is proper, and is used for prompting to input a specified action;
wherein, the first prompt module comprises:
a fifth acquiring unit, configured to acquire a maximum value and a minimum value of the signal values;
a calculation unit for calculating a first variance of a maximum value of the signal values and the maximum threshold value, and calculating a second variance of a minimum value of the signal values and the minimum threshold value;
a first comparing unit for comparing the first variance, the second variance and a variance threshold value respectively;
and the first prompting unit is used for judging that the current contact state does not meet the measurement condition and sending a first prompting message if at least one of the first variance and the second variance is not smaller than the variance threshold.
7. The wearable device of claim 6, further comprising:
a detection module for detecting a wearing state of the wearable device before the first acquisition module is used for acquiring a signal value generated based on a current contact state of the wearable device with a wearer.
8. The wearable device of claim 7, further comprising:
and the second acquisition module is used for acquiring a signal threshold value before the detection module detects the wearing state of the wearable device.
9. The wearable device of claim 8, wherein the signal value comprises a PPG signal value.
10. The wearable device according to any one of claims 7 to 9, wherein the detection module is configured to detect a level value of an electromyographic signal;
if the electromyographic signal is at a high level, detecting that the wearable device is worn;
and if the electromyographic signal is at a low level, detecting that the wearable device is not worn.
11. A wearable device, comprising:
a memory to store wearable device detection instructions;
a processor for invoking the wearable device detection instructions stored in the memory and performing the steps of:
if the wearable device is worn, acquiring a signal value generated based on the current contact state of the wearable device and a wearer; wherein the wearing state includes worn and unworn;
if the current contact state is judged to not meet the measurement condition according to the signal value and the signal threshold value, sending a first prompt message; wherein the signal threshold comprises a signal threshold generated based on a first contact state of the wearable device with a wearer; the first prompt message is used for prompting to adjust wearing of the wearable device, and the signal threshold value comprises a maximum threshold value and a minimum threshold value;
the maximum threshold value is determined according to the maximum value of the signal value generated each time in the signal values generated by the first contact state of the wearable device and the wearer within the preset time after the second prompt message is sent out for N times; the minimum threshold value is determined according to the minimum value of signal values generated each time in the signal values generated by the first contact state of the wearable device and the wearer within the preset time after the second prompt message is sent out for N times; n is a positive integer; the second prompt message is sent under the condition that other wearing tightness before the wearing is proper, and is used for prompting to input a specified action;
wherein, if the processor judges that the current contact state does not meet the measurement condition according to the signal value and the signal threshold value, the sending a first prompt message comprises: acquiring the maximum value and the minimum value in the signal values; calculating a first variance of a maximum value of the signal values and the maximum threshold value, and calculating a second variance of a minimum value of the signal values and the minimum threshold value; comparing the first variance, the second variance and a variance threshold respectively; and if at least one of the first variance and the second variance is not smaller than the variance threshold, judging that the current contact state does not meet the measurement condition, and sending a first prompt message.
12. The wearable device of claim 11, wherein before obtaining the signal value generated based on the current contact state of the wearable device with the wearer if the wearing state of the wearable device is worn, the processor is further configured to: detecting a wearing state of the wearable device.
13. The wearable device of claim 12, wherein prior to the detecting the wearing state of the wearable device, the processor is further to: and acquiring a signal threshold value.
14. The wearable device of claim 13, wherein the signal value comprises a PPG signal value.
15. The wearable device of any of claims 12-14, wherein the processor to detect the wearing state of the wearable device comprises:
detecting a level value of the electromyographic signal;
if the electromyographic signal is at a high level, detecting that the wearable device is worn;
and if the electromyographic signal is at a low level, detecting that the wearable device is not worn.
16. A computer readable storage medium storing one or more computer programs, the one or more computer programs comprising instructions for performing the method of detecting a wearable device of any of claims 1-5, when the computer program is run on a computer.
CN201780009704.7A 2017-06-29 2017-10-27 Wearable device detection method and wearable device Active CN108697329B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201710514246 2017-06-29
CN2017105142464 2017-06-29
PCT/CN2017/108129 WO2019000742A1 (en) 2017-06-29 2017-10-27 Detection method for wearable apparatus and wearable apparatus

Publications (2)

Publication Number Publication Date
CN108697329A CN108697329A (en) 2018-10-23
CN108697329B true CN108697329B (en) 2021-05-18

Family

ID=63843833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780009704.7A Active CN108697329B (en) 2017-06-29 2017-10-27 Wearable device detection method and wearable device

Country Status (1)

Country Link
CN (1) CN108697329B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109602411A (en) * 2018-12-04 2019-04-12 青岛真时科技有限公司 A kind of heart rate detection method and intelligent wearable device
CN109873653A (en) * 2018-12-19 2019-06-11 安徽八爪智能科技有限公司 A kind of wearing detection system of intelligent wearable device
CN109497984A (en) * 2018-12-27 2019-03-22 深圳还是威健康科技有限公司 A kind of processing method and relevant device of heart rate signal
CN110132318A (en) * 2019-04-30 2019-08-16 努比亚技术有限公司 A kind of detection components and detection method of wrist machine wearing state
CN110123300B (en) * 2019-05-14 2022-03-18 安徽华米信息科技有限公司 Heart rate detection method and device and wearable device
CN110691303B (en) * 2019-10-11 2021-12-17 歌尔股份有限公司 Wearable sound box and control method thereof
CN113116357A (en) * 2019-12-30 2021-07-16 华为技术有限公司 Data acquisition method, terminal equipment and storage medium
CN113440118A (en) * 2020-03-27 2021-09-28 华为技术有限公司 Method and device for acquiring PPG signal, terminal equipment and storage medium
CN113545745B (en) * 2020-04-23 2023-03-10 华为技术有限公司 Usage monitoring method and medium for wearable electronic device and electronic device thereof
CN113827185B (en) * 2020-06-23 2023-06-20 华为技术有限公司 Wearing tightness degree detection method and device for wearing equipment and wearing equipment
CN113892920B (en) * 2020-07-06 2023-06-27 华为技术有限公司 Wearing detection method and device of wearable equipment and electronic equipment
CN113995403A (en) * 2020-07-28 2022-02-01 西安领跑网络传媒科技股份有限公司 Wearing state detection method, device, system, storage medium and electronic equipment
CN112336311A (en) * 2020-11-05 2021-02-09 歌尔科技有限公司 Wearable device wearing management method and device, wearable device and medium
CN112244800A (en) * 2020-11-18 2021-01-22 深圳市沃特沃德股份有限公司 Control method and device of smart watch, smart watch and storage medium
CN115211852B (en) * 2022-08-31 2023-05-16 深圳市爱保护科技有限公司 Intelligent watch capable of accurately detecting blood oxygen
CN115770045B (en) * 2022-11-18 2023-10-20 深圳市心流科技有限公司 Control method of sign detection device based on user state and terminal equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571514A (en) * 2014-12-29 2015-04-29 联想(北京)有限公司 Information processing method and wearable electronic equipment
CN105342623A (en) * 2015-09-25 2016-02-24 广东乐源数字技术有限公司 Intelligent fall monitoring device and processing method thereof
CN105549742A (en) * 2015-12-14 2016-05-04 广东小天才科技有限公司 Method, apparatus and system for detecting whether intelligent wearable device is wornor not
CN105758452A (en) * 2016-02-04 2016-07-13 歌尔声学股份有限公司 Wearing state detection method and device of wearable equipment
CN106291121A (en) * 2016-07-29 2017-01-04 歌尔股份有限公司 The wearing state detection method of a kind of wearable device and wearable device
CN106445065A (en) * 2015-08-11 2017-02-22 三星电子株式会社 Method for controlling according to state and electronic device thereof
CN106441413A (en) * 2016-09-19 2017-02-22 广东小天才科技有限公司 Method and device for detecting wearing tightness of wearable device
CN106580291A (en) * 2016-12-22 2017-04-26 广东乐源数字技术有限公司 Method for adjusting wearing of smart wearable equipment
CN106645978A (en) * 2016-10-28 2017-05-10 广东美的制冷设备有限公司 Wearing state detecting method and detecting device for intelligent wearable equipment
CN106644215A (en) * 2016-10-18 2017-05-10 广东小天才科技有限公司 Method and device for determining wearing tightness of wearable device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571514A (en) * 2014-12-29 2015-04-29 联想(北京)有限公司 Information processing method and wearable electronic equipment
CN106445065A (en) * 2015-08-11 2017-02-22 三星电子株式会社 Method for controlling according to state and electronic device thereof
CN105342623A (en) * 2015-09-25 2016-02-24 广东乐源数字技术有限公司 Intelligent fall monitoring device and processing method thereof
CN105549742A (en) * 2015-12-14 2016-05-04 广东小天才科技有限公司 Method, apparatus and system for detecting whether intelligent wearable device is wornor not
CN105758452A (en) * 2016-02-04 2016-07-13 歌尔声学股份有限公司 Wearing state detection method and device of wearable equipment
CN106291121A (en) * 2016-07-29 2017-01-04 歌尔股份有限公司 The wearing state detection method of a kind of wearable device and wearable device
CN106441413A (en) * 2016-09-19 2017-02-22 广东小天才科技有限公司 Method and device for detecting wearing tightness of wearable device
CN106644215A (en) * 2016-10-18 2017-05-10 广东小天才科技有限公司 Method and device for determining wearing tightness of wearable device
CN106645978A (en) * 2016-10-28 2017-05-10 广东美的制冷设备有限公司 Wearing state detecting method and detecting device for intelligent wearable equipment
CN106580291A (en) * 2016-12-22 2017-04-26 广东乐源数字技术有限公司 Method for adjusting wearing of smart wearable equipment

Also Published As

Publication number Publication date
CN108697329A (en) 2018-10-23

Similar Documents

Publication Publication Date Title
CN108697329B (en) Wearable device detection method and wearable device
US20220007955A1 (en) Method for measuring biological signal and wearable electronic device for the same
CN111867449B (en) Method and terminal device for measuring human physiological parameters
CN111317449B (en) Electronic device and method for measuring biometric signals
US8519835B2 (en) Systems and methods for sensory feedback
US20180116607A1 (en) Wearable monitoring device
US20160051184A1 (en) System and method for providing sleep recommendations using earbuds with biometric sensors
EP3851029A1 (en) Heart rate detection method and electronic device
CN110785118A (en) Wearing prompt method and device for wearable equipment
US10212505B2 (en) Multi-point multiple sensor array for data sensing and processing system and method
US20200085374A1 (en) Heart rate measurement method and device, and wearable apparatus
CN107049255A (en) A kind of wearable intelligent equipment and its sleep algorithm
EP3352660B1 (en) System and method for obtaining blood pressure measurement
US20220022814A1 (en) Method and Electronic Device for Detecting Heart Rate
US20160051185A1 (en) System and method for creating a dynamic activity profile using earphones with biometric sensors
EP3738504A1 (en) Electronic device for generating health information on basis of plurality of biosignals and operation method therefor
KR20180056714A (en) System and method for obtaining blood pressure measurements
EP3890596B1 (en) Method for calculating recovery index based on rem sleep stage and electronic device thereof
WO2019000742A1 (en) Detection method for wearable apparatus and wearable apparatus
US20210085259A1 (en) Apparatus and method for estimating bio-information
US20160070403A1 (en) Wearable pods and devices including metalized interfaces
EP2769669A1 (en) Electronic device, heart-rate signal receiving method and program
WO2022089101A1 (en) Pwv measurement method and apparatus based on portable electronic device
CN113080919B (en) Heart rate detection method, device, equipment and computer readable storage medium
CN114652268A (en) Signal acquisition method and device, storage medium and electronic equipment

Legal Events

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