Method for controlling smart wearable device, smart wearable device and storage medium

By using gyroscopes and acceleration sensors in smart wearable devices to recognize user gestures, it solves the problem of user inconvenience in different scenarios and achieves higher convenience and practicality for incoming calls.

CN112667073BActive Publication Date: 2024-09-20SHENZHEN DO INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011524905.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-21
Publication Date
2024-09-20
Estimated Expiration
2040-12-21

AI Technical Summary

Technical Problem

Existing smart wearable devices are inconvenient to answer and hang up calls when users are walking, running, cycling, driving, etc., making it difficult to meet users' convenience needs.

Method used

By integrating gyroscopes and acceleration sensors into smart wearable devices, the user's gestures can be identified and matched with preset gestures to control communication information processing, including operations such as answering and hanging up calls.

Benefits of technology

It improves the operability and practicality of users' incoming calls from smart wearable devices in different scenarios, and enhances recognition accuracy and convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112667073B
    Figure CN112667073B
Patent Text Reader

Abstract

The embodiment of the present application provides a method for controlling a smart wearable device, a smart wearable device, and a storage medium, the method comprising: obtaining rotation data output by a gyroscope in a preset time period in the X-axis direction; determining the number of rotations of a user's arm in a preset time period based on the rotation data; obtaining acceleration data output by an acceleration sensor in a preset time period; determining the posture of the user's arm during the rotation process based on the acceleration data; and controlling the smart wearable device to process communication information according to a processing instruction corresponding to a target gesture that matches the number of rotations and the posture. The method of the embodiment of the present application recognizes the user's gesture action through a gyroscope and an acceleration sensor, and matches the user's gesture action with the target gesture, thereby processing the incoming call information of the smart wearable device according to the corresponding processing instruction, thereby enhancing the operability and practicality of the user's incoming calls to the smart wearable device in scenes such as walking, running, cycling, and driving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of gesture recognition technology, and in particular to a method for controlling a smart wearable device, a smart wearable device, and a storage medium. Background Art

[0002] With the development of science and technology, the functions that can be realized by smart wearable devices (such as bracelets, watches, etc.) are gradually increasing. For example, existing smart wearable devices can realize the functions of answering and hanging up calls.

[0003] Currently, there are two main ways for smart wearable devices to answer and hang up calls:

[0004] (1) Remove the bracelet (watch) from the wristband to answer the call, and put it back on the wristband to hang up the call; (2) Answer and hang up the call by operating the screen or buttons of the bracelet (watch).

[0005] However, in real life, the above implementation method cannot meet the convenience of users in different scenarios. For example, when users are walking, running, riding, driving, etc., in order to answer or hang up the phone, users still need to manually operate the bracelet (watch), which brings great inconvenience to users. Therefore, improving the implementation method of answering and hanging up the phone on existing smart wearable devices and improving the operability and practicality of answering and hanging up the phone on smart wearable devices has become an urgent problem to be solved. Summary of the invention

[0006] The purpose of the embodiments of the present application is to provide a method for controlling a smart wearable device, a smart wearable device and a storage medium, so as to improve the existing implementation method of answering and hanging up calls on smart wearable devices, and improve the operability and practicality of answering and hanging up calls on smart wearable devices.

[0007] In a first aspect, an embodiment of the present application provides a method for controlling a smart wearable device, wherein the smart wearable device is used to be worn on a user's arm, and the smart wearable device includes a gyroscope and an acceleration sensor. The method includes: obtaining rotation data output by the gyroscope in an X-axis direction within a preset time period, wherein the X-axis direction is a direction parallel to the user's arm; determining the number of rotations of the user's arm within the preset time period based on the rotation data; obtaining acceleration data output by the acceleration sensor within the preset time period; determining the posture of the user's arm during the rotation based on the acceleration data; and controlling the smart wearable device to process communication information according to a processing instruction corresponding to a target gesture matching the number of rotations and the posture, wherein the target gesture is one of at least one preset gesture, and each of the at least one preset gesture corresponds to a processing instruction.

[0008] In the above implementation process, the user's gesture movements are recognized by the gyroscope and acceleration sensor in the smart wearable device, and the recognized gesture movements are matched with the target gestures in the smart wearable device, so as to obtain the processing instructions corresponding to the target gestures. The smart wearable device then processes the incoming call information of the smart wearable device according to the obtained processing instructions, including answering the call, hanging up the call and rejecting the call, thereby enhancing the operability and practicality of the user's incoming calls on the smart wearable device in scenarios such as walking, running, cycling, and driving.

[0009] In combination with the first aspect, in one embodiment, in the step of obtaining rotation data output by the gyroscope in a preset time period in the X-axis direction, the rotation data includes the rotation angular velocity and rotation direction of the user's arm in a plane perpendicular to the X-axis.

[0010] In combination with the first aspect, in another embodiment, before obtaining the acceleration data output by the acceleration sensor within the preset time period, the method further includes: determining whether the number of rotations of the user's arm within the preset time period meets a preset number of rotations.

[0011] In the above implementation process, after determining that the number of rotations of the user's arm within the preset time period meets the preset number of rotations, the acceleration data output by the acceleration sensor within the preset time period is obtained, and the operation process that does not meet the preset number of rotations can be excluded, thereby improving the recognition accuracy of the smart wearable device.

