[go: up one dir, main page]

CN108697329A - The detection method and wearable device of wearable device - Google Patents

The detection method and wearable device of wearable device Download PDF

Info

Publication number
CN108697329A
CN108697329A CN201780009704.7A CN201780009704A CN108697329A CN 108697329 A CN108697329 A CN 108697329A CN 201780009704 A CN201780009704 A CN 201780009704A CN 108697329 A CN108697329 A CN 108697329A
Authority
CN
China
Prior art keywords
wearable device
signal
value
threshold value
maximum
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201780009704.7A
Other languages
Chinese (zh)
Other versions
CN108697329B (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

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 for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
    • 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 for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
    • A61B5/024Measuring pulse rate or heart rate
    • A61B5/02416Measuring 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 for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
    • A61B5/024Measuring pulse rate or heart rate
    • A61B5/02438Measuring 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

The detection method and wearable device (70), this method of a kind of wearable device (70) include:If the wearing state of wearable device (70) is to have worn, the signal value (S101, S204) that the current contact condition based on wearable device (70) and wearer generates is obtained;Wherein, wearing state includes having worn and not worn;If judging that current contact condition is unsatisfactory for measuring condition according to signal value and signal threshold value, the first prompting message (S102, S205) is sent out;Wherein, signal threshold value includes the signal threshold value that the first contact condition based on wearable device (70) and wearer generates;First prompting message is for prompting adjustment to wear wearable device (70).This method can improve the accuracy that wearable device (70) measures physiological parameter.

Description

可穿戴设备的检测方法及可穿戴设备Detection method of wearable device and wearable device

本申请要求于2017年6月29日提交中国专利局、申请号为201710514246.4、发明名称为“一种可穿戴设备的佩戴松紧检测方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 201710514246.4 and the title of the invention "A Wearable Tightness Detection Method for Wearable Devices" submitted to the China Patent Office on June 29, 2017, the entire contents of which are incorporated herein by reference In this application.

技术领域technical field

本申请涉及电子技术领域,尤其涉及一种可穿戴设备的检测方法及可穿戴设备。The present application relates to the field of electronic technology, and in particular to a detection method of a wearable device and the wearable device.

背景技术Background technique

智能手表和手环之类的可穿戴设备主要优势在于监测用户健康,比如,利用手环监测运动步数、心率、睡眠指数等,这些智能穿戴设备集成了很多的传感器,用来获取佩戴者的体征数据,记录健康状况。由于脉搏或者心率是生命体征的重要参数之一,所以心率测量已成为智能穿戴设备必备的一个功能。The main advantage of wearable devices such as smart watches and bracelets is to monitor the user's health. For example, use the bracelet to monitor the number of exercise steps, heart rate, sleep index, etc. These smart wearable devices integrate many sensors to obtain the wearer's health. Sign data, record health status. Since pulse or heart rate is one of the important parameters of vital signs, heart rate measurement has become an essential function of smart wearable devices.

目前,可穿戴设备的心率测量主要通过光电容积脉搏波描记法(photoelectricplethysmography,PPG)。PPG是借光电手段在活体组织中检测血液容积变化的一种无创检测方法,是利用光测量脉搏的一种技术。即利用光电传感器检测经过人体血液和组织吸收后的反射光强度的不同,描记出血液流量在心动周期内的变化,从得到的脉搏波形中计算出心率。如图1所示的光电传感器的结构,光电传感器可以包括发射器、接收器等。其中,发射器可以是发光二极管、红外发射二极管等,接收器可以包括光电晶体管等。当发射器发出的光照透过皮肤组织然后再反射到接收器时光照存在一定程度的衰减。通过光照的变化即可容积脉搏血流的变化。At present, the heart rate measurement of wearable devices is mainly through photoplethysmography (photoelectricplethysmography, PPG). PPG is a non-invasive detection method that uses photoelectric means to detect changes in blood volume in living tissue, and is a technology that uses light to measure pulse. That is, the photoelectric sensor is used to detect the difference in the intensity of reflected light absorbed by human blood and tissue, to trace the change of blood flow in the cardiac cycle, and to calculate the heart rate from the obtained pulse waveform. The structure of the photoelectric sensor shown in FIG. 1 , the photoelectric sensor 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. When the light emitted by the transmitter passes through the skin tissue and then reflects to the receiver, there is a certain degree of attenuation of the light. Changes in volumetric pulse and blood flow can be achieved through changes in light.

然而,对智能手表和手环之类的可穿戴设备来说,不规范的佩戴方式会影响心率信号的测量,比如不完全贴合导致的漏光、手臂的摆动以及智能手表或手环在皮肤上的轻微移动等,都会影响测量的心率信号。智能手表或手环佩戴得过紧、手臂抬高和握拳等也会影响血液循环,同样可能影响到心率信号。However, for wearable devices such as smart watches and bracelets, irregular wearing methods can affect the measurement of heart rate signals, such as light leakage caused by incomplete fit, arm swings, and smart watches or bracelets on the skin. Slight movement of the device will affect the measured heart rate signal. Wearing the smart watch or wristband too tightly, raising the arm and making a fist can also affect blood circulation, which may also affect the heart rate signal.

发明内容Contents of the invention

本申请实施例提供了一种可穿戴设备的检测方法及可穿戴设备,能够检测可穿戴设备的佩戴松紧,进而保证心率测量的准确性,解决了现有技术中由于可穿戴设备的佩戴松紧不合适导致的心率测量不准确的问题。The embodiment of the present application provides a detection method of a wearable device and a wearable device, which can detect the wearing tightness of the wearable device, thereby ensuring the accuracy of the heart rate measurement, and solving the problem that the wearable device is not tight enough in the prior art. The problem of inaccurate heart rate measurement caused by fit.

第一方面,本申请实施例提供了一种可穿戴设备的检测方法,包括:In the first aspect, the embodiment of the present application provides a detection method for a wearable device, including:

若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值;其中,所述佩戴状态包括已佩戴和未佩戴;If the wearing state of the wearable device is worn, obtain a signal value generated based on the current contact state between the wearable device and the wearer; wherein the wearing state includes worn and not worn;

若根据所述信号值及信号门限值判断出所述当前接触状态不满足测量条件,发出第一提示消息;其中,所述信号门限值包括基于所述可穿戴设备与佩戴者的第一接触状态产生的信号门限值;所述第一提示消息用于提示调整佩戴所述可穿戴设备。If it is judged that 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; wherein, the signal threshold value includes the wearable device and the wearer's first The threshold value of the signal generated by the contact state; the first prompt message is used to prompt to adjust and wear the wearable device.

本申请实施例中,可以自动检测可穿戴设备的佩戴松紧是否合适,当可穿戴设备佩戴的松紧不合适时,提示佩戴者及时调整佩戴可穿戴设备,以提高后续测量的准确性。In the embodiment of the present application, it is possible to automatically detect whether the wearing tightness of the wearable device is appropriate, and when the wearing tightness of the wearable device is not suitable, the wearer is prompted to adjust wearing the wearable device in time to improve the accuracy of subsequent measurements.

在一种可能的实现方式中,所述获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值之后,所述方法还包括:若根据所述信号值及信号门限值判断出所述当前接触状态满足测量条件,则开始测量生理参数。In a possible implementation manner, after the acquisition of the signal value generated based on the current contact state between the wearable device and the wearer, the method further includes: if it is determined according to the signal value and the signal threshold If the current contact state satisfies the measurement condition, the measurement of the physiological parameter starts.

本申请实施例中,当可穿戴设备佩戴的松紧合适后,开始测量生理参数,保证测量的准确性。In the embodiment of the present application, when the wearable device is worn properly, the physiological parameters are measured to ensure the accuracy of the measurement.

在一种可能的实现方式中,所述若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值之前,所述方法还包括:接收测量生理参数的指令。In a possible implementation manner, if the wearing state of the wearable device is worn, before acquiring the signal value generated based on the current contact state between the wearable device and the wearer, the method further includes: receiving a measurement Instructions for Physiological Parameters.

本申请实施例提供了一种测量生理参数的触发指令,在接收用户输入的指令之后再执行后续步骤,提高生理参数测量的有效性,节约能耗。The embodiment of the present application provides a trigger instruction for measuring physiological parameters, and subsequent steps are executed after receiving the instruction input by the user, so as to improve the effectiveness of physiological parameter measurement and save energy consumption.

结合第一方面,在第一方面的第一种实现方式中,所述若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值之前,所述方法还包括:检测所述可穿戴设备的佩戴状态。With reference to the first aspect, in the first implementation manner of the first aspect, if the wearing state of the wearable device is worn, before acquiring the signal value generated based on the current contact state between the wearable device and the wearer, The method further includes: detecting a wearing state of the wearable device.

本申请实施例中,首先对可穿戴设备的佩戴状态进行检测,当检测到可穿戴设备的佩戴状态为已佩戴后,获取信号值。提供了一种获取信号值的触发方式,保证获取的信号值是在可穿戴设备已佩戴的情况下产生的,保证信号值的有效性。In the embodiment of the present application, firstly, the wearing state of the wearable device is detected, and when the wearing state of the wearable device is detected as being worn, the signal value is acquired. A trigger method for acquiring signal values is provided to ensure that the acquired signal values are generated when the wearable device is worn, thereby ensuring the validity of the signal values.

结合第一方面第一种实现方式,在第一方面的第二种实现方式中,所述检测所述可穿戴设备的佩戴状态之前,所述方法还包括:获取信号门限值;其中,所述信号门限值包括最大门限值及最小门限值。With reference to the first implementation of the first aspect, in the second implementation of the first aspect, before detecting the wearing state of the wearable device, the method further includes: acquiring a signal threshold value; wherein, the The signal threshold includes a maximum threshold and a minimum threshold.

本申请实施例中提供了信号门限值,通过比较当前获取的信号值与信号门限值来判断可穿戴设备当前的佩戴松紧是否合适。The embodiment of the present application provides a signal threshold value, and judges whether the current wearing tightness of the wearable device is appropriate by comparing the currently acquired signal value with the signal threshold value.

结合第一方面第二种实现方式,在第一方面的第三种实现方式中,所述信号值包括PPG信号值。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.

本申请实施例提供了一种具体的参数,通过PPG信号值来判断可穿戴设备当前的佩戴松紧是否合适。The embodiment of the present application provides a specific parameter to determine whether the current wearing tightness of the wearable device is appropriate through the PPG signal value.

结合第一方面第三种实现方式,在第一方面的第四种实现方式中,所述若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值包括:With reference to the third implementation of the first aspect, in the fourth implementation of the first aspect, if the wearing state of the wearable device is worn, the acquisition is based on the current contact state between the wearable device and the wearer. Signal values for include:

若可穿戴设备的佩戴状态为已佩戴,发出第二提示消息;其中,所述第二提示消息用于提示输入指定动作;If the wearing state of the wearable device is worn, send a second prompt message; wherein, the second prompt message is used to prompt input of a specified action;

获取在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与所述佩戴者的当前接触状态产生的信号值。Acquiring a signal value generated based on the current contact state between the wearable device and the wearer within a preset time period after sending the second prompt message.

本申请实施例中,通过在检测到可穿戴设备的佩戴状态为已佩戴时,提示用户在一定的时长内输入指定动作来获取在该时长内产生的信号值。通过输入指定动作产生的信号值可以在一定程度上反映出可穿戴设备的佩戴松紧。In the embodiment of the present application, when it is detected that the wearing state of the wearable device is worn, the user is prompted to input a specified action within a certain period of time to obtain the signal value generated within the period of time. The signal value generated by inputting a 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 the fifth implementation manner of the first aspect, the acquiring the signal threshold value includes:

获取N次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值;其中,所述N为正整数;Obtain N times of signal values generated based on the first contact state between the wearable device and the wearer within a preset period of time after sending the second prompt message; wherein, the N is a positive integer;

分别获取每次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值中的最大值及最小值,确定N次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值中的N个最大值及N个最小值;Respectively acquire the maximum value and the minimum value of the signal values generated based on the first contact state between the wearable device and the wearer each time within the preset time period after sending out the second prompt message, and determine N times when the second prompt message is sent out. Within the preset time period after the second prompt message, N maximum values and N minimum values among the signal values generated based on the first contact state between the wearable device and the wearer;

根据所述N个最大值确定所述最大门限值,根据所述N个最小值确定所述最小门限值。The maximum threshold value is determined according to the N maximum values, and the minimum threshold value is determined according to the N minimum values.

本申请实施例提供了信号门限值的获取方式,通过预先收集多次在佩戴松紧合适的情况下输入指定动作产生的信号值,进而确定信号门限值。信号门限值表示佩戴松紧合适时产生的信号值的临界值。收集的次数越多,最终得到的信号门限值越准确。The embodiment of the present application provides a method for obtaining the signal threshold value, and the signal threshold value is determined by collecting in advance the signal value generated by inputting a specified action multiple times when the wearing fit is appropriate. The signal threshold value indicates the critical value of the signal value generated when the wearing tightness is appropriate. The more times of collection, the more accurate the final signal threshold value will be.

在一种可能的实现方式中,所述根据所述N个最大值确定所述最大门限值,根据所述N个最小值确定所述最小门限值包括:In a possible implementation manner, the determining the maximum threshold value according to the N maximum values, and determining the minimum threshold value according to the N minimum values include:

将所述N个最大值中的最大值确定为所述最大门限值,将所述N个最小值中的最小值确定为所述最小门限值。determining the maximum value among the N maximum values as the maximum threshold value, and determining the minimum value among the N minimum values as the minimum threshold value.

本申请实施例提供了一种最大门限值及最小门限值的确定方法,通过最大门限值及最小门限值为基于当前接触状态产生的信号值提供比较基准,进而确定可穿戴设备佩戴的松紧是否合适。The embodiment of the present application provides a method for determining the maximum threshold value and the minimum threshold value. The maximum threshold value and the minimum threshold value provide a comparison reference for the signal value generated based on the current contact state, and then determine whether the wearable device is worn. Whether the tightness is appropriate.

在一种可能的实现方式中,所述根据所述N个最大值确定所述最大门限值,根据所述N个最小值确定所述最小门限值包括:In a possible implementation manner, the determining the maximum threshold value according to the N maximum values, and determining the minimum threshold value according to the N minimum values include:

将所述N个最大值的平均值确定为所述最大门限值,将所述N个最小值的平均值确定为所述最小门限值。The average value of the N maximum values is determined as the maximum threshold value, and the average value of the N minimum values is determined as the minimum threshold value.

本申请实施例提供了另一种最大门限值及最小门限值的确定方法,通过最大门限值及最小门限值为基于当前接触状态产生的信号值提供比较基准,进而确定可穿戴设备佩戴的松紧是否合适。The embodiment of the present application provides another method for determining the maximum threshold value and the minimum threshold value. The maximum threshold value and the minimum threshold value provide a comparison reference for the signal value generated based on the current contact state, and then determine the wearable device. Whether the tightness of wearing is appropriate.

结合第一方面第五种实现方式,在第一方面的第六种实现方式中,所述若根据所述信号值及信号门限值判断出所述当前接触状态不满足测量条件,发出第一提示消息包括:In combination with the fifth implementation of the first aspect, in the sixth implementation of the first aspect, if it is determined according to the signal value and the signal threshold that the current contact state does not meet the measurement condition, a first Prompt messages include:

获取所述信号值中的最大值及最小值;Obtaining the maximum and minimum values of the signal values;

计算所述信号值中的最大值与所述最大门限值的第一方差,计算所述信号值中的最小值与所述最小门限值的第二方差;calculating a first variance between the maximum value of the signal values and the maximum threshold value, and calculating a second variance between the minimum value of the signal values and the minimum threshold value;

分别比较所述第一方差、所述第二方差与方差阈值的大小;Comparing the first variance, the second variance, and a variance threshold respectively;

若所述第一方差与所述第二方差中至少有一项不小于所述方差阈值,则判断出所述当前接触状态不满足测量条件,发出第一提示消息。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 meet the measurement condition, and a first prompt message is sent.

本申请实施例提供了一种基于当前接触状态产生的信号值与信号门限值比较的具体方式,通过方差的大小表示当前信号值与信号门限值的波动程度,当波动超过一定程度时表示当前的信号值的准确度是不够的。说明当前可穿戴设备佩戴的松紧不合适,不满足测量条件。The embodiment of the present application provides a specific method for comparing the signal value generated based on the current contact state with the signal threshold value. The magnitude of the variance indicates the degree of fluctuation between the current signal value and the signal threshold value. When the fluctuation exceeds a certain degree, it indicates The accuracy of the current signal value is not sufficient. It indicates that the tightness worn by the current wearable device is not suitable and does not meet the measurement conditions.

结合第一方面第二种实现方式,在第一方面的第七种实现方式中,所述信号值包括电容值。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 present application provides another specific parameter, which is to judge whether the current wearing tightness of the wearable device is appropriate through the capacitance value.

结合第一方面第七种实现方式,在第一方面的第八种实现方式中,所述获取信号门限值包括:With reference to the seventh implementation of the first aspect, in the eighth implementation of the first aspect, the acquisition of the signal threshold includes:

获取N次基于所述可穿戴设备与佩戴者的第一接触状态产生的N个信号值;其中,所述N为正整数;Acquiring N signal values generated based on the first contact state between the wearable device and the wearer N times; wherein, the N is a positive integer;

获取所述N个信号值中的最大值及最小值;Obtaining the maximum and minimum values of the N signal values;

根据所述N个信号值中的最大值确定所述最大门限值,根据所述N个信号值中的最小值确定所述最小门限值。The maximum threshold value is determined according to the maximum value among the N signal values, and the minimum threshold value is determined according to the minimum value among the N signal values.

本申请实施例提供了信号门限值的获取方式,通过预先收集多次在佩戴松紧合适的情况下输入指定动作产生的信号值,进而确定信号门限值。信号门限值表示佩戴松紧合适时产生的信号值的临界值。收集的次数越多,最终得到的信号门限值越准确。The embodiment of the present application provides a method for obtaining the signal threshold value, and the signal threshold value is determined by collecting in advance the signal value generated by inputting a specified action multiple times when the wearing fit is appropriate. The signal threshold value indicates the critical value of the signal value generated when the wearing tightness is appropriate. The more times of collection, the more accurate the final signal threshold value will be.

结合第一方面第八种实现方式,在第一方面的第九种实现方式中,所述若根据所述信号值及信号门限值判断出所述当前接触状态不满足测量条件,发出第一提示消息包括:In combination with the eighth implementation of the first aspect, in the ninth implementation of the first aspect, if it is determined according to the signal value and the signal threshold that the current contact state does not meet the measurement condition, a first Prompt messages include:

比较所述信号值与所述最大门限值及所述最小门限值的大小;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 meet the measurement condition, and a first prompt message is sent.

本申请实施例提供了一种基于当前接触状态产生的信号值与信号门限值比较的具体方式,若当前的信号值超过信号门限值表征的范围表示当前的信号值的准确度是不够的。说明当前可穿戴设备佩戴的松紧不合适,不满足测量条件。The embodiment of this application provides a specific method for comparing the signal value generated based on the current contact state with the signal threshold value. If the current signal value exceeds the range represented by the signal threshold value, it means that the accuracy of the current signal value is not enough. . It indicates that the tightness worn by the current wearable device is not suitable and does not meet the measurement conditions.

结合第一方面第一种实现方式,在第一方面的第十种实现方式中,所述检测所述可穿戴设备的佩戴状态包括:With reference to the first implementation of the first aspect, in a tenth implementation of the first aspect, the detecting the wearing state of the wearable device includes:

检测肌电信号的电平值;Detect the level value of the electromyographic signal;

若所述肌电信号为高电平,则检测出所述可穿戴设备的佩戴状态为已佩戴;If the electromyographic signal is at a high level, it is detected that the wearing state of the wearable device is worn;

若所述肌电信号为低电平,则检测出所述可穿戴设备的佩戴状态为未佩戴。If the electromyographic signal is at a low level, it is detected that the wearing state of the wearable device is not worn.

本申请实施例提供了一种可穿戴设备佩戴方式的检测方法,通过肌电信号的电平值判断可穿戴设备的佩戴方式,保证可穿戴设备佩戴方式检测的准确性。The embodiment of the present application provides a method for detecting the wearing mode of the wearable device, which judges the wearing mode of the wearable device through the level value of the electromyographic signal, and ensures the accuracy of the detection of the wearing mode of the wearable device.

在一种可能的实现方式中,所述可穿戴设备包括表带;In a possible implementation manner, the wearable device includes a watch strap;

所述检测所述可穿戴设备的佩戴状态包括:The detection of the wearing state of the wearable device includes:

检测所述可穿戴设备表带的搭扣状态;其中,所述表带的搭扣状态包括已扣上和未扣上;Detecting the buckle state of the wearable device strap; wherein, the buckle state of the strap includes buckled and not buckled;

若检测到所述可穿戴设备表带的搭扣状态为已扣上,则检测出所述可穿戴设备的佩戴状态为已佩戴;If it is detected that the buckle state of the strap of the wearable device is buckled, it is detected that the wearing state of the wearable device is worn;

若检测到所述可穿戴设备表带的搭扣状态为未扣上,则检测出所述可穿戴设备的配戴状态为未佩戴。If it is detected that the buckle state of the strap of the wearable device is not fastened, it is detected that the wearing state of the wearable device is not worn.

本申请实施例提供了另一种可穿戴设备佩戴方式的检测方法,通过可穿戴设备表带的搭扣方式判断可穿戴设备的佩戴方式,保证可穿戴设备佩戴方式检测的准确性。The embodiment of the present application provides another method for detecting the wearing mode of the wearable device. The wearing mode of the wearable device is judged by the buckle mode of the strap of the wearable device, so as to ensure the accuracy of the detection of the wearing mode of the wearable device.

在一种可能的实现方式中,所述检测所述可穿戴设备表带的搭扣状态包括:In a possible implementation manner, the detecting the buckle state of the wearable device strap includes:

检测所述可穿戴设备表带的目标区域的压力值;Detecting the pressure value of the target area of the wearable device strap;

若所述目标区域的压力值为非零,则检测出所述可穿戴设备表带的搭扣状态为已扣上;If the pressure value of the target area is non-zero, it is detected that the buckle state of the wearable device strap is buckled;

若所述目标区域的压力值为零,则检测出所述可穿戴设备表带的搭扣状态为未扣上;If the pressure value of the target area is zero, it is detected that the buckle state of the wearable device strap is not buckled;

所述检测所述可穿戴设备表带的搭扣状态之前,所述方法还包括:Before the detection of the buckle state of the wearable device strap, the method also includes:

在所述可穿戴设备表带的目标区域设置压力传感器。A pressure sensor is set on the target area of the wearable device strap.

本申请实施例提供了一种可穿戴设备表带搭扣状态的检测方式,通过检测表带目标区域的电压值判断表带的搭扣状态,保证可穿戴设备表带搭扣状态检测的准确性。The embodiment of the present application provides a detection method for the buckle state of the wearable device strap, which judges the buckle state of the strap by detecting the voltage value of the target area of the strap, and ensures the accuracy of the buckle state detection of the wearable device strap .

第二方面,本申请实施例提供了一种可穿戴设备,包括:In a second aspect, the embodiment of the present application provides a wearable device, including:

第一获取模块,用于若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值;其中,所述佩戴状态包括已佩戴和未佩戴;The first acquisition module is configured to acquire a signal value generated based on the current contact state between the wearable device and the wearer if the wearing state of the wearable device is worn; wherein the wearing state includes worn and not worn;

第一提示模块,用于若根据所述信号值及信号门限值判断出所述当前接触状态不满足测量条件,发出第一提示消息;其中,所述信号门限值包括基于所述可穿戴设备与佩戴者的第一接触状态产生的信号门限值;所述第一提示消息用于提示调整佩戴所述可穿戴设备。The first prompting module is used to send a first prompting message if it is judged that the current contact state does not meet the measurement condition according to the signal value and the signal threshold value; wherein, the signal threshold value includes The signal threshold value generated by the first contact state between the device and the wearer; the first prompt message is used to prompt to adjust wearing of the wearable device.

在一种可能的实现方式中,所述可穿戴设备还包括:测量模块,用于若根据所述信号值及信号门限值判断出所述当前接触状态满足测量条件,则开始测量生理参数。In a possible implementation manner, the wearable device further includes: a measurement module, configured to start measuring physiological parameters if it is determined according to the signal value and the signal threshold value that the current contact state satisfies a measurement condition.

在一种可能的实现方式中,所述可穿戴设备还包括:接收模块,用于在所述第一获取模块获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值之前,接收测量生理参数的指令。In a possible implementation manner, the wearable device further includes: a receiving module, configured to receive a signal value generated based on the current contact state between the wearable device and the wearer before the first acquiring module acquires Instructions for measuring physiological parameters.

结合第二方面,在第二方面的第一种实现方式中,所述可穿戴设备还包括:With reference to the second aspect, in the first implementation manner of the second aspect, the wearable device further includes:

检测模块,用于在所述第一获取模块获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值之前,检测所述可穿戴设备的佩戴状态。The detection module is configured to detect the wearing state of the wearable device before the first obtaining module obtains the signal value generated based on the current contact state between the wearable device and the wearer.

结合第二方面第一种实现方式,在第二方面的第二种实现方式中,所述可穿戴设备还包括:With reference to the first implementation of the second aspect, in the second implementation of the second aspect, the wearable device further includes:

第二获取模块,用于在所述检测模块检测所述可穿戴设备的佩戴状态之前,获取信号门限值;其中,所述信号门限值包括最大门限值及最小门限值。The second obtaining module is configured to obtain a signal threshold value before the detection module detects the wearing state of the wearable device; wherein, the signal threshold value includes a maximum threshold value and a minimum threshold value.

结合第二方面第二种实现方式,在第二方面的第三种实现方式中,所述信号值包括PPG信号值。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 of the second aspect, in the fourth implementation of the second aspect, the first acquisition module includes:

提示单元,用于若可穿戴设备的佩戴状态为已佩戴,发出第二提示消息;其中,所述第二提示消息用于提示所述佩戴者输入指定动作;A prompt unit, configured to send a second prompt message if the wearing state of the wearable device is worn; wherein, the second prompt message is used to prompt the wearer to input a specified action;

第一获取单元,用于获取在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与所述佩戴者的当前接触状态产生的信号值。The first obtaining unit is configured to obtain a signal value generated based on a current contact state between the wearable device and the wearer within a preset time period after sending the second prompt message.

结合第二方面第四种实现方式,在第二方面的第五种实现方式中,所述第二获取模块包括:With reference to the fourth implementation manner of the second aspect, in the fifth implementation manner of the second aspect, the second acquisition module includes:

第二获取单元,用于获取N次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值;其中,所述N为正整数;The second acquisition unit is configured to acquire N times the signal value generated based on the first contact state between the wearable device and the wearer within a preset time period after sending the second prompt message; wherein, the N is positive integer;

第三获取单元,用于分别获取每次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值中的最大值及最小值,确定N次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值中的N个最大值及N个最小值;The third acquiring unit is configured to respectively acquire the maximum value and the minimum value of the signal values generated based on the first contact state between the wearable device and the wearer each time within a preset time period after sending out the second prompt message value, determining N times of N maximum values and N minimum values among the signal values generated based on the first contact state between the wearable device and the wearer within a preset period of time after sending the second prompt message;

第一确定单元,用于根据所述N个最大值确定所述最大门限值,根据所述N个最小值确定所述最小门限值。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.

在一种可能的实现方式中,所述第一确定单元用于将所述N个最大值中的最大值确定为所述最大门限值,将所述N个最小值中的最小值确定为所述最小门限值。In a possible implementation manner, the first determination unit is configured to determine the maximum value among the N maximum values as the maximum threshold value, and determine the minimum value among the N minimum values as the minimum threshold.

在一种可能的实现方式中,所述第一确定单元用于将所述N个最大值的平均值确定为所述最大门限值,将所述N个最小值的平均值确定为所述最小门限值。In a possible implementation manner, the first determining unit is configured to determine the average value of the N maximum values as the maximum threshold value, and determine the average value of the N minimum values as the minimum threshold.

结合第二方面第五种实现方式,在第二方面的第六种实现方式中,所述第一提示模块包括:With reference to the fifth implementation of the second aspect, in the sixth implementation of the second aspect, the first prompt module includes:

第五获取单元,用于获取所述信号值中的最大值及最小值;A fifth acquisition unit, configured to acquire the maximum and minimum values of the signal values;

计算单元,用于计算所述信号值中的最大值与所述最大门限值的第一方差,并计算所述信号值中的最小值与所述最小门限值的第二方差;a calculation unit, configured to calculate a first variance between the maximum value of the signal values and the maximum threshold value, and calculate a second variance between the minimum value of the signal values and the minimum threshold value;

第一比较单元,用于分别比较所述第一方差、所述第二方差与方差阈值的大小;a first comparison unit, configured to respectively compare the first variance, the second variance, and a variance threshold;

第一提示单元,用于若所述第一方差与所述第二方差中至少有一项不小于所述方差阈值,则判断出所述当前接触状态不满足测量条件,发出第一提示消息。A first prompting unit, configured to determine that the current contact state does not meet 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 prompt message.

结合第二方面第二种实现方式,在第二方面的第七种实现方式中,所述信号值包括电容值。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 of the second aspect, in the eighth implementation of the second aspect, the second acquisition module includes:

第六获取单元,用于获取N次基于所述可穿戴设备与佩戴者的预置接触状态产生的N个信号值;其中,所述N为正整数;The sixth acquisition unit is used to acquire N signal values generated based on the preset contact state between the wearable device and the wearer N times; wherein, the N is a positive integer;

第七获取单元,用于获取所述第六获取单元获取的N个信号值中的最大值及最小值;a seventh acquiring unit, configured to acquire the maximum value and the minimum value among the N signal values acquired by the sixth acquiring unit;

第八获取单元,用于根据所述第七获取单元获取的N个信号值中的最大值获取所述最大门限值,根据所述第七获取单元获取的N个信号值中的最小值获取所述最小门限值。An eighth obtaining unit, configured to obtain the maximum threshold value according to the maximum value among the N signal values obtained by the seventh obtaining unit, and obtain the maximum threshold value according to the minimum value among the N signal values obtained by the seventh obtaining unit the minimum threshold.

结合第二方面第八种实现方式,在第二方面的第九种实现方式中,所述第一提示模块包括:With reference to the eighth implementation manner of the second aspect, in the ninth implementation manner of the second aspect, the first prompt module includes:

第二比较单元,用于比较所述信号值与所述最大门限值及所述最小门限值的大小;a second comparison unit, configured to compare the signal value with the maximum threshold value and the minimum threshold value;

第二提示单元,用于若所述信号值大于所述最大门限值或小于所述最小门限值,则判断出所述当前接触状态不满足测量条件,发出第一提示消息。The second prompting unit is configured to determine that the current contact state does not meet the measurement condition if the signal value is greater than the maximum threshold value or smaller than the minimum threshold value, and send a first prompt message.

结合第二方面第一种实现方式,在第二方面的第十种实现方式中,所述检测模块用于检测肌电信号的电平值;With reference to the first implementation of the second aspect, in a tenth implementation of the second aspect, the detection module is used to detect the level value of the electromyographic signal;

若所述肌电信号为高电平,则检测出所述可穿戴设备的佩戴状态为已佩戴;If the electromyographic signal is at a high level, it is detected that the wearing state of the wearable device is worn;

若所述肌电信号为低电平,则检测出所述可穿戴设备的佩戴状态为未佩戴。If the electromyographic signal is at a low level, it is detected that the wearing state of the wearable device is not worn.

在一种可能的实现方式中,所述可穿戴设备包括表带;In a possible implementation manner, the wearable device includes a watch strap;

所述检测模块用于检测所述可穿戴设备表带的搭扣状态;其中,所述表带的搭扣状态包括已扣上和未扣上;The detection module is used to detect the buckle state of the wearable device strap; wherein, the buckle state of the strap includes buckled and not buckled;

若检测到所述可穿戴设备表带的搭扣状态为已扣上,则检测出所述可穿戴设备的佩戴状态为已佩戴;If it is detected that the buckle state of the strap of the wearable device is buckled, it is detected that the wearing state of the wearable device is worn;

若检测到所述可穿戴设备表带的搭扣状态为未扣上,则检测出所述可穿戴设备的配戴状态为未佩戴。If it is detected that the buckle state of the strap of the wearable device is not fastened, it is detected that the wearing state of the wearable device is not worn.

在一种可能的实现方式中,所述检测模块用于检测所述可穿戴设备表带的目标区域的压力值;In a possible implementation manner, the detection module is configured to detect a pressure value of a target area of the wearable device strap;

若所述目标区域的压力值为非零,则检测出所述可穿戴设备表带的搭扣状态为已扣上;If the pressure value of the target area is non-zero, it is detected that the buckle state of the wearable device strap is buckled;

若所述目标区域的压力值为零,则检测出所述可穿戴设备表带的搭扣状态为未扣上;If the pressure value of the target area is zero, it is detected that the buckle state of the wearable device strap is not buckled;

所述可穿戴设备还包括设置模块,用于在所述检测模块检测所述可穿戴设备表带的搭扣状态之前,在所述可穿戴设备表带的目标区域设置压力传感器。The wearable device further includes a setting module, configured to set a pressure sensor on a target area of the wearable device strap before the detection module detects the buckle state of the wearable device strap.

第三方面,本申请实施例提供了一种可穿戴设备,包括:In a third aspect, the embodiment of the present application provides a wearable device, including:

存储器,用于存储可穿戴设备检测指令;A memory for storing wearable device detection instructions;

处理器,用于调用所述存储器中存储的可穿戴设备检测指令并执行以下步骤:The processor is used to call the wearable device detection instruction stored in the memory and perform the following steps:

若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值;其中,所述佩戴状态包括已佩戴和未佩戴;If the wearing state of the wearable device is worn, obtain a signal value generated based on the current contact state between the wearable device and the wearer; wherein the wearing state includes worn and not worn;

若根据所述信号值及信号门限值判断出所述当前接触状态不满足测量条件,发出第一提示消息;其中,所述信号门限值包括基于所述可穿戴设备与佩戴者的第一接触状态产生的信号门限值;所述第一提示消息用于提示调整佩戴所述可穿戴设备。If it is judged that 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; wherein, the signal threshold value includes the wearable device and the wearer's first The threshold value of the signal generated by the contact state; the first prompt message is used to prompt to adjust and wear the wearable device.

在一种可能的实现方式中,所述获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值之后,所述处理器还用于:若根据所述信号值及信号门限值判断出所述当前接触状态满足测量条件,则开始测量生理参数。In a possible implementation manner, after the acquisition of the signal value generated based on the current contact state between the wearable device and the wearer, the processor is further configured to: if according to the signal value and the signal threshold If it is determined that the current contact state satisfies the measurement condition, the measurement of the physiological parameter is started.

在一种可能的实现方式中,所述若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值之前,所述处理器还用于:接收测量生理参数的指令。In a possible implementation manner, if the wearing state of the wearable device is worn, before acquiring the signal value generated based on the current contact state between the wearable device and the wearer, the processor is further configured to: An instruction to measure a physiological parameter is received.

结合第三方面,在第三方面的第一种实现方式中,所述若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值之前,所述方法还包括:检测所述可穿戴设备的佩戴状态。With reference to the third aspect, in the first implementation manner of the third aspect, if the wearing state of the wearable device is worn, before acquiring the signal value generated based on the current contact state between the wearable device and the wearer, The method further includes: detecting a wearing state of the wearable device.

结合第三方面第一种实现方式,在第三方面的第二种实现方式中,所述检测所述可穿戴设备的佩戴状态之前,所述处理器还用于:获取信号门限值;其中,所述信号门限值包括最大门限值及最小门限值。With reference to the first implementation of the third aspect, in the second implementation of the third aspect, before detecting the wearing state of the wearable device, the processor is further configured to: acquire a signal threshold; wherein , the signal threshold includes a maximum threshold and a minimum threshold.

结合第三方面第二种实现方式,在第三方面的第三种实现方式中,所述信号值包括PPG信号值。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 of the third aspect, in the fourth implementation of the third aspect, the processor is configured to acquire the current information based on the wearable device and the wearer if the wearing state of the wearable device is worn. The signal values generated by the contact state include:

若可穿戴设备的佩戴状态为已佩戴,发出第二提示消息;其中,所述第二提示消息用于提示输入指定动作;If the wearing state of the wearable device is worn, send a second prompt message; wherein, the second prompt message is used to prompt input of a specified action;

获取在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与所述佩戴者的当前接触状态产生的信号值。Acquiring a signal value generated based on the current contact state between the wearable device and the wearer within a preset time period after sending the second prompt message.

结合第三方面第四种实现方式,在第三方面的第五种实现方式中,所述处理器获取信号门限值包括:With reference to the fourth implementation manner of the third aspect, in the fifth implementation manner of the third aspect, the acquisition of the signal threshold value by the processor includes:

获取N次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值;其中,所述N为正整数;Obtain N times of signal values generated based on the first contact state between the wearable device and the wearer within a preset period of time after sending the second prompt message; wherein, the N is a positive integer;

分别获取每次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值中的最大值及最小值,确定N次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值中的N个最大值及N个最小值;Respectively acquire the maximum value and the minimum value of the signal values generated based on the first contact state between the wearable device and the wearer each time within the preset time period after sending out the second prompt message, and determine N times when the second prompt message is sent out. Within the preset time period after the second prompt message, N maximum values and N minimum values among the signal values generated based on the first contact state between the wearable device and the wearer;

根据所述N个最大值确定所述最大门限值,根据所述N个最小值确定所述最小门限值。The maximum threshold value is determined according to the N maximum values, and the minimum threshold value is determined according to the N minimum values.

在一种可能的实现方式中,所述处理器根据所述N个最大值确定所述最大门限值,根据所述N个最小值确定所述最小门限值包括:In a possible implementation manner, the processor determining the maximum threshold value according to the N maximum values, and determining the minimum threshold value according to the N minimum values include:

将所述N个最大值中的最大值确定为所述最大门限值,将所述N个最小值中的最小值确定为所述最小门限值。determining the maximum value among the N maximum values as the maximum threshold value, and determining the minimum value among the N minimum values as the minimum threshold value.

在一种可能的实现方式中,所述处理器根据所述N个最大值确定所述最大门限值,根据所述N个最小值确定所述最小门限值包括:In a possible implementation manner, the processor determining the maximum threshold value according to the N maximum values, and determining the minimum threshold value according to the N minimum values include:

将所述N个最大值的平均值确定为所述最大门限值,将所述N个最小值的平均值确定为所述最小门限值。The average value of the N maximum values is determined as the maximum threshold value, and the average value of the N minimum values is determined as the minimum threshold value.

结合第三方面第五种实现方式,在第三方面的第六种实现方式中,所述处理器若根据所述信号值及信号门限值判断出所述当前接触状态不满足测量条件,发出第一提示消息包括:In combination with the fifth implementation of the third aspect, in the sixth implementation of the third aspect, 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, send The first prompt message includes:

获取所述信号值中的最大值及最小值;Obtaining the maximum and minimum values of the signal values;

计算所述信号值中的最大值与所述最大门限值的第一方差,计算所述信号值中的最小值与所述最小门限值的第二方差;calculating a first variance between the maximum value of the signal values and the maximum threshold value, and calculating a second variance between the minimum value of the signal values and the minimum threshold value;

分别比较所述第一方差、所述第二方差与方差阈值的大小;Comparing the first variance, the second variance, and a variance threshold respectively;

若所述第一方差与所述第二方差中至少有一项不小于所述方差阈值,则判断出所述当前接触状态不满足测量条件,发出第一提示消息。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 meet the measurement condition, and a first prompt message is sent.

结合第三方面第二种实现方式,在第三方面的第七种实现方式中,所述信号值包括电容值。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 the eighth implementation manner of the third aspect, the acquisition of the signal threshold value by the processor includes:

获取N次基于所述可穿戴设备与佩戴者的第一接触状态产生的N个信号值;其中,所述N为正整数;Acquiring N signal values generated based on the first contact state between the wearable device and the wearer N times; wherein, the N is a positive integer;

获取所述N个信号值中的最大值及最小值;Obtaining the maximum and minimum values of the N signal values;

根据所述N个信号值中的最大值确定所述最大门限值,根据所述N个信号值中的最小值确定所述最小门限值。The maximum threshold value is determined according to the maximum value among the N signal values, and the minimum threshold value is determined according to the minimum value among the N signal values.

结合第三方面第八种实现方式,在第三方面的第九种实现方式中,所述处理器若根据所述信号值及信号门限值判断出所述当前接触状态不满足测量条件,发出第一提示消息包括:In combination with the eighth implementation of the third aspect, in the ninth implementation of the third aspect, 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, send 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 meet the measurement condition, and a first prompt message is sent.

结合第三方面第一种实现方式,在第三方面的第十种实现方式中,处理器检测所述可穿戴设备的佩戴状态包括:With reference to the first implementation manner of the third aspect, in a tenth implementation manner of the third aspect, the detection by the processor of the wearing state of the wearable device includes:

检测肌电信号的电平值;Detect the level value of the electromyographic signal;

若所述肌电信号为高电平,则检测出所述可穿戴设备的佩戴状态为已佩戴;If the electromyographic signal is at a high level, it is detected that the wearing state of the wearable device is worn;

若所述肌电信号为低电平,则检测出所述可穿戴设备的佩戴状态为未佩戴。If the electromyographic signal is at a low level, it is detected that the wearing state of the wearable device is not worn.

在一种可能的实现方式中,所述可穿戴设备包括表带;In a possible implementation manner, the wearable device includes a watch strap;

所述处理器检测所述可穿戴设备的佩戴状态包括:The processor detecting the wearing state of the wearable device includes:

检测所述可穿戴设备表带的搭扣状态;其中,所述表带的搭扣状态包括已扣上和未扣上;Detecting the buckle state of the wearable device strap; wherein, the buckle state of the strap includes buckled and not buckled;

若检测到所述可穿戴设备表带的搭扣状态为已扣上,则检测出所述可穿戴设备的佩戴状态为已佩戴;If it is detected that the buckle state of the strap of the wearable device is buckled, it is detected that the wearing state of the wearable device is worn;

若检测到所述可穿戴设备表带的搭扣状态为未扣上,则检测出所述可穿戴设备的配戴状态为未佩戴。If it is detected that the buckle state of the strap of the wearable device is not fastened, it is detected that the wearing state of the wearable device is not worn.

在一种可能的实现方式中,所述处理器检测所述可穿戴设备表带的搭扣状态包括:In a possible implementation manner, the detection by the processor of the buckle state of the wearable device strap includes:

检测所述可穿戴设备表带的目标区域的压力值;Detecting the pressure value of the target area of the wearable device strap;

若所述目标区域的压力值为非零,则检测出所述可穿戴设备表带的搭扣状态为已扣上;If the pressure value of the target area is non-zero, it is detected that the buckle state of the wearable device strap is buckled;

若所述目标区域的压力值为零,则检测出所述可穿戴设备表带的搭扣状态为未扣上;If the pressure value of the target area is zero, it is detected that the buckle state of the wearable device strap is not buckled;

所述检测所述可穿戴设备表带的搭扣状态之前,所述处理器还用于:Before the detection of the buckle state of the wearable device strap, the processor is also used for:

在所述可穿戴设备表带的目标区域设置压力传感器。A pressure sensor is set on the target area of the wearable device strap.

第四方面,本申请实施例提供了一种计算机可读的存储介质,用于存储一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述计算机程序在计算机上运行时,所述指令用于执行上述第一方面或第一方面的任一种实现方式提供的可穿戴设备的检测方法。In a fourth aspect, the embodiment of the present application provides a computer-readable storage medium for storing one or more computer programs, and the one or more computer programs include instructions. When the computer programs are run on a computer, , the instructions are used to execute the detection method of the wearable device provided in the first aspect or any implementation manner of the first aspect.

第五方面,本申请实施例提供了一种计算机程序,所述计算机程序包括指令,当所述计算机程序在计算机上执行时,所述指令用于执行上述第一方面或第一方面的任一种实现方式提供的可穿戴设备的检测方法。In a fifth aspect, an embodiment of the present application provides a computer program, the computer program includes instructions, and when the computer program is executed on a computer, the instructions are used to perform any one of the above-mentioned first aspect or the first aspect A detection method for a wearable device provided in an implementation manner.

实施本申请实施例,可以在检测到可穿戴设备的佩戴状态为已佩戴的情况下,获取基于该可穿戴设备与佩戴者的当前接触状态产生的信号值,当根据该信号值与信号门限值判断出当前接触状态不满足测量条件时,发出第一提示消息,提示佩戴者调整佩戴可穿戴设备,智能检测可穿戴设备的佩戴松紧,进而保证心率测量的准确性,解决了现有技术中由于可穿戴设备的佩戴松紧不合适导致的心率测量不准确的问题。Implementing the embodiment of the present application, when the wearing state of the wearable device is detected as worn, the signal value generated based on the current contact state between the wearable device and the wearer can be obtained. When the signal value and the signal threshold When it is judged that the current contact state does not meet the measurement conditions, a first prompt message is sent to remind the wearer to adjust the wearing of the wearable device, intelligently detect the wearing tightness of the wearable device, and then ensure the accuracy of heart rate measurement, which solves the problem in the prior art. Inaccurate heart rate measurement due to improper wearing of wearable devices.

附图说明Description of drawings

图1为现有技术中光电传感器的结构示意图;Fig. 1 is the structural representation of photoelectric sensor in the prior art;

图2为现有技术中智能手表佩戴要求的示意图;Fig. 2 is a schematic diagram of smart watch wearing requirements in the prior art;

图3为手表佩戴太松时测量的PPG信号图;Figure 3 is the PPG signal diagram measured when the watch is worn too loosely;

图4为手表佩戴正确时测得的PPG信号图;Figure 4 is the PPG signal diagram measured when the watch is worn correctly;

图5为手表佩戴松紧与心率准确率关系示意图;Figure 5 is a schematic diagram of the relationship between the tightness of the watch and the accuracy of the heart rate;

图6为本申请实施例提供的可穿戴设备的检测方法流程示意图;FIG. 6 is a schematic flow chart of a detection method for a wearable device provided in an embodiment of the present application;

图7为本申请实施例提供的一种第一提示消息示意图;FIG. 7 is a schematic diagram of a first prompt message provided by an embodiment of the present application;

图8为本申请另一实施例提供的可穿戴设备的检测方法流程示意图;FIG. 8 is a schematic flowchart of a detection method for a wearable device provided in another embodiment of the present application;

图9为各传感器设置位置示意图;Fig. 9 is a schematic diagram of the location of each sensor;

图10为本申请实施例提供的获取信号门限值的方法流程示意图;FIG. 10 is a schematic flowchart of a method for obtaining a signal threshold value provided by an embodiment of the present application;

图11为本申请实施例提供的一种第二提示消息示意图;FIG. 11 is a schematic diagram of a second prompt message provided by an embodiment of the present application;

图12为本申请实施例提供的一种场景示意图;FIG. 12 is a schematic diagram of a scenario provided by an embodiment of the present application;

图13为可穿戴设备佩戴松紧程度与电容值的对应关系示意图;FIG. 13 is a schematic diagram of the corresponding relationship between the wearing tightness of the wearable device and the capacitance value;

图14为本申请另一实施例提供的获取信号门限值的方法流程示意图;FIG. 14 is a schematic flowchart of a method for obtaining a signal threshold value provided by another embodiment of the present application;

图15为本申请实施例提供的发出第一提示消息的方法流程示意图;FIG. 15 is a schematic flowchart of a method for sending a first reminder message provided by an embodiment of the present application;

图16为本申请实施例提供的另一种发出第一提示消息的方法流程示意图;FIG. 16 is a schematic flowchart of another method for sending a first reminder message provided by the embodiment of the present application;

图17为本申请实施例提供的可穿戴设备的结构示意图;FIG. 17 is a schematic structural diagram of a wearable device provided by an embodiment of the present application;

图18为本申请实施例提供的第一获取模块的结构示意图;FIG. 18 is a schematic structural diagram of a first acquisition module provided by an embodiment of the present application;

图19为本申请实施例提供的第二获取模块的结构示意图;FIG. 19 is a schematic structural diagram of a second acquisition module provided by an embodiment of the present application;

图20为本申请实施例提供的第一提示模块的结构示意图;FIG. 20 is a schematic structural diagram of the first prompt module provided by the embodiment of the present application;

图21为本申请实施例提供的另一种第二获取模块的结构示意图;Fig. 21 is a schematic structural diagram of another second acquisition module provided by the embodiment of the present application;

图22为本申请实施例提供的另一种第一提示模块的结构示意图;Fig. 22 is a schematic structural diagram of another first prompt module provided by the embodiment of the present application;

图23为本申请另一实施例提供的可穿戴设备的结构示意图。Fig. 23 is a schematic structural diagram of a wearable device provided by another embodiment of the present application.

具体实施方式Detailed ways

下面将结合附图对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.

本申请中涉及的可穿戴设备可以是智能手表、智能手环、智能眼镜、智能安全帽、智能手套、智能跑鞋等等。上述可穿戴设备可以检测佩戴者的生理参数,且佩戴是松紧程度会影响可穿戴设备测量参数的准确性。在本申请实施例中,以可穿戴设备为智能手表为例,采用智能手表测量佩戴者的心率进行说明。The wearable devices involved in this application may be smart watches, smart bracelets, smart glasses, smart helmets, smart gloves, smart running shoes, and so on. The above wearable device can detect the physiological parameters of the wearer, and the degree of tightness of the wearer will affect the accuracy of the wearable device's measurement parameters. In the embodiment of the present application, the wearable device is taken as an example of a smart watch, and the smart watch is used to measure the wearer's heart rate for illustration.

图2示例性示出了现有技术中智能手表佩戴要求的示意图。如图2中的左图所示,当手表佩戴的太松时,由于手表与手腕之间有缝隙会使手表在手腕上滑动,导致传感器无法读取心率或者无法准确读取心率,如图3示出的手表佩戴太松时测得的PPG信号,可以看出PPG信号发生了突变,此时用户应该试着将手表的表带收紧一点。图2中的右图示例性示出了手表正确的佩戴方式,手表应该舒适的贴服于手腕上,确保测量的PPG信号值的稳定性,如图4示出的手表佩戴正确时测得的PPG信号值稳定,没有发生突变。Fig. 2 exemplarily shows a schematic diagram of smart watch wearing requirements in the prior art. As shown in the left picture in Figure 2, when the watch is worn too loosely, the watch will slide on the wrist due to the gap between the watch and the wrist, causing the sensor to fail to read the heart rate or accurately read the heart rate, as shown in Figure 3 Shown is the PPG signal measured when the watch is worn too loosely. It can be seen that the PPG signal has a sudden change. At this time, the user should try to tighten the watch strap a little. The right figure in Figure 2 shows an example of how to wear the watch correctly. The watch should fit comfortably on the wrist to ensure the stability of the measured PPG signal value, as shown in Figure 4 when the watch is worn correctly. The PPG signal value was stable without mutation.

此外,当手表佩戴过紧时,同样会影响手表测量心率的准确性。如图5示出的手表佩戴松紧与心率准确率关系示意图。从图中可以看出,随着佩戴松紧由过松、松到紧,所测量的心率准确率越来越高,当佩戴松紧为紧(图2中右图所示的正确佩戴方式)时,心率准确率最高,但若佩戴手表过紧时,心率准确率反而降到最低。图中准确率具体为测量值与标准值相差小于5bpm(Beat Per Minute)的概率。In addition, when the watch is worn too tightly, it will also affect the accuracy of the watch for measuring heart rate. FIG. 5 shows a schematic diagram of the relationship between the wearing tightness of the watch and the accuracy of the heart rate. It can be seen from the figure that as the wearing tightness changes from too loose to loose to tight, the accuracy of the measured heart rate becomes higher and higher. The heart rate accuracy rate is the highest, but if the watch is worn too tightly, the heart rate accuracy rate will drop to the lowest. The accuracy rate in the figure is specifically the probability that the difference between the measured value and the standard value is less than 5bpm (Beat Per Minute).

因此,本申请提出了一种可穿戴设备的检测方法,可以检测可穿戴设备的佩戴松紧,保证心率测量的准确性。Therefore, the present application proposes a detection method for a wearable device, which can detect whether the wearable device is tight enough to ensure the accuracy of heart rate measurement.

接下来请参见图6。图6为本申请实施例提供的一种可穿戴设备的检测方法流程示意图,如图6所示,一种可穿戴设备的检测方法至少可以包括以下几个步骤:See Figure 6 next. Fig. 6 is a schematic flow chart of a detection method for a wearable device provided in an embodiment of the present application. As shown in Fig. 6, a detection method for a wearable device may at least include the following steps:

S101:若可穿戴设备的佩戴状态为已佩戴,获取基于上述可穿戴设备与佩戴者的当前接触状态产生的信号值。S101: If the wearing state of the wearable device is worn, acquire a signal value generated based on the current contact state between the wearable device and the wearer.

具体地,可穿戴设备的佩戴状态包括已佩戴和未佩戴。Specifically, the wearing state of the wearable device includes worn and not worn.

具体地,基于上述可穿戴设备与佩戴者的当前接触状态产生的信号值即为基于可穿戴设备的佩戴松紧程度产生的信号值。其中,信号值可以是PPG信号值或者电容值等,还可以是其他能够反映可穿戴设备的佩戴松紧程度的信号值。Specifically, the signal value generated based on the current contact state between the wearable device and the wearer is the signal value generated based on the wear tightness of the wearable device. Wherein, the signal value may be a PPG signal value or a capacitance value, etc., and may also be other signal values that can reflect the wearing tightness of the wearable device.

在一种可能的实现方式中,在判断出可穿戴设备的佩戴状态为已佩戴,获取基于上述可穿戴设备与佩戴者的当前接触状态产生的信号值之前,该方法还包括接收佩戴者输入的测量生理参数的指令。In a possible implementation, before judging that the wearing state of the wearable device is worn and acquiring the signal value generated based on the current contact state between the wearable device and the wearer, the method further includes receiving the wearer's input Instructions for measuring physiological parameters.

其中,测量生理参数的指令可以是佩戴者语音输入的指令,或者是佩戴者基于可穿戴设备的操作界面中相应的控件输入测量生理参数的指令,或者是佩戴者按下可穿戴设备的实体按键,或者是佩戴者输入特定的手势作为测量生理参数的指令,或者是佩戴者通过与可穿戴设备连接的手机等终端向可穿戴设备发出测量生理参数的指令,等等。可以理解的是,输入测量生理参数的指令可以有多种实现方式,在此不做限制。Wherein, the instruction for measuring physiological parameters may be an instruction input by the wearer's voice, or the wearer may input an instruction for measuring physiological parameters based on the corresponding controls in the operation interface of the wearable device, or the wearer presses a physical button of the wearable device , or the wearer inputs a specific gesture as an instruction to measure physiological parameters, or the wearer sends an instruction to the wearable device to measure physiological parameters through a terminal such as a mobile phone connected to the wearable device, and so on. It can be understood that there may be many implementation manners for inputting an instruction to measure a physiological parameter, which is not limited here.

S102:若根据上述信号值及信号门限值判断出上述当前接触状态不满足测量条件,发出第一提示消息。S102: If it is determined according to the signal value and the signal threshold value that the current contact state does not satisfy the measurement condition, send a first prompt message.

具体地,信号门限值包括基于可穿戴设备与佩戴者的第一接触状态产生的信号门限值。其中,第一接触状态即为可穿戴设备的佩戴松紧合适,亦即图5中的佩戴松紧为紧时的状态。Specifically, the signal threshold value includes a signal threshold value generated based on the first contact state between the wearable device and the wearer. Wherein, the first contact state is that the wearing tightness of the wearable device is appropriate, that is, the state when the wearing tightness in FIG. 5 is tight.

具体地,测量条件由上述信号值决定,不同的信号值对应的测量条件不同。具体的信号值与测量条件的对应关系可详见后续实施例中的描述。Specifically, the measurement conditions are determined by the above signal values, and different signal values correspond to different measurement conditions. For the specific correspondence between signal values and measurement conditions, refer to the description in the subsequent embodiments.

具体地,第一提示消息用于提示佩戴者调整佩戴上述可穿戴设备。其中,第一提示消息可以是可穿戴设备通过操作界面显示对话框或者动画提示;第一提示消息还可以是可穿戴设备语音提示;第一提示消息还可以是通过操作界面显示与振动结合的方式提示;第一提示消息还可以是语音与振动结合的方式提示。如图7示例性示出了通过操作界面显示与振动结合的方式提示的第一提示消息。可以知道的是,第一提示消息的提示方式还可以有其他的实现方式,不限于前述的实现方式,在此不做限制。Specifically, the first prompt message is used to prompt the wearer to adjust and wear the above wearable device. Among them, the first prompt message can be a dialog box or animation prompt displayed by the wearable device through the operation interface; the first prompt message can also be a voice prompt of the wearable device; the first prompt message can also be a combination of display and vibration through the operation interface Prompt; the first prompt message may also be prompted in a combination of voice and vibration. FIG. 7 exemplarily shows a first prompt message that is prompted through a combination of display on the operation interface and vibration. It can be known that there may be other implementation manners for the prompting manner of the first prompt message, which are not limited to the foregoing implementation manners, and are not limited here.

此外,若根据上述信号值及信号门限值判断出上述当前接触状态满足测量条件时,开始测量生理参数。In addition, if it is judged according to the signal value and the signal threshold value that the above-mentioned current contact state satisfies the measurement condition, start to measure the physiological parameter.

实施本申请实施例可以在检测到可穿戴设备的佩戴状态为已佩戴后,获取基于可穿戴设备与佩戴者的当前接触状态产生的信号值;若根据该信号值与信号门限值判断当前接触状态不满足测量条件,则发出第一提示消息,提示佩戴者调整佩戴可穿戴设备,智能检测可穿戴设备的佩戴松紧,进而保证心率测量的准确性。Implementing the embodiment of the present application can obtain the signal value based on the current contact state between the wearable device and the wearer after detecting that the wearing state of the wearable device is worn; if the current contact value is judged based on the signal value and the signal threshold value If the status does not meet the measurement conditions, the first prompt message will be issued to remind the wearer to adjust the wearing of the wearable device, and intelligently detect the wearing tightness of the wearable device, thereby ensuring the accuracy of heart rate measurement.

接下来请参见图8。图8为本申请另一实施例提供的可穿戴设备的检测方法流程示意图,如图8所示,可穿戴设备的检测方法至少可以包括以下几个步骤:See Figure 8 next. Fig. 8 is a schematic flowchart of a detection method for a wearable device provided in another embodiment of the present application. As shown in Fig. 8, the detection method for a wearable device may at least include the following steps:

S201:获取信号门限值。S201: Obtain a signal threshold value.

具体地,信号门限值包括基于可穿戴设备与佩戴者的第一接触状态产生的信号门限值,信号门限值包括最大门限值及最小门限值。其中,第一接触状态即为可穿戴设备的佩戴松紧合适,亦即图5中的佩戴松紧为紧时的状态。可以知道的是,信号门限值由基于上述可穿戴设备与佩戴者的第一接触状态产生的信号值决定。其中,上述信号值可以是PPG信号值或者电容值等,还可以是其他能够反映可穿戴设备的佩戴松紧程度的信号值。Specifically, the signal threshold value includes a signal threshold value generated based on the first contact state between the wearable device and the wearer, and the signal threshold value includes a maximum threshold value and a minimum threshold value. Wherein, the first contact state is that the wearing tightness of the wearable device is appropriate, that is, the state when the wearing tightness in FIG. 5 is tight. It can be known that the signal threshold value is determined by the signal value generated based on the first contact state between the wearable device and the wearer. Wherein, the above-mentioned signal value may be a PPG signal value or a capacitance value, etc., and may also be other signal values that can reflect the wearing tightness of the wearable device.

可选地,上述信号值可以为PPG信号值。可以采用光电传感器测量PPG信号,获得PPG信号值。具体地,光电传感器可设置于智能手表的表盘内侧,如图9中的10区域所示。Optionally, the foregoing signal value may be a PPG signal value. A photoelectric sensor can be used to measure the PPG signal to obtain the PPG signal value. Specifically, the photoelectric sensor can be arranged inside the dial of the smart watch, as shown in area 10 in FIG. 9 .

此时,获取信号门限值的方法如图10所示,至少可以包括以下几个步骤:At this point, the method for obtaining the signal threshold value is shown in Figure 10, and may at least include the following steps:

S301:获取N次在发出第二提示消息后的预设时长内,基于上述可穿戴设备与佩戴者的第一接触状态产生的信号值。S301: Obtain N times of signal values generated based on the first contact state between the wearable device and the wearer within a preset time period after sending out the second prompt message.

其中,上述N为正整数。N例如可以是5、10、13、15、20等等。N值越大,最终获得的信号门限值越准确。Wherein, the above N is a positive integer. N can be, for example, 5, 10, 13, 15, 20 and so on. The larger the value of N is, the more accurate the final signal threshold value is.

具体地,第二提示消息用于在检测到上述可穿戴设备的佩戴状态为已佩戴后,提示佩戴者输入指定动作。其中,第二提示消息的提示方式与第一消息的提示方式类似。具体地,第二提示消息可以是可穿戴设备通过操作界面显示对话框或者动画提示;第二提示消息还可以是可穿戴设备语音提示;第二提示消息还可以是通过操作界面显示与振动结合的方式提示;第二提示消息还可以是语音与振动结合的方式提示。如图11示例性示出了通过操作界面显示的第二提示消息。可以知道的是,第二提示消息的提示方式还可以有其他的实现方式,不限于前述的实现方式,在此不做限制。Specifically, the second prompt message is used to prompt the wearer to input a specified action after it is detected that the wearing state of the wearable device is worn. Wherein, the prompting manner of the second prompting message is similar to that of the first message. Specifically, the second prompt message can be a dialog box or animation prompt displayed by the wearable device through the operation interface; the second prompt message can also be a voice prompt of the wearable device; the second prompt message can also be a combination of display and vibration through the operation interface Prompt in a manner; the second prompt message may also be a prompt in a combination of voice and vibration. FIG. 11 exemplarily shows the second prompt message displayed through the operation interface. It can be known that there may be other implementation manners for the prompting manner of the second prompt message, which are not limited to the foregoing implementation manners, and are not limited here.

具体地,指定动作可以是手臂绕“8”字,或者摇晃手臂(上下摇晃手臂、左右摇晃手臂)、举起手臂、手背按某一角度挥扫、曲线挥扫、翻转手腕、顺时针旋转手臂、逆时针旋转手臂等。如图12所示的场景示意图,佩戴者在接收到上述第二提示消息之后,按照提示输入指定动作。Specifically, the specified action can be the arm around the "8", or shaking the arm (shaking the arm up and down, shaking the arm left and right), raising the arm, swiping the back of the hand at a certain angle, swiping in a curve, flipping the wrist, rotating the arm clockwise , rotate the arm counterclockwise, etc. As shown in the schematic diagram of the scene in FIG. 12 , after receiving the above-mentioned second prompt message, the wearer inputs a specified action according to the prompt.

具体地,预设时长可以是5s、10s、20s、30s等。在预设时长内基于上述可穿戴设备与佩戴者的第一接触状态,佩戴者根据第二提示消息输入指定动作,产生的信号值为连续信号。Specifically, the preset duration may be 5s, 10s, 20s, 30s and so on. Based on the first contact state between the wearable device and the wearer within a preset time period, the wearer inputs a specified action according to the second prompt message, and the generated signal value is a continuous signal.

此外,上述可穿戴设备可以根据重力传感器或者陀螺仪采集到的数据判断佩戴者是否按照第二提示消息输入了指定的动作。In addition, the above-mentioned wearable device can determine whether the wearer has input a specified action according to the second prompt message according to the data collected by the gravity sensor or the gyroscope.

例如,假设指定动作为手臂绕“8”字,可以预先采集佩戴者佩戴上述可穿戴设备时,手臂绕“8”字的过程中重力传感器或者陀螺仪采集到的数据作为参考。在发出第二提示消息后,根据此时重力传感器或者陀螺仪采集到的数据与上述预先采集的数据进行比对,若偏差在误差范围内,则可判定佩戴者按照第二提示消息输入了指定动作,若偏差不在误差范围内,则可判定佩戴者未按照第二提示消息输入指定动作。For example, assuming that the specified action is to wrap the arm around the "8", the data collected by the gravity sensor or the gyroscope during the process of the arm around the "8" can be pre-collected as a reference when the wearer wears the above-mentioned wearable device. After the second prompt message is issued, the data collected by the gravity sensor or gyroscope is compared with the above-mentioned pre-collected data at this time. If the deviation is within the error range, it can be determined that the wearer has entered the designated position according to the second prompt message. action, if the deviation is not within the error range, it can be determined that the wearer did not input the specified action according to the second prompt message.

S302:分别获取每次在发出上述第二提示消息后的预设时长内,基于上述可穿戴设备与佩戴者的第一接触状态产生的信号值中的最大值及最小值,确定N个最大值及N个最小值。S302: Acquire the maximum and minimum values of the signal values generated based on the first contact state between the wearable device and the wearer each time within the preset time period after sending the second prompt message, and determine N maximum values and N minimum values.

具体地,在发出上述第二提示消息后的预设时长内,基于上述可穿戴设备与佩戴者的第一接触状态产生的信号为连续信号。分别获取每次产生的连续信号中的最大值及最小值,即可得到N次在发出上述第二提示消息后的预设时长内,基于上述可穿戴设备与佩戴者的第一接触状态产生的信号值中的N个最大值及N个最小值。Specifically, within a preset period of time after sending out the second prompt message, the signal generated based on the first contact state between the wearable device and the wearer is a continuous signal. Obtain the maximum value and minimum value of the continuous signals generated each time, and then obtain N times of messages generated based on the first contact state between the above-mentioned wearable device and the wearer within the preset time period after sending out the above-mentioned second prompt message. N maximum values and N minimum values in the signal value.

S303:根据上述N个最大值确定上述最大门限值,根据上述N个最小值确定上述最小门限值。S303: Determine the above-mentioned maximum threshold value according to the above-mentioned N maximum values, and determine the above-mentioned minimum threshold value according to the above-mentioned N minimum values.

在一种可能的实现方式中,最大门限值可以是上述N个最大值的平均值,最小门限值可以是上述N个最小值的平均值。In a possible implementation manner, the maximum threshold value may be an average value of the foregoing N maximum values, and the minimum threshold value may be an average value of the foregoing N minimum values.

在另外一种可能的实现方式中,最大门限值可以是上述N各最大值中的最大值,最小门限值可以是上述N个最小值中的最小值。In another possible implementation manner, the maximum threshold value may be the maximum value among the foregoing N maximum values, and the minimum threshold value may be the minimum value among the foregoing N minimum values.

可选地,上述信号值可以为电容值。可以采用电容传感器测量电容,获得电容值。可穿戴设备佩戴的松紧程度不同,电容传感器采集的电容值也不相同,如图13所示。从图13可以看出,电容传感器采集到的电容值越大,表明手表的感应器越贴近皮肤;电容传感器采集到的电容值越小,表明手表的感应器离皮肤越远,即手表佩戴松。具体地,电容传感器可以设置在如图9所示的包括表盘内侧10、表带内侧20的多个地方。Optionally, the above signal value may be a capacitance value. A capacitance sensor can be used to measure the capacitance to obtain the capacitance value. Depending on the tightness of the wearable device, the capacitance value collected by the capacitive sensor is also different, as shown in Figure 13. It can be seen from Figure 13 that the larger the capacitance value collected by the capacitive sensor, the closer the sensor of the watch is to the skin; the smaller the capacitance value collected by the capacitive sensor, the farther the sensor of the watch is from the skin, that is, the looser the watch is worn. . Specifically, the capacitive sensor can be arranged in multiple places including the inner side 10 of the dial and the inner side 20 of the strap as shown in FIG. 9 .

此时,获取信号门限值的方法还可以如图14所示,至少可以包括以下几个步骤:At this point, the method for obtaining the signal threshold value can also be shown in Figure 14, and can at least include the following steps:

S401:获取N次基于上述可穿戴设备与佩戴者的第一接触状态产生的N个信号值。S401: Acquire N signal values generated based on the first contact state between the wearable device and the wearer N times.

其中,上述N为正整数。N例如可以是5、10、13、15、20等等。N值越大,最终获得的信号门限值越准确。Wherein, the above N is a positive integer. N can be, for example, 5, 10, 13, 15, 20 and so on. The larger the value of N is, the more accurate the final signal threshold value is.

具体地,基于上述可穿戴设备与佩戴者的第一接触状态产生的电容值为单个数值。Specifically, the capacitance value generated based on the first contact state between the wearable device and the wearer is a single value.

S402:获取上述N个信号值中的最大值及最小值。S402: Obtain a maximum value and a minimum value among the above N signal values.

具体地,N次获取的信号值即为N个电容值。从上述N个电容值中获取最大值及最小值。Specifically, the signal values acquired N times are N capacitance values. Obtain the maximum value and minimum value from the above N capacitance values.

S403:根据上述N个信号值中的最大值确定上述最大门限值,根据上述N个信号值中的最小值确定上述最小门限值。S403: Determine the above-mentioned maximum threshold value according to the maximum value among the above-mentioned N signal values, and determine the above-mentioned minimum threshold value according to the minimum value among the above-mentioned N signal values.

具体地,上述N个电容值中的最大值即为上述最大门限值,上述N个信号值中的最小值即为最小门限值。Specifically, the maximum value among the above-mentioned N capacitance values is the above-mentioned maximum threshold value, and the minimum value among the above-mentioned N signal values is the minimum threshold value.

S202:接收测量生理参数的指令。S202: Receive an instruction to measure a physiological parameter.

具体地,测量生理参数的指令可以是佩戴者语音输入的指令,或者是佩戴者基于可穿戴设备的操作界面中相应的控件输入测量生理参数的指令,或者是佩戴者输入特定的手势作为测量生理参数的指令等等。可以知道的是,输入测量生理参数的指令可以有多种实现方式,在此不做限制。Specifically, the instruction to measure a physiological parameter may be an instruction input by the wearer's voice, or the wearer may input an instruction to measure a physiological parameter based on the corresponding controls in the operation interface of the wearable device, or the wearer may input a specific gesture as the instruction to measure the physiological parameter. parameter directives and so on. It can be known that there may be many implementations for inputting the instruction to measure the physiological parameter, which is not limited here.

S203:检测上述可穿戴设备的佩戴状态。S203: Detect the wearing state of the above wearable device.

可选地,检测上述可穿戴设备的佩戴状态的检测方式可以是通过检测肌电信号的电平值来判断。若上述肌电信号为高电平,则检测出上述可穿戴设备的佩戴状态为已佩戴;若上述肌电信号为低电平,则检测出上述可穿戴设备的佩戴状态为未佩戴。其中,可以通过肌电信号传感器来采集肌电信号,肌电信号传感器可以分布类似于电容传感器的设置位置,可分布在如图9所示的包括表盘内侧10、表带内侧20的多个地方。Optionally, the detection manner of detecting the wearing state of the above-mentioned wearable device may be determined by detecting the level value of the electromyography signal. If the EMG signal is at a high level, it is detected that the wearing state of the wearable device is worn; if the EMG signal is at a low level, it is detected that the wearing state of the wearable device is not worn. Among them, the myoelectric signal can be collected by the electromyographic signal sensor, and the electromyographic signal sensor can be distributed in a setting position similar to that of the capacitive sensor, and can be distributed in multiple places including the inner side 10 of the dial and the inner side 20 of the strap as shown in Figure 9 .

可选地,检测上述可穿戴设备的佩戴状态的检测方式可以是通过检测表带的搭扣状态。其中,上述表带的搭扣状态包括已扣上和未扣上。若检测到上述可穿戴设备表带的搭扣状态为已扣上,则检测出上述可穿戴设备的佩戴状态为已佩戴;若检测到上述可穿戴设备表带的搭扣状态为未扣上,则检测出上述可穿戴设备的配戴状态为未佩戴。Optionally, the detection manner of detecting the wearing state of the above-mentioned wearable device may be by detecting the buckle state of the strap. Wherein, the buckle state of the above-mentioned strap includes buckled and not buckled. If it is detected that the buckle state of the above-mentioned wearable device strap is buckled, it is detected that the wearing state of the above-mentioned wearable device is worn; if it is detected that the buckle state of the above-mentioned wearable device strap is not buckled, Then it is detected that the wearing state of the wearable device is not worn.

其中,可以通过在可穿戴设备表带的目标区域设置是压力传感器采集的压力值来判断表带的搭扣状态。若上述目标区域的压力值为非零,则检测出上述可穿戴设备表带的搭扣状态为已扣上;若上述目标区域的压力值为零,则检测出上述可穿戴设备表带的搭扣状态为未扣上。故而在检测上述可穿戴设备表带的搭扣状态之前,该方法还包括在上述可穿戴设备表带的目标区域设置压力传感器。具体地,压力传感器可以设置在如图9所示的30区域中。Among them, the buckle state of the strap can be judged by setting the pressure value collected by the pressure sensor in the target area of the strap of the wearable device. If the pressure value of the above-mentioned target area is non-zero, it is detected that the buckle status of the above-mentioned wearable device strap is buckled; if the pressure value of the above-mentioned target area is zero, then the buckle status of the above-mentioned wearable device strap is detected Buckle status is not buckled. Therefore, before detecting the buckle state of the wearable device strap, the method further includes arranging a pressure sensor on the target area of the wearable device strap. Specifically, the pressure sensor may be arranged in the area 30 as shown in FIG. 9 .

可选地,检测上述可穿戴设备的佩戴状态的检测方式可以是通过结合上述两种方式来判断。即结合肌电信号的电平值与表带的搭扣状态来判断。若检测到上述肌电信号为高电平且表带的搭扣状态为已扣上,则检测出上述可穿戴设备的佩戴状态为已佩戴;否则,则检测出上述可穿戴设备的佩戴状态为未佩戴。Optionally, the detection manner of detecting the wearing state of the wearable device may be determined by combining the above two manners. That is, it is judged by combining the level value of the EMG signal and the buckle state of the strap. If it is detected that the above-mentioned electromyographic signal is at a high level and the buckle state of the strap is fastened, then it is detected that the wearing state of the above-mentioned wearable device is worn; otherwise, it is detected that the wearing state of the above-mentioned wearable device is Not worn.

具体地,可以是可穿戴设备根据上述检测方式检测的结果判断其自身的佩戴状态,还可以是可穿戴设备将根据上述检测方式检测的结果通过网络上传至服务器或者其他设备,使上述服务器或者其他设备根据该检测结果判断上述可穿戴设备的佩戴状态。Specifically, it may be that the wearable device judges its own wearing state according to the detection result of the above detection method, or it may be that the wearable device uploads the detection result according to the above detection method to the server or other equipment through the network, so that the above server or other The device judges the wearing state of the above-mentioned wearable device according to the detection result.

S204:若可穿戴设备的佩戴状态为已佩戴,获取基于上述可穿戴设备与佩戴者的当前接触状态产生的信号值。S204: If the wearing state of the wearable device is worn, acquire a signal value generated based on the current contact state between the wearable device and the wearer.

可选地,若上述信号值为PPG信号值,上述若可穿戴设备的佩戴状态为已佩戴,获取基于上述可穿戴设备与佩戴者的当前接触状态产生的信号值包括:Optionally, if the above-mentioned signal value is a PPG signal value, and if the above-mentioned wearing state of the wearable device is worn, obtaining the signal value generated based on the current contact state between the above-mentioned wearable device and the wearer includes:

S2071:若可穿戴设备的佩戴状态为已佩戴,发出第二提示消息。S2071: Send a second prompt message if the wearing state of the wearable device is worn.

具体地,第二提示消息用于在检测到上述可穿戴设备的佩戴状态为已佩戴后,提示佩戴者输入指定动作。其中,第二提示消息的提示方式与第一消息的提示方式类似。具体地,第二提示消息可以是可穿戴设备通过操作界面显示对话框或者动画提示;第二提示消息还可以是可穿戴设备语音提示;第二提示消息还可以是通过操作界面显示与振动结合的方式提示;第二提示消息还可以是语音与振动结合的方式提示。可以知道的是,第二提示消息的提示方式还可以有其他的实现方式,不限于前述的实现方式,在此不做限制。Specifically, the second prompt message is used to prompt the wearer to input a specified action after it is detected that the wearing state of the wearable device is worn. Wherein, the prompting manner of the second prompting message is similar to that of the first message. Specifically, the second prompt message can be a dialog box or animation prompt displayed by the wearable device through the operation interface; the second prompt message can also be a voice prompt of the wearable device; the second prompt message can also be a combination of display and vibration through the operation interface Prompt in a manner; the second prompt message may also be a prompt in a combination of voice and vibration. It can be known that there may be other implementation manners for the prompting manner of the second prompt message, which are not limited to the foregoing implementation manners, and are not limited here.

具体地,指定动作可以是手臂绕“8”字,或者摇晃手臂(上下摇晃手臂、左右摇晃手臂)、举起手臂、手背按某一角度挥扫、曲线挥扫、翻转手腕、顺时针旋转手臂、逆时针旋转手臂等。Specifically, the specified action can be arms around the word "8", or shaking the arm (shaking the arm up and down, shaking the arm left and right), raising the arm, swiping the back of the hand at a certain angle, swiping in a curve, turning the wrist, rotating the arm clockwise , rotate the arm counterclockwise, etc.

S2072:获取在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与所述佩戴者的当前接触状态产生的信号值。S2072: Obtain a signal value generated based on the current contact state between the wearable device and the wearer within a preset time period after sending the second prompt message.

具体地,预设时长可以是5s、10s、20s、30s等。在预设时长内基于上述可穿戴设备与佩戴者的当前接触状态,佩戴者根据第二提示消息输入指定动作,产生的信号值为连续信号。Specifically, the preset duration may be 5s, 10s, 20s, 30s and so on. Based on the current contact state between the wearable device and the wearer within a preset time period, the wearer inputs a specified action according to the second prompt message, and the generated signal value is a continuous signal.

此外,上述可穿戴设备可以根据重力传感器或者陀螺仪采集到的数据判断佩戴者是否按照第二提示消息输入了指定的动作。In addition, the above-mentioned wearable device can determine whether the wearer has input a specified action according to the second prompt message according to the data collected by the gravity sensor or the gyroscope.

例如,假设指定动作为手臂绕“8”字,可以预先采集佩戴者佩戴上述可穿戴设备时,手臂绕“8”字的过程中重力传感器或者陀螺仪采集到的数据作为参考。在发出第二提示消息后,根据此时重力传感器或者陀螺仪采集到的数据与上述预先采集的数据进行比对,若偏差在误差范围内,则可判定佩戴者按照第二提示消息输入了指定动作,若偏差不在误差范围内,则可判定佩戴者未按照第二提示消息输入指定动作。可以知道的是,输入指定动作时重力传感器或者陀螺仪采集到的数据与上述可穿戴设备与佩戴者的当前接触状态无关。For example, assuming that the specified action is to wrap the arm around the "8", the data collected by the gravity sensor or the gyroscope during the process of the arm around the "8" can be pre-collected as a reference when the wearer wears the above-mentioned wearable device. After the second prompt message is issued, the data collected by the gravity sensor or gyroscope is compared with the above-mentioned pre-collected data at this time. If the deviation is within the error range, it can be determined that the wearer has entered the designated position according to the second prompt message. action, if the deviation is not within the error range, it can be determined that the wearer did not input the specified action according to the second prompt message. It can be known that the data collected by the gravity sensor or the gyroscope when inputting a specified action has nothing to do with the current contact state between the wearable device and the wearer.

可选地,若上述信号值为电容值,基于上述可穿戴设备与佩戴者的当前接触状态产生的信号值为单个的电容值。Optionally, if the signal value is a capacitance value, the signal value generated based on the current contact state between the wearable device and the wearer is a single capacitance value.

S205:若根据上述信号值及信号门限值判断出上述当前接触状态不满足测量条件,发出第一提示消息。S205: If it is determined according to the signal value and the signal threshold value that the current contact state does not meet the measurement condition, send a first prompt message.

可选地,若上述信号值为PPG信号值,上述发出第一提示消息具体包括以下几个步骤,如图15所示:Optionally, if the above-mentioned signal value is a PPG signal value, the above-mentioned sending of the first prompt message specifically includes the following steps, as shown in Figure 15:

S501:获取上述信号值中的最大值及最小值。S501: Obtain a maximum value and a minimum value among the above signal values.

具体地,上述PPG信号值为连续信号,获取该连续信号中的最大值及最小值。Specifically, the above-mentioned PPG signal value is a continuous signal, and the maximum and minimum values in the continuous signal are obtained.

S502:计算上述信号值中的最大值与上述最大门限值的第一方差,计算上述信号值中的最小值与上述最小门限值的第二方差。S502: Calculate a first variance between the maximum value of the above-mentioned signal values and the above-mentioned maximum threshold value, and calculate a second variance between the minimum value of the above-mentioned signal values and the above-mentioned minimum threshold value.

S503:分别比较上述第一方差、上述第二方差与方差阈值的大小。S503: Compare the magnitudes of the first variance, the second variance, and a variance threshold, respectively.

具体地,方差表示数据的离散程度,可采用基于上述可穿戴设备与佩戴者的当前接触状态产生的PPG信号值与预先获得的信号门限值的方差来判断基于上述可穿戴设备与佩戴者的当前接触状态产生的PPG信号值的稳定性。Specifically, the variance represents the degree of dispersion of the data, and the variance between the PPG signal value generated based on the current contact state of the wearable device and the wearer and the pre-obtained signal threshold value can be used to determine the relationship between the wearable device and the wearer. The stability of the PPG signal value generated by the current contact state.

具体地,方差越小,表示当前测得的PPG信号值越稳定。方差阈值例如可以是0.02、0.05、0.1等。Specifically, the smaller the variance, the more stable the currently measured PPG signal value is. The variance threshold can be, for example, 0.02, 0.05, 0.1, and so on.

S504:若上述第一方差与上述第二方差中至少有一项不小于上述方差阈值,则判断出上述当前接触状态不满足测量条件,发出第一提示消息。S504: If at least one of the above-mentioned first variance and the above-mentioned second variance is not less than the above-mentioned variance threshold, it is determined that the above-mentioned current contact state does not satisfy the measurement condition, and a first prompt message is issued.

具体地,若上述第一方差与上述第二方差中至少有一项不小上述方差阈值,即最大值或/和最小值发生了突变,则说明基于上述可穿戴设备与佩戴者的当前接触状态产生的PPG信号值不稳定,表明上述可穿戴设备的佩戴松紧不合适,发出第一提示消息提示佩戴者重新调整佩戴上述可穿戴设备。Specifically, if at least one of the above-mentioned first variance and the above-mentioned second variance is not smaller than the above-mentioned variance threshold, that is, the maximum value or/and the minimum value have a sudden change, it means that based on the current contact state between the above-mentioned wearable device and the wearer, The generated PPG signal value is unstable, which indicates that the above-mentioned wearable device is not properly worn, and a first prompt message is sent to remind the wearer to readjust and wear the above-mentioned wearable device.

可选地,若上述信号值为电容值,上述发出第一提示消息具体包括以下几个步骤,如图16所示:Optionally, if the above-mentioned signal value is a capacitance value, the above-mentioned sending of the first prompt message specifically includes the following steps, as shown in Figure 16:

S601:比较上述信号值与上述最大门限值及上述最小门限值的大小。S601: Compare the above-mentioned signal value with the above-mentioned maximum threshold value and the above-mentioned minimum threshold value.

具体地,上述信号值为单个的电容值,可直接比较该电容值与预先获得的信号门限值的最大门限值与最小门限值比较。Specifically, the above-mentioned 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 pre-obtained signal threshold value.

S602:若上述信号值大于上述最大门限值或小于上述最小门限值,则判断出上述当前接触状态不满足测量条件,发出第一提示消息。S602: If the above-mentioned signal value is greater than the above-mentioned maximum threshold value or below the above-mentioned minimum threshold value, it is determined that the above-mentioned current contact state does not satisfy the measurement condition, and a first prompt message is sent.

具体地,若上述电容值大于上述最大门限值或小于上述最小门限值,表明该电容值超出了可穿戴设备佩戴松紧合适时产生的电容值的正常范围,表明此时可穿戴设备的佩戴松紧不合适,发出第一提示消息提示佩戴者重新调整佩戴上述可穿戴设备。Specifically, if the above-mentioned capacitance value is greater than the above-mentioned maximum threshold value or less than the above-mentioned minimum threshold value, it indicates that the capacitance value is beyond the normal range of the capacitance value generated when the wearable device is worn properly, indicating that the wearing of the wearable device at this time If the tightness is not suitable, a first prompt message is issued to remind the wearer to readjust and wear the above-mentioned wearable device.

S206:若根据上述信号值及信号门限值判断出上述当前接触状态满足测量条件,开始测量生理参数。S206: If it is judged according to the signal value and the signal threshold value that the above-mentioned current contact state meets the measurement condition, start to measure the physiological parameters.

另外,本申请实施例还提供一种检测可穿戴设备佩戴情况的方法,包括以下步骤:In addition, the embodiment of the present application also provides a method for detecting the wearing condition of a wearable device, including the following steps:

S901:可穿戴设备检测PPG信号。S901: The wearable device detects a PPG signal.

具体的,可以通过可穿戴设备自带的光电传感器检测PPG信号。可选的,可穿戴设备可以检测一段时间内的PPG信号,例如1小时、5分钟等。可选的,在此步骤之前,还可以包括:检测用户是否佩戴可穿戴设备,如果佩戴,则执行S901.具体的,检测用户是否佩戴可穿戴设备的过程可以参考S203.Specifically, the PPG signal can be detected by a photoelectric sensor attached to the wearable device. Optionally, the wearable device can detect the PPG signal within a period of time, such as 1 hour, 5 minutes, and so on. Optionally, before this step, it may also include: detecting whether the user is wearing a wearable device, and if so, perform S901. Specifically, for the process of detecting whether the user is wearing a wearable device, refer to S203.

S902:可穿戴设备判断PPG信号是否发生突变。S902: The wearable device judges whether a sudden change occurs in the PPG signal.

具体的,可穿戴设备可以通过检测一段时间内的PPG信号,分析其是否发生突变。当PPG信号在某一时刻突然增大或变小时,说明PPG信号发生了突变。判断PPG信号是否发生突变可以参考图10和图15。Specifically, the wearable device can analyze whether a mutation occurs by detecting the PPG signal within a period of time. When the PPG signal suddenly increases or decreases at a certain moment, it indicates that the PPG signal has undergone a mutation. Refer to Figure 10 and Figure 15 for judging whether the PPG signal has a sudden change.

S903:当PPG信号发生突变时,确定可穿戴设备没有正确佩戴。S903: When a sudden change occurs in the PPG signal, it is determined that the wearable device is not worn correctly.

当PPG信号稳定时,说明可穿戴设备佩戴良好;当PPG信号在某一时刻突然增大或变小时,说明可穿戴设备佩戴情况不良,例如佩戴太松。可选的,如果确定可穿戴设备没有正确佩戴,可以提示用户正确佩戴。When the PPG signal is stable, it means that the wearable device is worn well; when the PPG signal suddenly increases or decreases at a certain moment, it means that the wearable device is not in good condition, such as wearing too loosely. Optionally, if it is determined that the wearable device is not worn correctly, the user may be prompted to wear it correctly.

实施本申请实施例可以通过设置PPG信号值或者电容值的信号门限值,检测可穿戴设备的佩戴状态,若为已佩戴,获取基于可穿戴设备与佩戴者的当前接触状态产生的信号值;通过PPG信号值或者电容值来判断当前接触状态是否满足测量条件;若根据PPG信号值或者电容值与信号门限值判断当前接触状态不满足测量条件,则发出第一提示消息,提示佩戴者调整佩戴可穿戴设备,智能检测可穿戴设备的佩戴松紧,进而保证心率测量的准确性。To implement the embodiment of the present application, the wearing state of the wearable device can be detected by setting the PPG signal value or the signal threshold value of the capacitance value. If it is worn, the signal value generated based on the current contact state between the wearable device and the wearer can be obtained; Whether the current contact state meets the measurement conditions is judged by the PPG signal value or capacitance value; if it is judged that the current contact state does not meet the measurement conditions according to the PPG signal value or capacitance value and the signal threshold value, the first prompt message is sent to remind the wearer to adjust Wear the wearable device, intelligently detect the wearing tightness of the wearable device, and then ensure the accuracy of heart rate measurement.

上述详细阐述了本申请实施例的方法,下面为了便于更好地实施本申请实施例的上述方案,相应地,下面还提供用于配合实施上述方案的相关装置。The method of the embodiment of the present application has been described in detail above. In order to facilitate better implementation of the above-mentioned solution of the embodiment of the present application, correspondingly, the following also provides related devices for coordinating the implementation of the above-mentioned solution.

如图17示出的本申请实施例提供的可穿戴设备的结构示意图,可穿戴设备70至少可以包括:第一获取模块710、第一提示模块720,其中,FIG. 17 is a schematic structural diagram of a wearable device provided by an embodiment of the present application. The wearable device 70 may at least include: a first acquisition module 710 and a first prompt module 720, wherein,

第一获取模块710,用于若可穿戴设备70的佩戴状态为已佩戴,获取基于可穿戴设备70与佩戴者的当前接触状态产生的信号值;其中,上述佩戴状态包括已佩戴和未佩戴。The first acquisition module 710 is configured to acquire a signal value generated based on the current contact state between the wearable device 70 and the wearer if the wearing state of the wearable device 70 is worn; wherein, the wearing state includes worn and not worn.

第一提示模块720,用于若根据上述信号值及信号门限值判断出上述当前接触状态不满足测量条件,发出第一提示消息;其中,上述信号门限值包括基于可穿戴设备70与佩戴者的第一接触状态产生的信号门限值;上述第一提示消息用于提示调整佩戴可穿戴设备70。The first prompting module 720 is used to send a first prompting message if it is judged according to the above-mentioned signal value and the signal threshold value that the above-mentioned current contact state does not meet the measurement condition; The threshold value of the signal generated by the first contact state of the user; the above-mentioned first prompt message is used to prompt to adjust the wearing of the wearable device 70 .

在一种可能的实现方式中,可穿戴设备70还包括:测量模块730,用于若根据上述信号值及信号门限值判断出上述当前接触状态满足测量条件,则开始测量生理参数。In a possible implementation manner, the wearable device 70 further includes: a measurement module 730, configured to start measuring physiological parameters if it is determined that the current contact state satisfies the measurement condition according to the signal value and the signal threshold value.

在一种可能的实现方式中,可穿戴设备70还包括:接收模块740,用于在第一获取模块710获取基于可穿戴设备70与佩戴者的当前接触状态产生的信号值之前,接收测量生理参数的指令。In a possible implementation manner, the wearable device 70 further includes: a receiving module 740, configured to receive the measured physiological parameter directive.

在一个可选的实施例中,可穿戴设备70还包括:检测模块750,用于在第一获取模块710获取基于可穿戴设备70与佩戴者的当前接触状态产生的信号值之前,检测可穿戴设备70的佩戴状态。In an optional embodiment, the wearable device 70 further includes: a detection module 750, configured to detect that the wearable The wearing state of the device 70 .

在一个可选的实施例中,可穿戴设备70还包括:第二获取模块760,用于在检测模块750检测可穿戴设备70的佩戴状态之前,获取信号门限值;其中,上述信号门限值包括最大门限值及最小门限值。In an optional embodiment, the wearable device 70 further includes: a second acquisition module 760, configured to acquire a signal threshold value before the detection module 750 detects the wearing state of the wearable device 70; wherein, the above signal threshold Values include a maximum threshold and a minimum threshold.

在一个可选的实施例中,上述信号值包括PPG信号值。In an optional embodiment, the foregoing signal value includes a PPG signal value.

在一个可选的实施例中,如图18所示,第一获取模块710至少可以包括:提示单元7110、第一获取单元7120,其中,In an optional embodiment, as shown in FIG. 18 , the first acquisition module 710 may at least include: a prompt unit 7110 and a first acquisition unit 7120, wherein,

提示单元7110,用于若可穿戴设备70的佩戴状态为已佩戴,发出第二提示消息;其中,上述第二提示消息用于提示上述佩戴者输入指定动作。The prompt unit 7110 is configured to send a second prompt message if the wearing state of the wearable device 70 is worn; wherein, the second prompt message is used to prompt the wearer to input a specified action.

第一获取单元7120,用于获取在发出上述第二提示消息后的预设时长内,基于可穿戴设备70与上述佩戴者的当前接触状态产生的信号值。The first obtaining unit 7120 is configured to obtain a signal value generated based on the current contact state between the wearable device 70 and the wearer within a preset time period after sending the second prompt message.

在一个可选的实施例中,如图19所示,第二获取模块760至少可以包括:第二获取单元7610、第三获取单元7620、第一确定单元7630,其中,In an optional embodiment, as shown in FIG. 19 , the second acquiring module 760 may at least include: a second acquiring unit 7610, a third acquiring unit 7620, and a first determining unit 7630, wherein,

第二获取单元7610,用于获取N次在发出上述第二提示消息后的预设时长内,基于可穿戴设备70与佩戴者的第一接触状态产生的信号值;其中,上述N为正整数。The second acquisition unit 7610 is configured to acquire N times the signal value generated based on the first contact state between the wearable device 70 and the wearer within the preset time period after sending the above-mentioned second prompt message; wherein, the above-mentioned N is a positive integer .

第三获取单元7620,用于分别获取每次在发出上述第二提示消息后的预设时长内,基于可穿戴设备70与佩戴者的第一接触状态产生的信号值中的最大值及最小值,确定N次在发出上述第二提示消息后的预设时长内,基于可穿戴设备70与佩戴者的第一接触状态产生的信号值中的N个最大值及N个最小值。The third acquisition unit 7620 is configured to respectively acquire the maximum and minimum values of the signal values generated based on the first contact state between the wearable device 70 and the wearer within the preset time period after sending the above-mentioned second prompt message , determine N times of N maximum values and N minimum values among the signal values generated based on the first contact state between the wearable device 70 and the wearer within a preset time period after sending the above-mentioned second prompt message.

第一确定单元7630,用于根据上述N个最大值确定上述最大门限值,根据上述N个最小值确定上述最小门限值。The first determining unit 7630 is configured to determine the above-mentioned maximum threshold value according to the above-mentioned N maximum values, and determine the above-mentioned minimum threshold value according to the above-mentioned N minimum values.

在一种可能的实现方式中,第一确定单元7630用于将上述N个最大值中的最大值确定为上述最大门限值,将上述N个最小值中的最小值确定为上述最小门限值。In a possible implementation manner, the first determining unit 7630 is configured to determine the maximum value among the above-mentioned N maximum values as the above-mentioned maximum threshold value, and determine the minimum value among the above-mentioned N minimum values as the above-mentioned minimum threshold value. value.

在另外一种可能的实现方式中,第一确定单元7630用于将上述N个最大值的平均值确定为上述最大门限值,将上述N个最小值的平均值确定为上述最小门限值。In another possible implementation manner, the first determining unit 7630 is configured to determine the average value of the above-mentioned N maximum values as the above-mentioned maximum threshold value, and determine the average value of the above-mentioned N minimum values as the above-mentioned minimum threshold value .

在一个可选的实施例中,如图20所示,第一提示模块720至少可以包括:第五获取单元7210、计算单元7220、第一比较单元7230、第一提示单元7240,其中,In an optional embodiment, as shown in FIG. 20 , the first prompt module 720 may at least include: a fifth acquisition unit 7210, a calculation unit 7220, a first comparison unit 7230, and a first prompt unit 7240, wherein,

第五获取单元7210,用于获取上述信号值中的最大值及最小值。The fifth obtaining unit 7210 is configured to obtain the maximum value and the minimum value of the above signal values.

计算单元7220,用于计算上述信号值中的最大值与上述最大门限值的第一方差,并计算上述信号值中的最小值与上述最小门限值的第二方差。The calculation unit 7220 is configured to calculate a first variance between the maximum value of the above-mentioned signal values and the above-mentioned maximum threshold value, and calculate a second variance between the minimum value of the above-mentioned signal values and the above-mentioned minimum threshold value.

第一比较单元7230,用于分别比较上述第一方差、上述第二方差与方差阈值的大小。The first comparison unit 7230 is configured to respectively compare the magnitudes of the first variance, the second variance, and a variance threshold.

第一提示单元7240,用于若上述第一方差与上述第二方差中至少有一项不小于上述方差阈值,则判断出上述当前接触状态不满足测量条件,发出第一提示消息。The first prompting unit 7240 is configured to determine that the current contact state does not meet 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 prompt message.

在一个可选的实施例中,上述信号值包括电容值。In an optional embodiment, the above signal value includes a capacitance value.

在一个可选的实施例中,如图21所示,第二获取模块760至少可以包括:第六获取单元7640、第七获取单元7650、第八获取单元7660,其中,In an optional embodiment, as shown in FIG. 21 , the second acquiring module 760 may at least include: a sixth acquiring unit 7640, a seventh acquiring unit 7650, and an eighth acquiring unit 7660, wherein,

第六获取单元7640,用于获取N次基于可穿戴设备70与佩戴者的预置接触状态产生的N个信号值;其中,上述N为正整数。The sixth acquiring unit 7640 is configured to acquire N signal values generated N times based on the preset contact state between the wearable device 70 and the wearer; wherein, the above N is a positive integer.

第七获取单元7650,用于获取第六获取单元7640获取的N个信号值中的最大值及最小值。The seventh obtaining unit 7650 is configured to obtain the maximum value and minimum value among the N signal values obtained by the sixth obtaining unit 7640 .

第八获取单元7660,用于根据第七获取单元7650获取的N个信号值中的最大值获取上述最大门限值,根据第七获取单元7650获取的N个信号值中的最小值获取上述最小门限值。The eighth obtaining unit 7660 is configured to obtain the above-mentioned maximum threshold value according to the maximum value among the N signal values obtained by the seventh obtaining unit 7650, and obtain the above-mentioned minimum threshold value according to the minimum value among the N signal values obtained by the seventh obtaining unit 7650. threshold.

在一种可能的实现方式中,第八获取单元7660,用于将第七获取单元7650获取的N个信号值中的最大值作为上述最大门限值,将第七获取单元7650获取的N个信号值中的最小值作为上述最小门限值。In a possible implementation manner, the eighth acquisition unit 7660 is configured to use the maximum value of the N signal values acquired by the seventh acquisition unit 7650 as the maximum threshold value, and use the N signal values acquired by the seventh acquisition unit 7650 The minimum value among the signal values is used as the above-mentioned minimum threshold value.

在一个可选的实施例中,如图22所示,第一提示模块720至少可以包括:第二比较单元7250、第二提示单元7260,其中,In an optional embodiment, as shown in FIG. 22 , the first prompt module 720 may at least include: a second comparison unit 7250 and a second prompt unit 7260, wherein,

第二比较单元7250,用于比较上述信号值与上述最大门限值及上述最小门限值的大小。The second comparison unit 7250 is configured to compare the above-mentioned signal value with the above-mentioned maximum threshold value and the above-mentioned minimum threshold value.

第二提示单元7260,用于若上述信号值大于上述最大门限值或小于上述最小门限值,则判断出上述当前接触状态不满足测量条件,发出第一提示消息。The second prompting unit 7260 is configured to determine that the current contact state does not meet the measurement condition if the signal value is greater than the maximum threshold value or smaller than the minimum threshold value, and send a first prompt message.

在一个可选的实施例中,检测模块750用于检测肌电信号的电平值;若上述肌电信号为高电平,则检测出可穿戴设备70的佩戴状态为已佩戴;若上述肌电信号为低电平,则检测出可穿戴设备70的佩戴状态为未佩戴。In an optional embodiment, the detection module 750 is used to detect the level value of the myoelectric signal; if the above-mentioned myoelectric signal is at a high level, it is detected that the wearing state of the wearable device 70 is worn; If the electrical signal is at a low level, it is detected that the wearable state of the wearable device 70 is not worn.

在一种可选的实施例中,可穿戴设备70包括表带。检测模块750用于检测可穿戴设备表带的搭扣状态;其中,表带的搭扣状态包括已扣上和未扣上。若检测到可穿戴设备表带的搭扣状态为已扣上,则检测出可穿戴设备70的佩戴状态为已佩戴;若检测到可穿戴设备表带的搭扣状态为未扣上,则检测出可穿戴设备70的配戴状态为未佩戴。In an optional embodiment, the wearable device 70 includes a watch strap. The detection module 750 is used to detect the buckle status of the strap of the wearable device; wherein, the buckle status of the strap includes buckled and not buckled. If it is detected that the buckle state of the wearable device strap is buckled, it is detected that the wearing state of the wearable device 70 is worn; if it is detected that the buckle state of the wearable device strap is not buckled, then the detection The wearing state of the wearable device 70 is not worn.

在一种可能的实现方式中,检测模块750用于检测可穿戴设备表带的目标区域的压力值。若上述目标区域的压力值为非零,则检测出可穿戴设备表带的搭扣状态为已扣上;若上述目标区域的压力值为零,则检测出可穿戴设备表带的搭扣状态为未扣上。可穿戴设备70还包括设置模块,用于在检测模块750检测可穿戴设备表带的搭扣状态之前,在可穿戴设备表带的目标区域设置压力传感器。In a possible implementation manner, the detection module 750 is used to detect the pressure value of the target area of the strap of the wearable device. If the pressure value of the above target area is non-zero, then the buckle status of the wearable device strap is detected as being buckled; if the pressure value of the above target area is zero, then the buckle status of the wearable device strap is detected is not buckled. The wearable device 70 further includes a setting module, configured to set a pressure sensor on the target area of the wearable device strap before the detection module 750 detects the buckle state of the wearable device strap.

在一种可选的实施例中,检测模块750用于检测肌电信号的电平值与表带的搭扣状态。若检测到上述肌电信号为高电平且表带的搭扣状态为已扣上,则检测出可穿戴设备70的佩戴状态为已佩戴;否则,则检测出可穿戴设备70的佩戴状态为未佩戴。In an optional embodiment, the detection module 750 is used to detect the level value of the electromyographic signal and the buckle state of the strap. If it is detected that the above-mentioned myoelectric signal is a high level and the buckle state of the strap is buckled, then it is detected that the wearable state of the wearable device 70 is worn; otherwise, it is detected that the wearable state of the wearable device 70 is Not worn.

可理解的是,本申请实施例的可穿戴设备70的各功能模块的功能可根据上述方法实施例中的方法具体实现,此处不再赘述。It can be understood that the functions of each functional module of the wearable device 70 in the embodiment of the present application can be specifically implemented according to the methods in the foregoing method embodiments, which will not be repeated here.

图23示出了本申请实施例提供的另一种可穿戴设备的结构示意图,可穿戴设备80至少可以包括:基带芯片810、存储器820(一个或多个计算机可读存储介质)、外围系统830、射频模块840。这些部件可以在一个或多个通信总线850上通信。FIG. 23 shows a schematic structural diagram of another wearable device provided by an embodiment of the present application. The wearable device 80 may at least include: a baseband chip 810, a memory 820 (one or more computer-readable storage media), and a peripheral system 830. , a radio frequency module 840. These components may communicate over one or more communication buses 850 .

外围系统830主要用于实现可穿戴设备80和用户/外部环境之间的交互功能,主要包括可穿戴设备80的输入输出装置。具体地,外围系统830可包括:触摸屏控制器831、摄像头控制器832、音频控制器833以及传感器管理模块834。其中,触摸屏控制器831可以是触摸屏835;摄像头控制器832可以是摄像头836;音频控制器833可以是音频电路837;传感器管理模块834可以是传感器838,其中,传感器836可以包括光电传感器8361、电容传感器8362、肌电信号传感器8363、压力传感器8364等。The peripheral system 830 is mainly used to realize the interactive function between the wearable device 80 and the user/external environment, and mainly includes the input and output devices 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; the camera controller 832 can be a camera 836; the audio controller 833 can be an audio circuit 837; the sensor management module 834 can be a sensor 838, wherein the sensor 836 can include a photosensor 8361, a capacitor Sensor 8362, myoelectric signal sensor 8363, pressure sensor 8364, etc.

在另一些实施例中,外围系统830还可以包含其他外设。In some other embodiments, the peripheral system 830 may also include other peripheral devices.

基带芯片810可集成包括:一个或多个处理器811、时钟模块812以及电源管理模块813。集成于基带芯片810中的时钟模块812主要用于为处理器811产生数据传输和时序控制所需要的时钟。集成于基带芯片810中的电源管理模块813主要用于为处理器811、射频模块840以及外围系统830提供稳定的、高精确度的电压。The baseband chip 810 may 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 the clock 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 voltage for the processor 811 , the radio frequency module 840 and the peripheral system 830 .

射频模块840用于接收和发送射频信号,主要集成了可穿戴设备80的接收器和发射器。射频模块840通过射频信号与通信网络和其他通信设备通信。在具体的实现方式中,射频模块840可包括但不限于:天线系统、RF收发器、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC芯片、SIM卡和存储介质等。在一些实施例中,可在单独的芯片上实现射频模块840。The radio frequency module 840 is used for receiving and sending radio frequency signals, and mainly integrates the receiver and the transmitter of the wearable device 80 . The radio frequency module 840 communicates with communication networks and other communication devices through radio frequency signals. In a specific implementation, the radio frequency 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 and storage media, etc. In some embodiments, radio frequency module 840 may be implemented on a separate chip.

存储器820和处理器811耦合,用于存储各种软件程序或多组指令。具体地,存储器820可包括高速随机存取的存储器,并且可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器820可以存储操作系统(下述简称系统),例如ANDROID、IOS、WINDOWS,或者LINUX等嵌入式操作系统。存储器820还可以存储网络通信程序,该网络通信程序可用于与一个或多个附加设备,一个或多个终端设备,一个或多个网络设备进行通信。存储器820还可以存储用户接口程序,该用户接口程序可以通过图形化的操作界面将应用程序的内容形象逼真的显示出来,并通过菜单、对话框以及按键等输入控件接收用户对应用程序的控制操作。存储器820还可以存储可穿戴设备检测指令。The memory 820 is coupled with the processor 811 and used for storing various software programs or sets of instructions. Specifically, 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 as the system), such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX. The memory 820 can also store a network communication program, which can be used to communicate with one or more additional devices, one or more terminal devices, and one or more network devices. The memory 820 can also store the user interface program, which can vividly display the content of the application program through the graphical operation interface, and receive the user's control operation on the application program through input controls such as menus, dialog boxes, and buttons. . The memory 820 can also store wearable device detection instructions.

