State detection parameter adjustment method, device and wearable device
By adjusting the capacitance threshold in real time in the wearable device, the problem of wear status detection accuracy under the influence of ambient temperature is solved, and accurate wear status recognition under different temperature conditions is achieved.
Patent Information
- Application Number
- CN202111544173.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-16
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2041-12-16
AI Technical Summary
When wearable devices detect whether they are in a worn state, existing technologies have accuracy issues, especially misidentification caused by the influence of ambient temperature.
By setting a capacitance sensor in the wearable device, the ambient temperature is detected in real time and the capacitance threshold is adjusted when the temperature difference exceeds a preset threshold, so as to obtain a first capacitance value according to the current ambient temperature and determine whether the wearable device is in a wearable state.
The accuracy of wearing status detection of wearable devices in different temperature environments is improved, which is suitable for scenarios with high and low temperatures and enhances the reliability of status detection.
Smart Images

Figure CN116266763B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wearable devices, and more specifically, to a method and apparatus for adjusting state detection parameters, and a wearable device. Background Art
[0002] Wearable devices can be understood as portable devices that are worn directly on the user's body or integrated into clothing or accessories. Some functions of wearable devices require the wearable device to be activated when it is worn by the user. However, the methods used by these wearable devices to detect whether the wearable device is being worn by the user still have accuracy issues. Summary of the Invention
[0003] In view of the above problems, the present application proposes a state detection parameter adjustment method, device and wearable device to improve the above problems.
[0004] In a first aspect, the present application provides a state detection parameter adjustment method, which is applied to a wearable device provided with a capacitance sensor, the method comprising: if the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold, obtaining a first capacitance value through the capacitance sensor; based on the current ambient temperature value, the specified temperature value and the first capacitance value, obtaining a first capacitance threshold, wherein the first capacitance threshold is greater than the first capacitance value, and the difference between the first capacitance value and the first capacitance value is less than a specified capacitance change value, the specified capacitance change value is the difference between the capacitance value obtained by the capacitance sensor when the wearable device is in a worn state and the capacitance value obtained by the capacitance sensor when it is in a not-worn state; wherein, when the ambient temperature is the current ambient temperature value, if the capacitance value obtained by the capacitance sensor is greater than the first capacitance threshold, it is determined that the wearable device is in a worn state.
[0005] In the second aspect, the present application provides a state detection parameter adjustment device, which runs on a wearable device provided with a capacitive sensor, and the device includes: a detection trigger unit, which is used to obtain a first capacitance value through the capacitive sensor if the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold; a parameter acquisition unit, which is used to obtain a first capacitance threshold based on the current ambient temperature value, the specified temperature value and the first capacitance value, wherein the first capacitance threshold is greater than the first capacitance value, and the difference with the first capacitance value is less than a specified capacitance change value, and the specified capacitance change value is the difference between the capacitance value obtained by the capacitive sensor when the wearable device is in a worn state and the capacitance value obtained by the capacitive sensor when it is in a not-worn state; wherein, when the ambient temperature is the current ambient temperature value, if the capacitance value obtained by the capacitive sensor is greater than the first capacitance threshold, it is determined that the wearable device is in a worn state.
[0006] In a third aspect, the present application provides a headset comprising multiple microphones, one or more processors, and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above-mentioned method.
[0007] In a fourth aspect, the present application provides a computer-readable storage medium storing a program code executable by a processor, wherein the computer-readable storage medium includes stored program code, wherein the above method is executed when the program code is run.
[0008] The present application provides a state detection parameter adjustment method, apparatus, and wearable device. In the case where the wearable device is provided with a capacitive sensor, if the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold, a first capacitance value is obtained through the capacitive sensor. Then, based on the comparison result of the current ambient temperature value and the specified temperature value and the first capacitance value, a first capacitance threshold value greater than the first capacitance value and having a difference from the first capacitance value less than a specified capacitance change value is obtained. Thus, through the above method, when the temperature difference between the current ambient temperature value and the specified temperature value is large (greater than the preset temperature threshold), the capacitance threshold used to determine whether the wearable device is in a worn state can be updated based on the first capacitance value currently obtained in real time through the capacitive sensor, thereby improving the impact of temperature on the wear state detection, thereby improving the accuracy of detecting whether the wearable device is in a user-worn state. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0010] Figure 1 A flow chart of a method for adjusting state detection parameters proposed in an embodiment of the present application is shown;
[0011] Figure 2 A schematic diagram showing a wearable device in a worn state according to an embodiment of the present application is shown;
[0012] Figure 3 A schematic diagram showing prompt information in an embodiment of the present application is shown;
[0013] Figure 4 A schematic diagram showing another embodiment of the present invention showing prompt information;
[0014] Figure 5A flow chart of a method for adjusting state detection parameters proposed in another embodiment of the present application is shown;
[0015] Figure 6 A flow chart of a method for adjusting state detection parameters proposed in another embodiment of the present application is shown;
[0016] Figure 7 A schematic diagram showing a wearable device in an unworn state according to an embodiment of the present application is shown;
[0017] Figure 8 A structural block diagram of a device for triggering prompt information proposed in an embodiment of the present application is shown;
[0018] Figure 9 A structural block diagram of an electronic device for executing a state detection parameter adjustment method according to an embodiment of the present application is shown;
[0019] Figure 10 It is a storage unit for storing or carrying program codes for implementing the state detection parameter adjustment method according to an embodiment of the present application. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0021] Wearable devices can be understood as portable devices that are worn directly on the user's body or integrated into the user's clothes or accessories. For example, smart watches, smart bracelets, AR (Augmented Reality) glasses, and VR (Virtual Reality) glasses. For some wearable devices, it is possible to detect whether the wearable device is in a worn state, and then determine whether the wearable device is in a worn state or in a non-worn state, so that some corresponding functions can be triggered when the wearable device is detected to be in a worn state. For example, a smart watch can start heart rate detection when it detects that it is in a worn state, and correspondingly, it can end heart rate detection when it detects that it is not worn.
[0022] However, the inventors found in their research on wearable devices that the methods used by relevant wearable devices to detect whether they are in a worn state still have accuracy issues. In one method, the wearable device can detect whether it is in a worn state by detecting changes in the capacitance value collected by the capacitance sensor. For example, in one method, the capacitance value obtained by the capacitance sensor set by the wearable device can be set to C SENSOR Among them, C SENSOR =C ENV +C USER , where C ENV is the initial capacitance value sensed by the system (i.e., the capacitance value collected by the capacitance sensor when the wearable device is not actually worn), C USER The capacitance value collected by the capacitive sensor increases when a conductive object (e.g., the part of the human body wearing the wearable device) approaches (e.g., the wearable device is in the wear state). Therefore, when a conductive object (e.g., the part of the human body wearing the wearable device) approaches the wearable device, C SENSOR Increases, and when it is greater than the set capacitance threshold, the wearable device is determined to be in the wearing state. However, the inventors found that C ENV It will be affected by the ambient temperature of the current environment. Therefore, if the same capacitance threshold is used in different temperature environments, it will cause incorrect recognition of whether it is in the wearing state.
[0023] Therefore, the inventors have proposed a state detection parameter adjustment method, device, and wearable device in this application. When the wearable device is provided with a capacitive sensor, if the difference between the current ambient temperature value and the specified temperature value is greater than the preset temperature threshold, a first capacitance value is obtained through the capacitive sensor, and then based on the comparison result of the current ambient temperature value and the specified temperature value and the first capacitance value, a first capacitance threshold value greater than the first capacitance value and having a difference with the first capacitance value less than the specified capacitance change value is obtained. Thus, through the above method, when the temperature difference between the current ambient temperature value and the specified temperature value is large (greater than the preset temperature threshold), the capacitance threshold used to determine whether the wearable device is in the wearing state can be updated based on the first capacitance value currently obtained in real time through the capacitive sensor, so as to improve the influence of temperature on the detection of the wearing state, thereby improving the accuracy of detecting whether the wearable device is in the user's wearing state.
[0024] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0025] See also Figure 1 The present application provides a method for adjusting state detection parameters, which is applied to a wearable device provided with a capacitive sensor. The method includes:
[0026] S110: If the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold, a first capacitance value is obtained through the capacitance sensor.
[0027] Among them, the state detection parameter adjustment method provided in the embodiment of the present application is mainly to reduce the impact of temperature on the detection of whether it is in the worn state, so the wearable device can detect the ambient temperature value in real time and compare the acquired current ambient temperature value with the specified temperature value. Among them, in the embodiment of the present application, the specified temperature value can be understood as the temperature value used for temperature comparison to determine whether parameter adjustment is required. As a way, the specified temperature value is the ambient temperature of the wearable device when it is tested at the factory and is not worn.
[0028] It should be noted that in the embodiment of the present application, the state of the wearable device can be divided into a wearing state and a non-wearing state. The wearable device in the wearing state indicates that the wearable device is worn on a certain part of the user's body. The wearable device in the non-wearing state indicates that the wearable device is not worn on a part of the user's body. The body part can be determined according to the function of the wearable device. For example, Figure 2 As shown, devices such as smart bracelets and smart watches are worn on the user's arms when in use. Devices such as AR glasses and VR glasses are worn on the user's eyes.
[0029] In this embodiment of the present application, the wearable device detects whether it is in a worn state by detecting changes in the capacitance value collected by its capacitive sensor. Correspondingly, in this embodiment of the present application, the first capacitance value obtained represents the capacitance value collected by the capacitive sensor of the wearable device when the wearable device is in the current temperature environment and is not worn.
[0030] Furthermore, in the embodiment of the present application, the preset temperature threshold can be pre-configured by the developer and stored in the wearable device. Furthermore, the wearable device can also obtain the preset temperature threshold from a designated server through the network when it is connected to the network, and store the preset temperature threshold obtained from the network locally.
[0031] In an embodiment of the present application, the wearable device can detect the ambient temperature in real time after being turned on to obtain the current ambient temperature value in real time, or it can start detecting the ambient temperature in real time to obtain the current ambient temperature value in real time when it detects that the status parameter adjustment function of the wearable device is activated. The status parameter adjustment function can be activated or deactivated by the user operating the wearable device itself, or by the user operating an electronic device bound to the wearable device. For example, after the user binds his or her smartphone to the wearable device, the user can turn on or off the status parameter adjustment function of the wearable device through the configuration interface of the smartphone.
[0032] Furthermore, when the wearable device obtains that the difference between the current ambient temperature value and the specified temperature value is greater than the preset temperature threshold, the first capacitance value can be directly obtained through the capacitive sensor. It can also be determined whether to obtain the first capacitance value through the capacitive sensor based on the user's instructions. As a way, if the difference between the current ambient temperature value and the specified temperature value is greater than the preset temperature threshold, the first capacitance value is obtained through the capacitive sensor, including: if the difference between the current ambient temperature value and the specified temperature value is greater than the preset temperature threshold, a prompt message is issued to prompt for parameter update; if an instruction to update the parameters is received, the first capacitance value is obtained through the capacitive sensor.
[0033] Among them, in the embodiment of the present application, there can be multiple ways to trigger the prompt information.
[0034] As a way, the wearable device can trigger the prompt information by itself. Optionally, when the wearable device detects that the difference between the current ambient temperature value and the specified temperature value is greater than the preset temperature threshold, the wearable device can display a prompt information with the content "The wearable status detection needs to be recalibrated" on the display screen of the wearable device. Furthermore, a confirmation control and a cancel control can be displayed at the same time. If an operation acting on the confirmation control is detected, the wearable device can determine that an instruction to update the parameters has been received. If an operation acting on the cancel control is detected, the wearable device will cancel the display of the prompt information, the confirmation control and the cancel control. For example, Figure 3 As shown, taking smart watches as an example, Figure 3 The interface 10 shown in the figure displays a prompt message that reads "need to recalibrate the wearing status detection". Figure 3 Use the OK and Cancel controls displayed to select whether to adjust the status parameters.
[0035] As another way, the electronic device bound to the wearable device can trigger the prompt information. Optionally, the wearable device can send an instruction to display the prompt information to the bound electronic device when it detects that the difference between the current ambient temperature value and the specified temperature value is greater than the preset temperature threshold. After receiving the instruction, the electronic device can display the prompt information in response to the instruction. For example, a prompt information with the content "Recalibration of the wearing status detection is required" can be displayed. For example, Figure 4 As shown, taking the wearable device as a smart watch and the electronic device bound to the wearable device as a smartphone as an example, when the smart watch determines that it needs to trigger the smartphone to display a prompt message, the smart watch can send a command to the smartphone to display the prompt information through wireless communication, and correspondingly, the smartphone can receive the command and display the prompt information. Figure 4 The interface 11 shown in the figure displays a prompt message that reads "need to recalibrate the wearing status detection". Figure 4 Use the OK and Cancel controls displayed to select whether to adjust the status parameters.
[0036] In addition, in an embodiment of the present application, the wearable device detects whether it is in a worn state by the change in the capacitance value collected by the capacitance sensor provided therewith. The change refers to the capacitance value collected by the capacitance sensor when the wearable device is in the worn state, which is higher than the capacitance value collected by the capacitance sensor when the wearable device is not worn. In other words, the reference for the capacitance change is the capacitance value collected by the capacitance sensor when the wearable device is not worn. Then, in order to further determine that the reference for the capacitance change can be accurately collected, as a method, if the difference between the current ambient temperature value and the specified temperature value is greater than the preset temperature threshold, the first capacitance value is obtained by the capacitance sensor, including: if the wearable device is in the not worn state, and the difference between the current ambient temperature value and the specified temperature value is greater than the preset temperature threshold, the first capacitance value is obtained by the capacitance sensor.
[0037] It should be noted that although the first capacitance value obtained by the wearable device after detecting that the difference between the current ambient temperature value and the specified temperature value is greater than the preset temperature threshold represents the capacitance value collected by the capacitance sensor of the wearable device when the wearable device is not worn in the current temperature environment, in some cases, the wearable device detects that the difference between the current ambient temperature value and the specified temperature value is greater than the preset temperature threshold while the user is wearing the wearable device. As a result, the wearable device may start to obtain the first capacitance value before the user has time to take off the wearable device, which may cause the obtained first capacitance value to be inaccurate.
[0038] In this way, the wearable device can first determine whether the wearable device is in a worn state through the current capacitance threshold (the capacitance threshold that has not been adjusted). If the wearable device is detected to be in an unworn state through the current capacitance threshold, it can trigger the acquisition of the first capacitance value through the capacitance sensor.
[0039] It should be noted that, as mentioned above, if the difference between the current ambient temperature value and the specified temperature value is greater than the preset temperature threshold, if the current capacitance threshold (the capacitance threshold that has not been adjusted) is still used to determine whether the wearable device is in the worn state, there may be a possibility of false detection. For example, if the capacitance value obtained by the capacitance sensor of the wearable device is set to C SENSOR , where C SENSOR =C ENV +C USER When the current ambient temperature is lower than the specified temperature and the wearable device is not worn, the capacitance value C collected by the capacitive sensor ENV , will be lower than the capacitance value C collected by the capacitive sensor when the ambient temperature is the specified temperature value and the wearable device is not worn. ENV , which will cause C to be generated even if a conductive object is close to the wearable device (for example, a wearable device worn by the user). USER , which may also cause the C obtained by the capacitive sensor to SENSOR Still below the capacitance threshold.
[0040] Then, when it is detected that the temperature difference is greater than the preset temperature threshold, the wearable device can also simultaneously combine other conditions to determine whether it is in the non-worn state.
[0041] Optionally, the wearable device can further determine the state of the wearable device based on posture conditions. For example, the wearable device can determine that the wearable device is in a non-worn state after detecting that the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold, and that the capacitance value collected by the capacitive sensor is greater than the current capacitance threshold, and the wearable device maintains a certain posture for a specified period of time. It should be noted that if the wearable device moves with the user's shaking when worn on the user's body, it will not maintain the same posture for a long time.
[0042] The specified time length can be pre-configured by the developer, configured by the wearable device user based on their own habits, or automatically updated by the wearable device based on current circumstances. For example, in the user-configured mode, the user can configure the specified time length to 5 minutes, 10 minutes, or 20 minutes. In the wearable device automatically updating the specified time length based on current circumstances, the wearable device can update the specified time length based on the current time period. Optionally, the specified time length for the user's active time period can be configured as t1, and the specified time length for the rest time period can be configured as t2, where t2 is greater than t1. The active time period indicates that the user is likely to move around, or is unlikely to remain stationary. Conversely, the rest time period indicates that the user is likely to remain in the same place. For example, the specified time length can be configured to 5 minutes during the current time period from 7:00 AM to 10:00 PM (active time period), and to 10 minutes during the current time period from 10:00 PM to 7:00 AM (rest time period).
[0043] Optionally, the wearable device can further determine the state of the wearable device in combination with wireless network conditions. For example, the wireless network condition can be the network signal strength between the wearable device and the bound electronic device. In this way, the wearable device can determine that the wearable device is in the non-worn state after detecting that the difference between the current ambient temperature value and the specified temperature value is greater than the preset temperature threshold, and that the capacitance value collected by the capacitive sensor is greater than the current capacitance threshold, and that the network signal strength between the wearable device and the bound electronic device has been fluctuating within a specified strength range for a specified period of time.
[0044] S120: Obtain a first capacitance threshold based on the current ambient temperature value, the designated temperature value, and the first capacitance value.
[0045] Optionally, the determined first capacitance threshold is greater than the first capacitance value, and the difference between the first capacitance value and the first capacitance value is less than a specified capacitance change value, where the specified capacitance change value is the difference between the capacitance value obtained by the capacitance sensor when the wearable device is in a worn state and the capacitance value obtained by the capacitance sensor when the wearable device is not worn. If, when the ambient temperature is the current ambient temperature value, the capacitance value obtained by the capacitance sensor is greater than the first capacitance threshold, it is determined that the wearable device is in a worn state.
[0046] It should be noted that, as can be seen from the above introduction, the capacitance value collected by the capacitance sensor may include an initial part (for example, C ENV ) and additions (e.g., C USER). If the current ambient temperature value is lower than the ambient temperature value when the current capacitance threshold is set, the initial part of the capacitance value collected by the corresponding capacitance sensor will be reduced accordingly, and thus even if the increase is generated because the user wears the wearable device, the capacitance value collected by the capacitance sensor is still lower than the current capacitance threshold. Correspondingly, if the current ambient temperature value is higher than the ambient temperature value when the current capacitance threshold is set, the initial part of the capacitance value collected by the corresponding capacitance sensor will be increased accordingly, and thus even if the user has not yet worn the wearable device, the capacitance value collected by the capacitance sensor is still higher than the current capacitance threshold. Then, in the process of setting the capacitance threshold, it is necessary to avoid the sound of the above two situations, and then the adjusted capacitance threshold (first capacitance threshold) can be made greater than the capacitance value (first capacitance value) collected by the capacitance sensor when the wearable device is not worn, and smaller than the capacitance value collected by the capacitance sensor after the user wears the wearable device, so that in the current environment, it is possible to accurately detect whether the wearable device is in the worn state.
[0047] As a method, in an embodiment of the present application, a corresponding relationship between the temperature change amplitude and the adjustment amplitude of the capacitance threshold can be established to achieve the re-determination of the capacitance threshold at the current ambient temperature. The temperature change amplitude can be the change amplitude of the current temperature value compared to the specified temperature value. Moreover, when the current temperature value is higher than the specified temperature value, the capacitance threshold is increased to obtain the first capacitance threshold. When the current temperature value is lower than the specified temperature value, the capacitance threshold is decreased to obtain the first capacitance threshold.
[0048] S130: When the ambient temperature is the current ambient temperature value, if the capacitance value obtained by the capacitance sensor is greater than the first capacitance threshold, it is determined that the wearable device is in the wearable state.
[0049] This embodiment provides a state detection parameter adjustment method. In the case where a wearable device is provided with a capacitive sensor, if the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold, a first capacitance value is obtained through the capacitive sensor. Then, based on the comparison result of the current ambient temperature value and the specified temperature value and the first capacitance value, a first capacitance value greater than the first capacitance value and a difference from the first capacitance value less than a specified capacitance change value is obtained. Thus, through the above method, when the temperature difference between the current ambient temperature value and the specified temperature value is large (greater than the preset temperature threshold), the capacitance threshold used to determine whether the wearable device is in a worn state can be updated based on the first capacitance value currently obtained in real time through the capacitive sensor, so as to improve the impact of temperature on the detection of the worn state, thereby improving the accuracy of detecting whether the wearable device is in a user-worn state.
[0050] See also Figure 5 The present application provides a method for adjusting state detection parameters, which is applied to a wearable device provided with a capacitive sensor. The method includes:
[0051] S210: If the difference between the acquired current ambient temperature value and the designated temperature value is greater than a preset temperature threshold, a first capacitance value is acquired through the capacitance sensor.
[0052] S220: Based on the comparison result between the current ambient temperature value and the specified temperature value and the first capacitance value, obtain a deviation value for adjusting a second capacitance threshold, where the second capacitance threshold is a threshold for detecting whether the wearable device is in a worn state, determined by the capacitance value obtained by the capacitance sensor when the ambient temperature is the specified temperature value.
[0053] As a method, the deviation value for adjusting the second capacitance threshold may still be determined by establishing a corresponding relationship between the temperature change amplitude and the adjustment amplitude of the capacitance threshold.
[0054] S230: Obtain a first capacitance threshold based on the second capacitance threshold and the deviation value.
[0055] The first capacitance threshold is greater than the first capacitance value, and the difference between the first capacitance value and the first capacitance value is less than a specified capacitance change value, where the specified capacitance change value is the difference between a capacitance value obtained by the capacitance sensor when the wearable device is in a worn state and a capacitance value obtained by the capacitance sensor when the wearable device is not worn.
[0056] Among them, when the ambient temperature is the current ambient temperature value, if the capacitance value obtained by the capacitance sensor is greater than the first capacitance threshold, it is determined that the wearable device is in the worn state.
[0057] As one way, the first capacitance threshold is obtained based on the second capacitance threshold and the deviation value, including: if the size comparison result indicates that the current ambient temperature value is greater than the specified temperature value, the second capacitance threshold is increased by the deviation value to obtain the first capacitance threshold; if the size comparison result indicates that the current ambient temperature value is less than the specified temperature value, the second capacitance threshold is reduced by the deviation value to obtain the first capacitance threshold.
[0058] S240: When the ambient temperature is the current ambient temperature value, if the capacitance value obtained by the capacitance sensor is greater than the first capacitance threshold, it is determined that the wearable device is in the wearable state.
[0059] This embodiment provides a state detection parameter adjustment method, so that when the temperature difference between the current ambient temperature value and the specified temperature value is large (greater than the preset temperature threshold), the capacitance threshold used to determine whether the wearable device is in the worn state can be updated based on the first capacitance value currently obtained in real time through the capacitance sensor, so as to improve the impact of temperature on the detection of the worn state, thereby improving the accuracy of detecting whether the user is in the worn state. In addition, in this embodiment, different methods for adjusting the capacitance threshold can be used according to the difference between the current ambient temperature value and the specified temperature value, so that the state detection parameter adjustment method provided in this embodiment can be applicable to scenarios with high and low temperatures, enriching the adaptation scenarios of the state detection parameter adjustment method.
[0060] See also Figure 6 The present application provides a method for adjusting state detection parameters, which is applied to a wearable device provided with a capacitive sensor, wherein the wearable device also includes an environment detection device, and the environment detection device includes a temperature detection module. The method includes:
[0061] S310: Acquire the current ambient temperature collected by the temperature detection module included in the environment detection device.
[0062] Optionally, the environment detection device is a barometer or an accelerometer-gyroscope.
[0063] In this way of obtaining the current ambient temperature through an environmental detection device, the collected ambient temperature can be read directly from the register of the environmental detection device. Furthermore, as a way, the data output format of the environmental detection device of the wearable device can also be updated, so that the environmental output device can synchronously output the current ambient temperature value when outputting the detected environmental data to the processor of the wearable device, so that the wearable device can more conveniently obtain the current ambient temperature value. For example, taking the environmental detection device as a barometer as an example, when the barometer outputs the air pressure value, the barometer can splice the air pressure value to be output with the temperature value collected by the temperature detection module of the barometer through a specified connection character, so that the data actually output by the barometer will include air pressure value and temperature value. After the processor obtains the output data of the barometer, the air pressure value and temperature value (current ambient temperature value) can be separated from the output data through the specified character. For example, the data output by the barometer is "a&&b", where the specified character is "&&", then the air pressure value "a" and the temperature value "b" can be separated from the output data.
[0064] S320: If the difference between the acquired current ambient temperature value and the designated temperature value is greater than a preset temperature threshold, a first capacitance value is acquired through the capacitance sensor.
[0065] S330: Obtain a first capacitance threshold based on the current ambient temperature value, the specified temperature value, and the first capacitance value, wherein the first capacitance threshold is greater than the first capacitance value, and the difference between the first capacitance value and the first capacitance value is less than a specified capacitance change value, and the specified capacitance change value is the difference between the capacitance value obtained by the capacitance sensor when the wearable device is in a worn state and the capacitance value obtained by the capacitance sensor when the wearable device is in a not-worn state.
[0066] Among them, when the ambient temperature is the current ambient temperature value, if the capacitance value obtained by the capacitance sensor is greater than the first capacitance threshold, it is determined that the wearable device is in the worn state.
[0067] S340: When the ambient temperature is the current ambient temperature value, if the capacitance value obtained by the capacitance sensor is greater than the first capacitance threshold, it is determined that the wearable device is in the wearable state.
[0068] This embodiment provides a state detection parameter adjustment method, which allows, through the above-mentioned method, when the temperature difference between the current ambient temperature value and the specified temperature value is large (greater than a preset temperature threshold), the capacitance threshold used to determine whether the wearable device is in a worn state can be updated based on the first capacitance value currently obtained in real time through the capacitance sensor, thereby improving the impact of temperature on the detection of the worn state, thereby improving the accuracy of detecting whether the wearable device is in the user's worn state. In addition, in this embodiment, the ambient temperature can be directly obtained through the temperature detection module in the environmental detection device provided by the wearable device itself, without the need to add an additional temperature detection module for implementing the state detection parameter adjustment method.
[0069] The following is an example to illustrate a state detection parameter adjustment method involved in an embodiment of the present application.
[0070] During the factory test of the wearable device, the wearable device can be triggered to obtain the initial capacitance value (C ENV ), and then obtain the capacitance value detected by the capacitance sensor when the conductive object approaches as the detection capacitance value (C SENSOR ), and then set the capacitance threshold obtained in the factory test process according to the initial capacitance value and the detection capacitance value, so that the initial capacitance value is less than the capacitance threshold obtained in the factory test process, and the detection capacitance value is greater than the capacitance threshold obtained in the factory test process, so that the wearable device can determine whether the wearable device is in a worn state or a non-worn state by whether the capacitance value obtained by the capacitance sensor is greater than the capacitance threshold obtained in the factory test process.
[0071] If the difference between the current ambient temperature value obtained by the wearable device and the temperature value (a specified temperature value) during the factory test process is greater than the preset temperature threshold, and the wearable device is in Figure 7 In the unworn state shown in , the first capacitance value is obtained through the capacitance sensor, and then the capacitance threshold obtained in the factory test process is adjusted according to the method described in the above embodiment to obtain the first capacitance threshold.
[0072] See also Figure 8 The present application provides a state detection parameter adjustment device 400, which operates on a wearable device provided with a capacitive sensor. The device 400 includes:
[0073] The detection trigger unit 410 is configured to obtain a first capacitance value through the capacitance sensor if the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold.
[0074] The parameter acquisition unit 420 is used to obtain a first capacitance threshold based on the current ambient temperature value, the specified temperature value, and the first capacitance value, wherein the first capacitance threshold is greater than the first capacitance value, and the difference between the first capacitance value and the first capacitance value is less than a specified capacitance change value, and the specified capacitance change value is the difference between the capacitance value obtained by the capacitance sensor when the wearable device is in a worn state and the capacitance value obtained by the capacitance sensor when it is not worn.
[0075] The state detection unit 430 is configured to determine that the wearable device is in the wearable state if, when the ambient temperature is the current ambient temperature value, the capacitance value obtained by the capacitance sensor is greater than the first capacitance threshold.
[0076] As a method, the detection trigger unit 410 is specifically used to obtain a deviation value for adjusting the second capacitance threshold based on the comparison result of the current ambient temperature value and the specified temperature value and the first capacitance value. The second capacitance threshold is a threshold for detecting whether the wearable device is in a worn state, which is determined by the capacitance value obtained by the capacitance sensor when the ambient temperature is the specified temperature value; the first capacitance threshold is obtained based on the second capacitance threshold and the deviation value.
[0077] Optionally, the detection trigger unit 410 is specifically used to increase the second capacitance threshold by the deviation value to obtain the first capacitance threshold if the size comparison result indicates that the current ambient temperature value is greater than the specified temperature value; if the size comparison result indicates that the current ambient temperature value is less than the specified temperature value, reduce the second capacitance threshold by the deviation value to obtain the first capacitance threshold.
[0078] As a method, the detection trigger unit 410 is further configured to obtain the current ambient temperature collected by the temperature detection module included in the environmental detection device, wherein the environmental detection device is a barometer or an accelerometer-gyroscope.
[0079] As a method, the detection trigger unit 410 is specifically used to issue a prompt message to update the parameters if the difference between the current ambient temperature value and the specified temperature value is greater than the preset temperature threshold; if an instruction to update the parameters is received, the first capacitance value is obtained through the capacitance sensor.
[0080] As a method, the detection trigger unit 410 is specifically used to obtain a first capacitance value through the capacitance sensor if the wearable device is in a non-worn state and the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold.
[0081] Optionally, the specified temperature value is a temperature value collected by the capacitive sensor when the wearable device is tested at the factory and is not worn.
[0082] This embodiment provides a state detection parameter adjustment device. When a wearable device is provided with a capacitive sensor, if the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold, a first capacitance value is obtained through the capacitive sensor. Then, based on the comparison result of the current ambient temperature value and the specified temperature value and the first capacitance value, a first capacitance value greater than the first capacitance value and a difference from the first capacitance value less than a specified capacitance change value is obtained. Thus, through the above method, when the temperature difference between the current ambient temperature value and the specified temperature value is large (greater than the preset temperature threshold), the capacitance threshold used to determine whether the wearable device is in a worn state can be updated based on the first capacitance value currently obtained in real time through the capacitive sensor, so as to improve the impact of temperature on the detection of the worn state, thereby improving the accuracy of detecting whether the wearable device is in a user-worn state.
[0083] It should be noted that the device embodiment in this application corresponds to the aforementioned method embodiment, and the specific implementation principles of each unit in the device embodiment are similar to the principles in the aforementioned method embodiment. The specific contents in the device embodiment can be found in the method embodiment, and will not be repeated in the device embodiment.
[0084] The following will be combined Figure 9 An electronic device provided by this application is described.
[0085] See also Figure 9Based on the above-mentioned state detection parameter adjustment method and device, the embodiments of the present application also provide an electronic device 1000 that can execute the above-mentioned state detection parameter adjustment method. The electronic device 1000 includes one or more (only one is shown in the figure) processors 105, a memory 104, a camera 106, and an audio acquisition device 108 that are coupled to each other. The memory 104 stores a program that can execute the content of the above-mentioned embodiments, and the processor 105 can execute the program stored in the memory 104.
[0086] The processor 105 may include one or more processing cores. The processor 105 utilizes various interfaces and circuits to connect various components within the electronic device 1000. It executes instructions, programs, code sets, or instruction sets stored in the memory 104, and accesses data stored in the memory 104 to perform various functions and process data within the electronic device 1000. Optionally, the processor 105 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 105 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 105 and may be implemented separately via a communication chip.
[0087] The memory 104 may include a random access memory (RAM) or a read-only memory (ROM). The memory 104 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 104 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.
[0088] Furthermore, in addition to the aforementioned components, the electronic device 1000 may further include a network module 110 and a sensor module 112 .
[0089] The network module 110 is used to implement information exchange between the electronic device 1000 and other devices, such as transmitting device control instructions, operation request instructions, and status information acquisition instructions, etc. When the electronic device 200 is specifically a different device, the corresponding network module 110 may be different.
[0090] The sensor module 112 may include at least one sensor. Specifically, the sensor module 112 may include, but is not limited to: a light sensor, a motion sensor, an acceleration sensor, a barometer, and other sensors.
[0091] Among them, the pressure sensor can be a sensor that detects the pressure generated by pressing on the electronic device 1000. That is, the pressure sensor detects the pressure generated by contact or pressing between the user and the electronic device, such as the pressure generated by contact or pressing between the user's ear and the mobile terminal. Therefore, the pressure sensor can be used to determine whether contact or pressing occurs between the user and the electronic device 1000, as well as the magnitude of the pressure.
[0092] The accelerometer can detect the magnitude of acceleration in all directions (generally three axes) and the magnitude and direction of gravity when stationary. This can be used for applications that recognize the posture of the electronic device 1000 (such as switching between landscape and portrait modes, related games, and magnetometer posture calibration), vibration recognition-related functions (such as pedometers and tapping), etc. In addition, the electronic device 1000 may also be equipped with other sensors such as a gyroscope, barometer, hygrometer, and thermometer, which will not be detailed here.
[0093] The audio collection device 110 is used to collect audio signals. Optionally, the audio collection device 110 includes multiple audio collection devices, which may be microphones.
[0094] As a way, the network module of the electronic device 1000 is a radio frequency module, which is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, and thus communicate with a communication network or other devices. The radio frequency module may include various existing circuit components for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption / decryption chip, a user identity module (SIM) card, a memory, and the like. For example, the radio frequency module can interact with an external device by sending or receiving electromagnetic waves. For example, the radio frequency module can send instructions to a target device.
[0095] Please refer to Figure 10 , which shows a block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 1100 stores program code, which can be called by a processor to execute the method described in the above method embodiment.
[0096] Computer-readable storage medium 1100 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Alternatively, computer-readable storage medium 1100 may include a non-transitory computer-readable storage medium. Computer-readable storage medium 1100 may have storage space for program code 1110 for executing any of the method steps described above. These program codes may be read from or written to one or more computer program products. Program code 1110 may be compressed, for example, in a suitable form.
[0097] In summary, the present application provides a state detection parameter adjustment method, apparatus, and wearable device. When the wearable device is provided with a capacitive sensor, if the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold, a first capacitance value is obtained through the capacitive sensor. Then, based on the comparison result of the current ambient temperature value and the specified temperature value and the first capacitance value, a first capacitance threshold value greater than the first capacitance value and having a difference from the first capacitance value less than a specified capacitance change value is obtained. Thus, through the above method, when the temperature difference between the current ambient temperature value and the specified temperature value is large (greater than the preset temperature threshold), the capacitance threshold used to determine whether the wearable device is in a worn state can be updated based on the first capacitance value currently obtained in real time through the capacitive sensor, so as to improve the influence of temperature on the detection of the worn state, thereby improving the accuracy of detecting whether the wearable device is in a user-worn state.
[0098] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.
[0099] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of such features. Throughout the description of this application, "plurality" means at least two, for example, two, three, etc., unless otherwise specifically defined.
[0100] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present application belong.
[0101] The logic and / or steps represented in the flowchart or otherwise described herein may be considered, for example, as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device).
[0102] It should be understood that various parts of the present application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical feature diagrams therein. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for adjusting state detection parameters, characterized in that: Applied to a wearable device provided with a capacitive sensor, the method includes: If the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold, obtaining a first capacitance value through the capacitance sensor, where the specified temperature value is a temperature value used for temperature comparison to determine whether capacitance threshold adjustment is required, and the first capacitance value is a capacitance value collected by the capacitance sensor when the wearable device is not worn; obtaining a first capacitance threshold based on the current ambient temperature value, the specified temperature value, and the first capacitance value, where the first capacitance threshold is greater than the first capacitance value, and a difference between the first capacitance threshold and the first capacitance value is less than a specified capacitance change value, where the specified capacitance change value is a difference between a capacitance value obtained by the capacitance sensor when the wearable device is in a worn state and a capacitance value obtained by the capacitance sensor when the wearable device is not worn; Among them, when the ambient temperature is the current ambient temperature value, if the capacitance value obtained by the capacitance sensor is greater than the first capacitance threshold, it is determined that the wearable device is in the worn state.
2. The method according to claim 1, characterized in that The acquiring a first capacitance threshold based on the current ambient temperature value, the specified temperature value, and the first capacitance value includes: obtaining, based on the current ambient temperature value, the specified temperature value, and the first capacitance value, a deviation value for adjusting a second capacitance threshold value, the second capacitance threshold value being a threshold value for detecting whether the wearable device is in a worn state, determined by the capacitance value obtained by the capacitance sensor when the ambient temperature is the specified temperature value; A first capacitance threshold is obtained based on the second capacitance threshold and the deviation value.
3. The method according to claim 2, characterized in that Obtaining a first capacitance threshold based on the second capacitance threshold and the deviation value includes: If the comparison result indicates that the current ambient temperature value is greater than the specified temperature value, the second capacitance threshold is increased by the deviation value to obtain the first capacitance threshold; If the size comparison result indicates that the current ambient temperature value is less than the specified temperature value, the second capacitance threshold is reduced by the deviation value to obtain the first capacitance threshold.
4. The method according to claim 1, wherein The wearable device further includes an environment detection device, which includes a temperature detection module. If the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold, the method further includes: The current ambient temperature collected by the temperature detection module included in the environmental detection device is obtained.
5. The method according to claim 4, characterized in that The environment detection device is a barometer or an accelerometer gyroscope.
6. The method according to claim 1, characterized in that If the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold, obtaining a first capacitance value through the capacitance sensor includes: If the difference between the current ambient temperature and the specified temperature is greater than the preset temperature threshold, a prompt message is issued to prompt for parameter update; If a parameter update instruction is received, a first capacitance value is obtained through the capacitance sensor.
7. The method according to claim 1, characterized in that If the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold, obtaining a first capacitance value through the capacitance sensor includes: If the wearable device is in a non-worn state and the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold, a first capacitance value is obtained through the capacitance sensor.
8. The method according to claim 1, characterized in that The specified temperature value is a temperature value collected by the capacitive sensor when the wearable device is tested at the factory and is not worn.
9. A state detection parameter adjustment device, characterized in that: The device is operated on a wearable device provided with a capacitive sensor, and includes: a detection trigger unit, configured to obtain a first capacitance value through the capacitive sensor if the difference between the current ambient temperature value and the specified temperature value is greater than a preset temperature threshold, wherein the specified temperature value is a temperature value used for temperature comparison to determine whether capacitance threshold adjustment is required, and the first capacitance value is a capacitance value collected by the capacitive sensor when the wearable device is not worn; a parameter acquisition unit, configured to acquire a first capacitance threshold value based on the current ambient temperature value, the specified temperature value, and the first capacitance value, where the first capacitance threshold value is greater than the first capacitance value, and a difference between the first capacitance threshold value and the first capacitance value is less than a specified capacitance change value, where the specified capacitance change value is a difference between a capacitance value obtained by the capacitance sensor when the wearable device is in a worn state and a capacitance value obtained by the capacitance sensor when the wearable device is not worn; The state detection unit is configured to determine that the wearable device is in a worn state if, when the ambient temperature is the current ambient temperature value, the capacitance value obtained by the capacitance sensor is greater than the first capacitance threshold.
10. A wearable device, characterized in that: including a plurality of microphones, one or more processors, and memory; One or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 8.
11. A computer-readable storage medium storing a program code executable by a processor, characterized in that: The computer-readable storage medium includes stored program code, wherein when the program code is executed, the method according to any one of claims 1 to 8 is executed.
Citation Information
Patent Citations
Equipment wearing detection method and device, equipment and readable storage medium
CN110737026A