[0012] In combination with the first aspect, in another embodiment, the step of determining the number of rotations of the user's arm within the preset time period based on the rotation data includes: calculating the number of times the user's arm rotates alternately in the clockwise direction and the counterclockwise direction within the preset time period; determining the number of rotations of the user's arm based on the number of times the user's arm rotates alternately in the clockwise direction and the counterclockwise direction.

[0013] In the above implementation process, the data of the user's arm in the clockwise and counterclockwise directions is obtained through the gyroscope, and the number of rotations in the clockwise and counterclockwise directions is further calculated, so that the number of rotations of the user's arm can be accurately determined.

[0014] In combination with the first aspect, in another embodiment, the step of determining the posture of the user's arm during the rotation process based on the acceleration data includes: determining whether the acceleration data or the average of the acceleration data of the acceleration sensor in the X-axis direction falls within a preset acceleration threshold range; if so, the user's arm is in a posture corresponding to the preset acceleration threshold range.

[0015] In the above implementation process, by judging whether all the data of the acceleration sensor on the X-axis or the average value of the acceleration data falls within the acceleration threshold range, the posture of the user's arm is determined, and the smart wearable device further recognizes the posture of the user's arm. By judging the posture of the user's arm by the average value of the acceleration sensor on the X-axis data, the error of the data can be reduced, thereby achieving an anti-noise effect.

[0016] In combination with the first aspect, in another embodiment, the method also includes: obtaining the maximum instantaneous momentum of the acceleration sensor; determining the movement state of the user's arm based on the maximum instantaneous momentum; determining the preset acceleration threshold interval based on the movement state of the user's arm, wherein different movement states correspond to different preset acceleration threshold intervals.

[0017] In the above implementation process, determining the motion state of the user's arm and the smart wearable device is helpful to enhance the accuracy of gesture recognition and further reduce the error rate of gesture recognition.

[0018] In combination with the first aspect, in another implementation, before obtaining the rotation data output by the gyroscope within a preset time period, the method further includes: determining that the smart wearable device has received a new communication message or that the smart wearable device is processing a communication message.

[0019] In the above implementation process, when the smart wearable device receives a new communication message or is processing a communication message, the data output by the gyroscope and the data output by the acceleration sensor are obtained, so that the user gestures in the specific call scenario can be recognized, thereby enhancing the recognition accuracy of the smart wearable device.

[0020] In a second aspect, an embodiment of the present application provides a smart wearable device, which is used to be worn on the arm of a user. The smart wearable device includes a gyroscope and an acceleration sensor, and the device includes: an information acquisition module and a processing module; the information acquisition module is used to obtain the rotation data output by the gyroscope in the X-axis direction within a preset time period, and the X-axis direction is a direction parallel to the user's arm; the processing module is used to determine the number of rotations of the user's arm within the preset time period based on the rotation data; the information acquisition module is also used to obtain the acceleration data output by the acceleration sensor within the preset time period; the processing module is also used to determine the posture of the user's arm during the rotation process based on the acceleration data; the processing module is also used to control the smart wearable device to process communication information according to the processing instruction corresponding to the target gesture matching the number of rotations and the posture, wherein the target gesture is one of at least one preset gesture, and each of the at least one preset gesture corresponds to a processing instruction.

[0021] In combination with the second aspect, in one embodiment, in the step of obtaining rotation data output by the gyroscope in a preset time period in the X-axis direction, the rotation data includes the rotation angular velocity and rotation direction of the user's arm in a plane perpendicular to the X-axis.

[0022] In combination with the second aspect, in another embodiment, before the information acquisition module is also used to obtain the acceleration data output by the acceleration sensor within the preset time period, the information acquisition module is also used to: determine whether the number of rotations of the user's arm within the preset time period meets the preset number of rotations.

[0023] In combination with the second aspect, in another embodiment, the processing module is specifically used to: calculate the number of times the user's arm rotates alternately in the clockwise direction and in the counterclockwise direction within the preset time period; determine the number of rotations of the user's arm based on the number of times the user's arm rotates alternately in the clockwise direction and in the counterclockwise direction.

[0024] In combination with the second aspect, in another embodiment, in the step of determining the posture of the user's arm during the rotation process based on the acceleration data, the processing module is specifically used to: determine whether the acceleration data or the average of the acceleration data of the acceleration sensor in the X-axis direction falls within a preset acceleration threshold interval; if so, the user's arm is in a posture corresponding to the preset acceleration threshold interval.

[0025] In combination with the second aspect, in another embodiment, the processing module is also used to: obtain the maximum instantaneous momentum of the acceleration sensor; determine the movement state of the user's arm based on the maximum instantaneous momentum; determine the preset acceleration threshold interval based on the movement state of the user's arm, wherein different movement states correspond to different preset acceleration threshold intervals.

[0026] In combination with the second aspect, in another implementation, before obtaining the rotation data output by the gyroscope within a preset time period, the information acquisition module is also used to: determine whether the smart wearable device has received a new communication message or the smart wearable device is processing a communication message.