处理器811可以用于调用存储器820中存储的可穿戴设备检测指令,并执行以下操作:The processor 811 can be used to call the wearable device detection instruction stored in the memory 820, and perform the following operations:

若可穿戴设备80的佩戴状态为已佩戴,通过光电传感器8361获取基于可穿戴设备80与佩戴者的当前接触状态产生的信号值;其中,上述佩戴状态包括已佩戴和未佩戴。If the wearing state of the wearable device 80 is worn, the photoelectric sensor 8361 is used to obtain the signal value generated based on the current contact state between the wearable device 80 and the wearer; wherein, the wearing state includes worn and not worn.

若根据上述信号值及信号门限值判断出上述当前接触状态不满足测量条件,通过外围系统830发出第一提示消息;其中,上述信号门限值包括基于可穿戴设备80与佩戴者的第一接触状态产生的信号门限值;上述第一提示消息用于提示调整佩戴可穿戴设备80。If it is judged that the above-mentioned current contact state does not meet the measurement condition according to the above-mentioned signal value and signal threshold value, a first prompt message is sent through the peripheral system 830; The threshold value of the signal generated by the contact state; the above-mentioned first prompt message is used to prompt to adjust the wearing of the wearable device 80 .

在一种可能的实现方式中,获取基于可穿戴设备80与佩戴者的当前接触状态产生的信号值之后,处理器811还用于:若根据上述信号值及信号门限值判断出上述当前接触状态满足测量条件,则开始测量生理参数。In a possible implementation manner, after acquiring the signal value generated based on the current contact state between the wearable device 80 and the wearer, the processor 811 is further configured to: If the state meets the measurement conditions, the physiological parameters will be measured.

