A wearable device wearing status detection method and related components
By calculating the impedance value and acceleration data collected by the wearable device, accurately judge the cause of wearing abnormalities, solving the problem of inaccurate wear status detection in the prior art, and improving the user experience.
Patent Information
- Application Number
- CN202211019059.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-24
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2042-08-24
AI Technical Summary
The prior art is difficult to accurately judge the wearing status of the wearable device, especially in the case of abnormal wear, and it is impossible to determine the specific cause of the abnormality, which affects the user experience.
By obtaining the impedance value collected by the wearable device, and calculating the first and second ratios within the preset time period respectively, the cause of the abnormal wear is determined based on the acceleration data.
It realizes accurate detection of the wearable state of wearable devices, and can promptly remind users to adjust their wearable state and improve user experience.
Smart Images

Figure CN115336981B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wearable devices, and in particular to a method for detecting the wearing status of a wearable device and related components. Background Art
[0002] With the continuous development of science and technology and the continuous improvement of people's quality of life, various wearable devices are applied to all aspects of people's lives. If the device is not worn properly, it will directly affect the accuracy of the wearable device's monitoring of the user's heart rate, blood oxygen and exercise conditions, and thus affect the user experience. Therefore, it is of great significance to detect the wearing status of wearable devices.
[0003] Currently, infrared ranging and other technical means can be used to detect whether a wearable device is in a worn state. However, when it is determined that the wearable device is worn abnormally, due to the complexity of the abnormal wearing situation, which can be roughly divided into loose wearing, not fully contacting the user's skin, and not contacting the user's skin, infrared ranging cannot determine which wearing abnormal situation is currently in.
[0004] It can be seen that how to improve the accuracy of wearing status monitoring of wearable devices, remind users to adjust the wearing status, and thus improve user experience is a problem that needs to be urgently solved by technical personnel in this field. Summary of the invention
[0005] The purpose of this application is to provide a method for detecting the wearing status of a wearable device and related components. When the wearable device is worn abnormally, the specific cause of the abnormality is determined, the user is accurately reminded of the status of the wearable device, and the user is promptly reminded to make adjustments to improve the user experience.
[0006] In order to solve the above technical problems, the present application provides a method for detecting the wearing state of a wearable device, comprising:
[0007] Obtain the impedance value collected by the wearable device;
[0008] Respectively determining a first ratio and a second ratio of the number of valid sample points of the impedance value in a first preset impedance interval and a second preset impedance interval within a preset time length to the total number of sample points within the preset time length; wherein the maximum value in the first preset impedance interval is less than or equal to the minimum value in the second preset impedance interval;
[0009] When the first ratio is less than a preset threshold, determining that the wearable device is worn abnormally, and determining the current motion state of the user according to the acceleration data collected by the wearable device;
[0010] It is determined whether the second ratio meets a preset condition to determine the reason why the wearable device is abnormally worn in the current motion state.
[0011] Preferably, when the current motion state is a stationary state, the determining whether the second ratio satisfies a preset condition to determine the reason why the wearable device is abnormally worn in the current motion state includes:
[0012] Determining whether the second ratio is less than a first preset value;
[0013] If it is less than the first preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the wearable device does not contact the user's skin;
[0014] If it is not less than the first preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the wearable device does not completely contact the user's skin.
[0015] Preferably, when the current motion state is a motion state, the determining whether the second ratio satisfies a preset condition to determine the reason why the wearable device is abnormally worn in the current motion state includes:
[0016] Determine whether the second ratio is less than a second preset value; wherein the second preset value is less than the first preset value;
[0017] If it is less than the second preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the wearable device does not contact the user's skin;
[0018] If it is not less than the second preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the tightness of wearing the wearable device does not meet the preset condition.
[0019] Preferably, determining the current motion state of the user based on the acceleration data collected by the wearable device includes:
[0020] Determine the combined acceleration corresponding to the X-axis acceleration, the Y-axis acceleration, and the Z-axis acceleration at each moment within the preset time length;
[0021] Determining whether the number of times the combined acceleration is greater than a threshold is greater than a preset number;
[0022] If it is greater than the preset number, determining that the current motion state of the user is a motion state;
[0023] If it is not greater than the preset number, it is determined that the current motion state of the user is a stationary state.
[0024] Preferably, after determining that the reason for the abnormal wearing of the wearable device is that the wearable device does not contact the user's skin, the method further includes:
[0025] Determining whether the distance between the wearable device and the skin is within a preset range based on infrared ranging;
[0026] If it is within the preset range, it is determined that the cause of the abnormal wearing of the wearable device is wrong;
[0027] If it is not within the preset range, a prompt signal indicating that the wearable device is worn abnormally is output.
[0028] Preferably, before acquiring the impedance value collected by the wearable device, the method further includes:
[0029] Determining whether the distance between the wearable device and the skin is within a preset range based on infrared ranging;
[0030] If it is within the preset range, entering the step of obtaining the impedance value collected by the wearable device;
[0031] If it is not within the preset range, enter the step of determining whether the distance between the wearable device and the skin is within the preset range based on infrared ranging.
[0032] Preferably, after obtaining the impedance value collected by the wearable device, the method further includes:
[0033] A sliding mean filter is performed on the impedance value.
[0034] In order to solve the above technical problems, the present application also provides a detection device for the wearing state of a wearable device, comprising:
[0035] An acquisition module is used to obtain the impedance value collected by the wearable device;
[0036] A determination module, used to respectively determine a first ratio and a second ratio of the number of valid sample points of the impedance value in a first preset impedance interval and a second preset impedance interval within a preset time length to the total number of sample points within the preset time length; wherein the maximum value in the first preset impedance interval is less than or equal to the minimum value in the second preset impedance interval;
[0037] a processing module, configured to determine that the wearable device is worn abnormally when the first ratio is less than a preset threshold, and determine the current motion state of the user according to the acceleration data collected by the wearable device;
[0038] The judging module is used to judge whether the second ratio satisfies a preset condition to determine the reason why the wearable device is abnormally worn in the current motion state.
[0039] In order to solve the above technical problems, the present application also provides a wearable device, including a memory for storing a computer program;
[0040] A processor is used to implement the steps of the method for detecting the wearing state of the wearable device when executing the computer program.
[0041] In order to solve the above technical problems, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for detecting the wearing status of a wearable device are implemented.
[0042] The present invention provides a method for detecting the wearing state of a wearable device, including: obtaining the impedance value collected by the wearable device, and respectively determining the first ratio and the second ratio of the number of valid sample points of the impedance value in the first preset impedance interval and the second preset impedance interval within the preset time length to the total number of sample points within the preset time length, wherein the maximum value in the first preset impedance interval is less than or equal to the minimum value in the second preset impedance interval. When the first ratio is less than the preset threshold, it is determined that the wearable device is worn abnormally, and the current motion state of the user is determined based on the acceleration data collected by the wearable device, and the reason for the abnormal wearing of the wearable device in the current motion state is determined by judging whether the second ratio meets the preset conditions. It can be seen that the technical solution provided by the present application preliminarily determines whether the current wearable device is worn abnormally based on the impedance data of the user, and then combines the acceleration data and the impedance value data to determine the reason for the abnormal wearing of the wearable device, accurately reminds the user of the current wearing condition of the wearable device, and then promptly reminds the user to make adjustments to improve the user experience.
[0043] In addition, the present application also provides a wearable device, a detection device and a medium for detecting the wearing status of a wearable device, which correspond to the above-mentioned detection method for the wearing status of a wearable device and have the same effect as above. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0045] Figure 1 A flowchart of a method for detecting a wearing state of a wearable device provided in an embodiment of the present application;
[0046] FIG2( a ) is a schematic diagram of impedance value data and combined acceleration data of a wearable device provided in an embodiment of the present application;
[0047] FIG2( b ) is a schematic diagram of impedance value data and combined acceleration data of another wearable device provided in an embodiment of the present application;
[0048] FIG2( c ) is a schematic diagram of impedance value data and combined acceleration data of another wearable device provided in an embodiment of the present application;
[0049] FIG2( d ) is a schematic diagram of impedance value data and combined acceleration data of another wearable device provided in an embodiment of the present application;
[0050] Figure 3 A structural diagram of a wearable device wearing status detection device provided in an embodiment of the present application;
[0051] Figure 4 A structural diagram of a wearable device provided in another embodiment of the present application. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0053] The core of this application is to provide a wearable device wearing status detection method and related components, combine the acceleration data and impedance value data collected by the wearable device, analyze and determine the cause of abnormal wearing of the wearable device, and promptly remind the user to adjust the wearing status, thereby improving the user experience.
[0054] With the continuous development of science and technology, various wearable devices have entered people's lives and improved people's quality of life. In the process of using wearable devices, the wearing state of wearable devices is crucial to the user's experience. At present, infrared ranging and other technical means can be used to detect whether the wearable device is in a wearing state. However, when it is determined that the wearable device is worn abnormally, due to the complexity of the abnormal wearing situation, it can be roughly divided into loose wearing, not fully contacting the user's skin, and not contacting the user's skin. Infrared ranging cannot determine which wearing abnormal situation is currently in.
[0055] In order to improve the accuracy of wearing status monitoring of wearable devices, remind users to adjust the wearing status, and thus improve user experience, the embodiment of the present application provides a method for detecting the wearing status of a wearable device, which combines acceleration data and impedance value data collected by the wearable device, analyzes and determines the cause of the current abnormal wearing of the wearable device, and then promptly reminds users to make adjustments, thereby improving user experience.
[0056] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0057] Figure 1 A flowchart of a method for detecting the wearing status of a wearable device provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method includes:
[0058] S10: Obtaining the impedance value collected by the wearable device;
[0059] The wearable device provided in the embodiment of the present application is a device with a bioelectrode, and when the wearable device comes into contact with the user's skin, the user's impedance value data can be collected. Therefore, before acquiring the wearable device, it can be determined based on the infrared measurement of the wearable device whether the distance between the wearable device and the user's skin is within a preset range. If it is within the preset range, it is determined that the wearable device is in contact with the skin, and the impedance value collected by the wearable device is obtained at this time.
[0060] S11: respectively determining a first ratio and a second ratio of the number of valid sample points of the impedance value in the first preset impedance interval and the second preset impedance interval within the preset time length to the total number of sample points within the preset time length; wherein the maximum value in the first preset impedance interval is less than or equal to the minimum value in the second preset impedance interval;
[0061] In a specific embodiment, after obtaining the user's impedance value, in order to determine whether the wearable device is worn normally, a first ratio and a second ratio of the number of valid sample points of the acquired impedance value in the first preset impedance interval and the second preset impedance interval within the preset time length to the total number of sample points of all impedance values within the preset time length are respectively determined.
[0062] For example, the total number of sample points within the preset time length T1 is Y, the first preset impedance interval is [Thr1, Thr2], and the number of valid sample points within the first preset impedance interval [Thr1, Thr2] is X1, the second preset impedance interval is [Thr3, Thr4], and the number of valid sample points within the second preset impedance interval [Thr3, Thr4] is X2, the first ratio is P1, the second ratio is P2, then P1=X1 / Y, P2=X2 / Y.
[0063] S12: When the first ratio is less than a preset threshold, determining that the wearable device is worn abnormally, and determining the current motion state of the user according to the acceleration data collected by the wearable device;
[0064] Figure 2(a) is a schematic diagram of impedance value data and combined acceleration data of a wearable device provided in an embodiment of the present application. Figure 2(a) illustrates the impedance value data and combined acceleration data when the wearable device is not worn and the user is in a stationary state or a moving state. The horizontal axis of the curve A1 in Figure 2(a) represents the number of sample points, and the vertical axis represents the impedance value. It can be understood that the number of sample points is related to the sampling rate. For example, when the sampling rate is 50 / second, the value of 200 in the horizontal axis represents that the number of samples of the internal impedance value in 4 seconds is 200. As can be seen from Figure 2(a), when the wearable device is not worn, that is, it does not contact the user's skin, the user's impedance value data does not change significantly.
[0065] Figure 2(b) is a schematic diagram of impedance value data and combined acceleration data of another wearable device provided in an embodiment of the present application. Figure 2(b) illustrates the impedance value data and combined acceleration data when the wearable device is normally worn and the user is in a stationary state or in motion. It can be seen from Figure 2(b) that when the wearable device is in good contact with the skin, that is, when it is normally worn, the user's impedance value data also does not change significantly.
[0066] FIG2(c) is a schematic diagram of impedance value data and combined acceleration data of another wearable device provided in an embodiment of the present application. FIG2(c) illustrates the impedance value data and combined acceleration data of the user in motion when the tightness of the wearable device does not meet the preset conditions, for example, when the wearable device is worn loosely. It can be seen from FIG2(c) that when the wearable device is worn abnormally, that is, when the tightness of the wearable device does not meet the preset conditions, the user's impedance value data changes significantly.
[0067] Figure 2(d) is a schematic diagram of impedance value data and combined acceleration data of another wearable device provided in an embodiment of the present application. Figure 2(d) illustrates the impedance value data and combined acceleration data when the wearable device is worn but does not fully contact the user's skin, and the user is in a stationary state. It can be seen from Figure 2(d) that when the wearable device is worn abnormally, that is, the wearable device does not fully contact the skin, the user's impedance value data is larger than the impedance value data when the contact is good.
[0068] according to Figure 2(a)-Figure 2(d)It can be seen that when the wearable device is worn normally, the impedance value of the user does not change much regardless of whether the user is in a stationary state or in motion, and the fluctuation range is relatively fixed. Therefore, when the first ratio is greater than or equal to the preset threshold value K1, that is, P1≥K1, it can be determined that the current wearable device is worn normally. If the first ratio is less than the preset threshold value, that is, P1<K1, it is determined that the wearable device is worn abnormally, and the user's current motion state is determined based on the acceleration data collected by the wearable device, so as to further combine the user's current motion state with the impedance value data to determine the cause of the current wearing abnormality.
[0069] It should be noted that Figure 2(a) shows the normal wearing condition. Figure 2(c)-Figure 2(d) For the case of abnormal wearing, it can be seen from the figure that the maximum impedance value when wearing normally is less than the minimum impedance value when wearing abnormally. In addition, when the wearable device is worn abnormally, the fluctuation range of the impedance value is large and unstable. Therefore, in order to further determine the cause of the abnormal wearing of the wearable device, it is necessary to determine whether the wearable device is worn normally based on the first ratio, and further determine the cause of the abnormal wearing based on the second ratio. Therefore, the maximum value in the first preset impedance interval is less than or equal to the minimum value in the second preset impedance interval. In other words, when it is determined that the current wearable device is worn abnormally, since the fluctuation range of the impedance value is large and unstable when wearing abnormally, it is necessary to expand the impedance value interval to further determine the cause of the abnormal wearing.
[0070] S13: Determine whether the second ratio meets a preset condition to determine the reason why the wearable device is abnormally worn in the current motion state.
[0071] After determining the current motion state of the user in step S12, it is determined whether the second ratio meets a preset condition to determine the reason why the wearable device is abnormally worn in the current motion state.
[0072] Specifically, if the current motion state is a stationary state, when the second ratio is less than the first preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the wearable device does not contact the user's skin; when the second ratio is not less than the first preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the wearable device does not completely contact the user's skin.
[0073] If the previous motion state is the motion state, when the second ratio is less than the second preset value, it is determined that the reason for the abnormal wearing of the wearable device is that it does not contact the user's skin; when the second ratio is not less than the second preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the tightness of the wearable device does not meet the preset conditions.
[0074] The detection method of the wearing state of the wearable device provided in the embodiment of the present application includes: obtaining the impedance value collected by the wearable device, and respectively determining the first ratio and the second ratio of the effective sample points of the impedance value in the first preset impedance interval and the second preset impedance interval within the preset time length to the total sample points within the preset time length, wherein the maximum value in the first preset impedance interval is less than or equal to the minimum value in the second preset impedance interval. When the first ratio is less than the preset threshold value, it is determined that the wearable device is worn abnormally, and the current motion state of the user is determined based on the acceleration data collected by the wearable device, and the reason for the abnormal wearing of the wearable device in the current motion state is determined by judging whether the second ratio meets the preset conditions. It can be seen that the technical solution provided by the present application preliminarily determines whether the current wearable device is worn abnormally based on the impedance data of the user, and then combines the acceleration data and the impedance value data to determine the reason for the abnormal wearing of the wearable device, accurately reminds the user of the current wearing condition of the wearable device, and then promptly reminds the user to make adjustments to improve the user experience.
[0075] In a specific embodiment, when the current motion state is a static state, determining whether the second ratio satisfies a preset condition to determine the reason why the wearable device is abnormally worn in the current motion state includes:
[0076] Determining whether the second ratio is less than the first preset value;
[0077] If it is less than the first preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the wearable device does not contact the user's skin;
[0078] If it is not less than the first preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the wearable device does not completely contact the user's skin.
[0079] As shown in Figure 2(d), when the wearable device is worn abnormally, and the current motion state of the user is determined to be static according to the acceleration data, the reasons for the abnormal wearing include not contacting the user's skin and not completely contacting the user's skin. Specifically, when it is determined that the second ratio is less than the first preset value, it is determined that the wearable device is not in contact with the user's skin, that is, the user is not wearing the wearable device, and when it is determined that the second ratio is not less than the first preset value, it is determined that the wearable device is not completely in contact with the user's skin.
[0080] Further, when the current motion state is the motion state, determining whether the second ratio satisfies a preset condition to determine the reason why the wearable device is abnormally worn in the current motion state includes:
[0081] Determine whether the second ratio is less than a second preset value; wherein the second preset value is less than the first preset value;
[0082] If it is less than the second preset value, it is determined that the reason for the abnormal wearing of the wearable device is that it does not contact the user's skin;
[0083] If it is not less than the second preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the tightness of the wearable device does not meet the preset condition.
[0084] As shown in FIG2(c), when the wearable device is worn abnormally, and the current motion state of the user is determined to be a motion state according to the acceleration data, the reasons for the abnormal wearing include not contacting the user's skin and the wearing tightness not meeting the preset condition. Specifically, when it is determined that the second ratio is less than the second preset value, it is determined that the wearable device is not in contact with the user's skin, that is, the user is not wearing the wearable device. When it is determined that the second ratio is not less than the second preset value, it is determined that the wearing tightness of the wearable device does not meet the preset condition, that is, the wearable device is worn relatively loosely, and it cannot be guaranteed that the user can accurately measure the physiological characteristic data such as heart rate when using the wearable device.
[0085] It is worth noting that, as can be seen from FIG. 2(c) and FIG. 2(b), the minimum impedance value of the user's current state in motion is smaller than the minimum impedance value in a stationary state, that is, the contact between the wearable device and the user's skin changes with the motion conditions. Therefore, the first preset value is greater than the second preset value.
[0086] In summary, after the wearable device is initially determined to be abnormally worn through the first ratio, the motion state of the wearable device is determined based on the acceleration data collected by the wearable device, and then the motion state is combined with the second ratio to determine the cause of the abnormal wearing. After determining the cause, the abnormal wearing signal and the corresponding abnormal cause are sent to the terminal to remind the user to adjust the wearing state in time.
[0087] The wearable device wearing state detection method provided in the embodiment of the present application determines the wearable device wearing abnormality, determines the user's current motion state according to the acceleration data, and determines whether the second ratio meets the preset conditions, thereby determining the cause of the wear abnormality. That is, the motion state and the impedance value are combined to determine the cause of the wearable device wearing abnormality, and the user is reminded to adjust the wearing state in time, thereby improving the accuracy of the wearable device in collecting physiological characteristics, thereby improving the user experience.
[0088] As a preferred embodiment, determining the current motion state of the user based on the acceleration data collected by the wearable device includes:
[0089] Determine the total acceleration corresponding to the X-axis acceleration, Y-axis acceleration and Z-axis acceleration at each moment within a preset time length;
[0090] Determine whether the number of times the combined acceleration is greater than a threshold is greater than a preset number;
[0091] If it is greater than the preset number, the user's current motion state is determined to be a motion state;
[0092] If it is not greater than the preset number, it is determined that the user's current motion state is a stationary state.
[0093] In fact, when determining the user's current motion state, it is necessary to obtain the acceleration data collected by the wearable device within a preset time, that is, to establish a spatial coordinate system, and obtain the acceleration on the X-axis, the acceleration on the Y-axis, and the acceleration on the Z-axis at different times within the preset time, that is, the X-axis acceleration a x , Y-axis acceleration a y and Z-axis acceleration a z . And the total acceleration A is calculated by the following formula:
[0094]
[0095] After obtaining the combined accelerations A, when the number of combined accelerations A greater than the threshold is greater than a preset number, it can be determined that the current state of the user is a moving state; otherwise, it is determined that the current state of the user is a stationary state.
[0096] It is worth noting that it is necessary to ensure that the number of combined accelerations obtained within the preset time length each time is the same. If not, it is determined whether the ratio of the number of combined accelerations A greater than the threshold to the total number satisfies the preset ratio. If so, it is determined that the user's current state is a moving state, otherwise, it is determined that the user's current state is a stationary state.
[0097] The wearable device wearing state detection method provided in the embodiment of the present application determines the current motion state of the user by determining the combined acceleration corresponding to the X-axis acceleration, Y-axis acceleration and Z-axis acceleration at each moment within a preset time, and when it is determined that the number of times the combined acceleration is greater than the threshold is greater than the preset number, the user's current state is determined to be a motion state, otherwise, the user's current state is determined to be a static state. The cause of abnormal wear of the wearable device can then be determined based on the current user's motion state combined with the impedance value.
[0098] On the basis of the above embodiment, in order to further improve the detection accuracy of the wearing state of the wearable device, after determining that the cause of the abnormal wearing of the wearable device is that the wearable device does not contact the user's skin, the method further includes:
[0099] Determine whether the distance between the wearable device and the skin is within a preset range based on infrared ranging;
[0100] If it is within the preset range, it is determined that the cause of the abnormal wearing of the wearable device is wrong;
[0101] If it is not within the preset range, a warning signal indicating that the wearable device is worn abnormally is output.
[0102] It can be understood that after determining that the reason for the abnormal wearing of the wearable device is that it does not contact the user's skin according to the second ratio, in order to further determine whether the judgment is correct, it is possible to determine whether the distance between the wearable device and the skin is within a preset range based on infrared ranging. If it is within the preset range, the reason for the abnormal wearing of the wearable device may be a wrong judgment. At this time, an abnormal judgment signal is output to remind the user.
[0103] Furthermore, when it is confirmed that the distance between the wearable device and the skin is not within a preset range, it can be determined that the wearable device is indeed not worn, that is, not in contact with the skin. At this time, a prompt signal is output indicating that the reason for the abnormal wearing of the wearable device is that it does not contact the user's skin, so as to remind the user to adjust the wearing status in time.
[0104] The method for detecting the wearing status of a wearable device provided in the embodiment of the present application, after determining that the cause of the abnormal wearing of the wearable device is that it does not contact the user's skin, further determines whether the cause of the abnormal wearing of the wearable device is accurately detected through infrared ranging, thereby improving the detection accuracy of the wearing status of the wearable device and further improving the user experience.
[0105] As a preferred embodiment, in order to further improve the detection accuracy of the wearing state of the wearable device on the basis of the above embodiment and save resources, before obtaining the impedance value collected by the wearable device, it also includes:
[0106] Determine whether the distance between the wearable device and the skin is within a preset range based on infrared ranging;
[0107] If it is within the preset range, proceed to the step of obtaining the impedance value collected by the wearable device;
[0108] If it is not within the preset range, enter the step of determining whether the distance between the wearable device and the skin is within the preset range based on infrared ranging.
[0109] It is understandable that if the user's impedance value is always obtained, when the user is not wearing the wearable device, it will undoubtedly cause a waste of resources. Therefore, infrared ranging can be used to determine whether the distance between the wearable device and the skin is within a preset range to preliminarily determine whether the user is wearing the wearable device. Specifically, if it is within the preset range, it is determined that the wearable device is in a wearing state. At this time, the wearable device can collect the user's impedance value to further determine whether the wearable device is worn normally based on the impedance value.
[0110] If it is not within the preset range, it is determined that the current user is not wearing the wearable device. In order to avoid wasting resources, there is no need to judge the wearing status of the wearable device based on the impedance value. It is only necessary to continue to determine whether the distance between the wearable device and the skin is within the preset range based on infrared ranging.
[0111] It should be noted that in addition to judging the wearing status of the wearable device based on infrared ranging, it can also be determined based on capacitance value and other methods, which is not limited to this application.
[0112] The method for detecting the wearing status of a wearable device provided in the embodiment of the present application determines whether the distance between the wearable device and the skin is within a preset range based on infrared ranging before obtaining the impedance value collected by the wearable device, thereby avoiding waste of resources and improving the detection accuracy of the wearing status of the wearable device.
[0113] During implementation, in order to avoid collecting invalid impedance value data, which would reduce the detection accuracy of the wearing status of the wearable device, after obtaining the impedance value collected by the wearable device, the impedance value is subjected to sliding mean filtering to filter out invalid data and avoid noise interference.
[0114] The wearing status detection method of a wearable device provided in an embodiment of the present application performs a sliding mean filtering on the impedance value after acquiring the impedance value collected by the wearable device, thereby avoiding the collection of invalid impedance value data, which may lead to misjudgment of the wearing status of the wearable device, and further improving the user experience.
[0115] In the above embodiments, the detection method of the wearing state of the wearable device is described in detail. The present application also provides an embodiment corresponding to the detection device of the wearing state of the wearable device. It should be noted that the present application describes the embodiments of the device part from two perspectives, one is based on the perspective of the functional module, and the other is based on the perspective of the hardware structure.
[0116] Figure 3 A structural diagram of a wearable device wearing status detection device provided in an embodiment of the present application, such as Figure 3 As shown, the device comprises:
[0117] An acquisition module 10 is used to acquire the impedance value collected by the wearable device;
[0118] The determination module 11 is used to respectively determine a first ratio and a second ratio of the number of valid sample points of the impedance value in the first preset impedance interval and the second preset impedance interval within the preset time length to the total number of sample points within the preset time length; wherein the maximum value in the first preset impedance interval is less than or equal to the minimum value in the second preset impedance interval;
[0119] The processing module 12 is used to determine that the wearable device is worn abnormally when the first ratio is less than a preset threshold value, and determine the current motion state of the user according to the acceleration data collected by the wearable device;
[0120] The judging module 13 is used to judge whether the second ratio meets a preset condition to determine the reason why the wearable device is abnormally worn in the current motion state.
[0121] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.
[0122] The detection device for the wearing state of a wearable device provided in an embodiment of the present application includes: obtaining the impedance value collected by the wearable device, and respectively determining the first ratio and the second ratio of the number of valid sample points of the impedance value in the first preset impedance interval and the second preset impedance interval within the preset time length to the total number of sample points within the preset time length, wherein the maximum value in the first preset impedance interval is less than or equal to the minimum value in the second preset impedance interval. When the first ratio is less than the preset threshold, it is determined that the wearable device is worn abnormally, and the current motion state of the user is determined based on the acceleration data collected by the wearable device, and the reason for the abnormal wearing of the wearable device in the current motion state is determined by judging whether the second ratio meets the preset conditions. It can be seen that the technical solution provided by the present application preliminarily determines whether the current wearable device is worn abnormally based on the impedance data of the user, and then combines the acceleration data and the impedance value data to determine the reason for the abnormal wearing of the wearable device, accurately reminds the user of the current wearing condition of the wearable device, and then promptly reminds the user to make adjustments to improve the user experience.
[0123] Figure 4 A structural diagram of a wearable device provided in another embodiment of the present application is shown as follows: Figure 4 As shown, the wearable device includes: a memory 20 for storing a computer program;
[0124] The processor 21 is used to implement the steps of the method for detecting the wearing state of the wearable device mentioned in the above embodiment when executing the computer program.
[0125] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (Digital Signal Processor, referred to as DSP), a field programmable gate array (Field-Programmable Gate Array, referred to as FPGA), and a programmable logic array (Programmable Logic Array, referred to as PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (Central Processing Unit, referred to as CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processor (Graphics Processing Unit, referred to as GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (Artificial Intelligence, referred to as AI) processor, which is used to process computing operations related to machine learning.
[0126] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the wearable device wearing state detection method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. Data 203 may include but is not limited to a wearable device wearing state detection method, etc.
[0127] In some embodiments, the wearable device may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power source 25 , and a communication bus 26 .
[0128] Those skilled in the art will understand that Figure 4 The structure shown in the figure does not constitute a limitation on the wearable device and may include more or fewer components than shown in the figure.
[0129] The wearable device provided in an embodiment of the present application includes a memory and a processor. When the processor executes a program stored in the memory, it can implement the following method: a method for detecting the wearing state of a wearable device.
[0130] The wearable device provided in the embodiment of the present application preliminarily determines whether the current wearable device is worn abnormally based on the user's impedance data, and then combines the acceleration data and the impedance value data to determine the cause of the abnormal wearing of the wearable device, accurately reminding the user of the current wearing status of the wearable device, and then promptly reminding the user to make adjustments, thereby improving the user experience.
[0131] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps recorded in the above method embodiment are implemented.
[0132] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program code.
[0133] The above is a detailed introduction to a method for detecting the wearing status of a wearable device and related components provided by the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can refer to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
[0134] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A method for detecting the wearing state of a wearable device, characterized in that: include: Obtain the impedance value collected by the wearable device; Respectively determining a first ratio and a second ratio of the number of valid sample points of the impedance value in a first preset impedance interval and a second preset impedance interval within a preset time length to the total number of sample points within the preset time length; wherein the maximum value in the first preset impedance interval is less than or equal to the minimum value in the second preset impedance interval; When the first ratio is less than a preset threshold, determining that the wearable device is worn abnormally, and determining the current motion state of the user according to the acceleration data collected by the wearable device; Determining whether the second ratio meets a preset condition to determine the reason why the wearable device is abnormally worn in the current motion state; When the current motion state is a static state, the determining whether the second ratio satisfies a preset condition to determine the reason why the wearable device is abnormally worn in the current motion state includes: Determining whether the second ratio is less than a first preset value; If it is less than the first preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the wearable device does not contact the user's skin; If it is not less than the first preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the wearable device does not completely contact the user's skin; When the current motion state is a motion state, the determining whether the second ratio satisfies a preset condition to determine the reason why the wearable device is abnormally worn in the current motion state includes: Determine whether the second ratio is less than a second preset value; wherein the second preset value is less than the first preset value; If it is less than the second preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the wearable device does not contact the user's skin; If it is not less than the second preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the tightness of wearing the wearable device does not meet the preset condition.
2. The method for detecting the wearing state of a wearable device according to claim 1, characterized in that: Determining the current motion state of the user based on the acceleration data collected by the wearable device includes: Determine the combined acceleration corresponding to the X-axis acceleration, the Y-axis acceleration, and the Z-axis acceleration at each moment within the preset time length; Determining whether the number of times the combined acceleration is greater than a threshold is greater than a preset number; If it is greater than the preset number, determining that the current motion state of the user is a motion state; If it is not greater than the preset number, it is determined that the current motion state of the user is a stationary state.
3. The method for detecting the wearing state of a wearable device according to claim 1, characterized in that: After determining that the reason for the abnormal wearing of the wearable device is that the wearable device does not contact the user's skin, the method further includes: Determining whether the distance between the wearable device and the skin is within a preset range based on infrared ranging; If it is within the preset range, it is determined that the cause of the abnormal wearing of the wearable device is wrong; If it is not within the preset range, a prompt signal indicating that the wearable device is worn abnormally is output.
4. The method for detecting the wearing state of a wearable device according to claim 1, characterized in that: Before obtaining the impedance value collected by the wearable device, the method further includes: Determining whether the distance between the wearable device and the skin is within a preset range based on infrared ranging; If it is within the preset range, entering the step of obtaining the impedance value collected by the wearable device; If it is not within the preset range, enter the step of determining whether the distance between the wearable device and the skin is within the preset range based on infrared ranging.
5. The method for detecting the wearing state of a wearable device according to claim 1, characterized in that: After obtaining the impedance value collected by the wearable device, the method further includes: A sliding mean filter is performed on the impedance value.
6. A device for detecting the wearing state of a wearable device, characterized in that: include: An acquisition module is used to obtain the impedance value collected by the wearable device; A determination module, used to respectively determine a first ratio and a second ratio of the number of valid sample points of the impedance value in a first preset impedance interval and a second preset impedance interval within a preset time length to the total number of sample points within the preset time length; wherein the maximum value in the first preset impedance interval is less than or equal to the minimum value in the second preset impedance interval; a processing module, configured to determine that the wearable device is worn abnormally when the first ratio is less than a preset threshold, and determine the current motion state of the user according to the acceleration data collected by the wearable device; A judging module, configured to judge whether the second ratio satisfies a preset condition to determine a reason why the wearable device is abnormally worn in the current motion state; Wherein, when the current motion state is a stationary state, the determining whether the second ratio satisfies a preset condition to determine the reason why the wearable device is abnormally worn in the current motion state includes: Determining whether the second ratio is less than a first preset value; If it is less than the first preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the wearable device does not contact the user's skin; If it is not less than the first preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the wearable device does not completely contact the user's skin; When the current motion state is a motion state, the determining whether the second ratio satisfies a preset condition to determine the reason why the wearable device is abnormally worn in the current motion state includes: Determine whether the second ratio is less than a second preset value; wherein the second preset value is less than the first preset value; If it is less than the second preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the wearable device does not contact the user's skin; If it is not less than the second preset value, it is determined that the reason for the abnormal wearing of the wearable device is that the tightness of wearing the wearable device does not meet the preset condition.
7. A wearable device, characterized in that: comprising a memory for storing a computer program; A processor, configured to implement the steps of the method for detecting the wearing state of a wearable device as described in any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the method for detecting the wearing state of a wearable device according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
System and method for determining sigma of a clinical diagnostic process
CN102472743A
Wearable device and method of controlling the same
CN105320277A