[0027] In a third aspect, an embodiment of the present application provides a smart wearable device, which is used to be worn on a user's arm, and the smart wearable device includes: a gyroscope, an acceleration sensor, a processor and a memory; the gyroscope is used to collect rotation data; the acceleration sensor is used to collect acceleration data; the memory stores computer-readable instructions; the processor is used to execute the computer-readable instructions in the memory to implement the method provided in the first aspect above.

[0028] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a server, the steps in the method provided in the first aspect are implemented.

[0029] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0031] Figure 1 A flow chart of a method for controlling a smart wearable device provided in an embodiment of the present application;

[0032] Figure 2 A schematic diagram of the wearing position of a smart wearable device provided in an embodiment of the present application when worn on a user's arm;

[0033] Figure 3 A schematic diagram of a smart wearable device provided in an embodiment of the present application rotating horizontally on a user's arm;

[0034] Figure 4 A schematic diagram of a smart wearable device provided in an embodiment of the present application rotating vertically on a user's arm;

[0035] Figure 5 A flowchart of controlling a smart wearable device to process communication messages according to the rotation number and posture of a user's arm provided in an embodiment of the present application;

[0036] Figure 6 A structural block diagram of a smart wearable device is provided for an embodiment of the present application;

[0037] Figure 7 Another structural block diagram of a smart wearable device is provided for an embodiment of the present application. DETAILED DESCRIPTION

[0038] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0039] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0040] Combine the following Figure 1 A method for controlling a smart wearable device according to an embodiment of the present application is described.

[0041] Please refer to Figure 1 , Figure 1 A flow chart of a method for controlling a smart wearable device provided in an embodiment of the present application, which method can be applied to Figure 2 and Figure 6 The smart wearable device 600 shown is specifically used to be worn on the user's arm, and the smart wearable device 600 includes a gyroscope and an acceleration sensor. The smart wearable device can be a smart watch or a smart bracelet, but the embodiments of the present application are not limited thereto.

[0042] It should be noted that the smart wearable device 600 can detect the angular velocity of the user's arm rotation based on the gyroscope, and can detect the acceleration of the user's arm movement based on the acceleration sensor. Figure 2 A schematic diagram of a wearing position of a smart wearable device worn on a user's arm provided in an embodiment of the present application, Figure 2 In the three-dimensional coordinate system shown, the smart wearable device 600 is worn on the user's left hand, the X-axis direction of the smart wearable device 600 is parallel to the user's arm, the X-axis direction and the Y-axis direction are perpendicular to each other and parallel to the display screen of the smart wearable device 600, and the Z-axis direction is perpendicular to the display screen of the smart wearable device 600. Figure 2 In the coordinate system shown, the sensing data of the acceleration sensor includes an X-axis acceleration component, a Y-axis acceleration component, and a Z-axis acceleration component; the sensing data of the gyroscope includes an X-axis angular velocity component, a Y-axis angular velocity component, and a Z-axis angular velocity component.

[0043] It should be noted that the display screen of the smart wearable device can be a touch screen or a non-touch screen, but the embodiments of the present application are not limited to this.

[0044] like Figure 1 The methods shown include:

[0045] S110, obtaining rotation data output by the gyroscope in the X-axis direction within a preset time period.

[0046] Obtaining the rotation data output by the gyroscope in the X-axis direction within a preset time period, where the X-axis direction is parallel to the user's arm;

[0047] Before obtaining the rotation data output by the gyroscope within a preset time period, the method further includes: determining that the smart wearable device has received a new communication message or that the smart wearable device is processing a communication message.

[0048] In the step of obtaining rotation data output by the gyroscope in the X-axis direction within a preset time period, the rotation data includes the rotation angular velocity and rotation direction of the user's arm in a plane perpendicular to the X-axis.

[0049] As an embodiment, the rotation data is output by the gyroscope in the X-axis direction within a preset time period, and the rotation data includes the rotation angular velocity and rotation direction on the plane formed by the X-axis direction and the Y-axis direction, wherein the rotation direction includes the clockwise direction and the counterclockwise direction on the plane formed by the X-axis direction and the Y-axis direction, the rotation angular velocity data in the clockwise direction is positive, and the rotation angular velocity data in the counterclockwise direction is negative.

[0050] As an embodiment, the preset time period may be 1 second, 1.5 seconds, or 2 seconds, but the embodiments of the present application are not limited thereto.

[0051] As an embodiment, when the smart wearable device receives a new communication message or is processing a communication message, the rotation data output by the user's arm in the X-axis direction within a preset time period is collected through the gyroscope.

[0052] It should be noted that the new communication message can be a call reminder of the smart wearable device, a voice message of the smart wearable device, or a text message received by the smart wearable device, but the embodiments of the present application are not limited to this; the smart wearable device is processing a communication message, which can mean that the smart wearable device is answering a call, or that the smart wearable device is answering a voice message, but the embodiments of the present application are not limited to this.

[0053] S120, determining the number of rotations of the user's arm within a preset time period based on the rotation data.

[0054] The number of rotations of the user's arm within a preset time period is determined based on the rotation data.

[0055] The step of determining the number of rotations of the user's arm within a preset time period based on the rotation data includes: calculating the number of times the user's arm rotates alternately in a clockwise direction and in a counterclockwise direction within the preset time period; and determining the number of rotations of the user's arm based on the number of times the user's arm rotates alternately in a clockwise direction and in a counterclockwise direction.