在一种可能的实现方式中,若可穿戴设备80的佩戴状态为已佩戴,获取基于可穿戴设备80与佩戴者的当前接触状态产生的信号值之前,处理器811还用于:通过外围系统830接收测量生理参数的指令。In a possible implementation, if the wearing state of the wearable device 80 is worn, before acquiring the signal value generated based on the current contact state between the wearable device 80 and the wearer, the processor 811 is further configured to: 830 receives an instruction to measure a physiological parameter.

在一种可选的实施例中,若可穿戴设备80的佩戴状态为已佩戴,通过光电传感器8361获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值之前,处理器811还用于:通过传感器838检测可穿戴设备80的佩戴状态。In an optional embodiment, if the wearing state of the wearable device 80 is worn, the processor 811 further Used for: detecting the wearing state of the wearable device 80 through the sensor 838 .

在一种可选的实施例中,检测可穿戴设备80的佩戴状态之前,处理器811还用于:通过传感器838获取信号门限值;其中,上述信号门限值包括最大门限值及最小门限值。In an optional embodiment, before detecting the wearing state of the wearable device 80, the processor 811 is further configured to: obtain a signal threshold value through the sensor 838; wherein, the above signal threshold value includes a maximum threshold value and a minimum threshold value. threshold.

在一种可选的实施例中,上述信号值包括PPG信号值。In an optional embodiment, the foregoing signal value includes a PPG signal value.

