Wearing status detection method, wearable device and storage medium
By combining signal updates from optical and capacitive sensors and adapting to the aging state of the capacitive sensor, the accuracy of wear status detection in wearable devices is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-17
- Publication Date
- 2026-03-06
AI Technical Summary
Existing methods for detecting the wearing status of wearable devices have low accuracy, mainly due to inaccurate changes in capacitance threshold caused by aging of capacitive sensors.
Optical sensors acquire light signals, and capacitive sensors acquire capacitance signals. The capacitance threshold of the capacitive sensors is updated to adapt to the aging state of the capacitive sensors. The optical sensors are then used to detect the wearing status.
It improves the accuracy of wearing status detection and solves the problem of inaccurate detection caused by the aging of capacitive sensors.
Smart Images

Figure CN115644831B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer software technology, and in particular to a method for detecting wearing status, a wearable device, and a storage medium. Background Technology
[0002] As people's living standards continue to improve, wearable devices are becoming increasingly popular among consumers. Wearable devices are not merely hardware devices; they achieve powerful functions through software support, data interaction, and cloud interaction, bringing significant changes to our lives and perceptions. Wearable devices offer a variety of intelligent functions, such as sleep monitoring, activity monitoring, and physiological parameter monitoring (e.g., heart rate, blood oxygenation).
[0003] Of course, the above functions require the user to wear the wearable device, but the wearing status detection methods in related technologies have the problem of low accuracy. Summary of the Invention
[0004] To overcome the problems existing in related technologies, this disclosure provides a method for detecting wearing status, a wearable device, and a storage medium.
[0005] According to a first aspect of the present disclosure, a method for detecting the wearing state of a wearable device is provided, the wearable device including a capacitive sensor and an optical sensor; the method includes:
[0006] The first optical signal measured by the optical sensor in the first time period and the first capacitance signal measured by the capacitance sensor in the first time period are acquired.
[0007] Based on the first capacitance signal and the first optical signal, the capacitance threshold of the capacitance sensor is updated to obtain the updated capacitance threshold.
[0008] The wearing status of the wearable device is determined based on the updated capacitance threshold and the second capacitance signal measured by the capacitance sensor in the second time period, wherein the second time period is after the first time period.
[0009] Optionally, updating the capacitance threshold of the capacitance sensor based on the first capacitance signal and the first optical signal to obtain the updated capacitance threshold includes:
[0010] The current capacitance value of the capacitance sensor to empty space is obtained using the first capacitance signal and the first optical signal.
[0011] Based on the current capacitance value of the capacitance sensor, the capacitance threshold of the capacitance sensor is updated to obtain the updated capacitance threshold.
[0012] Optionally, obtaining the current capacitance value of the capacitance sensor using the first capacitance signal and the first optical signal includes:
[0013] Based on the first optical signal, at least one time of air-to-space interaction is determined;
[0014] The current empty capacitance value is obtained based on the signal value corresponding to the first capacitor signal at at least one empty time.
[0015] Optionally, updating the capacitance threshold of the capacitance sensor based on its current capacitance value to obtain an updated capacitance threshold includes:
[0016] In response to the current empty capacitance value satisfying the threshold update condition, the capacitance threshold of the capacitance sensor is updated at least in part based on the current empty capacitance value of the capacitance sensor, to obtain the updated capacitance threshold.
[0017] Optionally, the threshold update condition includes: the current empty capacitance value is within a reference interval indicated by multiple historical empty capacitance values, the reference interval being determined by the mean and standard deviation of the multiple historical empty capacitance values.
[0018] Optionally, updating the capacitance threshold of the capacitance sensor based on its current capacitance value to obtain an updated capacitance threshold includes:
[0019] Using the current capacitance value and the reference capacitance value of the capacitance sensor, the capacitance threshold of the capacitance sensor is updated to obtain the updated capacitance threshold, wherein the reference capacitance value is the capacitance value detected by the capacitance sensor when the wearable device is worn.
[0020] Optionally, determining the wearing state of the wearable device based on the updated capacitance threshold and the second capacitance signal measured by the capacitance sensor in the second time period includes:
[0021] In response to the second capacitance signal satisfying the capacitance threshold corresponding to the capacitance wearing condition and the second light signal measured by the optical sensor during the second time period satisfying the optical wearing condition, it is determined that the wearable device is being worn.
[0022] Optionally, the wearable device further includes a motion sensor; the method further includes:
[0023] Acquire motion data collected by the motion sensor;
[0024] In response to the motion data satisfying preset activity conditions, at least one of the optical sensor and the capacitive sensor is activated.
[0025] Optionally, the method further includes:
[0026] In response to determining that the wearable device is being worn, the optical sensor is used to detect when the wearable device is not being worn.
[0027] Optionally, the step of using the optical sensor to detect when the wearable device is not being worn includes:
[0028] In response to the fact that the DC component of the third optical signal measured by the optical sensor in the wearing state detection mode meets the component anomalous condition, it is determined that the wearable device is not being worn; and / or
[0029] In response to the heart rate indicated by the fourth optical signal measured by the optical sensor in heart rate detection mode meeting the abnormal heart rate condition, it is determined that the wearable device is not being worn.
[0030] Optionally, the component abnormality condition includes at least one of the following:
[0031] The DC component is less than the first threshold during a time period of duration T1;
[0032] The DC component is greater than the first threshold and less than the second threshold during a time period of duration T2, where the second threshold is greater than the first threshold.
[0033] The DC component is greater than the third threshold for a duration of T2, and the third threshold is greater than the second threshold.
[0034] Optionally, the optical sensor operates at a first sampling rate and a first current in the wearing state detection mode; the optical sensor operates at a second sampling rate and a second current in the heart rate detection mode; wherein the first current is less than the second current, and the first sampling rate is less than the second sampling rate.
[0035] Optionally, the wearable device further includes a motion sensor; the method further includes:
[0036] In response to determining that the wearable device is being worn, at least in part based on motion data from the motion sensor not meeting preset activity conditions, it is determined that the wearable device is not being worn; and / or
[0037] In response to determining that the wearable device is being worn, the wearable device is determined to be not being worn, based at least in part on motion data from motion sensors indicating that the current posture of the wearable device is parallel or substantially parallel to the horizontal plane.
[0038] According to a second aspect of the present disclosure, a wearable device is provided, comprising:
[0039] Capacitive sensors and optical sensors;
[0040] processor;
[0041] Memory used to store processor-executable instructions;
[0042] Wherein, when the processor executes the executable instructions, it is used to implement the method as described in any one of the first aspects.
[0043] According to a third aspect of the present disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the method described in any of the first aspects.
[0044] The embodiments disclosed herein have the following beneficial effects:
[0045] This disclosure provides a method for detecting the wearing status of a wearable device, which includes a capacitive sensor and an optical sensor. The wearable device can acquire a first light signal measured by the optical sensor in a first time period and a first capacitance signal measured by the capacitive sensor in the same first time period. Using the first capacitance signal and the first light signal, the capacitance threshold of the capacitive sensor is updated. Then, in a second time period following the first time period, the wearing status of the wearable device can be determined based on the updated capacitance threshold and a second capacitance signal measured by the capacitive sensor in the second time period. This embodiment utilizes an optical sensor to update the capacitance threshold of the capacitive sensor, ensuring that the updated threshold adapts to the aging state of the capacitive sensor. Using the updated capacitance threshold for wearing status detection improves the accuracy of the detection.
[0046] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0047] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0048] Figure 1This is a schematic diagram of the structure of a communication system for a wearable device according to an exemplary embodiment of the present disclosure.
[0049] Figure 2 This is a schematic flowchart illustrating a method for detecting the wearing status of a wearable device according to an exemplary embodiment of the present disclosure.
[0050] Figure 3 This is a schematic diagram of the front and back of a watch according to an exemplary embodiment of the present disclosure.
[0051] Figure 4 This is a flowchart illustrating another method for detecting the wearing status of a wearable device according to an exemplary embodiment of the present disclosure.
[0052] Figure 5 This is a schematic diagram illustrating an optical signal correlation threshold setting according to an exemplary embodiment of the present disclosure.
[0053] Figure 6 This is a schematic diagram of the structure of a wearable device according to an exemplary embodiment of the present disclosure. Detailed Implementation
[0054] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0055] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The singular forms “a,” “the,” and “the” as used in this disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
[0056] It should be understood that although the terms first, second, third, etc., may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are used only to distinguish information of the same type from one another. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0057] In a typical wearability detection method, a capacitive sensor is installed in the wearable device. This sensor is continuously operational, and changes in the capacitance value collected by the sensor determine whether the user is wearing the device. Specifically, in wearability detection based on the capacitive sensor, the wearing status of the wearable device is determined by comparing the capacitance value detected by the sensor with a preset capacitance threshold. However, prolonged use can lead to wear, scratches, or dirt accumulation on the capacitive sensor. This aging process causes changes in the capacitance threshold, resulting in inaccurate wearability detection results.
[0058] To address the aforementioned problems in related technologies, this disclosure provides a method for detecting the wearing status of a wearable device, which includes a capacitive sensor and an optical sensor. The wearable device can acquire a first optical signal measured by the optical sensor in a first time period and a first capacitance signal measured by the capacitive sensor in the same first time period. Using the first capacitance signal and the first optical signal, the capacitance threshold of the capacitive sensor is updated. Then, in a second time period following the first time period, the wearing status of the wearable device can be determined based on the updated capacitance threshold and a second capacitance signal measured by the capacitive sensor in the second time period. This embodiment utilizes an optical sensor to update the capacitance threshold of the capacitive sensor, ensuring that the updated threshold adapts to the aging state of the capacitive sensor. Using the updated capacitance threshold for wearing status detection improves the accuracy of the detection.
[0059] In one exemplary embodiment, please refer to Figure 1 , Figure 1 A schematic diagram of a communication system for wearable devices is shown. The system includes a wearable device 102, a server 104, and an intermediate device 106.
[0060] Wearable device 102 is a computing device configured to be worn by a human user during operation. Wearable device 102 may be implemented as a watch, bracelet, bangle, brace, wristband, armband, legband, ring, headband, necklace, earphones, leg ring, or vest, or in the form of another wearable device. Wearable device 102 includes one or more sensors 108 for detecting physiological parameters indicative of the user of wearable device 102. Sensors 108 may include one or more of the following: photoplethysmography (PPG) sensors, electrocardiogram (ECG) sensors, electrodes, pulse pressure sensors, vascular characteristic sensors, temperature sensors, other sensors, or combinations thereof. Physiological parameters represent measurable physiological parameters related to one or more important systems of the user's body (e.g., cardiovascular system, respiratory system, autonomic nervous system, body temperature system, or another system). For example, physiological parameters may be the user's heart rate, heart rate variability, blood oxygen level, blood pressure, body temperature, or one or more of another physiological parameter. Sensor 108 can continuously or otherwise frequently and periodically collect physiological signal data of the user of wearable device 102.
[0061] The wearable device 102 also includes a processor 110 and a memory 111. The memory 111 stores applications or other executable instructions; the processor 110 is used to run the applications or other executable instructions to process physiological signal data generated based on physiological parameters collected by the sensor 108.
[0062] Server 104 is a computing device that runs server program 112 to process physiological signal data. Server 104 may include hardware servers (e.g., servers), software servers (e.g., web servers and / or virtual servers) and / or virtual servers.
[0063] Server program 112 is software used to detect one or more of the user's health status, activity status, sleep status, or combinations thereof using physiological signal data. For example, server program 112 can use physiological signal data to determine changes in the user's physiological state, and then detect one or more of the user's health status, activity status, sleep status, or combinations thereof based on the determined changes.
[0064] Server program 112 can access database 114 on server 104 to perform at least some of its functions. Database 114 is a database or other data storage used to store, manage, or otherwise provide data for delivering the functions of server program 112. For example, database 114 may store physiological signal data received by server 104, information generated or otherwise determined by the physiological signal data. For example, database 114 may be a relational database management system, an object database, an XML database, a configuration management database, a management information base, one or more flat files, other suitable non-transient storage mechanisms, or combinations thereof.
[0065] Intermediate device 106 is a device used to facilitate communication between wearable device 102 and server 104. Intermediate device 106 can be a computing device, such as a mobile device (e.g., a smartphone, tablet, laptop, or other mobile device) or another computer (e.g., a desktop computer or other non-mobile computer). Alternatively, intermediate device 106 can be or include network hardware, such as a router, switch, load balancer, another network device, or a combination thereof. As another alternative, intermediate device 106 can be another network connectivity device. For example, intermediate device 106 can be a network-connected power charger for wearable device 102.
[0066] For example, depending on a specific implementation of intermediate device 106, intermediate device 106 may run application 118. Application 118 configures intermediate device 106 to send or receive data to wearable device 102, and / or send or receive data to or from server 104. Additionally, application 118 may receive commands from intermediate device 106 in response to user actions on intermediate device 106. For example, if intermediate device 106 is a computing device with a touchscreen display, the user of intermediate device 106 may receive commands by touching a portion of the display corresponding to a user interface element in the application.
[0067] In some implementations, the client device is granted access to server program 112. For example, the client device can be a mobile device, such as a smartphone, tablet, or laptop. In another example, the client device can be a desktop computer or another non-mobile computer. The client device can run a client application to communicate with server program 112. For example, the client application can be a mobile application capable of accessing some or all of the functionality and / or data of server program 112. For example, the client device can communicate with server 104 via network 116. In some such implementations, the client device can be an intermediate device 106.
[0068] In some implementations, the intermediate device 106 receives data from the wearable device 102 using a short-range communication protocol. For example, the short-range communication protocol could be... Low-energy, infrared, Z-wave, ZigBee, other protocols, or combinations thereof. Intermediate device 106 transmits data received from wearable device 102 to server 104 via network 116. For example, network 116 can be a local area network (LAN), wide area network (WAN), machine-to-machine network, virtual private network (VPN), or another public or private network. Network 116 can use remote communication protocols. For example, remote communication protocols can be Ethernet, TCP, IP, power line communication, Wi-Fi, GPRS, GSM, CDMA, other protocols, or combinations thereof.
[0069] In some implementations, intermediate device 106 can be omitted. For example, wearable device 102 can be configured to communicate directly with server 104 via network 116. For example, direct communication between wearable device 102 and server 104 via network 116 may include using a remote, low-power system or another communication mechanism. In some implementations, both intermediate device 106 and server 104 can be omitted. For example, wearable device 102 can be configured to perform the functions described above regarding server 104. In such implementations, wearable device 102 can process and store data independently of other computing devices.
[0070] The wearing status detection method for a wearable device provided in this disclosure can be executed by the wearable device itself, or by an intermediate device or server. As an example, the wearable device can send the collected optical and capacitance signals to the intermediate device or server, so that the intermediate device or server can perform the capacitance threshold update process and the wear status detection process of the wearable device. Finally, the wear status detection result is returned to the wearable device, so that the wearable device can perform corresponding operations based on the wear status detection result (such as turning on the screen when the wear status is "worn" and turning off the screen when the wear status is "not worn").
[0071] As another example, the wear status detection method for wearable devices can be executed on two or more devices within the system, with each device performing a portion of the process. For instance, the wearable device can send the collected first optical signal and first capacitance signal to an intermediate device or server, which then performs a capacitance threshold update process. The intermediate device or server returns the updated capacitance threshold to the wearable device, which then performs the wear status detection process based on the updated capacitance threshold. Alternatively, the wearable device can update the capacitance threshold and send the collected optical signal, capacitance signal, and updated capacitance threshold to an intermediate device or server, which then performs the wear status detection process.
[0072] For ease of understanding, the following description uses a wearable device to perform a method for detecting the wearing status of the wearable device as an example.
[0073] Please see Figure 2 , Figure 2 A flowchart illustrating a method for detecting the wearing status of a wearable device is shown. The wearable device includes a capacitive sensor and an optical sensor; the method includes:
[0074] In step S101, the first optical signal measured by the optical sensor in the first time period and the first capacitance signal measured by the capacitance sensor in the first time period are acquired.
[0075] In step S102, the capacitance threshold of the capacitance sensor is updated based on the first capacitance signal and the first optical signal to obtain the updated capacitance threshold.
[0076] In step S103, the wearing state of the wearable device is determined based on the updated capacitance threshold and the second capacitance signal measured by the capacitance sensor in the second time period, wherein the second time period is after the first time period.
[0077] This embodiment updates the capacitance threshold of the capacitance sensor using measurement data from optical and capacitive sensors. This updated capacitance threshold is adapted to the current state of the capacitance sensor, and the updated capacitance threshold is used for wearing status detection, which helps to improve the accuracy of wearing status detection.
[0078] It is understood that this disclosure does not impose any restrictions on the type of light signal collected by the optical sensor; it can be infrared light, visible light, ultraviolet light, etc. The optical sensor is used to emit light signals to the outside world and collect the reflected light signals. This optical sensor can be a dedicated optical sensor for wear status detection, or it can be an optical sensor for measuring physiological information such as heart rate, thereby reducing the hardware cost of the device and saving device space.
[0079] To detect the wearing status of the wearable device, optical and capacitive sensors can be positioned in areas that come into contact with the user's skin when the wearable device is worn, for example, see [link to relevant documentation]. Figure 3 The image shows a watch with a display screen on the front, while the optical and capacitive sensors are located on the back of the watch.
[0080] In some embodiments, one of the factors determining the capacitance threshold is the capacitance value in the empty space, which is the capacitance value collected by the capacitance sensor when facing an unobstructed direction. However, over time, the capacitance sensor will gradually wear down, become scratched, or become contaminated, causing changes in its capacitance value in the empty space. This results in the inaccuracy of the originally determined capacitance threshold. Therefore, the capacitance threshold of the capacitance sensor can be updated based on its current capacitance value in the empty space, resulting in an updated capacitance threshold. Specifically, the current capacitance value in the empty space is determined using a first optical signal collected by an optical sensor and a first capacitance signal collected by the capacitance sensor. This allows the capacitance threshold to be updated using a current capacitance value that reflects the current state of the capacitance sensor. Using the updated capacitance threshold for wearing status detection improves the accuracy of wearing status detection.
[0081] In one possible implementation, at least one empty time can be determined based on the first optical signal, and then the current empty capacitance value can be obtained based on the signal value of the first capacitance signal corresponding to the at least one empty time. Then, based on the current empty capacitance value of the capacitance sensor, the capacitance threshold of the capacitance sensor can be updated to obtain the updated capacitance threshold.
[0082] For example, the wearable device stores an airborne light signal threshold, which can be used to determine whether the optical sensor is collecting light signals in a direction without obstructions. In practical applications, if the signal value of the first light signal at a certain moment or in a continuous time period is not greater than the airborne light signal threshold, it means that the optical sensor is collecting the first light signal in a direction without obstructions. Therefore, the moment when the first light signal is collected can be determined as the airborne moment. Furthermore, it can be determined that the first capacitance signal collected by the capacitance sensor at the airborne moment is also an airborne capacitance signal collected in a direction without obstructions.
[0083] In some embodiments, after obtaining the current capacitance value, the capacitance threshold can be directly updated using this current capacitance value. In other embodiments, to avoid inappropriate threshold updates, after obtaining the current capacitance value, it can be determined whether the current capacitance value meets the threshold update condition. If the threshold update condition is met, the current capacitance value is used to update the capacitance threshold. In this case, the capacitance threshold update process includes updating the capacitance threshold, and the updated capacitance threshold is the updated capacitance threshold. Otherwise, the capacitance threshold is not updated. In this case, the capacitance threshold update process includes not updating the capacitance threshold, and the updated capacitance threshold is the current capacitance threshold. For example, the wearable device pre-stores multiple historical capacitance values, and the wearable device determines whether the current capacitance value meets the threshold update condition based on these multiple historical capacitance values. For example, a reference interval can be determined using the mean and standard deviation of multiple historical capacitance values. This reference interval is used to determine whether the current capacitance value of the capacitance sensor is within the error allowable range. In one example, the historical capacitance values are those collected by the capacitance sensor in a past period when it was in an empty state.
[0084] To further improve update accuracy, after obtaining the current capacitance value, the wearable device can determine whether the current capacitance value falls within a reference range indicated by multiple historical capacitance values. If so, it indicates that the current capacitance value of the capacitance sensor is within a reasonable range and meets the threshold update condition. The wearable device then updates the capacitance threshold of the capacitance sensor at least partially based on the current capacitance value, obtaining the updated capacitance threshold. If not, the capacitance threshold of the capacitance sensor is not updated in this instance. This embodiment implements error verification of the current capacitance value of the capacitance sensor based on a reference range determined by multiple historical capacitance values, which helps improve the accuracy of the update results.
[0085] In one example, assuming there are multiple current capacitance values for the capacitive sensor, the wearable device can use one of the current capacitance values to update the capacitance threshold of the capacitive sensor; or, the wearable device can use the average of at least two current capacitance values to update the capacitance threshold of the capacitive sensor; or, the wearable device can use other statistical results of at least two current capacitance values to update the capacitance threshold of the capacitive sensor. This embodiment does not impose any restrictions on this.
[0086] In one example, assuming the wearable device caches 5 historical air-to-air capacitance values, the reference interval can be determined based on the mean and standard deviation of the 5 historical air-to-air capacitance values. Let the mean of the 5 historical air-to-air capacitance values be denoted as μ, the standard deviation as σ, and the reference interval as (μ-3σ, μ+3σ). Let the current air-to-air capacitance value of the capacitance sensor be denoted as cap_air_temp. Then, if μ-3σ < cap_air_temp < μ+3σ, it means that cap_air_temp satisfies the Raida criterion. The wearable device updates the capacitance threshold of the capacitance sensor based on the current air-to-air capacitance value.
[0087] For example, if the current capacitance value of the capacitance sensor meets the threshold update condition, the current capacitance value can be cached and at least one cached historical capacitance value can be deleted. This can be used to determine whether the capacitance value of the capacitance sensor collected next time meets the threshold update condition. The deleted historical capacitance value can optionally be the capacitance value with the longest cache time, which helps to avoid errors caused by using historical capacitance values that are collected a long time ago to determine the threshold update condition and improves the accuracy of the update result.
[0088] In an exemplary embodiment, one way to update the capacitance threshold of the capacitance sensor is as follows: The updated capacitance threshold is determined based on the current empty capacitance value and a reference capacitance value. The reference capacitance value can be determined based on the capacitance value detected by the capacitance sensor when the wearable device is worn. For example, the wearable device can store the capacitance value detected by the capacitance sensor when the wearable device is worn, as a reference capacitance value for subsequent updates to the capacitance threshold. For example, to improve the accuracy of the update result, the capacitance value detected by the capacitance sensor during the last or previous few times, or within a predetermined time period, when the wearable device was worn, can be stored as a reference capacitance value. Alternatively, multiple capacitance values detected by the wearable device when worn can be processed to obtain the reference capacitance value. After obtaining the current empty capacitance value, the wearable device can use the current empty capacitance value and the stored reference capacitance value to update the capacitance threshold of the capacitance sensor, obtaining the updated capacitance threshold. In one example, let the capacitance threshold be A, the current empty capacitance value be B, and the reference capacitance value be C, then the capacitance threshold A can be determined by the following formula:
[0089] For example, in response to the current empty capacitance value satisfying the threshold update condition, the wearable device updates the capacitance threshold of the capacitance sensor using the current empty capacitance value and the reference capacitance value of the capacitance sensor, obtaining an updated capacitance threshold. The threshold update condition includes: the current empty capacitance value is within a reference range indicated by multiple historical empty capacitance values; the reference capacitance value is the capacitance value detected by the capacitance sensor when the wearable device is worn. This embodiment updates the capacitance threshold while the current empty capacitance value is within the allowable error range, which helps improve the accuracy of the update result.
[0090] In some embodiments, for step S103, after updating the capacitance threshold, the wearable device can use the updated capacitance threshold and the second capacitance signal measured by the capacitance sensor in a second time period after the first time period to determine the wearing state of the wearable device. For example, if the capacitance value corresponding to the second capacitance signal is less than the capacitance threshold, it indicates that the wearable device is not being worn; if the capacitance value corresponding to the second capacitance signal is greater than or equal to the capacitance threshold, it indicates that the wearable device is being worn.
[0091] For example, before each wear detection of a wearable device, if the current empty capacitance value of the capacitive sensor is detected and the current empty capacitance value meets the threshold update condition, then the capacitance threshold of the capacitive sensor is updated based on the current empty capacitance value of the capacitive sensor, so that the capacitance threshold used for wear detection of the wearable device can adapt to the current aging state of the capacitive sensor, thereby improving the accuracy of wear detection.
[0092] In some embodiments, considering that wearing status detection is performed using only a capacitive sensor, the wearing status detection method based on the capacitive sensor suffers from misjudgment when the wearable device is placed on a material with a capacitance value close to that of the human body (such as metal), resulting in low accuracy of wearing status detection. This disclosure embodiment can utilize both optical and capacitive sensors for wearing status detection, thereby solving the misjudgment problem in the capacitive detection process and improving the accuracy of wearing status detection.
[0093] For example, if the second capacitance signal satisfies the capacitance wearing condition corresponding to the capacitance threshold, and the second optical signal measured by the optical sensor during the second time period satisfies the optical wearing condition, then it is determined that the wearable device is being worn. Conversely, if only the second capacitance signal satisfies the capacitance wearing condition corresponding to the capacitance threshold, or only the second optical signal satisfies the optical wearing condition, or neither is satisfied, then it can be determined that the wearable device is not being worn. This embodiment combines capacitance detection and optical detection, which helps to improve the accuracy of wearing status detection.
[0094] In one example, the optical wearing condition indicates a preset threshold range that the DC component of the optical signal needs to satisfy. If the DC component of the second optical signal is within the preset threshold range, then the second optical signal is determined to satisfy the optical wearing condition.
[0095] In some embodiments, the optical sensor can also be used to detect heart rate or other physiological parameters. The first and / or second optical signals detected by the optical sensor can be optical signals acquired in the wearing state detection mode. In different working modes, the optical sensor emits optical signals with at least one different parameter such as wavelength, frequency, and power. Alternatively, the first and / or second optical signals can also be optical signals acquired during the physiological parameter detection process. In this case, the optical sensor may not distinguish between different working modes. In response to motion data meeting preset activity conditions, the optical sensor acquires the optical signals detected by the optical sensor for wearing state detection. The embodiments disclosed herein are not limited to this.
[0096] In some embodiments, the wearable device consumes a significant amount of power if the optical and capacitive sensors are constantly in operation. The inventors discovered [this information], see [link / reference]. Figure 3 When a wearable device is not worn, it is typically placed with the display facing upwards, and the back of the device may be in contact with an object, meaning the optical and capacitive sensors are facing the obstruction. When the wearable device transitions from an unworn to a worn state, at some point, the optical and capacitive sensors will be facing away from an obstruction. During this transition, the user picks up the device and performs the wearing action, which involves movement. Motion data detected by motion sensors can then trigger the optical and / or capacitive sensors to detect the wearing status. These motion sensors include, but are not limited to, accelerometers, inertial measurement units, or gyroscopes.
[0097] When the wearable device is not being worn, the optical and capacitive sensors are in a switched-off, dormant, or other operating mode different from the wearing state detection mode. Motion data is continuously collected by the motion sensor, and the wearable device detects whether the motion data meets preset activity conditions. These preset activity conditions indicate that the wearable device is in an active (non-stationary) state, and can be specifically set according to the actual application scenario; this disclosure does not impose any limitations on this. As an example, the motion data includes acceleration data, and the preset activity condition indicates that the difference between the maximum and minimum values of the acceleration data within a preset time period is greater than a preset difference; as another example, the motion data includes angular velocity data, and the preset activity condition indicates that the activity angle of the wearable device determined based on the angular velocity data is greater than a preset angle threshold. In response to the motion data meeting the preset activity conditions, the wearable device activates at least one of the optical and capacitive sensors to detect the above wearing state, thereby helping to save power consumption of the wearable device.
[0098] As an example, in response to the motion data meeting preset activity conditions, the wearable device simultaneously activates both the optical and capacitive sensors to detect the wearing status, or switches its operating mode to detect the wearing status. Alternatively, the optical sensor can be activated first, and the capacitive sensor can be activated only after determining that the optical sensor's light signal meets specific conditions. Or, the capacitive sensor can be activated first, and the optical sensor can be activated only after the capacitive sensor detects a capacitance signal that meets specific conditions.
[0099] In one example, please refer to Figure 4 , Figure 4 This is a flowchart illustrating another method for detecting the wearing status of a wearable device according to an embodiment of this disclosure. The wearable device includes a capacitive sensor, an optical sensor, and a motion sensor. The method includes:
[0100] In step S201, motion data collected by the motion sensor is acquired.
[0101] In step S202, in response to the motion data satisfying preset activity conditions, the optical sensor and the capacitive sensor are activated.
[0102] In step S203, the first optical signal measured by the optical sensor in the first time period and the first capacitance signal measured by the capacitance sensor in the first time period are acquired.
[0103] In step S204, at least one empty time is determined based on the first optical signal; the current empty capacitance value is obtained based on the signal value of the at least one empty time included in the first capacitance signal; and the capacitance threshold of the capacitance sensor is updated based on the current empty capacitance value to obtain the updated capacitance threshold.
[0104] In step S205, in response to the second capacitance signal satisfying the capacitance wearing condition corresponding to the updated capacitance threshold and the second light signal measured by the optical sensor during the second time period satisfying the optical wearing condition, it is determined that the wearable device is being worn; wherein, the second time period is after the first time period.
[0105] The optical sensor and / or capacitive sensor may have the same operating parameters in S203 and S205, or at least one of the signal transmission frequency, power, and angle may be different. For example, the signal transmission power in S203 may be lower than the signal transmission power in S205, but the embodiments disclosed herein are not limited thereto.
[0106] In this embodiment, the optical sensor and the capacitive sensor are activated only when the motion data collected by the motion sensor meets preset activity conditions, which helps save power consumption of the wearable device. Then, the first light signal collected by the optical sensor is used to determine at least one empty-point moment, thereby obtaining the current empty-point capacitance value of the capacitive sensor at that moment. This updated capacitance threshold is then adapted to the state of the capacitive sensor, improving the accuracy of capacitance detection. Furthermore, the combined use of the optical and capacitive sensors for wearing status detection compensates for the misjudgment problem in capacitance detection alone, further improving the accuracy of wearing status detection.
[0107] Once it is determined that the wearable device is being worn, it can be detected whether it is not being worn. In some embodiments, both optical and capacitive sensors can be used together to detect this. In other embodiments, only optical sensors can be used. For example, if it is determined that the wearable device is being worn, the capacitive sensor can be turned off to reduce power consumption.
[0108] In some embodiments, when it is determined that the wearable device is in a worn state, considering the user's need to remove the wearable device, it is necessary to further detect the process of the wearable device changing from a worn state to a non-worn state in order to control the wearable device to perform related operations, such as controlling the wearable device to enter a power-saving mode when the wearable device is detected to change from a worn state to a non-worn state.
[0109] The following is an example illustrating how a wearable device can detect a state where it is not being worn while it is being worn:
[0110] In a first possible implementation, in response to determining that the wearable device is being worn, the wearable device can use the optical sensor to detect that the wearable device is not being worn.
[0111] In one exemplary embodiment, after determining that the wearable device is being worn, the wearable device controls an optical sensor to measure a third optical signal in a wearable state detection mode. Then, in response to the DC component of the third optical signal measured by the optical sensor in the wearable state detection mode satisfying a component anomalous condition, it is determined that the wearable device is not being worn.
[0112] The abnormal component conditions include at least one of the following: the DC component is less than a first threshold for a duration of T1; the DC component is greater than the first threshold and less than a second threshold for a duration of T2, wherein the second threshold is greater than the first threshold; the DC component is greater than a third threshold for a duration of T2, wherein the third threshold is greater than the second threshold. The specific values of T1 and T2 can be set according to the actual application scenario, and this embodiment does not impose any restrictions on them.
[0113] like Figure 5 The relationship between the empty light signal threshold, the first threshold, the second threshold, and the third threshold is shown. The second threshold is the lower limit of the preset threshold region indicated by optical wearing conditions, and the third threshold is the upper limit of the preset threshold region indicated by optical wearing conditions.
[0114] As an example, the first threshold can be determined based on the light signal collected under the following conditions: the optical sensor emits a light signal towards an unobstructed object and / or an object with a preset material; wherein the first threshold is less than the second threshold and greater than the aforementioned threshold for light signals into the air. For example, the light signal collected by the optical sensor when emitting a light signal towards an unobstructed object and the light signal collected by the optical sensor when emitting a light signal towards an object with a preset material (such as metal, sheets, plastic, glass, or wood) can be acquired in advance. Then, the first threshold can be determined based on the statistical values of the light signals acquired under the above two conditions, where the statistical values include, but are not limited to, the average value or a weighted summation value.
[0115] In another exemplary embodiment, after determining that the wearable device is being worn, the wearable device controls an optical sensor to measure a fourth light signal in heart rate detection mode. In response to the heart rate indicated by the fourth light signal measured by the optical sensor in heart rate detection mode meeting the abnormal heart rate condition, it is determined that the wearable device is not being worn.
[0116] It is understood that the abnormal heart rate conditions can be specifically set according to the actual application scenario, and this embodiment does not impose any restrictions on this. In one example, if the heart rate indicated by the fourth optical signal is greater than the heart rate threshold corresponding to the abnormal heart rate condition, it is determined that the wearable device is not being worn. In another example, the wearable device also includes a motion sensor. In response to the motion data collected by the motion sensor not meeting the preset activity conditions, and the heart rate indicated by the fourth optical signal measured by the optical sensor in heart rate detection mode being greater than the user's exercise heart rate, it is determined that the wearable device is not being worn. In this example, based on the actual physiological changes of the human body, the abnormal situation of low activity but high measured user heart rate is considered, and this abnormal situation is determined as the wearable device being in an unworn state.
[0117] In the wear status detection mode, the optical sensor operates with a first sampling rate and a first current; in the heart rate detection mode, the optical sensor operates with a second sampling rate and a second current; the first current is less than the second current, and the first sampling rate is less than the second sampling rate, thereby helping to reduce power consumption during the wear status detection process.
[0118] The two implementation methods described above for detecting when the wearable device is not being worn using optical sensors can be performed in parallel or one of them can be chosen. In the parallel implementation, considering that the optical sensor needs to collect the third and fourth optical signals at different sampling rates and current values respectively, the optical sensor can be set to collect the two optical signals in a time-division multiplexing manner at the millisecond level. For example, the optical sensor first collects the third optical signal at a first sampling rate and a first current, then after a preset millisecond, it collects the fourth optical signal at a second sampling rate and a second current, and then after another preset millisecond, it collects the third optical signal again at the first sampling rate and the first current, alternating in this manner. Since the difference at the millisecond level is negligible to the user, from a macroscopic perspective, the two implementation methods can be considered to be performed in parallel.
[0119] In another possible implementation, the wearable device also includes a motion sensor. In response to determining that the wearable device is being worn, the wearable device can move the motion sensor to detect when the wearable device is not being worn.
[0120] In one exemplary embodiment, after determining that the wearable device is being worn, the wearable device controls a motion sensor to collect motion data. If, at least in part, the motion data from the motion sensor does not meet preset activity conditions, it is determined that the wearable device is not being worn.
[0121] In one example, based on the actual physiological changes of the human body, and considering that the human body cannot maintain the same posture for a long time—even during sleep, the human body exhibits unconscious movements and cannot remain still for extended periods—the wearable device, after determining that it is in a wearing state, can control the motion sensor to continue collecting motion data. If it is determined that the motion data continuously collected by the motion sensor within a first duration does not meet the preset activity conditions, then the wearable device is determined to be in a non-wearing state. The first duration can be specifically set according to the actual application scenario; for example, the first duration should be at least greater than one hour. This embodiment, based on the actual physiological changes of the human body, considers the unreasonable situation of the human body remaining still for a long time and determines that the wearable device is in a non-wearing state in this case.
[0122] In another exemplary embodiment, after determining that the wearable device is being worn, the wearable device controls a motion sensor to collect motion data. If the motion data from the motion sensor indicates that the current posture of the wearable device is parallel or substantially parallel to the horizontal plane, the wearable device is determined to be not being worn.
[0123] In one example, based on the actual physiological changes of the human body, it is impossible for the human body to maintain the same posture for a long time. Therefore, based on the above principle, after determining that the wearable device is in a wearing state, the wearable device can control the motion sensor to continue collecting motion data. If the motion data continuously collected by the motion sensor within a second time period indicates that the current posture of the wearable device is parallel or nearly parallel to the horizontal plane (with a very small angle difference, such as less than 5°), it is determined that the wearable device is in a non-wearing state. The second time period can be specifically set according to the actual application scenario; for example, the second time period is at least greater than 1 hour. This embodiment, based on the actual physiological changes of the human body, considers the unreasonable situation where the wearable device remains parallel to the horizontal plane for a long time due to the human body remaining still, and determines this situation as the wearable device being in a non-wearing state.
[0124] In one example, the motion sensor includes an accelerometer. When the wearable device is placed flat, the plane formed by the first and second axes of the accelerometer is parallel to the horizontal plane, and the third axis is perpendicular to the horizontal plane. For example, the direction of the third axis is the same as or opposite to the direction of gravitational acceleration. After determining that the wearable device is being worn, the wearable device can control the motion sensor to continue collecting motion data. If the motion data continuously collected by the motion sensor within a second time period indicates that the third axis is parallel or substantially parallel to the horizontal plane, it is determined that the wearable device is not being worn.
[0125] The various technical features in the above embodiments can be combined arbitrarily, as long as there is no conflict or contradiction between the combinations of features. However, due to space limitations, they are not described one by one. Therefore, the arbitrary combination of various technical features in the above embodiments is also within the scope of this specification.
[0126] Corresponding to the embodiments of the aforementioned methods, this disclosure also provides embodiments of wearable devices and storage media.
[0127] Accordingly, this disclosure also provides a wearable device, including: a capacitive sensor and an optical sensor; a processor; and a memory for storing processor-executable instructions. The capacitive sensor, the optical sensor, and the memory are respectively connected to the processor.
[0128] Wherein, when the processor executes the executable instructions, it is used to:
[0129] The first optical signal measured by the optical sensor in the first time period and the first capacitance signal measured by the capacitance sensor in the first time period are acquired.
[0130] Based on the first capacitance signal and the first optical signal, the capacitance threshold of the capacitance sensor is updated to obtain the updated capacitance threshold.
[0131] The wearing state of the wearable device is determined based on the updated capacitance threshold and the second capacitance signal measured by the capacitance sensor in a second time period, wherein the second time period is after the first time period. In some embodiments, the processor is specifically configured to: obtain the current capacitance value of the capacitance sensor using the first capacitance signal and the first optical signal; and update the capacitance threshold of the capacitance sensor based on the current capacitance value of the capacitance sensor to obtain the updated capacitance threshold.
[0132] In some embodiments, the processor is specifically configured to: determine at least one air-to-space moment based on the first optical signal; and obtain the current air-to-space capacitance value based on the signal value of the at least one air-to-space moment included in the first capacitance signal.
[0133] In some embodiments, the processor is specifically configured to: in response to the current capacitance value satisfying a threshold update condition, update the capacitance threshold of the capacitance sensor at least in part based on the current capacitance value of the capacitance sensor, to obtain an updated capacitance threshold. The threshold update condition includes: the current capacitance value is within a reference interval indicated by a plurality of historical capacitance values, the reference interval being determined by the mean and standard deviation of the plurality of historical capacitance values.
[0134] In some embodiments, the processor is specifically configured to: update the capacitance threshold of the capacitance sensor using the current empty capacitance value and the reference capacitance value of the capacitance sensor to obtain an updated capacitance threshold, wherein the reference capacitance value is the capacitance value detected by the capacitance sensor when the wearable device is worn.
[0135] In some embodiments, the processor is specifically configured to: determine that the wearable device is being worn in response to the second capacitance signal satisfying the capacitance threshold corresponding to the capacitance wearing condition and the second light signal measured by the optical sensor during the second time period satisfying the optical wearing condition.
[0136] In some embodiments, the wearable device further includes a motion sensor; the processor is further configured to: acquire motion data collected by the motion sensor; and activate at least one of the optical sensor and the capacitive sensor in response to the motion data meeting preset activity conditions.
[0137] In some embodiments, the processor is further configured to: in response to determining that the wearable device is being worn, detect that the wearable device is not being worn using the optical sensor.
[0138] In some embodiments, the processor is specifically configured to: determine that the wearable device is not being worn in response to the DC component of a third optical signal measured by the optical sensor in a wear status detection mode satisfying a component abnormality condition; and / or determine that the wearable device is not being worn in response to the heart rate indicated by a fourth optical signal measured by the optical sensor in a heart rate detection mode satisfying a heart rate abnormality condition.
[0139] The abnormal component conditions include at least one of the following: the DC component is less than a first threshold for a duration of T1; the DC component is greater than the first threshold and less than a second threshold for a duration of T2, wherein the second threshold is greater than the first threshold; the DC component is greater than a third threshold for a duration of T2, wherein the third threshold is greater than the second threshold.
[0140] The optical sensor operates at a first sampling rate and a first current in the wear state detection mode; the optical sensor operates at a second sampling rate and a second current in the heart rate detection mode; wherein the first current is less than the second current, and the first sampling rate is less than the second sampling rate.
[0141] In some embodiments, the wearable device further includes a motion sensor; the processor is further configured to: in response to determining that the wearable device is being worn, determine that the wearable device is not being worn, based at least in part on motion data from the motion sensor indicating that the current posture of the wearable device is parallel or substantially parallel to the horizontal plane; and / or in response to determining that the wearable device is being worn, determine that the wearable device is not being worn, based at least in part on motion data from the motion sensor indicating that the current posture of the wearable device is parallel or substantially parallel to the horizontal plane.
[0142] Accordingly, this disclosure also provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the steps of any of the methods described above.
[0143] This disclosure can take the form of a computer program product implemented on one or more storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing program code. Computer-usable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to: phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.
[0144] like Figure 6 As shown, Figure 6 This is a structural diagram of a wearable device according to an exemplary embodiment of the present disclosure. The wearable device 300 may be a watch, bracelet, glasses, gloves, headwear (e.g., hat, helmet, virtual reality headset, augmented reality headset, head-mounted device (HMD), headband), pendant, armband, leg band, shoes, vest, etc.
[0145] Reference Figure 6 The wearable device 300 may include one or more of the following components: a processing component 302, a memory 304, a power supply component 306, a multimedia component 308, an audio component 310, an input / output (I / O) interface 312, a sensor component 314, and a communication component 316.
[0146] Processing component 302 typically controls the overall operation of wearable device 300, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 302 may include one or more processors 320 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 302 may include one or more modules to facilitate interaction between processing component 302 and other components. For example, processing component 302 may include a multimedia module to facilitate interaction between multimedia component 308 and processing component 302.
[0147] Memory 304 is configured to store various types of data to support the operation of wearable device 300. Examples of this data include instructions for any application or method operating on wearable device 300, contact data, phonebook data, messages, pictures, videos, etc. Memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0148] The power supply component 306 provides power to various components of the wearable device 300. The power supply component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the wearable device 300.
[0149] The multimedia component 308 includes a screen that provides an output interface between the wearable device 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 308 includes a front-facing camera and / or a rear-facing camera. When the wearable device 300 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0150] Audio component 310 is configured to output and / or input audio signals. For example, audio component 310 includes a microphone (MIC) configured to receive external audio signals when wearable device 300 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 304 or transmitted via communication component 316. In some embodiments, audio component 310 also includes a speaker for outputting audio signals.
[0151] I / O interface 312 provides an interface between processing component 302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0152] Sensor assembly 314 includes one or more sensors for providing state assessments of various aspects of wearable device 300. For example, sensor assembly 314 may detect the on / off state of wearable device 300, the relative positioning of components such as the display and keypad of wearable device 300, changes in position of wearable device 300 or one of its components, the presence or absence of user contact with wearable device 300, orientation or acceleration / deceleration of wearable device 300, and temperature changes of wearable device 300. Sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 314 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, capacitive sensor, optical sensor, or temperature sensor.
[0153] Communication component 316 is configured to facilitate wired or wireless communication between wearable device 300 and other devices. Wearable device 300 can access wireless networks based on communication standards, such as WiFi, 2G, 3G, or 4G, or combinations thereof. In one exemplary embodiment, communication component 316 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 316 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0154] In an exemplary embodiment, the wearable device 300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0155] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 304 including instructions, which can be executed by a processor 320 of the wearable device 300 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0156] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0157] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
[0158] The above description is merely a preferred embodiment of this disclosure and is not intended to limit this disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A method for detecting the wearing status of a wearable device, characterized in that, The wearable device comprises a capacitive sensor and an optical sensor; the method comprises: obtaining a first optical signal measured by the optical sensor in a first time period and a first capacitive signal measured by the capacitive sensor in the first time period; obtaining a current empty capacitance value of the capacitive sensor by using the first capacitive signal and the first optical signal; updating a capacitive threshold value of the capacitive sensor based on the current empty capacitance value of the capacitive sensor, to obtain an updated capacitive threshold value; determining a wearing state of the wearable device according to the updated capacitive threshold value and a second capacitive signal measured by the capacitive sensor in a second time period, wherein the second time period is after the first time period.
2. The method of claim 1, wherein, The method further comprises: determining at least one empty time according to the first optical signal; obtaining the current empty capacitance value according to a signal value of the first capacitive signal corresponding to the at least one empty time.
3. The method of claim 1, wherein, The method further comprises: updating the capacitive threshold value of the capacitive sensor based on the current empty capacitance value of the capacitive sensor, to obtain an updated capacitive threshold value, comprises:
4. The method of claim 3, wherein, updating the capacitive threshold value of the capacitive sensor based at least in part on the current empty capacitance value of the capacitive sensor, to obtain the updated capacitive threshold value, in response to the current empty capacitance value satisfying a threshold value update condition.
5. The method according to any one of claims 2 to 4, characterized in that, The threshold value update condition comprises that the current empty capacitance value is within a reference interval indicated by a plurality of historical empty capacitance values, and the reference interval is determined by a mean value and a standard deviation of the plurality of historical empty capacitance values. The method further comprises:
6. The method according to any one of claims 1 to 5, characterized in that, updating the capacitive threshold value of the capacitive sensor by using the current empty capacitance value and a reference capacitance value of the capacitive sensor, to obtain the updated capacitive threshold value, wherein the reference capacitance value is a capacitance value detected by the capacitive sensor when the wearable device is worn. The method further comprises:
7. The method according to any one of claims 1 to 6, characterized in that, determining that the wearable device is worn, in response to the second capacitive signal satisfying a capacitive wearing condition corresponding to the capacitive threshold value and a second optical signal measured by the optical sensor in the second time period satisfying an optical wearing condition. The wearable device further comprises a motion sensor; the method further comprises: obtaining motion data collected by the motion sensor; 8. The method according to any one of claims 1 to 7, characterized in that, starting at least one of the optical sensor and the capacitive sensor in response to the motion data satisfying a preset activity condition. The method further comprises: detecting that the wearable device is not worn by using the optical sensor, in response to determining that the wearing state of the wearable device is worn.
9. The method of claim 8, wherein, The detecting, by the optical sensor, that the wearable device is not worn, comprises: in response to a direct current component of a third optical signal measured by the optical sensor in a wearing state detection mode satisfying a component abnormality condition, determining that the wearable device is not worn; and / or in response to a heart rate indicated by a fourth optical signal measured by the optical sensor in a heart rate detection mode satisfying a heart rate abnormality condition, determining that the wearable device is not worn.
10. The method of claim 9, wherein, The component abnormality condition comprises at least one of: the direct current component is less than a first threshold value in a time period with a duration of T1; the direct current component is greater than the first threshold value and less than a second threshold value in a time period with a duration of T2, the second threshold value being greater than the first threshold value; the direct current component is greater than a third threshold value in a time period with a duration of T2, the third threshold value being greater than the second threshold value.
11. The method of claim 9, wherein, The optical sensor works at a first sampling rate and a first current in the wearing state detection mode; the optical sensor works at a second sampling rate and a second current in the heart rate detection mode; wherein the first current is less than the second current, and the first sampling rate is less than the second sampling rate.
12. The method according to any one of claims 1 to 11, characterized in that, The wearable device further comprises a motion sensor; the method further comprises: in response to determining that the wearing state of the wearable device is worn, determining that the wearable device is not worn based at least in part on motion data from the motion sensor not satisfying a preset activity condition; and / or in response to determining that the wearing state of the wearable device is worn, determining that the wearable device is not in a worn state based at least in part on motion data from the motion sensor indicating that a current posture of the wearable device is parallel or substantially parallel to a horizontal plane.
13. A wearable device, comprising: comprise: a capacitive sensor and an optical sensor; a processor; a memory for storing processor-executable instructions; wherein the processor, when executing the executable instructions, is configured to implement the method of any one of claims 1 to 12.
14. A computer readable storage medium having stored thereon a computer program, characterized in that, The program, when executed by the processor, implements the method of any one of claims 1 to 12.
Citation Information
Patent Citations
Calibration method, device and equipment of TWS earphone capacitive sensor and medium
CN114630228A
Method for determining wearing state of wearable device and wearable device
WO2018018415A1