[0056] Specifically, the user's arm can be recorded as rotating once from clockwise to counterclockwise, or as rotating once from counterclockwise to clockwise. If there is an alternating rotation, it is identified as the user's arm rotating once. If the user's arm is identified as rotating clockwise but the subsequent counterclockwise rotation is not identified, or the user's arm is identified as rotating counterclockwise but the subsequent clockwise rotation is not identified, it cannot be identified as the user's arm rotating alternately.

[0057] That is to say, within the preset time period, if the user's arm rotates alternately clockwise and counterclockwise once, it will be recorded as the user's arm rotating once; within the preset time period, if the user's arm rotates alternately clockwise and counterclockwise twice, it will be recorded as the user's arm rotating twice; within the preset time period, if the user's arm rotates alternately clockwise and counterclockwise three times, it will be recorded as the user's arm rotating three times, and so on.

[0058] As an embodiment, clockwise rotation is identified by a preset clockwise rotation threshold. If there are at least two consecutive rotation angular velocity values ​​greater than the preset clockwise rotation threshold in the gyroscope data, it is identified as one clockwise rotation; counterclockwise rotation is identified by a preset counterclockwise rotation threshold. If there are at least two consecutive rotation angular velocity values ​​greater than the counterclockwise rotation threshold in the gyroscope data, it is identified as one counterclockwise rotation. It should be noted that the preset clockwise rotation threshold and the counterclockwise rotation threshold may be equal or different in size.

[0059] In the above implementation process, the data of the user's arm in the clockwise and counterclockwise directions is obtained through the gyroscope, and the number of alternating rotations in the clockwise and counterclockwise directions is further calculated, so that the number of rotations of the user's arm can be accurately determined.

[0060] As an embodiment, within a preset time period, multiple gyroscope X-axis sampling data can be obtained according to the data sampling of the gyroscope, wherein the X-axis sampling data includes sampling data greater than 0 and sampling data less than 0, wherein the data greater than 0 can be identified as the user's arm rotating clockwise, and the sampling data less than 0 can be identified as the user rotating counterclockwise. If in the clockwise direction (among a plurality of consecutive data greater than 0), there are 2 or more consecutive sampling points whose values ​​are greater than a preset threshold, it is identified as a clockwise rotation; if in the counterclockwise direction (among a plurality of consecutive data less than 0), there are 2 or more consecutive sampling points whose absolute values ​​are greater than a preset threshold, it is identified as a clockwise rotation.

[0061] As an embodiment, the change from clockwise to counterclockwise is identified as an alternating rotation. Within a preset time period, the data of 20 consecutive sampling points of the gyroscope on the X-axis are (0, 10, 20, 30, 40, 50, 40, 30, 20, 10, 0, -10, -20, -30, -40, -50, -40, -30, -20, -10), and the preset clockwise data absolute value threshold is 30, and the counterclockwise data absolute value threshold is 30. In the data of the aforementioned 20 sampling points, in the clockwise direction (multiple data greater than 0), there are 3 consecutive sampling points (40, 50, 40) whose values ​​are greater than the data absolute value threshold in the clockwise direction, and the user's arm rotates once in the clockwise direction; in the counterclockwise direction (multiple data less than 0), there are 3 consecutive sampling points (-40, -50, -40) whose absolute values ​​are greater than the data absolute value threshold in the counterclockwise direction, and the user's arm rotates once in the counterclockwise direction. Thus, it is recognized that the user's arm rotates once in the clockwise direction and once in the counterclockwise direction, and changes from clockwise to counterclockwise, which is recorded as an alternating rotation, that is, the user's arm rotates once.

[0062] As an embodiment, if the data of 40 consecutive sampling points of the gyroscope on the X-axis is (0, 10, 20, 30, 40, 50, 40, 30, 20, 10, 0, -10, -20, -30, -40, -50, -40, -30, -20, -10, 0, 11, 21, 31, 42, 53, 41, 30, 21, 11, 0, -10, -20, -32, -43, -53, -41, -30, -20, -10). In the data of the 40 sampling points, the absolute values ​​of the 5th, 6th, and 7th sampling points (40, 50, 40) are greater than the data absolute value threshold of 30 in the clockwise direction, and are identified as rotating once in the clockwise direction. The absolute values ​​of the 15th, 16th, and 17th sampling points (-40, -50, -40) are greater than the data absolute value threshold of 30 in the counterclockwise direction, and are identified as rotating once in the counterclockwise direction. Furthermore, the rotation changes from clockwise to counterclockwise, and is identified as the first alternating rotation. The 24th The absolute values ​​of the 25th, 26th, and 27th sampling points (31, 42, 53, and 41) are greater than the data absolute value threshold of 30 in the clockwise direction, and are again identified as one clockwise rotation. The absolute values ​​of the 34th, 35th, 36th, and 37th sampling points (-32, -43, -53, and -41) are greater than the data absolute value threshold of 30 in the counterclockwise direction, and are again identified as one counterclockwise rotation. There is a change from clockwise to counterclockwise, and it is identified as the second alternating rotation. Among the 40 sampling points, according to the number of times the user's arm rotates alternately in the clockwise and counterclockwise directions, it is identified that the user's arm rotates twice.