在一种可选的实施例中,处理器811用于若可穿戴设备80的佩戴状态为已佩戴,获取基于可穿戴设备80与佩戴者的当前接触状态产生的信号值包括:In an optional embodiment, the processor 811 is configured to acquire the signal value generated based on the current contact state between the wearable device 80 and the wearer if the wearing state of the wearable device 80 is worn, including:

若可穿戴设备80的佩戴状态为已佩戴,通过外围系统830发出第二提示消息;其中,上述第二提示消息用于提示输入指定动作。If the wearing state of the wearable device 80 is worn, a second prompt message is sent through the peripheral system 830; wherein, the second prompt message is used to prompt input of a specified action.

通过光电传感器8361获取在发出上述第二提示消息后的预设时长内,基于可穿戴设备80与佩戴者的当前接触状态产生的信号值。The photoelectric sensor 8361 acquires the signal value generated based on the current contact state between the wearable device 80 and the wearer within a preset period of time after the above-mentioned second prompt message is sent.

在一种可选的实施例中,处理器811获取信号门限值包括:In an optional embodiment, obtaining the signal threshold by the processor 811 includes:

通过光电传感器8361获取N次在发出上述第二提示消息后的预设时长内,基于可穿戴设备80与佩戴者的第一接触状态产生的信号值;其中,上述N为正整数。The photoelectric sensor 8361 acquires N times the signal value generated based on the first contact state between the wearable device 80 and the wearer within a preset time period after sending the second prompt message; wherein, the above N is a positive integer.

