Wearable device, control method thereof, computer device, and storage medium
By monitoring the wearing angle and posture and calculating the health habit score, the problem that wearable devices cannot effectively monitor user habits is solved, and the user experience and health habit improvement effect are improved.
Patent Information
- Application Number
- CN202210502942.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-09
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2042-05-09
AI Technical Summary
Existing wearable devices are unable to effectively monitor users' wearing health habits, making it difficult for users to improve bad habits and affecting their user experience.
By obtaining the wearing angle of the user's device, judging the posture of the monitored part, combining habit parameters and time coefficients, calculating the current health habit score, and providing data feedback to improve user habits.
It achieves accurate assessment of users' wearing health habits, provides targeted suggestions, and improves user experience and health habit improvement effects.
Smart Images

Figure CN115251836B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of health monitoring, in particular to a wearable device, a control method thereof, a computer device and a storage medium. BACKGROUND
[0002] At present, some wearable devices on the market (such as cervical massage instruments, waist and back massage instruments, back correctors and other products) can perform functions such as neck massage, waist and back massage, and reminders for sitting and posture monitoring. However, how to better monitor the user's wearing health habits and assist the user in improving the bad use habits and improving the user's use experience is an important topic in the industry. SUMMARY
[0003] The embodiments of the present application disclose a wearable device, a control method thereof, a computer device and a storage medium, which can monitor the user's wearing health habits, give a current health habit score of a user's monitoring part, thereby assisting the user in improving the wearing health habits and improving the user's use experience.
[0004] The embodiments of the present application disclose a control method of a wearable device, which comprises the following steps:
[0005] Obtaining a wearing angle of a user wearing the wearable device;
[0006] Determining a posture of a monitoring part of the user according to the wearing angle;
[0007] Determining a habit parameter according to the posture of the monitoring part; and
[0008] Determining a current health habit score Si of the monitoring part according to the habit parameter and the wearing angle.
[0009] In an embodiment, the step of determining the posture of the monitoring part of the user according to the wearing angle comprises: if the wearing angle is greater than a habit threshold, determining that the posture of the monitoring part is an over-strained posture; and / or, if the wearing angle is less than or equal to the habit threshold, determining that the posture of the monitoring part is a normal-strained posture; and / or,
[0010] The step of determining the habit parameter according to the posture of the monitoring part comprises: obtaining a current time coefficient of the user wearing the wearable device, and determining the habit parameter according to the current time coefficient.
[0011] In an embodiment, the interval time of repeated execution of the step of obtaining the wearing angle of the user wearing the wearable device is a preset interval time t, and the step of obtaining the current time coefficient of the user wearing the wearable device comprises:
[0012] If the posture of the part to be monitored is an overburdened posture, an i-1th time coefficient Ti-1 stored in advance is obtained, and a current time coefficient Ti is obtained according to the i-1th time coefficient Ti-1 and the preset interval time t, where Ti = Ti-1 + t, i is a natural number greater than or equal to 1, and T0 = 0; and / or,
[0013] If the posture of the part to be monitored is a normally burdened posture, an i-1th time coefficient Ti-1 stored in advance is obtained, and a current time coefficient Ti is obtained according to the i-1th time coefficient Ti-1 and the preset interval time t, where Ti = Ti-1 * p, p is an adjustment coefficient, T0 = t, and p is less than or equal to 1.
[0014] In an embodiment, the step of determining the habit parameter according to the current time coefficient comprises:
[0015] According to a first function, a corresponding first weight coefficient is searched as the habit parameter based on the current time coefficient Ti, where the first function is a curve function of a plurality of time coefficients and a plurality of first weight coefficients, the first weight coefficient gradually decreases with the gradual increase of the time coefficient, and the first weight coefficient is less than or equal to 1.
[0016] In an embodiment, the first function is:
[0017]
[0018] where Wt is the first weight coefficient, and T is the time coefficient.
[0019] In an embodiment, t = 1 second, p = 0.9, and / or the habit threshold is 30 degrees.
[0020] In an embodiment, the step of determining the current health habit score of the part to be monitored according to the habit parameter and the wearing angle further comprises:
[0021] According to a second function, a corresponding second weight coefficient is searched based on the wearing angle, and the current health habit score of the part to be monitored is determined according to the habit parameter and the second weight coefficient; where the second function is a curve function of a plurality of wearing angles and a plurality of second weight coefficients, the second weight coefficient gradually decreases with the gradual increase of the wearing angle, and the second weight coefficient is less than or equal to 1.
[0022] In an embodiment, the second weight coefficient Ws and the wearing angle θ can satisfy the following formula:
[0023]
[0024] In an embodiment, the current health habit score of the to-be-monitored part is determined according to the habit parameter and the second weight coefficient, and the following is met:
[0025]
[0026] In an embodiment, the wearable device is a neck massager, and the to-be-monitored part is a neck, and the posture of the to-be-monitored part is a bending posture of the neck.
[0027] In an embodiment, the wearing angle includes a first wearing angle, a second wearing angle, and a third wearing angle, the first wearing angle is a head-bowing angle, the second wearing angle is a left-leaning angle, and the third wearing angle is a right-leaning angle, and the step of determining the current health habit score Si of the to-be-monitored part according to the habit parameter and the wearing angle includes:
[0028] obtaining a current health habit score Si1 based on the first wearing angle;
[0029] obtaining a current health habit score Si2 based on the second wearing angle;
[0030] obtaining a current health habit score Si3 based on the third wearing angle;
[0031] determining the current health habit score Si of the to-be-monitored part based on the current health habit scores Si1, Si2, and Si3.
[0032] In an embodiment, the current health habit score Si2 based on the second wearing angle and the current health habit score Si3 based on the third wearing angle are determined according to Si = Si1*p1 + Si2*p2 + Si3*p3, and p1, p2, and p3 are weights.
[0033] In an embodiment, p1 + p2 + p3 = 1, p1 = 0.8, p2 = 0.1, and p3 = 0.1.
[0034] In an embodiment, the method further includes the following steps:
[0035] calculating a health habit score Se of the to-be-monitored part in a preset use time, assuming that n current health habit scores S1, S2,..., Sn of the to-be-monitored part are obtained in the preset use time, i is greater than or equal to 1 and less than or equal to n, and Se = (S1 + S2 +... + Sn) / n.
[0036] In an embodiment, the wearing angle includes angle information of three reference axes of an orientation sensor of the wearable device compared to a reference plane, the three reference axes including an X axis, a Y axis, and a Z axis; the orientation sensor includes a three-axis acceleration sensor,
[0037] The step of obtaining the wearing angle of the user wearing the wearable device includes: receiving three-axis acceleration information obtained by the three-axis acceleration sensor, and calculating three-axis angle information of the three reference axes of the orientation sensor compared to the reference plane according to the three-axis acceleration information; the reference plane is a horizontal plane; when the wearable device is placed on the reference plane in a front-up manner, the X axis has an angle of 90 degrees with the reference plane, and the Y axis and the Z axis each have an angle of 0 degrees with the reference plane.
[0038] The embodiment of the present application further discloses a wearable device including a processor and a memory, the memory storing computer readable instructions, the computer readable instructions being executed by the processor to enable the processor to implement the method of any one of the above embodiments.
[0039] In an embodiment, the wearable device is a neck massager including a neck wearing part hung on a neck, a handle part connected to one end of the neck wearing part, an electrode piece provided on the neck wearing part for massage, a control module, and a power module, the control module including the processor, the memory, and a driving circuit, the power module being electrically connected to the control module, the control module being electrically connected to the electrode piece via the driving circuit, and the orientation sensor being provided on the handle part and electrically connected to the processor; the driving circuit includes a boost circuit and a pulse output circuit electrically connected to the boost circuit, and the pulse output circuit is electrically connected to the electrode piece; the power module includes a power supply, a charging management circuit, and a switching element, the power supply being electrically connected to the control module via the charging management circuit, and the switching element being electrically connected to the power supply.
[0040] The embodiment of the present application further discloses a computer device including a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor to enable the processor to implement the method of any one of the above embodiments.
[0041] The embodiment of the present application further discloses a storage medium having computer readable instructions stored thereon, the computer readable instructions being executed by a processor to implement the method of any one of the above embodiments.
[0042] Compared with the related art, the embodiment of the present application has the following beneficial effects:
[0043] The control method of the wearable device provided in the embodiments of the present application can monitor the posture of the to-be-monitored part of the user, determine the current health habit score Si of the to-be-monitored part according to the habit parameter and the wearing angle, thereby assisting the user in improving the wearing health habit and improving the user experience. Further, it can be understood that the wearing health habit is related to the wearing angle of the user and the habit parameter based on the posture of the to-be-monitored part. The embodiments of the present application can make the current health habit score Si of the to-be-monitored part more reasonable and accurate by considering the wearing angle and the habit parameter for scoring, and can improve the user experience. Further, by storing, summarizing and / or big data comprehensive analyzing the current health habit score Si data of the user for a period of time, the wearing health habit of the user can be clearly and intuitively understood, thereby giving the user targeted suggestions or facilitating the user to make targeted adjustments, and establishing a good wearing health habit. BRIEF DESCRIPTION OF DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiments will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0045] Figure 1 is a flow chart of a control method of a wearable device disclosed in an embodiment of the present application.
[0046] Figure 2 is a state diagram of a user wearing a wearable device.
[0047] Figure 3 is a curve function diagram of a plurality of time coefficients and a plurality of first weight coefficients.
[0048] Figure 4 is a curve function diagram of a plurality of wearing angles and a plurality of second weight coefficients.
[0049] Figure 5 is a detailed work flow chart of a control method of a wearable device disclosed in an embodiment of the present application.
[0050] Figure 6 is a structure diagram of a computer device disclosed in an embodiment of the present application.
[0051] Figure 7 is a structure diagram of a storage medium disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0052] With reference to the drawings and embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.
[0053] It should be noted that the terms "comprising" and "having" and any variations thereof in the embodiments of the present application and the drawings are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to the process, method, product or device.
[0054] The inventor has found through research that some related art wearable devices do not have a function of monitoring a wearing health habit during use, and a person who is long-term low-head office needs visual data feedback of unhealthy cervical vertebra habits to assist the person to consciously improve daily habits and continuously track the improvement.
[0055] In view of this, the present application proposes a wearable device and a control method thereof, a computer device and a storage medium, which can monitor a cervical vertebra health habit of a user, give a cervical vertebra health score of the user, reflect the daily habit with data, so as to assist the user to improve the cervical vertebra health habit and improve the user experience.
[0056] Please refer to Figure 1 and Figure 2 , Figure 1 is a flowchart of a control method of a wearable device according to an embodiment of the present application, Figure 2 is a state diagram of a user wearing a wearable device. The control method of the wearable device can be used in a wearable device 10 with an orientation sensor 11, and can also be applied to a cervical vertebra health habit monitoring system installed on a mobile phone or other electronic device or a computer device. The cervical vertebra health habit monitoring system can receive sensing data provided by a wearable device with an orientation sensor, and obtain a wearing angle of the user wearing the wearable device 10 according to the sensing data, so as to monitor the wearing health habit of the monitored part of the user. The wearable device 10 includes, but is not limited to, smart glasses, head-wearing products, neck massagers, waist and back massagers, etc. As shown in Figure 2 , the present application mainly takes the wearable device 10 as a neck massager as an example for illustrative description.
[0057] Specifically, the control method of the wearable device can include the following steps S1, S2 and S3.
[0058] Step S1, obtaining a wearing angle of a user wearing the wearable device.
[0059] Step S2, judging a posture of a to-be-monitored part of the user according to the wearing angle.
[0060] Step S3, determining a habit parameter according to the posture of the to-be-monitored part.
[0061] Step S4, determining a current health habit score Si of the to-be-monitored part according to the habit parameter and the wearing angle.
[0062] The control method of the wearable device provided by the embodiments of the present application can monitor the posture of the to-be-monitored part of the user, determine the current health habit score Si of the to-be-monitored part according to the habit parameter and the wearing angle, thereby assisting the user to improve the wearing health habit and improving the user experience. Further, it can be understood that the wearing health habit is related to the wearing angle of the user and the habit parameter based on the posture of the to-be-monitored part. The embodiments of the present application can make the final current health habit score Si of the to-be-monitored part more reasonable and accurate by considering the wearing angle and the habit parameter for scoring, and can improve the user experience. Further, by storing, summarizing and / or big data comprehensive analyzing the current health habit score Si data of the user for a period of time, the wearing health habit of the user can be clearly and intuitively understood, thereby giving the user targeted suggestions or facilitating the user to make targeted adjustments, and establishing a good wearing health habit.
[0063] It can be understood that the orientation sensor 11 is a sensor that can detect the orientation of the wearable device 10 and output sensing data. In some embodiments, the orientation sensor 11 can directly detect and output the wearing angle. In other embodiments, the orientation sensor 11 can detect and output sensing data, so that the wearing angle information can be further calculated according to the sensing data. Through the orientation sensor 11, the wearing angle of the user wearing the wearable device 10 can be obtained, the current wearing use habit of the user can be known, and the wearing health habit of the user can be monitored and scored.
[0064] As Figure 2As shown, the orientation sensor 11 can have three reference axes, the wearing angle can include angle information of the three reference axes of the orientation sensor 11 relative to a reference plane, in particular, the three reference axes can include an X axis, a Y axis and a Z axis, and the reference plane can be a horizontal plane; the orientation sensor 11 can be arranged in the handle portion 12 of the wearable device 10, and when the wearable device 10 is placed on the reference plane in a front-up manner (the handle portion 12 is located at the position of the left shoulder of the user when the user wears it), the X axis can have an angle of about 90 degrees with the reference plane, and the Y axis and the Z axis can have an angle of 0 degrees with the reference plane. It can be understood that, by using the above three reference axes and the reference plane, and the reference parameter setting when the wearable device 10 is in the front-up manner, the wearing angle can be conveniently analyzed to obtain the current cervical vertebrae usage habit.
[0065] In this embodiment, the orientation sensor 11 can include a three-axis acceleration sensor, and the step S1 can include: receiving three-axis acceleration information acquired by the three-axis acceleration sensor, and calculating three-axis angle information of the three reference axes of the orientation sensor 11 relative to the reference plane according to the three-axis acceleration information. It can be understood that the three-axis acceleration sensor is not only common, but also simple in structure, low in cost and high in stability.
[0066] Further, it can be understood that, in the three-axis acceleration sensor, the angles θ x , θ y , θ z of the three reference axes X axis, Y axis and Z axis relative to the reference plane satisfy the following formula:
[0067]
[0068] Wherein, A x , A y , A z are the accelerations of the orientation sensor in the X axis, Y axis and Z axis, respectively.
[0069] The angle of the Y axis relative to the reference plane can be defined as a head-lowering angle, the angle of the Y axis relative to the reference plane can include 0 degrees (i.e. when one end of the Y axis arrow is located in the reference plane), the angle of the Y axis relative to the reference plane can also be a positive value (i.e. when one end of the Y axis arrow is higher than the reference plane), and the angle of one end of the Y axis arrow relative to the reference plane can also be a negative value (i.e. when the Y axis is lower than the reference plane). It can be understood that, when the user normally wears the wearable device, the angle of the Y axis relative to the reference plane is usually greater than or equal to 10 degrees and less than or equal to 30 degrees.
[0070] A positive angle between the Z axis and the reference plane is defined as a left-leaning angle (i.e., when one end of the Z axis arrow is above the reference plane), and a negative angle between the Z axis and the reference plane is defined as a right-leaning angle (i.e., when one end of the Z axis arrow is below the reference plane). When the angle between the Z axis and the reference plane is 0, the Z axis is located in the reference plane.
[0071] Furthermore, step S2 may include the following steps: if the wearing angle is greater than a habit threshold, determining that the posture of the monitored part is an excessively affected posture; and / or if the wearing angle is less than or equal to the habit threshold, determining that the posture of the monitored part is a normal affected posture. Specifically, the habit threshold may be 30 degrees. For example, when the wearing angle is greater than 30 degrees, it is considered that the monitored part is in an excessively affected posture that is prone to fatigue. When the wearing angle is less than or equal to 30 degrees, such as when the wearing angle is 10 degrees, it is considered that the monitored part is in a normal affected posture that is normally used.
[0072] Furthermore, step S3 may include: obtaining a current time coefficient of the wearable device worn by the user, and determining the habit parameter based on the current time coefficient. Specifically, the orientation sensor 11 has a preset detection period, that is, the detection period is also the interval time of repeatedly executing step S1 of obtaining the wearing angle of the wearable device worn by the user. Assuming that the interval time of repeatedly executing step S1 is the preset interval time t, the step of obtaining the current time coefficient of the wearable device worn by the user in step S3 may further include the following steps:
[0073] If the posture of the part to be monitored is an excessively affected posture, the pre-stored i-1th time coefficient T is obtained. i-1 , according to the i-1th time coefficient T i-1 and the preset interval time t to obtain the current time coefficient T i , where Ti = T i-1 +t, i is a natural number greater than or equal to 1, T0=0;
[0074] If the posture of the part to be monitored is a normal affected posture, the pre-stored i-1th time coefficient T is obtained. i-1 , according to the i-1th time coefficient T i-1 and the preset interval time t to obtain the current time coefficient T i , where Ti = T i-1 *p, p is the adjustment coefficient, p is less than or equal to 1.
[0075] Furthermore, the step S3 further includes the following steps: based on the current time coefficient T iAccording to the first function, a corresponding first weight coefficient is searched as the habit parameter, wherein the first function is a curve function of a plurality of time coefficients and a plurality of first weight coefficients, the first weight coefficient gradually decreases with gradual increase of the time coefficient, and the first weight coefficient is less than or equal to 1. Specifically, as shown in Figure 3 the first function is:
[0076]
[0077] wherein Wt is the first weight coefficient, and T is the time coefficient. In an embodiment, T0 is a preset initial value, t = 1 second, T0 = 0; the adjustment coefficient is greater than 0.5 and less than 1, and specifically can be 0.9.
[0078] For the convenience of understanding, the specific calculation of the current health habit score Si is exemplarily illustrated as follows. In one embodiment, after the device is started, the pre-stored time coefficient T0 is acquired for the first time, T0 can be equal to 0, and based on the first-acquired wearing angle, the posture of the to-be-monitored part is an over-strained posture, the current time coefficient T1 = T0 + t = t, so as to acquire the first weight coefficient based on the first function according to the Ti, acquire the second weight coefficient based on the second function according to the wearing angle, and acquire the current health habit score S1 of the to-be-monitored part according to the product of the first weight coefficient and the second weight coefficient. Further, the pre-stored time coefficient T1 is acquired for the second time, and based on the second-acquired wearing angle, the posture of the to-be-monitored part is an over-strained posture, the current time coefficient T2 = T1 + t = 2t, so as to acquire the first weight coefficient based on the first function according to the T2, acquire the second weight coefficient based on the second function according to the wearing angle, and acquire the current health habit score S2 of the to-be-monitored part according to the product of the first weight coefficient and the second weight coefficient. Further, the pre-stored time coefficient T2 is acquired for the third time, and based on the third-acquired wearing angle, the posture of the to-be-monitored part is a normally-strained posture, the current time coefficient T3 = T2 * p = 2t * 0.9, so as to acquire the first weight coefficient based on the first function according to the T3, acquire the second weight coefficient based on the second function according to the wearing angle, and acquire the current health habit score S3 of the to-be-monitored part according to the product of the first weight coefficient and the second weight coefficient. Further, the pre-stored time coefficient T3 is acquired for the fourth time, and based on the fourth-acquired wearing angle, the posture of the to-be-monitored part is a normally-strained posture, the current time coefficient T4 = T3 * p = 2t * 0.9 * 0.9, so as to acquire the first weight coefficient based on the first function according to the T4, acquire the second weight coefficient based on the second function according to the wearing angle, and acquire the current health habit score S4 of the to-be-monitored part according to the product of the first weight coefficient and the second weight coefficient. It can be understood that the pre-stored time coefficient acquired each time is T i-1 , the posture is determined to be an over-strained posture or a normally-strained posture based on the current different wearing angle, so as to select different calculation rules to calculate the current time coefficient T i , so as to achieve the purpose of adjusting the influence of the time coefficient on the final score based on different postures, and make the finally-acquired current health habit score Si of the to-be-monitored part more accurately and reliably reflect the wearing health habit of the user.
[0079] It can be understood that, when the posture is a normal affected posture, the adjustment coefficient reduces the influence of time on the final score, and thus makes the score more reasonable and the user experience better, compared with the score without using the adjustment coefficient.
[0080] The step S4 can include: determining, based on the wearing angle, a corresponding second weight coefficient according to a second function, and determining the current health habit score of the to-be-monitored part according to the habit parameter and the second weight coefficient; and Figure 4 As shown, the second function is a curve function of a plurality of wearing angles and a plurality of second weight coefficients, and the second weight coefficient gradually decreases with the gradual increase of the wearing angle, and the second weight coefficient is less than or equal to 1. The second function is a curve function of a plurality of wearing angles and a plurality of second weight coefficients, and the second weight coefficient gradually decreases with the gradual increase of the wearing angle. As can be seen, according to the second function, the gradual increase of the wearing angle and the gradual decrease of the second weight coefficient are not in a linear relationship. In an embodiment, as shown, Figure 4 The second weight coefficient Ws and the wearing angle θ can satisfy the following formula:
[0081]
[0082] Further, it can be understood that, in an embodiment, the current health habit score Si of the to-be-monitored part can be the product of the first weight coefficient Wt and the second weight coefficient Ws, that is, it satisfies the following formula:
[0083]
[0084] It can be understood that the wearing angle includes a first wearing angle, a second wearing angle, and a third wearing angle, wherein the first wearing angle is a low head angle. Since the low head angle has the greatest influence on the user's wearing health habit, in an embodiment, the current health habit score Si of the to-be-monitored part can be calculated mainly based on the low head angle as the wearing angle. However, in a modified embodiment, the left tilt angle and the right tilt angle can also be further considered to calculate the current health habit score Si of the to-be-monitored part. Specifically, the step of determining the current health habit score Si of the to-be-monitored part according to the habit parameter and the wearing angle includes:
[0085] obtaining a current health habit score Si1 based on the first wearing angle;
[0086] obtaining a current health habit score Si2 based on the second wearing angle;
[0087] obtaining a current health habit score Si3 based on the third wearing angle;
[0088] determine a current health habit score Si of the to-be-monitored part based on the current health habit scores Si1, Si2 and Si3.
[0089] Specifically, the determination of the current health habit score Si of the to-be-monitored part based on the current health habit scores Si1, Si2 and Si3 satisfies:
[0090] Si = Si1*p1 + Si2*p2 + Si3*p3, wherein p1, p2 and p3 are weights respectively, and p1 + p2 + p3 = 1; specifically, in an embodiment, p1 = 0.8, p2 = 0.1 and p3 = 0.1, but not limited to the above.
[0091] wherein the second wearing angle is a left leaning angle, the third wearing angle is a right leaning angle, and the calculation method of the current health habit score Si2 based on the second wearing angle is basically the same as that of the current health habit score Si1, that is, a corresponding first weight coefficient is found based on the first function according to the time coefficient, a second weight coefficient is found based on the second function according to the second wearing angle, and the current health habit score Si2 based on the second wearing angle is calculated according to the first weight coefficient and the second weight coefficient. Similarly, the calculation method of the current health habit score Si3 based on the third wearing angle is basically the same as that of the current health habit score Si1, that is, a corresponding first weight coefficient is found based on the first function according to the time coefficient, a second weight coefficient is found based on the second function according to the third wearing angle, and the current health habit score Si3 based on the second wearing angle is calculated according to the first weight coefficient and the second weight coefficient.
[0092] Further, in an embodiment, the control method can further include the following steps:
[0093] calculate a health habit score Se of the to-be-monitored part in a preset use time, wherein n current health habit scores S1, S2...Sn of the to-be-monitored part are obtained in the preset use time, i is greater than or equal to 1 and less than or equal to n, and Se = (S1 + S2 +...+ Sn) / n. The preset use time can be a massage cycle or a time period from the start to the shutdown of the wearable device. In this way, the health habit score Se of the to-be-monitored part in the cumulative time period can be obtained, achieving the purpose of comprehensive evaluation based on time, making the final health habit score Se more reasonable and accurate, and improving the user experience.
[0094] It can be understood that the wearable device can calculate the health habit score Se for the preset usage time and provide it to the user, or it can provide the calculated current health habit score Si to the user in real time, or calculate the average value (S1+S2+...+Si) / i based on multiple health habit scores S1, S2...Si in real time and provide it to the user. The specific setting can be based on actual needs.
[0095] For example, in one embodiment, after powering on, if the user is in an over-involvement state with a wearing angle (such as a head-down angle) greater than a habitual threshold (such as 30 degrees) for the first 10 seconds, and then is in a normal involvement state with a wearing angle less than or equal to the habitual threshold for the next 10 to 20 seconds, and is again in an over-involvement state with a wearing angle greater than the habitual threshold for 20 to 30 seconds.
[0096] First, in the time period from 1 to 10 seconds, based on the acquired wearing angle, the posture of the part to be monitored is an excessively affected posture, and the pre-stored time coefficient acquired for the first time is T0=0, then the time coefficients T1 to T10 acquired in sequence from 1 to 10 seconds are 10 , where T i =T i-1 + t = t * i, i is greater than or equal to 1 and less than or equal to 10; then the 1st to 10th seconds are based on the time coefficient T i Based on the first function, the corresponding 10 first weight coefficients Wt1 to Wt 10 ; and obtain the corresponding 10 second weight coefficients Ws1~Ws based on the second function according to the wearing angle 10 Based on the first weight coefficient Wt1~Wt 10 and the second weight coefficients Ws1 to Ws 10 The 1st to 10th health habit scores S1 to S10 can be obtained by calculation (such as multiplying the two or multiplying the two by a preset reference coefficient).
[0097] Second, during the 11th to 20th second period, based on the acquired wearing angle, the posture of the monitored part is a normal affected posture, and the pre-stored time coefficient acquired in the 11th second is T 10 =t*10, then the time coefficients T obtained from the 11th to the 20th seconds are 11 ~T 20 , where T i =T 10 *P i-10 =t*10*0.9 i-10 , i is greater than or equal to 11 and less than or equal to 20; then the 11th to 20th seconds are based on the time coefficient T i Based on the first function, the corresponding 10 first weight coefficients Wt are obtained in sequence 11~ Wt 20 ; and based on the first function, 10 first weight coefficients Wt ~ Wt are sequentially obtained according to the wearing angle 11 ~ Wt 20 ; based on the first weight coefficients Wt ~ Wt 11 ~ Wt 20 and the second weight coefficients Ws ~ Ws 11 ~ Ws 20 The 11th to 20th health habit scores S11 ~ S20 can be calculated (e.g., multiplied by each other or multiplied by each other and a preset reference coefficient).
[0098] Next, in the time period of 21st to 30th second, based on the obtained wearing angle, the posture of the to-be-monitored part is an over-strained posture, the time coefficient T stored in advance obtained at the 21st second is T = t * 10 * 0.9 20 10 , then the time coefficients T ~ T obtained sequentially in the 21st to 30th second are T = t * 10 * 0.9 21 ~ T 30 , where T = T i = T 20 + (i-20) = t * 10 * 0.9 10 + (i-20), i is greater than or equal to 21 and less than or equal to 30; then based on the first function, 10 first weight coefficients Wt ~ Wt are sequentially obtained according to the time coefficients T ~ T i ~ Wt 21 ~ Wt 30 ; and based on the first function, 10 first weight coefficients Wt ~ Wt are sequentially obtained according to the wearing angle 21 ~ Wt 30 ; based on the first weight coefficients Wt ~ Wt 21 ~ Wt 30 and the second weight coefficients Ws ~ Ws 21 ~ Ws 30 The 21st to 30th health habit scores S21 ~ S30 can be calculated (e.g., multiplied by each other or multiplied by each other and a preset reference coefficient).
[0099] Further, based on the above calculation, in the preset use time period of 30 seconds, the health habit score Se of the to-be-monitored part is Se = (S1 + S2 +... + S29 + S30) / 30.
[0100] For example, in another embodiment, after starting, if the user is in a normal strain state with a wearing angle less than or equal to a habit threshold (e.g., 30 degrees) for the first 10 seconds, is in an over-strain state with a wearing angle greater than the habit threshold for the next 10 seconds to 20 seconds, and is again in a normal strain state with a wearing angle less than or equal to the habit threshold for the time of 20 seconds to 30 seconds.
[0101] First, in the time period from the 1st to the 10th second, based on the acquired wearing angle, the posture of the part to be monitored is a normal affected posture, and the pre-stored time coefficients acquired for the first time are T0=t, T1=T0*P, then the time coefficients T1~T acquired from the 1st to the 10th second are 10 , where T i =T0*P i =t*0.9 i , i is greater than or equal to 1 and less than or equal to 10; then the 1st to 10th seconds are based on the time coefficient T i Based on the first function, the corresponding 10 first weight coefficients Wt1 to Wt 10 ; and obtain the corresponding 10 second weight coefficients Ws1~Ws based on the second function according to the wearing angle 10 Based on the first weight coefficient Wt1~Wt 10 and the second weight coefficients Ws1 to Ws 10 The 1st to 10th health habit scores S1 to S10 can be obtained by calculation (such as multiplying the two or multiplying the two by a preset reference coefficient).
[0102] Second, during the 11th to 20th second period, based on the acquired wearing angle, the posture of the monitored part is an excessively affected posture, and the pre-stored time coefficient acquired during the 11th second period is T 10 =T0*P 10 =t*0.9 10 , then the time coefficients T obtained from the 11th to the 20th seconds are 11 ~T 20 , where T i =t*0.9 10 +(i-10), i is greater than or equal to 11 and less than or equal to 20; then the 11th to 20th seconds are based on the time coefficient T i Based on the first function, the corresponding 10 first weight coefficients Wt are obtained in sequence 11 ~Wt 20 ; and obtaining the corresponding 10 second weight coefficients Ws based on the second function according to the wearing angle 11 ~Ws 20 Based on the first weight coefficient Wt 11 ~Wt 20 and the second weight coefficient Ws 11 ~Ws 20 The 11th to 20th health habit scores S11-S20 can be obtained by calculation (such as multiplying the two or multiplying the two by a preset reference coefficient).
[0103] Next, in the time period of 21 to 30 seconds, based on the acquired wearing angle, the posture of the to-be-monitored part is a normal affected posture, the time coefficient T acquired at 21 seconds is T 20 = t * 0.9 10 + (20-10), then the time coefficients T acquired at 21 to 30 seconds are T 21 ~ T 30 , where T i = T 20 * P (i-20) = T 20 * 0.9 (i-20) , i is greater than or equal to 21 and less than or equal to 30; then the time coefficients T acquired at 21 to 30 seconds are T i Based on the first function, 10 first weight coefficients Wt 21 ~ Wt 30 are acquired in sequence; and based on the wearing angle, 10 second weight coefficients Ws 21 ~ Ws 30 are acquired in sequence based on the second function; based on the first weight coefficients Wt 21 ~ Wt 30 and the second weight coefficients Ws 21 ~ Ws 30 , the health habit scores S21 to S30 at 21 to 30 seconds can be calculated (for example, multiplied by each other or multiplied by each other and a preset reference coefficient).
[0104] Further, based on the above calculation, in another embodiment, in the above-mentioned 30-second preset use time period, the health habit score Se of the to-be-monitored part is Se = (S1 + S2 +... + S29 + S30) / 30.
[0105] Please refer to Figure 2 and Figure 5 , Figure 5 is a circuit block diagram of a wearable device 10 disclosed in an embodiment of the present application. The wearable device 10 comprises the orientation sensor 11, the processor 14 and the memory 15, the memory 15 stores computer readable instructions, and the computer readable instructions are executed by the processor 14 to enable the processor 14 to implement the control method of the wearable device disclosed in any one of the above embodiments.
[0106] Specifically, in the embodiment, the wearable device is a neck massager, which comprises a neck wearing part 13 hung on the neck, a handle part 12 connected to one end of the neck wearing part 13, an electrode sheet 16 for massaging arranged on the neck wearing part 13, a control module 17, and a power module 18. The control module 17 comprises a processor 14, a memory 15, and a driving circuit (not shown). The power module 18 is electrically connected to the control module 17. The control module 17 is electrically connected to the electrode sheet 16 via the driving circuit. The orientation sensor 11 is arranged on the handle part 12 and is electrically connected to the processor 14. The driving circuit comprises a boost circuit 19 and a pulse output circuit 20 electrically connected to the boost circuit 19. The pulse output circuit 20 is electrically connected to the electrode sheet 16. The power module 18 comprises a power supply 21, a charging management circuit 22, and a switch element 23. The power supply 21 is electrically connected to the control module 17 via the charging management circuit 22. The switch element 23 is electrically connected to the power supply 21.
[0107] Specifically, the power supply 21 adopts a rechargeable lithium battery. The charging management circuit 22 comprises a Type-C USB and a charging IC. When charging, the device is powered by the Type-C USB. The switch element 23 is a normally open key. After being pressed, the control module 17 is powered on. The processor 14 can be an MCU, which realizes the entire control logic. The memory 15 can be built-in in the MCU. The boost circuit 19 can increase the voltage and adjust the massaging strength. The pulse output circuit 20 can control the pulse frequency and pulse width. Finally, the electric pulse acts on the user's body through the electrode sheet 16, thereby realizing massaging.
[0108] As shown in Figure 6 The embodiment of the present application also discloses a computer device 600, which comprises a memory 620 and a processor 610. The memory 620 stores computer readable instructions. When the processor 610 executes the computer readable instructions, the processor 610 realizes the control method of the wearable device according to any one of the above embodiments. The computer device 600 includes but is not limited to a computer, a mobile terminal such as a mobile phone, or a cloud server.
[0109] As shown in Figure 7 The embodiment of the present application also discloses a storage medium 700, which can be a computer readable storage medium. The storage medium 700 stores computer readable instructions 710. When the processor executes the computer readable instructions 710, the control method of the wearable device according to any one of the above embodiments is realized.
[0110] It should be understood that every feature, structure, or characteristic described herein is within a preferred embodiment of the present application. It should be noted that the features, structures, or characteristics described in connection with one embodiment can be combined in any manner with features, structures, or characteristics of other embodiments. For the purposes of the present application, the phrase "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described is included in at least one embodiment of the present application. Thus, appearances of the phrases "in one embodiment" or "in an embodiment" not necessarily refer to the same embodiment. Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It will be appreciated by persons skilled in the art that the embodiments described herein represent preferred embodiments of the present application. The features, structures, or characteristics described in connection with one embodiment can be combined in any manner with features, structures, or characteristics of other embodiments. The skilled person will also appreciate that the described embodiments are optional and that the described acts and modules are not necessarily required for the present application.
[0111] In various embodiments of the present application, it should be understood that the magnitude of the serial number of the above processes does not mean the inevitable sequence of execution, and the execution sequence of the processes should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0112] The units described above as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e. can be located in one place, or can be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiments of the present application.
[0113] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0114] The integrated unit described above, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer accessible memory. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a memory and includes a number of steps for causing a computer device (which can be a personal computer, a server or a network device, etc., and specifically can be a processor in the computer device) to execute the above-mentioned methods of the embodiments of the present application.
[0115] Those skilled in the art can understand that all or part of the steps of various methods in the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer readable storage medium, including a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically-Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other disc storage, a magnetic disk storage, a magnetic tape storage, or any other medium that can be used to carry or store data in a computer readable manner.
[0116] The above describes in detail the wearable device and the control method thereof, the computer device and the storage medium disclosed in the embodiments of the present application. The principles and implementation manners of the present application are described by applying specific examples. The above description of the embodiments is only used to help understand the method and the core idea of the present application. Meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manners and application ranges can be changed. In summary, the content of the specification should not be understood as a limitation of the present application.
Claims
1. A control method for a wearable device, characterized in that: The control method comprises the following steps: Get the wearing angle of the wearable device worn by the user; Determining the posture of the user's part to be monitored according to the wearing angle; Determining habit parameters according to the posture of the part to be monitored; and Determine the current health habit score Si of the monitored part according to the habit parameter and the wearing angle; The step of determining the current health habit score Si of the monitored part according to the habit parameter and the wearing angle includes: Searching for a corresponding second weight coefficient according to a second function based on the wearing angle; determining a current health habit score of the part to be monitored based on the habit parameter and the second weight coefficient; The second function is a curve function of the wearing angle and the second weight coefficient, and as the wearing angle gradually increases, the second weight coefficient gradually decreases, and the second weight coefficient is less than or equal to 1; The determining of the habit parameter according to the posture of the part to be monitored includes: Get the current time coefficient T of the user wearing the wearable device i ; Based on the current time coefficient T i The first weight coefficient corresponding to the first function is searched as the habit parameter according to the first function, wherein the first function is a curve function of the time coefficient and the first weight coefficient. As the time coefficient gradually increases, the first weight coefficient gradually decreases. The first weight coefficient is less than or equal to 1. The current time coefficient T i It is based on the i-1th time coefficient T i-1 and a preset interval time t, where the preset time interval t is the interval time for repeatedly executing the step of obtaining the wearing angle of the user wearing the wearable device.
2. The control method of the wearable device according to claim 1, wherein: The step of judging the posture of the user's part to be monitored based on the wearing angle includes: if the wearing angle is greater than the habit threshold, determining that the posture of the part to be monitored is an over-involvement posture; and / or, if the wearing angle is less than or equal to the habit threshold, determining that the posture of the part to be monitored is a normal involvement posture.
3. The control method of the wearable device according to claim 2, wherein: The step of obtaining the current time coefficient of the wearable device worn by the user includes: If the posture of the part to be monitored is an excessively affected posture, the pre-stored i-1th time coefficient T is obtained. i-1 , according to the i-1th time coefficient T i-1 and the preset interval time t to obtain the current time coefficient T i , where T i =T i-1 +t, i is a natural number greater than or equal to 1, T0=0; and / or, If the posture of the part to be monitored is a normal affected posture, the pre-stored i-1th time coefficient T is obtained. i-1 , according to the i-1th time coefficient T i-1 and the preset interval time t to obtain the current time coefficient T i , where T i =T i-1 *p, p is the adjustment coefficient, T0=t, p is less than or equal to 1.
4. The control method of the wearable device according to claim 3, wherein: The first function is: Among them, W t is the first weight coefficient, and T is the time coefficient.
5. The control method of the wearable device according to claim 3, wherein: t=1 second, and / or, p=0.9, and / or, the habituation threshold is 30 degrees.
6. The control method of the wearable device according to claim 1, wherein: The second weight coefficient W s The following formula can be satisfied between the wearing angle θ:
7. The control method of the wearable device according to claim 4, wherein: The current health habit score Si of the monitored part is determined based on the habit parameter and the second weight coefficient, and satisfies:
8. The control method of the wearable device according to claim 1, wherein: The wearable device is a neck massager, the part to be monitored is the neck, and the posture of the part to be monitored is the bending posture of the neck.
9. The control method of the wearable device according to claim 1 or 2, wherein: The wearing angle includes a first wearing angle, a second wearing angle, and a third wearing angle, wherein the first wearing angle is a head-down angle, the second wearing angle is a left-leaning angle, and the third wearing angle is a right-leaning angle; The step of determining the current health habit score Si of the monitored part according to the habit parameter and the wearing angle includes: Obtaining a current health habit score Si1 based on the first wearing angle; Obtaining a current health habit score Si2 based on the second wearing angle; Obtaining a current health habit score Si3 based on the third wearing angle; The current health habit score Si of the part to be monitored is determined based on the current health habit scores Si1, Si2 and Si3.
10. The control method of the wearable device according to claim 9, wherein: The current health habit score Si of the monitored part is determined based on the current health habit scores Si1, Si2 and Si3 to satisfy: Si=Si1*p1+Si2*p2+Si3*p3, where p1, p2, and p3 are weights respectively, and p1+p2+p3=1.
11. The control method of the wearable device according to claim 10, wherein: p1=0.8, p2=0.1, p3=0.
1.
12. The control method of the wearable device according to claim 1, wherein: The method further comprises the following steps: Calculate the health habit score Se of the monitored part during the preset usage time. Suppose that a total of n current health habit scores S1, S2...Sn of the monitored parts are obtained during the preset usage time, i is greater than or equal to 1 and less than or equal to n, Se = (S1+S2+...+Sn) / n.
13. The control method of the wearable device according to claim 1, characterized in that: The wearing angle includes angle information of three reference axes of the orientation sensor of the wearable device compared to a reference plane, wherein the three reference axes include an X-axis, a Y-axis, and a Z-axis; the orientation sensor includes a three-axis acceleration sensor, The step of obtaining the wearing angle of the wearable device worn by the user includes: receiving the three-axis acceleration sensor to obtain three-axis acceleration information, and calculating the three-axis angle information of the three reference axes of the orientation sensor relative to the reference plane based on the three-axis acceleration information; the reference plane is a horizontal plane; when the wearable device is placed on the reference plane with the front side facing up, the X-axis has an angle of 90 degrees with the reference plane, and the Y-axis and the Z-axis have an angle of 0 degrees with the reference plane.
14. A wearable device, characterized in that: The wearable device includes a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor implements the method according to any one of claims 1 to 7 and 9 to 13.
15. The wearable device according to claim 14, wherein: The wearable device is a neck massager, comprising a neck-mounted portion hung on the neck, a handle portion connected to one end of the neck-mounted portion, an electrode sheet for massage arranged on the neck-mounted portion, a control module and a power module, the control module comprising the processor, the memory and the drive circuit, the power module being electrically connected to the control module, the control module being electrically connected to the electrode sheet via the drive circuit, the orientation sensor of the wearable device being arranged on the handle portion and being electrically connected to the processor; the drive circuit comprising a boost circuit and a pulse output circuit electrically connected to the boost circuit, the pulse output circuit being electrically connected to the electrode sheet; the power module comprising a power supply, a charging management circuit and a switching element, the power supply being electrically connected to the control module via the charging management circuit, and the switching element being electrically connected to the power supply.
16. A computer device comprising a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor implements the method according to any one of claims 1 to 13.
17. A storage medium having computer-readable instructions stored thereon, characterized in that: When the computer-readable instructions are executed by a processor, the method according to any one of claims 1 to 13 is implemented.
Citation Information
Patent Citations
User posture monitoring method and wearable equipment
CN106510719A
Cervical vertebra posture evaluation method and device, equipment and storage medium
CN113723297A