[0063] In this embodiment, the change from clockwise to counterclockwise is identified as an alternating rotation. In other embodiments, the change from counterclockwise to clockwise can also be identified as an alternating rotation. The preset time period can be 1 second, 1.5 seconds, 2 seconds or other values. The preset time period is selected according to the time required for the user to rotate the arm 1 to 4 times. If the preset time period is set too long, it may lead to misidentification, and if it is set too short, it may not be able to identify the user's rotation.

[0064] S130, acquiring acceleration data output by the acceleration sensor within a preset time period.

[0065] Obtaining acceleration data output by the acceleration sensor within a preset time period;

[0066] Before obtaining the acceleration data output by the acceleration sensor within a preset time period, the method includes:

[0067] Determine whether the number of rotations of the user's arm within the preset time period meets the preset number of rotations.

[0068] As an embodiment, the acceleration sensor is arranged in a smart wearable device, and the smart wearable device can be a smart watch or a smart bracelet, but the embodiments of the present application are not limited thereto.

[0069] As an embodiment, while determining the number of rotations of the user's arm according to the gyroscope output data, the acceleration data output by the acceleration sensor within a preset time period is obtained.

[0070] As another embodiment, after determining that the number of rotations of the user's arm meets the preset number of rotations based on the gyroscope output data, the acceleration data output by the acceleration sensor within a preset time period is obtained; if it is determined that the number of rotations of the user's arm does not meet the preset number of rotations based on the gyroscope output data, the recognition process is terminated.

[0071] In the above implementation process, after determining that the number of rotations of the user's arm within the preset time period meets the preset number of rotations, the acceleration data output by the acceleration sensor within the preset time period is obtained, and the operation process that does not meet the preset number of rotations can be excluded, thereby improving the recognition accuracy of the smart wearable device.

[0072] S140: Determine the posture of the user's arm during the rotation process based on the acceleration data.

[0073] The steps of determining the posture of the user's arm during the rotation process based on the acceleration data include:

[0074] Determine whether the acceleration data or the average value of the acceleration data of the acceleration sensor in the X-axis direction falls within a preset acceleration threshold range;

[0075] If so, the user's arm is in a posture corresponding to the preset acceleration threshold range.

[0076] The method further comprises:

[0077] Get the maximum instantaneous momentum of the acceleration sensor;

[0078] determining the motion state of the user's arm based on the maximum instantaneous momentum;

[0079] The preset acceleration threshold interval is determined based on the motion state of the user's arm, wherein different motion states correspond to different preset acceleration threshold intervals.

[0080] As an embodiment, after determining that the number of rotations of the user's arm meets a preset number of rotations based on the gyroscope output data, the acceleration data output by the acceleration sensor within a preset time period is obtained. If the average value of the acceleration data of the acceleration sensor in the X-axis direction falls within a preset acceleration threshold interval, the user's arm is in a posture corresponding to the preset acceleration threshold interval.

[0081] As another embodiment, before determining whether the average value of the acceleration data of the acceleration sensor in the X-axis direction falls within a preset acceleration threshold range, the method further includes:

[0082] The maximum instantaneous momentum of the acceleration sensor is determined based on the data of the acceleration sensor on the X-axis, the Y-axis and the Z-axis, the movement state of the user's arm is determined based on the maximum instantaneous momentum, and the preset acceleration threshold interval is determined based on the movement state of the user's arm, wherein different preset acceleration threshold intervals correspond to different movement states.

[0083] It should be noted that the posture of the user's arm can be horizontal or vertical, but the embodiments of the present application are not limited to this.

[0084] It should be noted that the movement state of the user's arm can be a violent movement state or a non-violent movement state, wherein the non-violent movement state includes complete stillness, slight movement, and normal movement, but the embodiments of the present application are not limited to this.

[0085] The rotation posture of the smart wearable device on the user's arm is as follows: Figure 3 , Figure 4 As shown, Figure 3 A schematic diagram of a smart wearable device provided in an embodiment of the present application rotating horizontally on a user's arm, Figure 4 A schematic diagram of a smart wearable device provided in an embodiment of the present application rotating vertically on a user's arm.

[0086] As an embodiment, taking the violent motion state and non-violent motion state of the user's arm as an example, the method for judging the motion state of the user's arm is as follows: respectively determine the instantaneous momentum of the acceleration sensor in the X-axis, Y-axis and Z-axis within a preset time period, and take the maximum value of the instantaneous momentum in the X-axis, Y-axis and Z-axis as the maximum instantaneous momentum of the acceleration sensor; match the maximum instantaneous momentum value with the interval corresponding to the violent motion state and the non-violent motion state, if the maximum instantaneous momentum value is within the interval corresponding to the violent motion state, the user's arm is in a violent motion state, if the maximum instantaneous momentum value is within the interval corresponding to the non-violent motion state, the user's arm is in a non-violent motion state. The method for calculating the instantaneous momentum of the acceleration sensor in the X-axis, Y-axis and Z-axis can refer to the prior art.