分别获取每次在发出上述第二提示消息后的预设时长内,基于可穿戴设备80与佩戴者的第一接触状态产生的信号值中的最大值及最小值,确定N次在发出上述第二提示消息后的预设时长内,基于可穿戴设备80与佩戴者的第一接触状态产生的信号值中的N个最大值及N个最小值。Respectively obtain the maximum and minimum values of the signal values generated based on the first contact state between the wearable device 80 and the wearer each time within the preset time period after sending the above-mentioned second prompt message, and determine N times before sending the above-mentioned second prompt message. Within the preset time period after the second prompt message, N maximum values and N minimum values among the signal values generated based on the first contact state between the wearable device 80 and the wearer.

根据上述N个最大值确定上述最大门限值,根据上述N个最小值确定上述最小门限值。The above-mentioned maximum threshold value is determined according to the above-mentioned N maximum values, and the above-mentioned minimum threshold value is determined according to the above-mentioned N minimum values.

在一种可选的实施例中,处理器811若根据上述信号值及信号门限值判断出上述当前接触状态不满足测量条件,发出第一提示消息包括:In an optional embodiment, if the processor 811 judges that the current contact state does not meet the measurement condition according to the signal value and the signal threshold value, sending the first prompt message includes:

获取上述信号值中的最大值及最小值。Get the maximum and minimum values of the above signal values.