[0087] Taking the example that the average value of the acceleration data of the acceleration sensor in the X-axis direction falls into the preset acceleration threshold interval, as an embodiment, in a non-violent exercise state, the X-axis preset acceleration threshold interval corresponding to the horizontal arm is [-0.05G, 0.05G]; the X-axis preset acceleration threshold interval corresponding to the vertical arm is [0.95G, 1.05G] or [-1.05G, -0.95G]; in a violent exercise state, the X-axis preset acceleration threshold interval corresponding to the horizontal arm is [-0.1G, 0.1G]; the X-axis preset acceleration threshold interval corresponding to the vertical arm is [0.85G, 1.15G] or [-1.15G, -0.85G]. The preset acceleration threshold interval range corresponding to the violent exercise state is larger than the preset acceleration threshold interval range corresponding to the non-violent exercise state.

[0088] Taking the intense exercise state as an example, the preset X-axis acceleration threshold range under the intense exercise state is selected as a reference, [-0.1G, 0.1G]—arm horizontal, [0.85G, 1.15G]—arm vertically upward, [-0.15G, -1.85G]—arm vertically downward;

[0089] As an embodiment, during the rotation of the user's arm, that is, within the time period from the start to the end of the rotation, after determining based on the gyroscope output data that the number of rotations of the user's arm meets the preset number of rotations, the average data of the acceleration sensor on the X-axis is 0, -0.1G<0<0.1G, then the user's arm is in a horizontal posture.

[0090] As another embodiment, during the rotation of the user's arm, that is, within the time period from the start to the end of the rotation, after determining based on the gyroscope output data that the number of rotations of the user's arm meets the preset number of rotations, the average data of the acceleration sensor on the X-axis is 1G, 0.85G<1G<1.15G, then the user's arm is in a vertical upward posture.

[0091] In the above implementation process, the posture of the user's arm is judged by the average value of the data of the acceleration sensor on the X-axis, which can reduce the error of the data and thus achieve an anti-noise effect.

[0092] While determining the number of times the user's arm rotates based on the gyroscope output data, the acceleration data of the acceleration sensor in the X-axis direction is obtained. If all the data of the acceleration sensor in the X-axis direction fall within the preset acceleration threshold interval, the user's arm is in a posture corresponding to the preset acceleration threshold interval. The specific implementation method can refer to the process of judging the user's arm posture based on the average value of the acceleration data of the acceleration sensor in the X-axis direction, which will not be repeated here.

[0093] S150, controlling the smart wearable device to process the communication information according to the processing instruction corresponding to the target gesture matching the number of rotations and the posture.

[0094] The smart wearable device is controlled to process the communication information according to the processing instruction corresponding to the target gesture matching the number of rotations and the posture, wherein the target gesture is one of at least one preset gesture, and each gesture in the at least one preset gesture corresponds to a processing instruction.

[0095] It should be noted that the target gesture is pre-stored in the memory of the smart wearable device, and the target gesture includes the arm rotation posture and the number of arm rotations. The arm rotation posture includes at least one of horizontal wrist flipping, horizontal rotation, vertical arm rotation, and random rotation, but the embodiment of the present application is not limited to this; the number of arm rotations can be 1 rotation, 2 rotations, or 3 rotations, but the embodiment of the present application is not limited to this; the processing instruction can be to answer the call, reject the call, hang up the call, continue the call, answer the voice message, or hang up the voice message, but the embodiment of the present application is not limited to this.

[0096] As an embodiment, the target gesture is to rotate horizontally twice, and the corresponding processing instruction is to answer the call; the target gesture is to rotate vertically twice, and the corresponding processing instruction is to hang up the call or reject the call.

[0097] by Figure 5 Taking the example of FIG. 1 as an example, the process of controlling the smart wearable device to process communication messages according to the rotation times and posture of the user's arm is described in detail. Figure 5 A flowchart of controlling a smart wearable device to process communication messages according to the rotation times and posture of a user's arm is provided in an embodiment of the present application, such as Figure 5 The flowchart shown includes:

[0098] S501, incoming call reminder.

[0099] S502: Whether to answer the incoming call.

[0100] The smart wearable device receives an incoming call reminder S501, and the user determines whether to answer the call S502;

[0101] S503, the arm rotates horizontally twice.

[0102] S504, answer the incoming call.

[0103] If yes, the user executes S503, the user's arm rotates horizontally twice, the gyroscope in the smart wearable device obtains that the number of rotations of the user's arm is 2 times, the acceleration sensor obtains that the posture of the user's arm is horizontal, the smart wearable device matches the number of rotations and posture of the user's arm with the target gesture, and the smart wearable device obtains that the processing instruction corresponding to the target gesture is to answer the call, then the smart wearable device then executes S504 to answer the call;

[0104] S505, rotate the arms vertically twice.

[0105] S506, reject the call.

[0106] If not, the user executes S505, the user's arm rotates vertically twice, the gyroscope in the smart wearable device obtains that the number of rotations of the user's arm is 2 times, and the acceleration sensor obtains that the posture of the user's arm is vertical. The smart wearable device matches the number of rotations and posture of the user's arm with the target gesture, and the smart wearable device obtains that the processing instruction corresponding to the target gesture is to reject the call, then the smart wearable device then executes S506 to reject the call, until ending 511.

[0107] S507, on the phone.

[0108] S508: Whether to continue the call.

[0109] When the user answers the call S507, the user determines whether to continue the call S508;

[0110] If yes, the process returns to S507 and the user continues the call.