计算上述信号值中的最大值与上述最大门限值的第一方差,计算上述信号值中的最小值与上述最小门限值的第二方差。Calculating a first variance between the maximum value of the signal values and the maximum threshold value, and calculating a second variance between the minimum value of the signal values and the minimum threshold value.

分别比较上述第一方差、上述第二方差与方差阈值的大小。The magnitudes of the first variance, the second variance and the variance threshold are compared respectively.

若上述第一方差与上述第二方差中至少有一项不小于上述方差阈值,则判断出上述当前接触状态不满足测量条件,通过外围系统830发出第一提示消息。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 meet the measurement condition, and the peripheral system 830 sends a first prompt message.

在一种可选的实施例中,上述信号值包括电容值。In an optional embodiment, the above signal value includes a capacitance value.

在一种可选的实施例中,处理器811获取信号门限值包括:In an optional embodiment, obtaining the signal threshold by the processor 811 includes:

通过电容传感器8362获取N次基于可穿戴设备80与佩戴者的第一接触状态产生的N个信号值;其中,上述N为正整数。N signal values generated based on the first contact state between the wearable device 80 and the wearer are obtained N times through the capacitive sensor 8362; wherein, the above N is a positive integer.

获取上述N个信号值中的最大值及最小值。Obtain the maximum and minimum values among the above N signal values.

根据上述N个信号值中的最大值确定上述最大门限值,根据上述N个信号值中的最小值确定上述最小门限值。The above-mentioned maximum threshold value is determined according to the maximum value among the above-mentioned N signal values, and the above-mentioned minimum threshold value is determined according to the minimum value among the above-mentioned N signal values.

在一种可能的实现方式中,处理器811根据上述N个最大值确定上述最大门限值,根据上述N个最小值确定上述最小门限值包括:In a possible implementation manner, the processor 811 determines the above-mentioned maximum threshold value according to the above-mentioned N maximum values, and determining the above-mentioned minimum threshold value according to the above-mentioned N minimum values includes:

将上述N个最大值中的最大值确定为上述最大门限值,将上述N个最小值中的最小值确定为上述最小门限值。The maximum value among the above-mentioned N maximum values is determined as the above-mentioned maximum threshold value, and the minimum value among the above-mentioned N minimum values is determined as the above-mentioned minimum threshold value.

在一种可能的实现方式中,处理器811根据上述N个最大值确定上述最大门限值,根据上述N个最小值确定上述最小门限值包括:In a possible implementation manner, the processor 811 determines the above-mentioned maximum threshold value according to the above-mentioned N maximum values, and determining the above-mentioned minimum threshold value according to the above-mentioned N minimum values includes:

将上述N个最大值的平均值确定为上述最大门限值,将上述N个最小值的平均值确定为上述最小门限值。The average value of the above-mentioned N maximum values is determined as the above-mentioned maximum threshold value, and the average value of the above-mentioned N minimum values is determined as the above-mentioned minimum threshold value.

在一种可选的实施例中,处理器80若根据上述信号值及信号门限值判断出上述当前接触状态不满足测量条件,发出第一提示消息包括:In an optional embodiment, if the processor 80 judges that the current contact state does not meet the measurement condition according to the signal value and the signal threshold value, sending the first prompt message includes:

比较上述信号值与上述最大门限值及上述最小门限值的大小。Comparing the above-mentioned signal value with the above-mentioned maximum threshold value and the above-mentioned minimum threshold value.

若上述信号值大于上述最大门限值或小于上述最小门限值,则判断出上述当前接触状态不满足测量条件,通过外围系统830发出第一提示消息。If the above-mentioned signal value is greater than the above-mentioned maximum threshold value or below the above-mentioned minimum threshold value, it is determined that the above-mentioned current contact state does not meet the measurement condition, and the peripheral system 830 sends a first prompt message.

在一种可选的实施例中,处理器811检测可穿戴设备80的佩戴状态包括:通过肌电信号传感器8363检测肌电信号的电平值;若上述肌电信号为高电平,则检测出可穿戴设备80的佩戴状态为已佩戴;若上述肌电信号为低电平,则检测出可穿戴设备80的佩戴状态为未佩戴。In an optional embodiment, the processor 811 detecting the wearing state of the wearable device 80 includes: detecting the level value of the myoelectric signal through the myoelectric signal sensor 8363; if the above-mentioned myoelectric signal is at a high level, detecting It is detected that the wearing state of the wearable device 80 is worn; if the above-mentioned EMG signal is at a low level, it is detected that the wearing state of the wearable device 80 is not worn.

在一种可能的实现方式中,可穿戴设备80包括表带;处理器811检测可穿戴设备80的佩戴状态包括:In a possible implementation, the wearable device 80 includes a watch strap; detecting the wearing state of the wearable device 80 by the processor 811 includes:

检测可穿戴设备表带的搭扣状态;其中,上述表带的搭扣状态包括已扣上和未扣上。Detect the buckle status of the strap of the wearable device; wherein, the buckle status of the strap includes buckled and not buckled.

若检测到上述可穿戴设备表带的搭扣状态为已扣上,则检测出可穿戴设备811的佩戴状态为已佩戴。If it is detected that the buckle state of the above-mentioned wearable device strap is buckled, it is detected that the wearing state of the wearable device 811 is worn.

若检测到上述可穿戴设备表带的搭扣状态为未扣上,则检测出可穿戴设备811的配戴状态为未佩戴。If it is detected that the buckle state of the above-mentioned wearable device strap is not fastened, it is detected that the wearing state of the wearable device 811 is not worn.

在一种可能的实现方式中,处理器811检测可穿戴设备表带的搭扣状态包括:In a possible implementation manner, the detection by the processor 811 of the buckle status of the strap of the wearable device includes:

通过压力传感器8364检测可穿戴设备表带的目标区域的压力值;若上述目标区域的压力值为非零,则检测出可穿戴设备表带的搭扣状态为已扣上;若上述目标区域的压力值为零,则检测出可穿戴设备表带的搭扣状态为未扣上。Detect the pressure value of the target area of the wearable device strap through the pressure sensor 8364; if the pressure value of the above target area is non-zero, it is detected that the buckle state of the wearable device strap is buckled; if the above target area If the pressure value is zero, it is detected that the buckle status of the strap of the wearable device is not buckled.

通过压力传感器8364检测上述可穿戴设备表带的搭扣状态之前,处理器811还用于:在上述可穿戴设备表带的目标区域设置压力传感器。Before using the pressure sensor 8364 to detect the buckle state of the wearable device strap, the processor 811 is further configured to: set a pressure sensor in the target area of the wearable device strap.

实施本申请实施例可以在检测到可穿戴设备的佩戴状态为已佩戴后,获取基于可穿戴设备与佩戴者的当前接触状态产生的信号值;若根据该信号值与信号门限值判断当前接触状态不满足测量条件,则发出第一提示消息,提示佩戴者调整佩戴可穿戴设备,智能检测可穿戴设备的佩戴松紧,进而保证心率测量的准确性。Implementing the embodiment of the present application can obtain the signal value based on the current contact state between the wearable device and the wearer after detecting that the wearing state of the wearable device is worn; if the current contact value is judged based on the signal value and the signal threshold value If the status does not meet the measurement conditions, the first prompt message will be issued to remind the wearer to adjust the wearing of the wearable device, and intelligently detect the wearing tightness of the wearable device, thereby ensuring the accuracy of heart rate measurement.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments are realized. The processes can be completed by computer programs to instruct related hardware. The programs can be stored in computer-readable storage media. When the programs are executed , may include the processes of the foregoing method embodiments. The aforementioned storage medium includes: ROM or random access memory RAM, magnetic disk or optical disk, and other various media that can store program codes.

尽管在此结合各实施例对本申请进行了描述,然而不能以此来限定本申请之权利范围,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现上述实施例的全部或部分流程,并依本申请权利要求所作的等同变化,仍属于申请所涵盖的范围。在权利要求中,“包括”一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个控制器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求所记载了某些措辞,但这并不表示这些措辞不能组合起来产生良好的效果。Although the present application has been described in conjunction with various embodiments here, the scope of rights of the present application cannot be limited by this. As well as the appended claims, it is possible to understand and realize all or part of the processes of the above-mentioned embodiments, and the equivalent changes made according to the claims of the present application still fall within the scope covered by the application. In the claims, the word "comprising" does not exclude other elements or steps, and "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. The fact that certain terms are recited in mutually different dependent claims does not mean that these terms cannot be combined to produce good results.

Claims (35)