[0111] S509, arms rotate vertically 2 times.

[0112] S510, hang up the phone.

[0113] S511, end.

[0114] If not, the user executes S509, the user's arm rotates vertically twice, the gyroscope in the smart wearable device obtains that the number of rotations of the user's arm is 2 times, and the acceleration sensor obtains that the posture of the user's arm is vertical. The smart wearable device matches the number of rotations and posture of the user's arm with the target gesture, and the smart wearable device obtains that the processing instruction corresponding to the target gesture is to hang up the phone. Then the smart wearable device executes S510 to hang up the phone, until ending S511.

[0115] In the above implementation process, the user's gesture movements are recognized by the gyroscope and acceleration sensor in the smart wearable device, and the recognized gesture movements are matched with the target gestures in the smart wearable device, so as to obtain the processing instructions corresponding to the target gestures. The smart wearable device then processes the incoming call information of the smart wearable device according to the obtained processing instructions, including answering the call, hanging up the call and rejecting the call, thereby enhancing the operability and practicality of the user's incoming calls on the smart wearable device in scenarios such as walking, running, cycling, and driving.

[0116] Please refer to Figure 6 , Figure 6 A structural block diagram of a smart wearable device is provided for an embodiment of the present application; Figure 6The provided smart wearable device 600 and Figure 1 The method described corresponds to having the implementation Figure 1 Functional modules of the method.

[0117] In one embodiment, Figure 6 The provided smart wearable device 600 includes:

[0118] Information acquisition module 610 and processing module 620;

[0119] The information acquisition module is used to obtain the rotation data output by the gyroscope in the X-axis direction within a preset time period, where the X-axis direction is parallel to the user's arm;

[0120] The processing module is used to determine the number of rotations of the user's arm within a preset time period based on the rotation data;

[0121] The information acquisition module is also used to acquire acceleration data output by the acceleration sensor within a preset time period;

[0122] The processing module is also used to determine the posture of the user's arm during the rotation process based on the acceleration data;

[0123] The processing module is also used to control the smart wearable device to process communication information according to the processing instructions corresponding to the target gesture matching the number of rotations and posture, wherein the target gesture is one of at least one preset gesture, and each preset gesture in the at least one preset gesture corresponds to a processing instruction.

[0124] In the step of obtaining rotation data output by the gyroscope in a preset time period in the X-axis direction, the rotation data includes the rotation angular velocity and rotation direction of the user's arm in a plane perpendicular to the X-axis.

[0125] The information acquisition module is also used to obtain the acceleration data output by the acceleration sensor within a preset time period. The information acquisition module is also used to: determine whether the number of rotations of the user's arm within the preset time period meets the preset number of rotations.

[0126] The processing module is specifically used to: calculate the number of times the user's arm rotates alternately in the clockwise direction and in the counterclockwise direction within the preset time period; and determine the number of rotations of the user's arm based on the number of times the user's arm rotates alternately in the clockwise direction and in the counterclockwise direction.

[0127] In the step of determining the posture of the user's arm during the rotation process based on the acceleration data, the processing module is specifically used to: determine whether the acceleration data or the average of the acceleration data of the acceleration sensor in the X-axis direction falls within a preset acceleration threshold range; if so, the user's arm is in a posture corresponding to the preset acceleration threshold range.

[0128] The processing module is also used to: obtain the maximum instantaneous momentum of the acceleration sensor; determine the movement state of the user's arm according to the maximum instantaneous momentum; determine the preset acceleration threshold interval based on the movement state of the user's arm, wherein different movement states correspond to different preset acceleration threshold intervals.

[0129] Before acquiring the rotation data output by the gyroscope within a preset time period, the information acquisition module is further used to: determine whether the smart wearable device has received a new communication message or the smart wearable device is processing a communication message.

[0130] It should be noted that Figure 6 The provided smart wearable device 600 can realize Figure 1 The method embodiment involves various processes of controlling the smart wearable device. The operations and / or functions of each module in the smart wearable device 600 are respectively to achieve Figure 1 For details, please refer to the description in the above method embodiment. To avoid repetition, detailed description is appropriately omitted here.

[0131] Please refer to Figure 7 , Figure 7 Another smart wearable device structure diagram is provided for the embodiment of the present application, such as Figure 7 The smart wearable device 700 shown may include: a gyroscope 710, an acceleration sensor 730, a processor 720 and a memory 740; Figure 7 The smart wearable device 700 shown may also include a bus, which is used to realize direct connection and communication between these components. The gyroscope 710 is used to collect rotation data of the smart wearable device. The acceleration sensor 730 is used to collect acceleration data of the smart wearable device. The memory 740 can be a high-speed RAM memory or a non-volatile memory. The memory 740 stores computer-readable instructions. The processor 720 is used to execute the computer-readable instructions in the memory 740 to realize Figure 1 The method process shown.

[0132] The present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a server, Figure 1 The method process shown.

[0133] In the several embodiments provided in this application, it should be understood that the disclosed systems and methods can also be implemented in other ways. The system embodiments described above are only illustrative. For example, the division of the system devices is only a logical function division. There may be other division methods in actual implementation. For example, multiple devices or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0134] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0135] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for controlling a smart wearable device, characterized in that: The smart wearable device is used to be worn on the arm of a user, and the smart wearable device includes a gyroscope and an acceleration sensor. The method includes: Obtaining rotation data output by the gyroscope in a preset time period in the X-axis direction; the X-axis direction is a direction parallel to the user's arm, and the rotation data includes the rotation angular velocity and rotation direction of the user's arm in a plane perpendicular to the X-axis; determining the number of rotations of the user's arm within the preset time period based on the rotation data; The step of determining the number of rotations of the user's arm within the preset time period based on the rotation data comprises: The number of rotations of the user's arm in the clockwise direction and the number of rotations in the counterclockwise direction are obtained based on the rotation data; wherein, if there are at least two consecutive rotation angular velocity values ​​in the rotation data that are greater than a preset clockwise rotation threshold, it is identified as one clockwise rotation; if there are at least two consecutive rotation angular velocity values ​​in the rotation data that are greater than a preset counterclockwise rotation threshold, it is identified as one counterclockwise rotation; Calculating the number of times the user's arm rotates alternately in the clockwise direction and in the counterclockwise direction within the preset time period according to the number of times the user's arm rotates in the clockwise direction and the number of times the user's arm rotates in the counterclockwise direction; determining the number of rotations of the user's arm according to the number of times the user's arm rotates alternately in the clockwise direction and in the counterclockwise direction; Acquiring acceleration data output by the acceleration sensor within the preset time period; determining the posture of the user's arm during the rotation process based on the acceleration data; The smart wearable device is controlled to process the communication information according to the processing instruction corresponding to the target gesture matching the number of rotations and the posture, wherein the target gesture is one of at least one preset gesture, and each of the at least one preset gesture corresponds to a processing instruction.

2. The method according to claim 1, characterized in that Before acquiring the acceleration data output by the acceleration sensor within the preset time period, the method further includes: Determine whether the number of rotations of the user's arm within the preset time period meets the preset number of rotations.

3. The method according to claim 1, characterized in that The step of determining the posture of the user's arm during the rotation process based on the acceleration data comprises: Determine whether the acceleration data or the average value of the acceleration data of the acceleration sensor in the X-axis direction falls within a preset acceleration threshold range; If so, the user's arm is in a posture corresponding to the preset acceleration threshold range.

4. The method according to claim 3, characterized in that The method further comprises: Obtaining the maximum instantaneous momentum of the acceleration sensor; determining a motion state of the user's arm according to the maximum instantaneous momentum; The preset acceleration threshold interval is determined based on the motion state of the user's arm, wherein different motion states correspond to different preset acceleration threshold intervals.

5. The method according to claim 1, characterized in that Before acquiring the rotation data output by the gyroscope within a preset time period, the method further includes: It is determined that the smart wearable device has received a new communication message or that the smart wearable device is processing a communication message.

6. A smart wearable device, characterized in that: The smart wearable device is used to be worn on the user's arm, and the smart wearable device includes a gyroscope and an acceleration sensor. The smart wearable device includes: Information acquisition module and processing module; The information acquisition module is used to acquire the rotation data output by the gyroscope in a preset time period in the X-axis direction; the X-axis direction is a direction parallel to the user's arm, and the rotation data includes the rotation angular velocity and rotation direction of the user's arm in a plane perpendicular to the X-axis; The processing module is used to determine the number of rotations of the user's arm within the preset time period based on the rotation data; the step of determining the number of rotations of the user's arm within the preset time period based on the rotation data includes: obtaining the number of rotations of the user's arm in the clockwise direction and the number of rotations in the counterclockwise direction based on the rotation data; wherein, if there are at least two consecutive values ​​of rotation angular velocity greater than a preset clockwise rotation threshold in the rotation data, it is identified as one clockwise rotation; if there are at least two consecutive values ​​of rotation angular velocity greater than a preset counterclockwise rotation threshold in the rotation data, it is identified as one counterclockwise rotation; according to the number of rotations of the user's arm in the clockwise direction and the number of rotations in the counterclockwise direction, the number of rotations of the user's arm in the preset time period is calculated; according to the number of rotations of the user's arm in the clockwise direction and the number of rotations in the counterclockwise direction, the number of rotations of the user's arm in the preset time period is determined according to the number of rotations of the user's arm in the clockwise direction and the number of rotations in the counterclockwise direction; the number of rotations of the user's arm is determined according to the number of rotations of the user's arm in the clockwise direction and the counterclockwise direction; The information acquisition module is also used to acquire acceleration data output by the acceleration sensor within the preset time period; The processing module is also used to determine the posture of the user's arm during the rotation process based on the acceleration data; The processing module is also used to control the smart wearable device to process communication information according to the processing instructions corresponding to the target gesture matching the number of rotations and the posture, wherein the target gesture is one of at least one preset gesture, and each of the at least one preset gesture corresponds to a processing instruction.

7. A smart wearable device, characterized in that: The smart wearable device is used to be worn on the user's arm, and the smart wearable device includes: Gyroscope, accelerometer, processor and memory; The gyroscope is used to collect rotation data; The acceleration sensor is used to collect acceleration data; The memory stores computer-readable instructions; The processor is used to execute the computer-readable instructions in the memory to implement the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a server, implements the method as claimed in any one of claims 1 to 5.