1.一种可穿戴设备的检测方法,其特征在于,包括:1. A detection method for a wearable device, comprising: 若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值;其中,所述佩戴状态包括已佩戴和未佩戴;If the wearing state of the wearable device is worn, obtain a signal value generated based on the current contact state between the wearable device and the wearer; wherein the wearing state includes worn and not worn; 若根据所述信号值及信号门限值判断出所述当前接触状态不满足测量条件,发出第一提示消息;其中,所述信号门限值包括基于所述可穿戴设备与佩戴者的第一接触状态产生的信号门限值;所述第一提示消息用于提示调整佩戴所述可穿戴设备。If it is judged that 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; wherein, the signal threshold value includes the wearable device and the wearer's first The threshold value of the signal generated by the contact state; the first prompt message is used to prompt to adjust and wear the wearable device. 2.如权利要求1所述的方法,其特征在于,所述若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值之前,所述方法还包括:检测所述可穿戴设备的佩戴状态。2. The method according to claim 1, wherein if the wearing state of the wearable device is worn, before acquiring the signal value generated based on the current contact state between the wearable device and the wearer, the The method further includes: detecting the wearing state of the wearable device. 3.如权利要求2所述的方法,其特征在于,所述检测所述可穿戴设备的佩戴状态之前,所述方法还包括:获取信号门限值;其中,所述信号门限值包括最大门限值及最小门限值。3. The method according to claim 2, wherein before the detection of the wearing state of the wearable device, the method further comprises: obtaining a signal threshold value; wherein the signal threshold value includes a maximum threshold and minimum threshold. 4.如权利要求3所述的方法,其特征在于,所述信号值包括PPG信号值。4. The method of claim 3, wherein the signal value comprises a PPG signal value. 5.如权利要求4所述的方法,其特征在于,所述若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值包括:5. The method according to claim 4, wherein if the wearing state of the wearable device is worn, obtaining the signal value generated based on the current contact state between the wearable device and the wearer comprises: 若可穿戴设备的佩戴状态为已佩戴,发出第二提示消息;其中,所述第二提示消息用于提示输入指定动作;If the wearing state of the wearable device is worn, send a second prompt message; wherein, the second prompt message is used to prompt input of a specified action; 获取在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与所述佩戴者的当前接触状态产生的信号值。Acquiring a signal value generated based on the current contact state between the wearable device and the wearer within a preset time period after sending the second prompt message. 6.如权利要求5所述的方法,其特征在于,所述获取信号门限值包括:6. The method according to claim 5, wherein said obtaining a signal threshold value comprises: 获取N次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值;其中,所述N为正整数;Obtain N times of signal values generated based on the first contact state between the wearable device and the wearer within a preset period of time after sending the second prompt message; wherein, the N is a positive integer; 分别获取每次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值中的最大值及最小值,确定N次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值中的N个最大值及N个最小值;Respectively acquire the maximum value and the minimum value of the signal values generated based on the first contact state between the wearable device and the wearer each time within the preset time period after sending out the second prompt message, and determine N times when the second prompt message is sent out. Within the preset time period after the second prompt message, N maximum values and N minimum values among the signal values generated based on the first contact state between the wearable device and the wearer; 根据所述N个最大值确定所述最大门限值,根据所述N个最小值确定所述最小门限值。The maximum threshold value is determined according to the N maximum values, and the minimum threshold value is determined according to the N minimum values. 7.如权利要求6所述的方法,其特征在于,所述若根据所述信号值及信号门限值判断出所述当前接触状态不满足测量条件,发出第一提示消息包括:7. The method according to claim 6, wherein if it is determined according to the signal value and the signal threshold value that the current contact state does not meet the measurement condition, sending the first prompt message includes: 获取所述信号值中的最大值及最小值;Obtaining the maximum and minimum values of the signal values; 计算所述信号值中的最大值与所述最大门限值的第一方差,计算所述信号值中的最小值与所述最小门限值的第二方差;calculating a first variance between the maximum value of the signal values and the maximum threshold value, and calculating a second variance between the minimum value of the signal values and the minimum threshold value; 分别比较所述第一方差、所述第二方差与方差阈值的大小;Comparing the first variance, the second variance, and a variance threshold respectively; 若所述第一方差与所述第二方差中至少有一项不小于所述方差阈值,则判断出所述当前接触状态不满足测量条件,发出第一提示消息。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 meet the measurement condition, and a first prompt message is sent. 8.如权利要求3所述的方法,其特征在于,所述信号值包括电容值。8. The method of claim 3, wherein the signal value comprises a capacitance value. 9.如权利要求8所述的方法,其特征在于,所述获取信号门限值包括:9. The method according to claim 8, wherein said obtaining a signal threshold value comprises: 获取N次基于所述可穿戴设备与佩戴者的第一接触状态产生的N个信号值;其中,所述N为正整数;Acquiring N signal values generated based on the first contact state between the wearable device and the wearer N times; wherein, the N is a positive integer; 获取所述N个信号值中的最大值及最小值;Obtaining the maximum and minimum values of the N signal values; 根据所述N个信号值中的最大值确定所述最大门限值,根据所述N个信号值中的最小值确定所述最小门限值。The maximum threshold value is determined according to the maximum value among the N signal values, and the minimum threshold value is determined according to the minimum value among the N signal values. 10.如权利要求9所述的方法,其特征在于,所述若根据所述信号值及信号门限值判断出所述当前接触状态不满足测量条件,发出第一提示消息包括:10. The method according to claim 9, wherein if it is determined according to the signal value and the signal threshold value that the current contact state does not meet the measurement condition, 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 meet the measurement condition, and a first prompt message is sent. 11.如权利要求2所述的方法,其特征在于,所述检测所述可穿戴设备的佩戴状态包括:11. The method according to claim 2, wherein the detecting the wearing state of the wearable device comprises: 检测肌电信号的电平值;Detect the level value of the electromyographic signal; 若所述肌电信号为高电平,则检测出所述可穿戴设备的佩戴状态为已佩戴;If the electromyographic signal is at a high level, it is detected that the wearing state of the wearable device is worn; 若所述肌电信号为低电平,则检测出所述可穿戴设备的佩戴状态为未佩戴。If the electromyographic signal is at a low level, it is detected that the wearing state of the wearable device is not worn. 12.一种可穿戴设备,其特征在于,包括:12. A wearable device, characterized in that, comprising: 第一获取模块,用于若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值;其中,所述佩戴状态包括已佩戴和未佩戴;The first acquisition module is configured to acquire a signal value generated based on the current contact state between the wearable device and the wearer if the wearing state of the wearable device is worn; wherein the wearing state includes worn and not worn; 第一提示模块,用于若根据所述信号值及信号门限值判断出所述当前接触状态不满足测量条件,发出第一提示消息;其中,所述信号门限值包括基于所述可穿戴设备与佩戴者的第一接触状态产生的信号门限值;所述第一提示消息用于提示调整佩戴所述可穿戴设备。The first prompting module is used to send a first prompting message if it is judged that the current contact state does not meet the measurement condition according to the signal value and the signal threshold value; wherein, the signal threshold value includes The signal threshold value generated by the first contact state between the device and the wearer; the first prompt message is used to prompt to adjust wearing of the wearable device. 13.如权利要求12所述的可穿戴设备,其特征在于,所述可穿戴设备还包括:13. The wearable device according to claim 12, wherein the wearable device further comprises: 检测模块,用于在所述第一获取模块用于获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值之前,检测所述可穿戴设备的佩戴状态。The detection module is configured to detect the wearing state of the wearable device before the first obtaining module is used to obtain the signal value generated based on the current contact state between the wearable device and the wearer. 14.如权利要求13所述的可穿戴设备,其特征在于,所述可穿戴设备还包括:14. The wearable device according to claim 13, wherein the wearable device further comprises: 第二获取模块,用于在所述检测模块检测所述可穿戴设备的佩戴状态之前,获取信号门限值;其中,所述信号门限值包括最大门限值及最小门限值。The second obtaining module is configured to obtain a signal threshold value before the detection module detects the wearing state of the wearable device; wherein, the signal threshold value includes a maximum threshold value and a minimum threshold value. 15.如权利要求14所述的可穿戴设备,其特征在于,所述信号值包括PPG信号值。15. The wearable device according to claim 14, wherein the signal value comprises a PPG signal value. 16.如权利要求15所述的可穿戴设备,其特征在于,所述第一获取模块包括:16. The wearable device according to claim 15, wherein the first acquiring module comprises: 提示单元,用于若可穿戴设备的佩戴状态为已佩戴,发出第二提示消息;其中,所述第二提示消息用于提示所述佩戴者输入指定动作;A prompt unit, configured to send a second prompt message if the wearing state of the wearable device is worn; wherein, the second prompt message is used to prompt the wearer to input a specified action; 第一获取单元,用于获取在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与所述佩戴者的当前接触状态产生的信号值。The first obtaining unit is configured to obtain a signal value generated based on a current contact state between the wearable device and the wearer within a preset time period after sending the second prompt message. 17.如权利要求16所述的可穿戴设备,其特征在于,所述第二获取模块包括:17. The wearable device according to claim 16, wherein the second acquiring module comprises: 第二获取单元,用于获取N次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值;其中,所述N为正整数;The second acquisition unit is configured to acquire N times the signal value generated based on the first contact state between the wearable device and the wearer within a preset time period after sending the second prompt message; wherein, the N is positive integer; 第三获取单元,用于分别获取每次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值中的最大值及最小值,确定N次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值中的N个最大值及N个最小值;The third acquiring unit is configured to respectively acquire the maximum value and the minimum value of the signal values generated based on the first contact state between the wearable device and the wearer each time within a preset time period after sending out the second prompt message value, determining N times of N maximum values and N minimum values among the signal values generated based on the first contact state between the wearable device and the wearer within a preset period of time after sending the second prompt message; 第一确定单元,用于根据所述N个最大值确定所述最大门限值,根据所述N个最小值确定所述最小门限值。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. 18.如权利要求17所述的可穿戴设备,其特征在于,所述第一提示模块包括:18. The wearable device according to claim 17, wherein the first prompt module comprises: 第五获取单元,用于获取所述信号值中的最大值及最小值;A fifth acquisition unit, configured to acquire the maximum and minimum values of the signal values; 计算单元,用于计算所述信号值中的最大值与所述最大门限值的第一方差,并计算所述信号值中的最小值与所述最小门限值的第二方差;a calculation unit, configured to calculate a first variance between the maximum value of the signal values and the maximum threshold value, and calculate a second variance between the minimum value of the signal values and the minimum threshold value; 第一比较单元,用于分别比较所述第一方差、所述第二方差与方差阈值的大小;a first comparison unit, configured to respectively compare the first variance, the second variance, and a variance threshold; 第一提示单元,用于若所述第一方差与所述第二方差中至少有一项不小于所述方差阈值,则判断出所述当前接触状态不满足测量条件,发出第一提示消息。A first prompting unit, configured to determine that the current contact state does not meet 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 prompt message. 19.如权利要求14所述的可穿戴设备,其特征在于,所述信号值包括电容值。19. The wearable device according to claim 14, wherein the signal value comprises a capacitance value. 20.如权利要求19所述的可穿戴设备,其特征在于,所述第二获取模块包括:20. The wearable device according to claim 19, wherein the second acquiring module comprises: 第六获取单元,用于获取N次基于所述可穿戴设备与佩戴者的预置接触状态产生的N个信号值;其中,所述N为正整数;The sixth acquisition unit is used to acquire N signal values generated based on the preset contact state between the wearable device and the wearer N times; wherein, the N is a positive integer; 第七获取单元,用于获取所述第六获取单元获取的N个信号值中的最大值及最小值;A seventh acquisition unit, configured to acquire the maximum and minimum values among the N signal values acquired by the sixth acquisition unit; 第八获取单元,用于根据所述第七获取单元获取的N个信号值中的最大值获取所述最大门限值,根据所述第七获取单元获取的N个信号值中的最小值获取所述最小门限值。An eighth obtaining unit, configured to obtain the maximum threshold value according to the maximum value among the N signal values obtained by the seventh obtaining unit, and obtain the maximum threshold value according to the minimum value among the N signal values obtained by the seventh obtaining unit the minimum threshold. 21.如权利要求20所述的可穿戴设备,其特征在于,所述第一提示模块包括:21. The wearable device according to claim 20, wherein the first prompt module comprises: 第二比较单元,用于比较所述信号值与所述最大门限值及所述最小门限值的大小;a second comparison unit, configured to compare the signal value with the maximum threshold value and the minimum threshold value; 第二提示单元,用于若所述信号值大于所述最大门限值或小于所述最小门限值,则判断出所述当前接触状态不满足测量条件,发出第一提示消息。The second prompting unit is configured to determine that the current contact state does not meet the measurement condition if the signal value is greater than the maximum threshold value or smaller than the minimum threshold value, and send a first prompt message. 22.如权利要求13所述的可穿戴设备,其特征在于,所述检测模块用于检测肌电信号的电平值;22. The wearable device according to claim 13, wherein the detection module is used to detect the level value of the electromyography signal; 若所述肌电信号为高电平,则检测出所述可穿戴设备的佩戴状态为已佩戴;If the electromyographic signal is at a high level, it is detected that the wearing state of the wearable device is worn; 若所述肌电信号为低电平,则检测出所述可穿戴设备的佩戴状态为未佩戴。If the electromyographic signal is at a low level, it is detected that the wearing state of the wearable device is not worn. 23.一种可穿戴设备,其特征在于,包括:23. A wearable device, comprising: 存储器,用于存储可穿戴设备检测指令;A memory for storing wearable device detection instructions; 处理器,用于调用所述存储器中存储的可穿戴设备检测指令并执行以下步骤:The processor is used to call the wearable device detection instruction stored in the memory and perform the following steps: 若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值;其中,所述佩戴状态包括已佩戴和未佩戴;If the wearing state of the wearable device is worn, obtain a signal value generated based on the current contact state between the wearable device and the wearer; wherein the wearing state includes worn and not worn; 若根据所述信号值及信号门限值判断出所述当前接触状态不满足测量条件,发出第一提示消息;其中,所述信号门限值包括基于所述可穿戴设备与佩戴者的第一接触状态产生的信号门限值;所述第一提示消息用于提示调整佩戴所述可穿戴设备。If it is judged that 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; wherein, the signal threshold value includes the wearable device and the wearer's first The threshold value of the signal generated by the contact state; the first prompt message is used to prompt to adjust and wear the wearable device. 24.如权利要求23所述的可穿戴设备,其特征在于,所述若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值之前,所述处理器还用于:检测所述可穿戴设备的佩戴状态。24. The wearable device according to claim 23, wherein if the wearing state of the wearable device is worn, before acquiring the signal value generated based on the current contact state between the wearable device and the wearer, The processor is also used for: detecting the wearing state of the wearable device. 25.如权利要求24所述的可穿戴设备,其特征在于,所述检测所述可穿戴设备的佩戴状态之前,所述处理器还用于:获取信号门限值;其中,所述信号门限值包括最大门限值及最小门限值。25. The wearable device according to claim 24, wherein before the detection of the wearing state of the wearable device, the processor is further configured to: obtain a signal threshold value; wherein, the signal gate Limits include a maximum threshold and a minimum threshold. 26.如权利要求25所述的可穿戴设备,其特征在于,所述信号值包括PPG信号值。26. The wearable device according to claim 25, wherein the signal value comprises a PPG signal value. 27.如权利要求26所述的可穿戴设备,其特征在于,所述处理器用于若可穿戴设备的佩戴状态为已佩戴,获取基于所述可穿戴设备与佩戴者的当前接触状态产生的信号值包括:27. The wearable device according to claim 26, wherein the processor is configured to acquire a signal generated based on the current contact state between the wearable device and the wearer if the wearing state of the wearable device is worn Values include: 若可穿戴设备的佩戴状态为已佩戴,发出第二提示消息;其中,所述第二提示消息用于提示输入指定动作;If the wearing state of the wearable device is worn, send a second prompt message; wherein, the second prompt message is used to prompt input of a specified action; 获取在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与所述佩戴者的当前接触状态产生的信号值。Acquiring a signal value generated based on the current contact state between the wearable device and the wearer within a preset time period after sending the second prompt message. 28.如权利要求27所述的可穿戴设备,其特征在于,所述处理器获取信号门限值包括:28. The wearable device according to claim 27, wherein said processor obtaining a signal threshold value comprises: 获取N次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值;其中,所述N为正整数;Obtain N times of signal values generated based on the first contact state between the wearable device and the wearer within a preset period of time after sending the second prompt message; wherein, the N is a positive integer; 分别获取每次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值中的最大值及最小值,确定N次在发出所述第二提示消息后的预设时长内,基于所述可穿戴设备与佩戴者的第一接触状态产生的信号值中的N个最大值及N个最小值;Respectively acquire the maximum value and the minimum value of the signal values generated based on the first contact state between the wearable device and the wearer each time within the preset time period after sending out the second prompt message, and determine N times when the second prompt message is sent out. Within the preset time period after the second prompt message, N maximum values and N minimum values among the signal values generated based on the first contact state between the wearable device and the wearer; 根据所述N个最大值确定所述最大门限值,根据所述N个最小值确定所述最小门限值。The maximum threshold value is determined according to the N maximum values, and the minimum threshold value is determined according to the N minimum values. 29.如权利要求28所述的可穿戴设备,其特征在于,所述处理器若根据所述信号值及信号门限值判断出所述当前接触状态不满足测量条件,发出第一提示消息包括:29. The wearable device according to claim 28, 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, sending a first prompt message includes : 获取所述信号值中的最大值及最小值;Obtaining the maximum and minimum values of the signal values; 计算所述信号值中的最大值与所述最大门限值的第一方差,计算所述信号值中的最小值与所述最小门限值的第二方差;calculating a first variance between the maximum value of the signal values and the maximum threshold value, and calculating a second variance between the minimum value of the signal values and the minimum threshold value; 分别比较所述第一方差、所述第二方差与方差阈值的大小;Comparing the first variance, the second variance, and a variance threshold respectively; 若所述第一方差与所述第二方差中至少有一项不小于所述方差阈值,则判断出所述当前接触状态不满足测量条件,发出第一提示消息。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 meet the measurement condition, and a first prompt message is sent. 30.如权利要求25所述的可穿戴设备,其特征在于,所述信号值包括电容值。30. The wearable device according to claim 25, wherein the signal value comprises a capacitance value. 31.如权利要求30所述的可穿戴设备,其特征在于,所述处理器获取信号门限值包括:31. The wearable device according to claim 30, wherein said processor acquiring a signal threshold value comprises: 获取N次基于所述可穿戴设备与佩戴者的第一接触状态产生的N个信号值;其中,所述N为正整数;Acquiring N signal values generated based on the first contact state between the wearable device and the wearer N times; wherein, the N is a positive integer; 获取所述N个信号值中的最大值及最小值;Obtaining the maximum and minimum values of the N signal values; 根据所述N个信号值中的最大值确定所述最大门限值,根据所述N个信号值中的最小值确定所述最小门限值。The maximum threshold value is determined according to the maximum value among the N signal values, and the minimum threshold value is determined according to the minimum value among the N signal values. 32.如权利要求31所述的可穿戴设备,其特征在于,所述处理器若根据所述信号值及信号门限值判断出所述当前接触状态不满足测量条件,发出第一提示消息包括:32. The wearable device according to claim 31, wherein if the processor determines that 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 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 meet the measurement condition, and a first prompt message is sent. 33.如权利要求24所述的可穿戴设备,其特征在于,所述处理器检测所述可穿戴设备的佩戴状态包括:33. The wearable device according to claim 24, wherein the detection by the processor of the wearing state of the wearable device comprises: 检测肌电信号的电平值;Detect the level value of the electromyographic signal; 若所述肌电信号为高电平,则检测出所述可穿戴设备的佩戴状态为已佩戴;If the electromyographic signal is at a high level, it is detected that the wearing state of the wearable device is worn; 若所述肌电信号为低电平,则检测出所述可穿戴设备的佩戴状态为未佩戴。If the electromyographic signal is at a low level, it is detected that the wearing state of the wearable device is not worn. 34.一种计算机可读的存储介质,用于存储一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述计算机程序在计算机上运行时,所述指令用于执行权利要求1-11任一项所述的可穿戴设备的检测方法。34. A computer-readable storage medium for storing one or more computer programs, said one or more computer programs comprising instructions for executing the rights when said computer programs are run on a computer The detection method of the wearable device described in any one of requirements 1-11. 35.一种计算机程序,所述计算机程序包括指令,当所述计算机程序在计算机上执行时,所述指令用于执行权利要求1-11任一项所述的可穿戴设备的检测方法。35. A computer program, the computer program comprising instructions, when the computer program is executed on a computer, the instructions are used to execute the detection method of the wearable device according to any one of claims 1-11.
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 true CN108697329A (en) 2018-10-23
CN108697329B 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)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109497984A (en) * 2018-12-27 2019-03-22 深圳还是威健康科技有限公司 A kind of processing method and relevant device of heart rate signal
CN109602411A (en) * 2018-12-04 2019-04-12 青岛真时科技有限公司 Heart rate detection method and smart wearable device
CN109873653A (en) * 2018-12-19 2019-06-11 安徽八爪智能科技有限公司 A kind of wearing detection system of intelligent wearable device
CN110123300A (en) * 2019-05-14 2019-08-16 安徽华米信息科技有限公司 A kind of heart rate detection method, device and wearable device
CN110132318A (en) * 2019-04-30 2019-08-16 努比亚技术有限公司 A kind of detection components and detection method of wrist machine wearing state
CN110691303A (en) * 2019-10-11 2020-01-14 歌尔股份有限公司 Wearable sound box and control method thereof
CN112244800A (en) * 2020-11-18 2021-01-22 深圳市沃特沃德股份有限公司 Smart watch control method, device, smart watch and storage medium
CN112336311A (en) * 2020-11-05 2021-02-09 歌尔科技有限公司 Wearable device wearing management method and device, wearable device and medium
WO2021135932A1 (en) * 2019-12-30 2021-07-08 华为技术有限公司 Data acquisition method, terminal device, and storage medium
CN113440118A (en) * 2020-03-27 2021-09-28 华为技术有限公司 Method and device for acquiring PPG signal, terminal equipment and storage medium
CN113545745A (en) * 2020-04-23 2021-10-26 华为技术有限公司 Usage monitoring method and medium for wearable electronic device and electronic device thereof
CN113827185A (en) * 2020-06-23 2021-12-24 华为技术有限公司 Method, device and wearable device for detecting tightness of wearable device
CN113892920A (en) * 2020-07-06 2022-01-07 华为技术有限公司 Wearable device wearing detection method and device and electronic device
CN113995403A (en) * 2020-07-28 2022-02-01 西安领跑网络传媒科技股份有限公司 Wearing state detection method, device, system, storage medium and electronic device
CN114881066A (en) * 2021-02-05 2022-08-09 华为技术有限公司 Wearing state identification method and device
CN115211852A (en) * 2022-08-31 2022-10-21 深圳叩鼎科技有限责任公司 Intelligent watch capable of accurately detecting blood oxygen
CN115486817A (en) * 2022-10-31 2022-12-20 西安Tcl软件开发有限公司 Health detection method and health detection device
CN115770045A (en) * 2022-11-18 2023-03-10 深圳市心流科技有限公司 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, device and system for detecting whether intelligent wearable equipment is worn
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 广东小天才科技有限公司 Wearing tightness detection method and device for wearable equipment
CN106445065A (en) * 2015-08-11 2017-02-22 三星电子株式会社 Method for controlling according to state and electronic device thereof
CN106580291A (en) * 2016-12-22 2017-04-26 广东乐源数字技术有限公司 Method for adjusting wearing of smart wearable equipment
CN106644215A (en) * 2016-10-18 2017-05-10 广东小天才科技有限公司 Method and device for determining wearing tightness of wearable equipment
CN106645978A (en) * 2016-10-28 2017-05-10 广东美的制冷设备有限公司 Wearing state detecting method and detecting device for intelligent wearable equipment

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, device and system for detecting whether intelligent wearable equipment is worn
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 广东小天才科技有限公司 Wearing tightness detection method and device for wearable equipment
CN106644215A (en) * 2016-10-18 2017-05-10 广东小天才科技有限公司 Method and device for determining wearing tightness of wearable equipment
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

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109602411A (en) * 2018-12-04 2019-04-12 青岛真时科技有限公司 Heart rate detection method and smart 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
CN110123300A (en) * 2019-05-14 2019-08-16 安徽华米信息科技有限公司 A kind of heart rate detection method, device and wearable device
CN110691303A (en) * 2019-10-11 2020-01-14 歌尔股份有限公司 Wearable sound box and control method thereof
WO2021135932A1 (en) * 2019-12-30 2021-07-08 华为技术有限公司 Data acquisition method, terminal device, and storage medium
CN113440118A (en) * 2020-03-27 2021-09-28 华为技术有限公司 Method and device for acquiring PPG signal, terminal equipment and storage medium
WO2021190377A1 (en) * 2020-03-27 2021-09-30 华为技术有限公司 Ppg signal obtaining method and apparatus, terminal device, and storage medium
CN113545745B (en) * 2020-04-23 2023-03-10 华为技术有限公司 Usage monitoring method of wearable electronic device, medium and electronic device thereof
CN113545745A (en) * 2020-04-23 2021-10-26 华为技术有限公司 Usage monitoring method and medium for wearable electronic device and electronic device thereof
WO2021213337A1 (en) * 2020-04-23 2021-10-28 华为技术有限公司 Usage monitoring method for wearable electronic device, medium, and electronic device
CN113827185A (en) * 2020-06-23 2021-12-24 华为技术有限公司 Method, device and wearable device for detecting tightness of wearable device
CN113892920A (en) * 2020-07-06 2022-01-07 华为技术有限公司 Wearable device wearing detection method and device and electronic device
WO2022007720A1 (en) * 2020-07-06 2022-01-13 华为技术有限公司 Wearing detection method for wearable device, apparatus, and electronic device
CN113995403A (en) * 2020-07-28 2022-02-01 西安领跑网络传媒科技股份有限公司 Wearing state detection method, device, system, storage medium and electronic device
CN112336311A (en) * 2020-11-05 2021-02-09 歌尔科技有限公司 Wearable device wearing management method and device, wearable device and medium
WO2022095776A1 (en) * 2020-11-05 2022-05-12 歌尔股份有限公司 Wearing management method and apparatus of wearable device, and wearable device and medium
CN112244800A (en) * 2020-11-18 2021-01-22 深圳市沃特沃德股份有限公司 Smart watch control method, device, smart watch and storage medium
CN112244800B (en) * 2020-11-18 2024-12-03 深圳市沃特沃德信息有限公司 Smart watch control method, device, smart watch and storage medium
CN114881066A (en) * 2021-02-05 2022-08-09 华为技术有限公司 Wearing state identification method and device
CN115211852A (en) * 2022-08-31 2022-10-21 深圳叩鼎科技有限责任公司 Intelligent watch capable of accurately detecting blood oxygen
CN115486817A (en) * 2022-10-31 2022-12-20 西安Tcl软件开发有限公司 Health detection method and health detection device
CN115770045A (en) * 2022-11-18 2023-03-10 深圳市心流科技有限公司 Control method of sign detection device based on user state and terminal equipment
CN115770045B (en) * 2022-11-18 2023-10-20 深圳市心流科技有限公司 Control method of sign detection device based on user state and terminal equipment

Also Published As

Publication number Publication date
CN108697329B (en) 2021-05-18

Similar Documents

Publication Publication Date Title
CN108697329B (en) Wearable device detection method and wearable device
US12324655B2 (en) Method for measuring biological signal and wearable electronic device for the same
US8519835B2 (en) Systems and methods for sensory feedback
EP2919434B1 (en) Method for determining data source
CN107997767B (en) Method for recognizing user activity and electronic device thereof
US10244948B2 (en) Statistical heart rate monitoring for estimating calorie expenditure
EP3851029A1 (en) Heart rate detection method and electronic device
CN111867449B (en) Method and terminal device for measuring human physiological parameters
EP3514739A1 (en) Activity information processing method and electronic device supporting the same
US20130245465A1 (en) Sleep depth determining apparatus and method
US20180078181A1 (en) Health wearable using smart energy harvesting
US20150119726A1 (en) Electronic apparatus and communication control method
US20220022814A1 (en) Method and Electronic Device for Detecting Heart Rate
EP3378395B1 (en) Method for providing information related to skin and electronic device using the same
US20200237295A1 (en) Method for calculating recovery index based on rem sleep stage and electronic device thereof
CN112168155B (en) Blood pressure detection method, wearable device and computer readable storage medium
US20150342479A1 (en) Data recovery for optical heart rate sensors
WO2022089101A1 (en) Pwv measurement method and apparatus based on portable electronic device
CN115191978B (en) Living body detection method, wearable device and computer readable storage medium
JP2015114761A (en) Information processing system, electronic device, method, and program
WO2019000742A1 (en) Detection method for wearable apparatus and wearable apparatus
CN108492879A (en) Terminal device, sport health assessment system and method
KR20180095358A (en) Electronic device and body composition analysing method
KR20210047041A (en) An electronic device for integrating and presenting physiological data in multiple devices and method thereof
CN112022081B (en) Method for detecting eyesight, terminal equipment and computer readable storage medium

Legal Events

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