Vibration feedback method, related apparatus and communication system
The electronic device identifies the user's movement and breathing information and generates vibration feedback, which solves the problem of improper movement and breathing control during home fitness and improves the exercise effect and experience.
Patent Information
- Application Number
- PCT/CN2024/088292
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-23
- Filing Date
- 2024-04-17
- Publication Date
- 2024-10-31
AI Technical Summary
In home fitness and entertainment activities, it is difficult for users to perform movements accurately and their breathing is improperly controlled, resulting in poor exercise effects. It is difficult for existing technology to provide effective feedback and guidance.
Collect user images through electronic devices, identify movement and breathing information, generate vibration feedback information, transmit it to wearable devices, and provide vibration feedback to guide users to adjust movements and breathing.
Users can adjust movements and breathing more intuitively through vibration feedback, improve exercise effects, avoid non-standard movements and difficulty breathing, and enhance the exercise experience.
Smart Images

Figure CN2024088292_31102024_PF_FP_ABST
Abstract
Description
Vibration feedback method, related device and communication system
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on April 23, 2023, with application number 202310451986.3 and application name “Vibration feedback method, related device and communication system”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the technical field of wearable devices, and in particular to a vibration feedback method, related device, and communication system for wearable devices. Background Art
[0003] With the development of current society, more and more people choose home entertainment activities, such as home fitness, home games, etc. When users use electronic devices for entertainment activities, they tend to pay more attention to themselves and sometimes fail to realize that the actions they have completed are not up to standard.
[0004] Summary of the Invention
[0005] The present application provides a vibration feedback method, related device and communication system, which can generate vibration information based on the difference between the user's current action and the standard action, so as to guide the user to adjust his or her own action; it can also generate vibration information based on the standard breathing method corresponding to the user's current action, so as to prompt the user to adjust his or her breathing.
[0006] In a first aspect, the present application provides a vibration feedback method, which is applied to a communication system including an electronic device and a wearable device. The method includes: the electronic device captures an image using a camera. The electronic device recognizes a first action of a person in the image, where the first action is different from a standard action. The electronic device generates first information and sends the first information to the wearable device. The wearable device vibrates based on the first information.
[0007] From the above, it can be seen that the user can feel the vibration more intuitively through the touch of the body, and adjust his or her own movements according to the vibration, so that his or her movements are as close to the standard movements as possible, so as to achieve better exercise effects.
[0008] In combination with the first aspect, in some embodiments, before the electronic device captures an image through a camera, the method further includes: the electronic device runs a first application. The information of the standard action is provided by the first application. The type of the first application may include, but is not limited to, sports applications (such as fitness applications, dance applications, etc.), game applications (such as somatosensory games, etc.), etc. The standard action information may include the position of each skeletal node of the character when completing each standard action. The standard action information also includes the movement direction of each skeletal node of the character when completing each standard action.
[0009] In combination with the first aspect, in some embodiments, the first action is different from the standard action, specifically including: an error between the first action and the standard action is greater than a threshold; the threshold is determined by the first application.
[0010] In combination with the first aspect, in some embodiments, the electronic device recognizes the first action of the person in the image specifically including: the electronic device recognizes the skeletal nodes of the person in the image, and recognizes the first action based on the skeletal nodes of the person. The difference between the first action and the standard action specifically includes: the relative positions between the skeletal nodes constituting the first action are different from the relative positions between the skeletal nodes constituting the standard action; or the angles of the multiple limbs constituting the first action are different from the angles of the multiple limbs constituting the standard action. In this way, the electronic device can more accurately determine that the first action is different from the standard action, thereby generating vibration information.
[0011] In conjunction with the first aspect, in some embodiments, the first information is used to indicate any one or more of the following: vibration intensity, vibration direction, vibration rhythm, and vibration duration. In this way, the wearable device can vibrate based on the above information to prompt the user to adjust the direction and distance.
[0012] In conjunction with the first aspect, in some embodiments, the method further includes any one or more of the following: the vibration intensity is determined by the difference between the first action and the standard action. The vibration direction is the direction in which the first action changes to the standard action. The vibration rhythm is determined by the speed at which the standard action changes. The vibration duration is the time required to complete the standard action.
[0013] In conjunction with the first aspect, in some embodiments, before the electronic device captures an image via a camera, the method further includes: the wearable device acquiring sensor data and transmitting the sensor data to the electronic device; and the electronic device identifying a first action in the image specifically includes: the electronic device identifying the first action based on the image and the sensor data. In this way, the electronic device can more accurately determine the user's current action and the speed and direction of the action based on the acceleration data and gyroscope data transmitted by the wearable device.
[0014] In conjunction with the first aspect, in some embodiments, the standard action includes a standard dynamic action, which includes multiple continuous actions, and the multiple continuous actions include a start action and an end action; the first action being different from the standard action specifically includes: the first action being different from the start action, or the first action being different from the end action. In this way, because the standard action is a dynamic action, the user can be better prompted to adjust their direction by comparing the user's current action with the start action or end action in the standard action.
[0015] In combination with the first aspect, in some embodiments, the standard action includes a standard static action, and the standard static action includes an action; the first action is different from the standard action specifically includes: the first action is different from the standard static action.
[0016] In conjunction with the first aspect, in some embodiments, when the wearable device vibrates according to the first information, the method further includes: the electronic device outputting a first prompt message, the first prompt message including a voice or visual element, the first prompt message being used to indicate any one or more of the following: that the first action is not standard, that the first action is adjusted to the direction and distance of the standard action, and the duration for which the first action is to be maintained. In this way, when the user perceives the vibration, the user can more clearly understand the meaning of the vibration and the information prompted by the vibration.
[0017] In conjunction with the first aspect, in some embodiments, after the electronic device runs the first application, the method further includes: the electronic device displaying a tutorial, the tutorial including second prompt information, the second prompt information being used to indicate the meaning of the vibration output by the wearable device. In this way, the user can more clearly understand the meaning of the vibration and the information prompted by the vibration before the user feels the vibration.
[0018] In a second aspect, the present application provides a vibration feedback method, which is applied to a communication system including an electronic device and a wearable device, and the method includes: the electronic device captures an image through a camera; the electronic device recognizes a first action of a person in the image; the electronic device obtains breathing information corresponding to the first action; the electronic device generates first information based on the breathing information and sends the first information to the wearable device; the wearable device generates vibration based on the first information.
[0019] From the above, it can be seen that users can adjust their own standard breathing information through the vibration generated by wearable devices, so that users can use the correct standard breathing information to exercise, avoid the phenomenon of users getting stitches and difficulty breathing during exercise, and achieve better exercise results.
[0020] In conjunction with the second aspect, in some embodiments, before the electronic device captures an image via a camera, the method further includes: the electronic device running a first application; the first application being configured to provide the breathing information. The breathing information indicates any one or more of the following: the start of exhalation, the end of exhalation, the start of inhalation, the end of inhalation, the duration of exhalation, and the duration of inhalation. In some implementations, the electronic device can provide a series of correct breathing methods, and the breathing information can be generated based on the correct breathing methods.
[0021] In conjunction with the second aspect, in some embodiments, the electronic device identifying a first action of a person in the image specifically includes: the electronic device identifying skeletal nodes of the person in the image, and identifying the first action based on the skeletal nodes of the person. The electronic device may analyze the user's current action based on the identified skeletal nodes, and may also analyze the user's movement direction based on the positions of the skeletal nodes within a preset time.
[0022] In conjunction with the second aspect, in some embodiments, the first information is used to indicate any one or more of the following: vibration intensity, vibration direction, vibration rhythm, and vibration duration. In this way, the user can perceive the vibration generated by the wearable device based on the first information and perceive the vibration properties indicated by the first information.
[0023] In combination with the second aspect, in some embodiments, the method also includes: the vibration direction is determined by the breathing information corresponding to the first action. If the breathing information corresponding to the first action indicates current exhalation, the vibration direction is the exhalation direction; if the breathing information corresponding to the first action indicates current inhalation, the vibration direction is the inhalation direction.
[0024] In combination with the second aspect, in some embodiments, after the electronic device recognizes the first action of the person in the image, the method further includes: the electronic device acquiring information about standard actions.
[0025] In conjunction with the second aspect, in some embodiments, the method further includes: the vibration intensity is determined by the difference between the first action and the standard action. The vibration rhythm is determined by the speed of change of the standard action or the time required to complete the standard action. The vibration duration is the time required to complete the standard action.
[0026] In conjunction with the second aspect, in some embodiments, before the electronic device captures an image through a camera, the method further includes: the wearable device obtains sensor data and sends the sensor data to the electronic device. The electronic device identifying the first action in the image specifically includes: the electronic device identifying the first action based on the image and the sensor data. In this way, the electronic device can also more accurately determine the user's current action and the speed and direction of the user's current action based on the acceleration data and gyroscope data sent by the wearable device.
[0027] In combination with the second aspect, in some embodiments, when the wearable device vibrates according to the first information, the method also includes: the electronic device outputs a first prompt information, the first prompt information includes voice or visual elements, and the first prompt information is used to prompt any one or more of the following: start of exhalation, start of inhalation, end of exhalation, end of inhalation, exhalation duration, and inhalation duration.
[0028] In conjunction with the first aspect, in some embodiments, after the electronic device runs the first application, the method further includes: the electronic device displaying a tutorial, the tutorial including second prompt information, the second prompt information being used to indicate the meaning of the vibration output by the wearable device. In this way, the user can more clearly understand the meaning of the vibration and the information prompted by the vibration before the user perceives the vibration.
[0029] In a third aspect, the present application provides a vibration feedback method, which is applied to an electronic device and includes: the electronic device capturing an image via a camera; the electronic device identifying a first action of a person in the image, the first action being different from a standard action; the electronic device generating first information and transmitting the first information to a wearable device; the first information being used to instruct the wearable device to vibrate based on the first information.
[0030] In a fourth aspect, the present application provides a vibration feedback method, which is applied to a wearable device, and the method includes: an electronic device is used to capture an image through a camera; the electronic device is used to identify a first action of a person in the image, which first action is different from a standard action; the electronic device is used to generate first information and send the first information to the wearable device; the wearable device receives the first information sent by the electronic device; and the wearable device generates vibration according to the first information.
[0031] In a fifth aspect, the present application provides a vibration feedback method, which is applied to an electronic device and includes: the electronic device capturing an image via a camera; the electronic device identifying a first action of a person in the image; and the electronic device obtaining breathing information corresponding to the first action. The electronic device generates first information based on the breathing information and transmits the first information to a wearable device; the first information is used to instruct the wearable device to vibrate based on the first information.
[0032] In a sixth aspect, the present application provides a vibration feedback method, which is applied to a wearable device, and the method includes: an electronic device is used to capture an image through a camera; the electronic device is used to identify a first action of a person in the image; the electronic device is used to obtain breathing information corresponding to the first action; the electronic device is used to generate first information based on the breathing information, and send the first information to the wearable device; the wearable device receives the first information; and the wearable device generates vibration based on the first information.
[0033] In a seventh aspect, the present application provides an electronic device comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, wherein the computer program code comprises computer instructions. When the one or more processors execute the computer instructions, the electronic device performs the method of the first aspect or any embodiment of the first aspect, or the third aspect or the fifth aspect.
[0034] In the eighth aspect, an embodiment of the present application provides a computer storage medium, including computer instructions. When the computer instructions are run on an electronic device, the vehicle executes the method of the above-mentioned first aspect or any embodiment of the first aspect or the third aspect or the fifth aspect.
[0035] In a ninth aspect, the present application provides a wearable device comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, wherein the computer program code comprises computer instructions. When the one or more processors execute the computer instructions, the wearable device performs the method of the first aspect or any embodiment of the first aspect, or the second aspect or the fourth aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] FIG1 is a communication system provided in an embodiment of the present application.
[0037] 2A-2C illustrate various user interfaces displayed by an electronic device according to an implementation example of the present application.
[0038] FIG2D is a schematic diagram of a scene of a user exercising provided in an implementation example of the present application.
[0039] Figures 2E-2H are user interfaces displayed by various electronic devices provided in the implementation examples of this application.
[0040] FIG3 is a flow chart of a vibration feedback method provided in an implementation example of the present application.
[0041] FIG4 is a schematic diagram of a human skeleton model provided in an embodiment of the present application.
[0042] FIG5 is a schematic diagram of changes in skeletal nodes during a user's exercise provided by an embodiment of the present application.
[0043] FIG6 is a flow chart of another vibration feedback method provided in an implementation example of the present application.
[0044] FIG7A is a schematic diagram of the architecture of an electronic device provided by an implementation method of the present application.
[0045] FIG7B is a schematic diagram of the architecture of a wearable device provided by an implementation of the present application.
[0046] FIG7C is a schematic diagram of the software architecture of an electronic device provided by an implementation of the present application. DETAILED DESCRIPTION
[0047] The following is a clear and detailed description of the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship between related objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0048] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.
[0049] The term "user interface (UI)" in the following embodiments of this application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device and finally presented as content that the user can recognize. The commonly used form of user interface is graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.
[0050] With the change of lifestyle, more and more people choose to exercise at home. Users can use electronic devices equipped with sports-type applications (such as fitness applications, dance applications, etc.) to exercise. The electronic device can collect images of the user when exercising, and then obtain information on each bone node based on the user's body features in the image, so as to determine the user's movements. Finally, guidance and evaluation are given for the user's movements. There are some ways of guidance. For example, the electronic device plays corresponding voice prompts such as "pay attention to tighten your abdomen" based on common mistakes in a certain action; for example, the electronic device judges that the action is different from the standard action based on the currently recognized user action, and then plays corresponding voice prompts such as "pay attention, do the action more standardly". Because the user is more focused on his own movements when exercising, he may not notice the voice emitted by the electronic device. This will result in the above-mentioned electronic device's guidance method for the user when exercising being ineffective, resulting in a poor user experience.
[0051] An embodiment of the present application provides a vibration feedback method, related apparatus, and communication system. In this method, a user wears a wearable device (such as a watch), and an electronic device (such as a mobile phone) can establish a communication connection with the wearable device.
[0052] In some embodiments, the electronic device can capture a user image through a camera, and determine the current user action based on the user image, and then compare the difference between the current user action and the standard action, and generate vibration information based on the difference. Afterwards, the electronic device sends the vibration information to the wearable device, and the wearable device can generate corresponding vibrations based on the vibration information. The vibration can be used to prompt the user that his action is not standard, that is, to prompt the user to adjust the action. In some implementations, the vibration can also be used to prompt the user to adjust the direction of the action, the gap between the current action and the standard action, the duration of the current action, etc., so that after the user adjusts his own action according to the adjustment direction prompted by the above vibration, the user action can reach the standard action. The above vibration information can indicate any one or more of the following: vibration intensity, vibration direction, vibration rhythm, vibration duration, etc.
[0053] For example, when performing jumping jacks, the standard action at a certain moment is to raise the arms horizontally to the side with the feet shoulder-width apart, but the user's current action is to raise the arms to the side with their feet slightly lowered. This indicates that the user's action is not standard. At this time, the watch worn by the user can vibrate upward, which can prompt the user to raise their arms upward to achieve the standard action. For another example, when performing a squat hold, the standard action is for the thighs to be parallel to the ground, but the user's current action is that there is an angle between the thighs and the ground. This indicates that the user's action is not standard. At this time, the watch worn by the user can vibrate downward, which can prompt the user to squat to a certain extent to achieve the standard action.
[0054] In this way, users can feel the vibration more intuitively through the touch of their bodies, and adjust their movements according to the vibration, so that their movements are as close to the standard movements as possible to achieve better exercise effects.
[0055] In other embodiments, the electronic device may also generate vibration information based on the standard breathing information corresponding to the standard action. The electronic device then sends the vibration information to the wearable device, and the wearable device may generate corresponding vibrations based on the vibration information. The vibration can be used to prompt the user to adjust their breathing. In some implementations, the vibration can also be used to prompt the user to start exhaling, start inhaling, end exhaling, end inhaling, the duration of exhalation, the duration of inhalation, or any one or more of the following.
[0056] For example, when doing push-ups, when the user supports himself with both hands and leans over close to the ground, the user exerts force, and the corresponding standard breathing information is inhalation. At this time, the watch worn by the user can vibrate, and the vibration direction is upward, and the vibration intensity decreases from strong to weak; when the user supports himself with both hands and leans over away from the ground, the user exerts force, and the corresponding standard breathing information is exhalation. At this time, the watch worn by the user can vibrate, and the vibration direction is downward, and the vibration intensity decreases from strong to weak.
[0057] In this way, users can adjust their own standard breathing information through the vibration generated by the wearable device, so that users can use the correct standard breathing information to exercise, avoid the phenomenon of users getting stitches and difficulty breathing during exercise, and achieve better exercise results.
[0058] In the embodiment of the present application, the vibration information may be referred to as first information.
[0059] Based on the above introduction to the method provided in the embodiment of the present application, a communication system provided in the embodiment of the present application is introduced below.
[0060] Exemplarily, FIG1 shows a communication system provided by an embodiment of the present application. The communication system includes an electronic device 100 and one or more wearable devices 200. For example, the wearable device 200 may include a wearable device 201 and a wearable device 202. The wearable device 201 and the wearable device 202 may be worn by the same user or by different users. For example, the wearable device 201 may be worn by user 1, and the wearable device 202 may be worn by user 2. As shown in FIG1 , the user is within the camera acquisition range of the electronic device 100, and the user is wearing the wearable device 200.
[0061] The electronic device 100 and the wearable device 200 can establish a communication connection. Specifically, the electronic device 100 and the wearable device 200 can establish a wireless connection based on wireless communication technology, or a wired connection based on wired access technology. Among them, the wireless connection may include a short-range connection such as a high-fidelity wireless communication (wireless fidelity, Wi-Fi) connection, a Bluetooth connection, an infrared connection, an NFC connection, a ZigBee connection, or a long-range connection. The long-range connection may include but is not limited to a long-range connection based on a mobile network of 2G, 3G, 4G, 5G and subsequent standard protocols. In the embodiment of the present application, there is no limitation on the manner in which the electronic device 100 and the wearable device 200 establish a communication connection.
[0062] In some implementations, the electronic device 100 may be equipped with a screen and a camera. Or a terminal device of other operating systems, the electronic device 100 can be a mobile phone, a tablet computer, a smart screen, a smart fitness device (such as a fitness mirror, etc.), a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, as well as a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a vehicle, an in-vehicle device, a smart home device and / or a smart city device. Without limitation, the electronic device 100 can also include a laptop computer with a touch-sensitive surface or touch panel, a desktop computer with a touch-sensitive surface or touch panel, and other terminal devices. The embodiment of the present application does not impose any special restrictions on the specific type of the electronic device 100.
[0063] In some implementations, the wearable device 200 may include, but is not limited to, a watch, bracelet, band, handle, skin-fitting pocket watch worn on a user's wrist, a ring worn on a user's finger, in-ear headphones, headphones, smart skin-fitting clothing, smart skin-fitting accessories, etc. Due to the variety of types of wearable devices 200, the wearing position of the wearable device 200 can be divided into left hand, right hand, calf, ankle, waist, etc.
[0064] The wearable device 200 may be equipped with one or more motors. Multiple motors may be evenly distributed in the wearable device 200, or distributed at the position where the wearable device 200 contacts the user. The wearable device 200 may also be provided with an inertial measurement unit (IMU), which may include a gyroscope sensor and an acceleration sensor. The wearable device 200 may continuously obtain the acceleration and angular velocity of the wearable device 200 when the user is exercising through the IMU, and send the angular velocity and acceleration data to the electronic device 100, so as to subsequently assist the electronic device 100 in determining the user's current action.
[0065] In an embodiment of the present application, the electronic device 100 may be installed with a first application, and the type of the first application may include but is not limited to: sports applications (such as fitness apps, dance apps, etc.), game applications (such as somatosensory games, etc.), etc.
[0066] The first application can be used to support the electronic device 100 in capturing images and identifying people in the images. The first application can also be used to support the electronic device 100 in obtaining standard motion information. The first application can also be used to support the electronic device 100 in obtaining IMU data from the wearable device 200. The first application can also be used to support the electronic device 100 in generating vibration information based on the user's current motion and standard motion. The first application can also be used to support the electronic device 100 in generating vibration information based on standard breathing information corresponding to the standard motion and the user's current motion.
[0067] The electronic device 100 can capture images, analyze the user's current movements, and obtain standard movement information provided by the first application. The electronic device 100 generates vibration information based on the user's current movements and standard movements, and sends the vibration information to the wearable device 200. After receiving the vibration information sent by the electronic device, the wearable device 200 generates corresponding vibrations based on the vibration information to remind the user to adjust their movements.
[0068] Based on the above introduction to the solution and communication system provided in the embodiment of the present application, the vibration feedback method provided in the embodiment of the present application is introduced below through an exemplary UI and scene diagram on a set of electronic devices 100.
[0069] For example, FIG2A-FIG2C illustrate user interfaces related to the electronic device 100 launching a sports health APP, and FIG2D illustrates a scene related to a user exercising following a course in the electronic device 100. ...
[0070] Fig. 2A exemplarily shows a user interface 200 for displaying an application menu on the electronic device 100. The user interface 200 may be a main interface.
[0071] As shown in FIG2A , the user interface 200 may include, but is not limited to, a status bar 201 , a calendar indicator 202 , a weather indicator 203 , a tray 205 with common application icons, and other application icons.
[0072] The status bar 201 may include: one or more signal strength indicators of a mobile communication signal (also referred to as a cellular signal), an indicator of a communication signal, a time indicator, and a battery status indicator, etc.
[0073] The calendar indicator 202 may be used to indicate the current time, such as date, day of the week, and hour and minute information.
[0074] The weather indicator 203 may be used to indicate weather type, such as cloudy to sunny, light rain, etc., and may also be used to indicate information such as temperature.
[0075] Other application icons may include: a weather icon, a Huawei Store icon, a Smart Home icon, a Sports & Health icon 206, a memo icon, a calendar icon, a Life Services icon, and an online meeting icon. A tray 205 containing commonly used application icons may display: a camera icon, an address book icon, a phone icon, a message icon, and so on. User interface 200 may also include a page indicator. Other application icons may be distributed across multiple pages, and the page indicator may be used to indicate the application on the specific page the user is currently viewing. Users can swipe left or right on the area containing other application icons to browse application icons on other pages.
[0076] It should be understood that FIG2A merely illustrates an example of a user interface on the electronic device 100 and should not constitute a limitation on the embodiments of the present application.
[0077] The electronic device 100 can detect a touch operation on the sports health icon 206 (e.g., a click operation on the icon 206). In response to the operation, a user interface 210 as shown in FIG. 2B can be displayed. The user interface 210 can be the user interface of a "sports health" application, which can be used by the user to perform sports exercises. Sports health is a type of application installed on the electronic device 100 that can assist the user in exercising. The present embodiment of the application does not limit the name of this application.
[0078] FIG2B exemplarily shows a user interface 210 of the “Sports Health” application on the electronic device 100. As shown in FIG2B , the user interface 210 may include, but is not limited to, a sports mode area 211, a sports course area 212, a page selection bar 213, and the like.
[0079] One or more sport mode options may be displayed in the sport mode area 211. The sport mode options may include, but are not limited to, outdoor running option 211A, outdoor walking option 211B, outdoor cycling option 211C, and indoor running option 211D. When a user performs different types of exercise, the electronic device 100 may detect user operations on the sport mode options, which may be used to select a sport mode. In response to the user operations, the electronic device 100 may display a user interface for the sport mode selected by the user. Different sport modes are configured with different actions to assist the user in exercising, and the user may select one of the following:
[0080] One or more exercise course icons may be displayed in the exercise course area 212. The exercise mode icons may include, but are not limited to, a vest line development icon 214 and an aerobics fat loss icon, etc.
[0081] The page selection bar 213 may include, but is not limited to, a health page, a sports page, a device page, and a my page. Different pages may display different information. For example, the user interface 210 is the user interface of the sports health APP when it is on the sports page.
[0082] FIG2B merely illustrates an example of a user interface on the electronic device 100 and should not constitute a limitation on the embodiments of the present application.
[0083] The electronic device 100 can detect a touch operation on the vest line development icon 214, and in response to the operation, can display a user interface 220 as exemplified in FIG. 2C.
[0084] FIG2C exemplarily illustrates a user interface 220 of a course in a "Sports Health" application on an electronic device such as a smartphone. As shown in FIG2C , the user interface 220 may include, but is not limited to, a course introduction area 221, a wearing condition 222, a start training control 223, and the like.
[0085] The course introduction area 221 may be used to indicate the introduction information of the course selected by the user, such as the course selected by the user, the number of training sessions completed by the user, the course difficulty, the course duration, the calories burned, the equipment used in the course, and the recommended exercise frequency.
[0086] The wearing condition 222 may include information such as whether the wearable device is worn and a wearing position control 222A. For example, as shown in FIG2C , the current user has worn a watch, and the wearing position is the left hand.
[0087] The start training control 223 can be used to initiate the course content shown in the user interface 220.
[0088] As shown in FIG2C , the electronic device may detect a touch operation applied to the start training control 223 , and in response to the operation, may display a user interface 230 as exemplarily shown in FIG2D .
[0089] FIG2D exemplarily shows a schematic diagram of the interaction between the electronic device 100 and the user when the user is exercising. For example, FIG2D includes a user, and the user is within the acquisition range of the camera of the electronic device 100. In some implementations, the user wears a wearable device 200 (for example, a watch). The user can perform physical movements, such as jumping, squatting, raising hands, bending knees, etc., and the user may also walk. In addition, the user can exercise in any posture. The user shown in FIG2D using the electronic device 100 in a standing posture is only an exemplary illustration. The user can also use the electronic device 100 in other postures, which is not limited in the embodiments of the present application.
[0090] The user interface 230 is a user interface for the upcoming exercise course in the "Sports Health" application. The user interface 230 may include, but is not limited to, a coach display area 231, a user display area 232, prompt information 233, and the like.
[0091] The instructor display area 231 can be used to display a recorded video of a course being demonstrated by an instructor. The instructor's movements are standard, and the user can follow the instructor's movements to perform the exercise. The user display area 232 can be used to display a user portrait, which can be a real-time image of the user captured by a camera. The prompt message 233 is used to remind the user that an exercise is about to begin.
[0092] As shown in Figure 2D, the current moment is the course preparation moment, and the coach is in the action preparation state, that is, the vertical standing state. The user refers to the coach's action and also stands vertically.
[0093] 2E-2H introduce several user interfaces provided by the electronic device 100 when the user is exercising.
[0094] In the embodiment of the present application, standard actions can be divided into standard dynamic actions and standard dynamic actions.
[0095] The standard movements shown in Figure 2E are standard dynamic movements. In the present embodiment, standard dynamic movements may refer to movements that require the user to move their limbs during exercise. Standard dynamic movements may include, but are not limited to, jumping jacks, crunches, high leg raises, burpees, supported twists, mountain climbers, bench presses, and the like.
[0096] For example, a jumping jack action can be a collection of multiple continuous actions, mainly divided into two parts: the first part and the second part. The first part starts with the arms raised to the side and feet shoulder-width apart, and ends with the arms raised vertically upward and hands clapping, with feet together. The first part includes all the user's movements from the start to the end. The second part starts with the arms raised vertically upward and hands clapping, with feet together, and ends with the arms raised to the side and feet shoulder-width apart. The second part includes all the user's movements from the start to the end.
[0097] Figure 2E illustrates an exemplary user interface 240 for a user performing a jumping jack. In some implementations, the jumping jack is a dynamic action, specifically a character changing from a posture with arms raised sideways and feet shoulder-width apart to a posture with arms raised vertically upward, hands clapping, and feet together, and then returning to a posture with arms raised sideways and feet shoulder-width apart, repeating these changes multiple times. As shown in Figure 2E, user interface 240 includes, but is not limited to, a coach display area 241, a user display area 242, and action prompt information 243.
[0098] For example, the coach's display area 241 shows the coach's standard jump jack with arms raised to the side and feet shoulder-width apart, while the user display area 242 shows the user's jump jack without arms raised to the side and feet shoulder-width apart. As shown in Figure 2E , the user's jumping jacks do not meet the standard. At this point, the vibration generated by the watch is directed upward, prompting the user to raise their arms.
[0099] The action prompt information 243 can be used to prompt the user of the current action and the number of times to be completed. For example, the action currently performed by the user is jumping jacks, and the number of times is 15.
[0100] The standard movements shown in FIG2F are standard static movements. In the present embodiment, standard static movements may refer to movements that require the user's limbs to remain still during exercise. Standard static movements may include, but are not limited to, plank support, wall squats, static hip bridges, squat holds, and a series of static yoga movements.
[0101] Figure 2F illustrates an exemplary user interface 250 for a user performing a squat hold. In some implementations, the squat hold is a static movement, specifically requiring the user to maintain their thighs parallel to the ground and their calves perpendicular to the ground for 15-30 seconds. As shown in Figure 2F, user interface 250 includes, but is not limited to, a coach display area 251, a user display area 252, and action prompts 253.
[0102] For example, the coach's display area 251 shows the coach's standard squat posture, where the thighs are parallel to the ground and the calves are perpendicular to the ground. The user's display area 252 shows the user's squat posture, where the thighs are not parallel to the ground and the calves are not perpendicular to the ground. As can be seen from the above, the user's squat posture does not meet the standard. In this case, the vibration generated by the watch is directed downward, which can prompt the user to squat deeper.
[0103] The action prompt information 253 can be used to prompt the user's current action and the number of times to be completed. Exemplary, the action currently performed by the user is a squat hold, and the number of times is 15.
[0104] In some implementations, when the user's dynamic or static movements do not meet the standard, the watch worn by the user will vibrate to remind the user that their movements do not meet the standard and guide the user to achieve the standard movement. For details on how the watch guides the user to achieve the standard movement, please refer to the following content and will not be elaborated here.
[0105] Figures 2G-2H illustrate exemplary user interfaces for a user performing a push-up. In some implementations, the push-up is a dynamic movement, specifically involving a character transitioning from a posture with arms extended and slightly bent, leaning forward to a posture with arms parallel to the ground, then back to a posture with arms extended and slightly bent, leaning forward, and repeating these changes multiple times. As shown in Figure 2G, user interface 260 includes, but is not limited to, a coach display area 261, a user display area 262, and action prompt information 263.
[0106] For example, the coach display area 261 shows the coach's standard push-up action with his hands straightened, slightly bent, and bent over, while the user display area 262 shows the user's standard push-up action with his hands straightened, slightly bent, and bent over.
[0107] As shown in FIG2H , the user interface 270 includes but is not limited to a coach display area 271 , a user display area 272 , action prompt information 273 , and the like.
[0108] For example, the coach display area 271 shows the coach's standard push-up action with his upper arms parallel to the ground, and the user display area 272 shows the user's standard push-up action with his upper arms parallel to the ground. As can be seen from the above, the push-up action performed by the user meets the standard.
[0109] In some implementations, when the user changes from a posture with both arms straight, slightly bent, and leaning over to a posture with both arms parallel to the ground, leaning over to the ground, that is, when the user action shown in FIG. 2G changes to a user action shown in FIG. 2H , the user can inhale. The watch worn by the user vibrates, and the vibration intensity of the vibration decreases from strong to weak, and the vibration direction is upward. When the user changes from a posture with both arms parallel to the ground, leaning over to a posture with both arms straight, slightly bent, and leaning over to the ground, that is, when the user action shown in FIG. 2H changes to the user action shown in FIG. 2G , the user can exhale. The watch worn by the user vibrates, and the vibration intensity of the vibration decreases from strong to weak, and the vibration direction is downward.
[0110] In some implementations, the watch worn by the user vibrates during dynamic or static movements to guide the user to adopt correct standard breathing information during exercise. For more information on how the watch guides the user to breathe correctly, please refer to the following content and will not be repeated here.
[0111] Based on the above introduction, the following describes a vibration feedback method provided by an embodiment of the present application. This method can be used to prompt the user to correct the current action in a timely manner.
[0112] FIG3 exemplarily shows a method flow of vibration feedback provided in an embodiment of the present application.
[0113] The method specifically includes:
[0114] S301: The electronic device 100 runs a first application.
[0115] In some implementations, before running the first application, the electronic device 100 may establish a communication connection with the wearable device 200. Optionally, the electronic device 100 may also establish a communication connection with the wearable device 200 after running the first application, which is not limited to this. The above-mentioned establishment of a communication connection may be initiated by the electronic device 100 or by the wearable device 200. The electronic device 100 and the wearable device 200 may establish a wireless connection, which may include but is not limited to: high-fidelity wireless communication (wireless fidelity, Wi-Fi) connection, Bluetooth connection, infrared connection, NFC connection, ZigBee connection and other short-range connections, and may also include but is not limited to long-range connections based on 2G, 3G, 4G, 5G and subsequent standard protocols of mobile networks. In the embodiments of the present application, the above-mentioned connection methods are only illustrative, and more connection methods may also be included.
[0116] In some implementations, the electronic device 100 may detect a user operation on an icon of a first application in an application interface menu and, in response to the operation, run the first application. The user operation may include, but is not limited to, a click operation, a double-click operation, a touch operation, a voice command, a gesture command, and the like. The electronic device 100 may also jump to running the first application by corresponding user operations in other applications. In the embodiments of the present application, the method for running the first application is not limited.
[0117] For example, referring to the user interface 200 shown in FIG. 2A , the electronic device may detect a user operation on the icon 206 of the “Sports Health” application, and run the “Sports Health” application in response to the operation.
[0118] Among them, the first application can refer to an application that comes with the system in the electronic device 100, or it can refer to a third-party application that is normally installed in the electronic device 100. It can also be implemented as a small program, web page, etc., which is not limited to this.
[0119] In the embodiment of the present application, the specific functions supported by the first application can be referred to the aforementioned related introduction and will not be repeated here.
[0120] Specifically, the type of the first application may include, but is not limited to: sports applications (such as fitness apps, dance apps, etc.), game applications (such as somatosensory games, etc.), and the like.
[0121] For example, when a user is exercising using an electronic device 100 (such as a mobile phone), a sports application can capture a real-time image of the user and provide vibration feedback through the wearable device 200 (such as a watch) worn by the user, thereby allowing the user to better correct their movements. For another example, when a user is playing an entertainment game using the electronic device 100, a game application can also capture a real-time image of the user and provide vibration feedback through the wearable device 200 worn by the user, thereby allowing the user to obtain a better gaming experience.
[0122] In some implementations, after running the first application, the electronic device 100 can obtain the location where the wearable device 200 is worn. Optionally, the electronic device 100 can also obtain the location where the wearable device 200 is worn after establishing a communication connection with the wearable device 200. The electronic device 100 obtains the wearing location of the wearable device 200 in the following ways, but is not limited to:
[0123] 1. After the electronic device 100 establishes a communication connection with the wearable device 200, the wearing location information input by the user can be obtained. For example, after the communication connection is established, the electronic device 100 may display a pop-up window, and the electronic device 100 may obtain the wearing location information of the wearable device 200 in response to the user input of the wearing location. For another example, the electronic device 100 may display the relevant interface of the settings application, and the electronic device may obtain the wearing location information of the wearable device 200 in response to the user input of the wearing location.
[0124] 2. The electronic device 100 responds to the user's operation and obtains the wearing position information input by the user. For example, the electronic device 100 displays the user interface 230 shown in Figure 2D. In response to the user selecting "left hand" in the wearing position control 222A, the electronic device 100 can obtain the information input by the user that the watch is worn on the left hand.
[0125] 3. The electronic device 100 obtains the wearing position by analyzing the sensor data sent by the wearable device 200. In some implementations, the electronic device 100 can prompt the user to complete a specific action. The wearable device 200 collects the movement direction and speed (i.e., angular velocity) of the wearable device 200 while the user completes the specific action and sends this angular velocity data to the electronic device 100. The electronic device 100 can determine the wearing position of the wearable device 200 based on this angular velocity data. For example, after running a first application, the electronic device 100 prompts the user via text or voice message, "Please raise your arms in front of you first, then raise your arms to the side." The electronic device 100 can then determine whether the user has completed the above-mentioned specific actions based on the collected images. After the electronic device 100 obtains the angular velocity data, the following movement directions are described using the user's standing position in terms of up, down, left, and right. If the wearer is on the left hand, the obtained angular velocity direction is first upward, then left. If the wearer is on the right hand, the obtained angular velocity direction is first upward, then right. The electronic device 100 can determine the wearing position based on these distinctions.
[0126] In one possible implementation, the electronic device 100 can also obtain various sensor data (such as gyroscope data, fingerprint data, acceleration data, etc.) collected by the wearable device when the user performs daily activities to determine the wearing position of the wearable device 200. If the electronic device 100 determines, based on the gyroscope data and acceleration data, that the motion path conforms to the motion path of the left hand, the wearing position is the left hand; otherwise, the wearing position is the right hand. If the electronic device 100 determines, based on the fingerprint data, that the majority of fingerprints are from the left hand, the wearing position is the right hand; otherwise, the wearing position is the left hand.
[0127] In the embodiment of the present application, the electronic device 100 determines the wearing position based on the data collected by the sensor of the wearable device 200 for illustrative purposes only and is not limited thereto. Other determination methods may also be included.
[0128] 4. When the electronic device 100 runs the first application, that is, turns on the camera, the position of the wearable device 200 in the image can be directly identified through the collected image, and then the wearing position can be determined in combination with the position of the person in the image.
[0129] In the embodiment of the present application, the method for obtaining the wearing position of the wearable device 200 is not limited, and more or fewer methods may be included.
[0130] In one possible implementation, in order to enable the user to understand the information indicated by the vibration generated by the wearable device 200, the electronic device 100 may display a vibration prompt tutorial of the wearable device 200 after running the first application. The tutorial can enable the user to know what information the vibration prompts when the user feels the vibration, for example, prompting the user to change actions, etc.
[0131] S302. The electronic device 100 detects a first operation and obtains standard action information.
[0132] In some implementations, after the electronic device 100 runs the first application, the electronic device 100 may receive a first operation for the first application. Specifically, the first operation may refer to a user operation for triggering the user to follow the coach's movements in a sports application, and the first operation may also refer to a user operation for triggering the start of a somatosensory game in a game application. In an embodiment of the present application, in addition to the above-mentioned types of first operations, more types of first operations may also be included, which are not limited. The above-mentioned first operation may include but is not limited to: a user's click operation, double-click operation, touch operation, voice command, and gesture command, etc. Exemplarily, the above-mentioned first operation may specifically refer to a touch operation received by the electronic device 100 for the start training control 223 in Figure 2C.
[0133] In some implementations, the electronic device 100 can obtain multiple sets of standard action information after running the first application. For example, when the first application is a sports application, the first application can provide users with a variety of sports courses (such as vest line development courses, aerobics fat loss courses), and each sports course corresponds to different standard action information, so the electronic device 100 can obtain multiple sets of standard action information. For example, when the first application is a game application, the first application can provide users with a variety of game levels, and each game level corresponds to different standard actions, so the electronic device 100 can obtain multiple sets of standard action information.
[0134] The electronic device 100 may also obtain standard action information after detecting the first operation. Since the electronic device 100 responds to the first operation, the user can follow the image of the standard action displayed by the electronic device 100 to perform the action, which means that the standard action information obtained by the electronic device 100 is a set of standard action information selected or specified by the user. For example, after the electronic device 100 receives the touch operation for the start training control 223 in Figure 2C, the electronic device 100 can obtain the standard action information corresponding to the vest line course.
[0135] In some implementations, the electronic device 100 can obtain standard action information that subsequent users need to follow to complete the action. The standard action information may include the position of each skeletal node of the character when completing each standard action. For the relevant introduction of skeletal nodes, please refer to the following content and will not be repeated here. For example, the electronic device 100 can obtain standard action information such as jumping jacks, squats and push-ups in the vest line course.
[0136] Furthermore, the standard action information also includes the movement direction (i.e., motion plan) of each skeletal node when the character completes each standard action. The electronic device 100 can determine the movement direction based on the relative positions of each skeletal node within a preset time. For example, the electronic device 100 can compare the positions of the hand in the previous and next frames to determine the movement direction of the hand.
[0137] Specifically, standard actions can include two categories: standard dynamic actions and standard static actions. When the standard action is a standard dynamic action, the standard action information includes the position of each skeletal node during the character's movement from the dynamic action starting point to the dynamic action end point. Generally speaking, a complete dynamic action can include all actions of the character from the dynamic action starting point to the dynamic action end point, and then from the dynamic action end point to the dynamic action starting point. Optionally, a complete dynamic action can also include all actions of the character from the dynamic action starting point to the dynamic action end point, which is not limited to the embodiments of the present application. Exemplarily, a jumping jack action is a dynamic action. In one case, the starting point of the jumping jack action can refer to the character being in a posture with his arms raised horizontally to the sides and his feet shoulder-width apart, and the end point of the jumping jack action can refer to the character being in a posture with his arms raised vertically upward and his hands clapping, with his feet together; in another case, the starting point of the jumping jack action can refer to the character being in a posture with his arms raised vertically upward and his hands clapping, with his feet together, and the end point of the jumping jack action can refer to the character being in a posture with his arms raised horizontally to the sides and his feet shoulder-width apart. In the embodiments of the present application, the dynamic action starting point and the dynamic action end point are merely illustrative and are not limiting.
[0138] When the standard action is a standard static action, the standard action information includes the positions of each bone node when the character completes the standard static action. For example, a squat hold action is a static action, and the squat hold action may be a position where the character's thigh is parallel to the ground and the calf is perpendicular to the ground.
[0139] S303: The electronic device 100 starts the camera and collects images in real time through the camera.
[0140] In some implementations, after the electronic device receives the first operation, in response to the first operation, the electronic device 100 can capture images within the shooting range of the camera through the camera. Generally, since the user needs to observe his own movements through the display screen of the electronic device 100, the camera on the side where the display screen of the electronic device 100 is located, that is, the front camera, is used to capture images. However, the user can also replace the camera that captures images. Optionally, when the electronic device 100 is projecting a screen, the user can observe his own movements from the projection device (for example, a projection screen), and the user does not need to face the display screen of the electronic device 100 to observe his own posture and movements. In this case, the electronic device 100 can replace the camera that captures images. For example, the electronic device 100 can capture images through the rear camera. In the embodiment of the present application, the application scenario using the rear camera is not limited, and there can be more application scenarios in which the rear camera can be used to capture images.
[0141] In one possible implementation, the electronic device 100 may immediately turn on the camera after starting the first application and begin continuously collecting image information. The electronic device 100 may also turn on the camera after receiving the first operation and then begin continuously collecting image information. This is not limited in the embodiments of the present application.
[0142] In some implementations, the images captured by the electronic device 100 may be inconsistent at different time points, and the image depends on the user's actions and position at the current time point, etc. Specifically, when the electronic device 100 captures an image, there are many situations for the user's position. For example, the user's position can be relatively close to the electronic device 100, or relatively far away from the electronic device 100, or can change parallel to the electronic device 100. There are many more situations for the user's position. When the electronic device 100 captures an image, there are many situations for the user's posture. For example, the user can squat, jump, raise his hands, bend his knees, and other actions to change the user's posture. In the embodiments of the present application, the above-mentioned user's actions and postures are only illustrative and not limiting.
[0143] S304: The electronic device 100 determines the user's current action based on the collected image.
[0144] In some implementations, the user's current action may be referred to as a first action.
[0145] In some implementations, the electronic device 100 can begin capturing images after activating the camera. Because the electronic device needs to generate vibration information based on the motion information of the person in the image, the electronic device 100 only needs to capture images containing the person. In this embodiment of the present application, the electronic device 100 only analyzes and processes images containing the person.
[0146] In some implementations, the electronic device 100 can identify whether an image contains a person. Specifically, the electronic device 100 can process the image, extract features, and perform pattern recognition on the features to determine whether the image contains a person. The electronic device 100 can also identify whether an image contains a person based on a deep learning method. In the embodiments of the present application, the method by which the electronic device 100 identifies a person in an image is not limited, and more or fewer methods may be included.
[0147] In a possible implementation, the electronic device 100 may also identify the number of people in the image, where the number may be 0 or one or more, and is not limited to this.
[0148] In some implementations, the electronic device 100 can determine the user's current action based on the image containing the person collected. In fact, the electronic device 100 determines the user's current skeleton node based on the image. The electronic device 100 can identify the image data collected by the camera through a neural network algorithm based on the skeleton node recognition technology, such as a convolutional neural network algorithm (CNN), to determine the skeleton nodes of the person in the captured image. In the embodiment of the present application, the skeleton node recognition technology is not limited, and other algorithms can also be used to determine the skeleton nodes.
[0149] The following is the relevant information about the skeleton node.
[0150] FIG4 exemplarily shows a schematic diagram of a human skeleton model.
[0151] As shown in Figure 4, the human skeleton model can include 15 skeletal nodes. Specifically, the 15 skeletal nodes can be respectively the head center 1, the neck center (e.g., the spinal center of the neck) 2, the left shoulder joint 3, the right shoulder joint 4, the left elbow joint 5, the right elbow joint 6, the left wrist joint 7, the right wrist joint 8, the left hip joint 9, the left knee joint 10, the left ankle joint 11, the right hip joint 12, the right knee joint 13, the right ankle joint 14, and the trunk center (e.g., the spinal center of the back of the trunk) 15. Each skeletal node can also be used as a standard for dividing body parts. For example, the body can be divided into five body parts, namely the torso, left arm, right arm, left leg and right leg, wherein the torso includes the neck center 2 and the torso center 15, the left arm includes the left shoulder joint 3, the left elbow joint 5 and the left wrist joint 7, the right arm includes the right shoulder joint 4, the right elbow joint 6 and the right wrist joint 8, the left leg includes the left hip joint 9, the left knee joint 10 and the left ankle joint 11, and the right leg includes the right hip joint 12, the right knee joint 13 and the right ankle joint 14. It is worth noting that in the embodiment of the present application, in addition to numbering the skeletal nodes for distinction, the skeletal nodes can also be distinguished by defining the names, such as the head, neck, left shoulder, right shoulder, left elbow, right elbow, left wrist, right wrist, left hip, left knee, left ankle, right hip, right knee, right ankle and torso. The embodiment of the present application does not limit the method of defining and distinguishing the skeletal nodes. In the embodiment of the present application, more or fewer skeleton nodes may be included. FIG4 is only for illustrative purposes and does not limit the number of skeleton nodes.
[0152] In the embodiment of the present application, the electronic device 100 obtains the skeleton nodes, that is, obtains the position information of each body part of the user, which is equivalent to determining the current action of the user.
[0153] In one possible implementation, in addition to determining the user's current action based on the captured image, the electronic device 100 can also use the wearing position of the wearable device 200 and its sensor data to assist in determining the user's current action.
[0154] In another possible implementation, the sensor data and wearing position of the wearable device 200 can also be used to assist in determining the user's current action.
[0155] Since even if the user performs the same action, the wearing position of the wearable device 200 is different, the sensor data obtained by the wearable device 200 is also different. Therefore, the wearing position will also affect the electronic device 100's determination of the user's current action. Specifically, when the electronic device 100 recognizes that the user's current posture is with both arms raised sideways upward, if the electronic device 100 does not obtain the wearing position and sensor data of the wearable device 200, the electronic device 100 can only recognize the current action and cannot determine whether the user is in the first part or the last part of the jumping jacks. If the electronic device 100 obtains the wearing position and sensor data of the wearable device 200, the electronic device 100 can determine that the user has changed from raising his arms vertically upward and clapping his hands, and the posture of his feet together has changed to the current posture of raising his arms sideways upward, indicating that the user is in the last part of the jumping jacks. In this way, the electronic device 100 can more accurately determine the user's current action.
[0156] S305 : The electronic device 100 compares the difference between the user's current action and the standard action, and generates vibration information according to the difference.
[0157] In some implementations, after obtaining the standard motion information and the user's current motion, the electronic device 100 can compare the user's motion with the standard motion. The relative positions of the user's limbs can reflect the user's current motion. For example, when a user raises their arms vertically upward and claps their hands, with their feet together, the user is performing a jumping jack; when the user keeps their thighs parallel to the ground and their calves perpendicular to the ground, the user is performing a squat hold.
[0158] In some implementations, the electronic device 100 can compare the positions of the various skeletal nodes of the character when completing various standard actions with the positions of the various skeletal nodes of the user at the moment. For different actions, the electronic device 100 can identify the characteristics of the different actions and select some skeletal nodes for comparison. For example, for jumping jacks, the skeletal nodes on the arms are selected for comparison; for squats and holds, the skeletal nodes on the thighs and calves are selected for comparison. This is not limited in the embodiments of the present application.
[0159] In some implementations, the difference between the user's current action and the standard action can be understood as a difference between the first action and the standard action. The difference between the user's current action and the standard action can refer to an error between the first action and the standard action. The error can include a difference in the positions of the skeletal nodes that constitute the action and / or a difference in the direction of movement of the action.
[0160] In a possible implementation, if the motion path of the standard action is different from the user's current motion path, it is also understood that the user's current action is different from the standard action.
[0161] When the types of standard actions (eg, dynamic actions, static actions) are different, the above comparison method is different, see S305-1 and S305-2 below.
[0162] S305 - 1 . When the standard action is a dynamic action, the electronic device 100 compares the difference between the user's current action and the standard action, and generates vibration information according to the difference.
[0163] In some implementations, when the user is moving from a dynamic motion starting point to a dynamic motion end point, the electronic device 100 may compare the difference between the user's current motion and the end point of the standard motion.
[0164] In another possible implementation, when the user is moving from the end point of a dynamic action to the starting point of a dynamic action, the electronic device 100 may compare the difference between the user's current action and the start point of a standard action.
[0165] For example, when a user is performing jumping jacks, when the user moves from a posture with arms raised to the sides and feet shoulder-width apart to a posture with arms raised vertically upward and hands clapping, and feet together, the electronic device 100 can compare the difference between the user's current action and the posture with arms raised vertically upward and hands clapping, and feet together; when the user moves from a posture with arms raised vertically upward and hands clapping, and feet together, the electronic device 100 can compare the difference between the user's current action and the posture with arms raised to the sides and feet shoulder-width apart.
[0166] The above-mentioned difference may refer to: the difference between the current position of each limb of the user and the position of each limb of the user in a standard action; or the difference between the relative positions of each limb of the user and the relative positions of each limb of the user in a standard action.
[0167] Furthermore, even if the current positions of the user's limbs are the same as the positions of the user's limbs in the standard action; or the relative positions of the user's limbs are the same as the relative positions of the limbs in the standard action, but the movement direction of the user's limbs is inconsistent with the movement direction of the limbs in the standard action, it will be understood that the first action is different from the standard action. For example, the user's action and the standard action are both arms raised to the side with feet shoulder-width apart, but the user's arms are moving downward, while the standard action is to raise the arms upward. In this case, the user's action is different from the standard action, and the wearable device 200 can vibrate to indicate that the user's action is different from the standard action. Specifically, the difference can be indicated by the direction of the vibration.
[0168] In a possible implementation, different people are when completing the same action, even if the action is completed standard, the relative position between different people's skeletal nodes also can be different.For example, when the coach is performing a squat, the distance between the right hip joint point 12 and the right ankle joint point 14 of the coach that the electronic device 100 obtains is 10 pixels, and the user has also reached the standard when following the coach's motion, but because the user is inconsistent with the coach's height and body shape, the distance between the right hip joint point 12 and the right ankle joint point 14 of the user that the electronic device 100 obtains is 15 pixels.Therefore, after obtaining the user's skeletal nodes, the electronic device 100 can be adaptively adjusted to the user's skeletal nodes when reaching the action standard, i.e., the user's standard action information.That is to say, in fact, the electronic device 100 is not the difference between the skeletal nodes when the coach in the current skeletal nodes of the user and the display screen reaches the standard dynamic action terminal, but the difference between the skeletal nodes when the current skeletal nodes of the user and the user reaches the standard dynamic action terminal.
[0169] In another possible implementation, the electronic device 100 compares the relative positions of the skeletal nodes in the standard motion information with the relative positions of the skeletal nodes of the user's current motion. For example, the electronic device 100 compares the relative positions of the skeletal nodes of the user's current motion with the relative positions of the skeletal nodes of the user's current motion. For example, the electronic device 100 compares the relative positions of the skeletal nodes of the user's current motion with the relative positions of the skeletal nodes of the user's current motion.
[0170] After obtaining the above-mentioned difference, the electronic device 100 can generate vibration information according to the difference.
[0171] The vibration information indicates any one or more of vibration intensity, vibration direction, vibration rhythm, and vibration duration:
[0172] 1. The vibration intensity depends on the difference between the user's current action and the ending action of the standard dynamic action. The greater the difference, the stronger the vibration intensity. In other words, the stronger the vibration, the greater the difference between the user's current action and the standard action.
[0173] 2. The vibration direction depends on the direction of motion required to transform the user's current action into the final action in a standard dynamic action. Different standard dynamic actions result in different vibration directions. In other words, the vibration direction can be used to indicate the user's desired direction of adjustment. Vibration directions include, but are not limited to, up, down, left, right, and other directions in three-dimensional space.
[0174] 3. The vibration rhythm depends on how quickly the user's current action changes. The faster the dynamic action changes, the faster the vibration rhythm. For example, jumping jacks and crunches are both dynamic actions, but jumping jacks change faster and are more intense than crunches. Therefore, the vibration rhythm when the user is doing jumping jacks is faster than when doing crunches. In the embodiments of the present application, this is not limited to this, and other forms of vibration rhythm may also be used. The vibration rhythm can be used to indicate to the user how quickly the current action is changing.
[0175] 4. The duration of the vibration depends on whether the user's current action differs from the standard dynamic action, and how long the difference lasts. The vibration duration is used to indicate to the user that the current action does not meet the standard action duration.
[0176] In the embodiment of the present application, the above-mentioned indicated content may also depend on more or fewer conditions, which are not limited here. In addition, the vibration information may also indicate other vibration factors, which are not limited here.
[0177] The following describes how the electronic device generates vibration information based on the above distinctions with reference to FIG5 .
[0178] Figure 5 illustrates an example of a user performing a jumping jack. To more clearly illustrate the user's completion of the action, Figure 5 uses a skeletal node model to represent the user. The user transitions from the posture shown in P1 in Figure 5 to the posture shown in P2 in Figure 5 , then to the posture shown in P3 in Figure 5 , and finally to the posture shown in P4 in Figure 5 . Here, we will only discuss the first half of the jumping jack. The ending movement described below also refers to the movement that ends the first half of the jumping jack.
[0179] Among them, P1 in Figure 5 is a posture in which the user is in a posture with his arms raised horizontally to the sides. At this time, the user starts to perform jumping jacks, and the user's arms are in a straight line. P4 in Figure 5 is a posture in which the user is in a posture with his arms raised vertically upward and clapping his hands. At this time, the user ends the first half of the jumping jacks. As can be seen from the above, the electronic device 100 needs to compare the difference between the user's current action and the end of the standard action. In other words, for the jumping jacks, the electronic device 100 selects the skeletal nodes on the arm for comparison. For a more brief description, only the differences between the left shoulder joint point 3, the left elbow joint point 5, and the left wrist joint point 7 of the user in P1 in Figure 5, P2 in Figure 5, P3 in Figure 5, and P4 in Figure 5, that is, the differences in the left arm, are introduced. The remaining skeletal nodes can refer to the above situation.
[0180] In some implementations, the electronic device 100 may generate vibration information based on the above distinctions, where the vibration information indicates one or more of vibration intensity, vibration direction, vibration rhythm, and vibration duration.
[0181] In some implementations, the electronic device 100 may be set with the same vibration rhythm for the same dynamic action, or may be set with different vibration rhythms. The electronic device 100 may also generate different vibration rhythms for different dynamic actions. The electronic device 100 may also set other types of vibration rhythms. For example, there is the following vibration rhythm: A vibration consists of three vibration cycles, in which the first vibration and the second vibration are separated by 1 second, the second vibration and the third vibration are separated by 0.5 seconds, and the third vibration and the first vibration in the next cycle are separated by 0.5 seconds. Since this action is a jumping jack action, the action changes faster than dynamic actions such as sit-ups, so the generated vibration rhythm is also faster.
[0182] In some implementations, the electronic device 100 may classify the vibration intensity of the generated vibration information into three levels: L1, L2, and L3. Level L1 is the strongest vibration intensity, level L2 is the second strongest, and level L3 is the weakest. In the embodiments of the present application, the vibration intensity levels classified by the electronic device 100 are not limited, and more or fewer levels may be provided.
[0183] The electronic device 100 can divide the angle of the left arm changed between the start and end of the user's movement into three levels, corresponding to the three levels of vibration intensity. Specifically, when the user is in the posture shown in P1 in Figure 5, the angle formed between the user's left arm and the left arm at the end of the standard action (such as the dotted part in P1 in Figure 5) is Angle 1, and the angle of Angle 1 is approximately 95 degrees. When the user is in the posture shown in P2 in Figure 5, the angle formed between the user's left arm and the left arm at the end of the standard action (such as the dotted part in P2 in Figure 5) is Angle 2, and the angle of Angle 2 is approximately 60 degrees. When the user is in the posture shown in P3 in Figure 5, the angle formed between the user's left arm and the left arm at the end of the standard action (such as the dotted part in P3 in Figure 5) is Angle 3, and the angle of Angle 3 is approximately 30 degrees.
[0184] When the user's posture changes from the posture shown in P1 in Figure 5 to the posture shown in P2 in Figure 5 , that is, when the angle between the user's left arm and the left arm at the end of the standard movement is between 60 degrees and 95 degrees, the electronic device 100 can generate L1 level vibration information. It is worth noting that when the user is in the posture shown in P1 in Figure 5 , the user is at the start of the movement, and the vibration intensity in the vibration information generated by the electronic device 100 is zero. When the user's posture changes from the posture shown in P2 in Figure 5 to the posture shown in P3 in Figure 5 , that is, when the angle between the user's left arm and the left arm at the end of the standard movement is between 60 degrees and 30 degrees, the electronic device 100 can generate L2 level vibration information. It is worth noting that when the user is in the posture shown in P2 in Figure 5 , the electronic device 100 can generate either L1 level or L2 level vibration information. When the user's posture changes from the posture shown in P3 in Figure 5 to the posture shown in P4 in Figure 5 , that is, when the angle between the user's left arm and the left arm at the end of the standard movement is between 30 degrees and 0 degrees, the electronic device 100 can generate L3 level vibration information. It is worth noting that when the user is in the posture shown in P3 in Figure 5, the electronic device 100 can generate vibration information of level L2 or L3. When the user is in the posture shown in P4 in Figure 5, the user posture is consistent with the standard action end posture, so the vibration intensity in the vibration information generated by the electronic device 100 is zero.
[0185] During the entire process shown in Figure 5, the vibration direction of the vibration information generated by the electronic device 100 is in the direction when the standard action ends. For example, the user wears a watch on his left hand. When the user is in the posture shown by P1 in Figure 5, the vibration direction of the vibration information generated by the electronic device 100 is in the direction indicated by the gray arrow in P1 in Figure 5. When the user is in the posture shown by P2 in Figure 5, the vibration direction of the vibration information generated by the electronic device 100 is in the direction indicated by the gray arrow in P2 in Figure 5. When the user is in the posture shown by P3 in Figure 5, the vibration direction of the vibration information generated by the electronic device 100 is in the direction indicated by the gray arrow in P3 in Figure 5.
[0186] For example, as shown in FIG2E , user interface 240 displays a user moving from an arm raised vertically upward and clapping hands to an arm raised horizontally to the side. The standard movement is shown in coach display area 241 , and the user's current movement is shown in user display area 242 , with the user's arm slightly lowered. The electronic device 100 recognizes that the angle between the user's arm and the standard movement is between 30 degrees and 0 degrees. Therefore, the electronic device 100 generates L1 vibration information, with the vibration direction corresponding to the direction in which the user's arm is currently moving to the side.
[0187] In the entire process shown in FIG. 5 , the vibration duration indicated by the vibration information generated by the electronic device 100 is the time taken for the user to change from the posture shown by P1 to the posture shown by P4 .
[0188] In the embodiments of the present application, the above description of FIG. 5 is for illustrative purposes only. The electronic device 100 may generate vibration information in more ways, not limited to the vibration intensity, vibration direction, vibration rhythm, and vibration duration described above. For example, the vibration information generated by the electronic device 100 may not be divided into intensity levels, but may gradually become stronger or weaker. The vibration rhythm generated by the electronic device 100 may gradually become faster or slower.
[0189] S305 - 2 . When the standard action is a static action, the electronic device 100 compares the difference between the user's current action and the standard action, and generates vibration information according to the difference.
[0190] In some implementations, static actions are different from dynamic actions, and a dynamic action is equivalent to being composed of multiple static actions. The electronic device 100 only needs to compare the difference between the current user action and the standard action.
[0191] If the user is performing a static action but has not yet completed the static action, for example, when the user completes a squat hold action, the user has not yet squatted or is in the process of squatting, the electronic device 100 starts to compare the difference between the user's current action and the standard action, which may affect the user's experience. Therefore, before the electronic device 100 makes the comparison, the electronic device 100 needs to determine whether the current user is stationary. Specifically, the electronic device 100 can determine whether the user is currently stationary by obtaining the skeleton node timing information. The skeleton node timing information may include: multiple groups of skeleton nodes of the user within a period of time. For example, the electronic device 100 can obtain 5 groups within 1s, and the 5 groups of skeleton nodes are the same or the errors between the 5 groups of skeleton nodes are within the threshold range, indicating that the user is currently in a stationary state, and the electronic device 100 can compare the difference between the user's action and the standard action.
[0192] In some implementations, the electronic device 100 can generate vibration information by comparing the user's current motion with a standard static motion. The vibration information includes vibration intensity, vibration direction, and vibration rhythm.
[0193] 1. The vibration intensity depends on the difference between the user's current movement and the standard static movement. The greater the difference, the stronger the vibration intensity.
[0194] 2. The vibration direction depends on the direction of movement required to transform the user's current motion into a standard static motion. Different standard static motions result in different vibration directions.
[0195] 3. The vibration rhythm depends on the time from the current moment to the end of the static action. The longer the time from the current moment to the end of the static action, the slower the vibration rhythm; the shorter the time from the current moment to the end of the static action, the faster the vibration rhythm. Regarding the difference between comparing user actions and standard actions, please refer to the above description of the difference between comparing user actions and the end of standard actions. It should be noted that since the standard action is a static action, the angle range corresponding to the level of vibration intensity generated by the electronic device 100 is smaller than when comparing dynamic actions. For example, for every 5-degree deviation in the angle between the user's current action limb and the standard action limb, the vibration intensity of the vibration information generated by the electronic device 100 increases by one level. Alternatively, the vibration intensity of the vibration information generated by the electronic device 100 gradually increases as the angle between the user's current action limb and the standard action limb increases. Similarly, the vibration direction of the vibration information generated by the electronic device 100 is also all pointing in the direction where the standard action ends.
[0196] In the embodiment of the present application, the electronic device 100 may generate vibration information in more ways, which are not limited to the vibration intensity, vibration direction and vibration rhythm described above, and may include more vibration intensities, vibration directions and vibration rhythms.
[0197] It is worth noting that what is generated by the electronic device 100 is the data related to the vibration information, rather than the vibration of the electronic device 100 itself.
[0198] In one possible implementation, the difference between the user's current action and the standard action, generating vibration information may mean that once there is a difference between the user's current action and the standard action, for example, the angle between the user's limbs is inconsistent with the angle between the limbs of the standard action, vibration information is generated; it may also mean that the difference between the user's current action and the standard action is greater than a threshold, for example, the error between the angle between the user's limbs and the angle between the limbs of the standard action exceeds three degrees, generating vibration information, and the threshold is set by the first application and is not limited to this.
[0199] S306: The electronic device 100 sends the vibration information to the wearable device 200. The wearable device 200 generates corresponding vibration according to the vibration information, and the vibration can prompt the user to adjust his or her movements to achieve the standard movement.
[0200] In some implementations, the electronic device 100 can generate multiple vibration messages during user movement. Since the user is constantly moving during dynamic movements, the wearable device 200 needs to promptly generate the corresponding vibration intensity, direction, and rhythm based on the current user's movements. This places high demands on the efficiency and speed of the electronic device 100 in sending vibration messages. Therefore, once the electronic device 100 generates new vibration messages, it must be sent to the wearable device 200 immediately.
[0201] After receiving the vibration information, the wearable device 200 can generate vibration according to the vibration intensity and vibration direction in the vibration information to prompt the user to adjust to the standard action. Among them, the wearable device 200 can be equipped with one or more vibration motors.
[0202] For example, when the electronic device 100 displays the user interface 240 as shown in Figure 2E, that is, when the user's current action is the jumping jack action shown in the user display area 242, the wearable device 200 receives the corresponding vibration information and generates vibration according to the above vibration information when the user is in the current state. The vibration intensity is level L3 and the vibration direction is upward, so as to prompt the user to raise his arms.
[0203] As another example, when the electronic device 100 displays the user interface 250 as shown in Figure 2F, that is, when the user's current action is the squat and hold action shown in the user display area 252, the wearable device 200 receives the corresponding vibration information and generates vibration according to the above vibration information when the user is in the current state, and the vibration direction is downward, so as to prompt the user to squat a little deeper.
[0204] In one possible implementation, when the wearable device 200 vibrates, the electronic device 100 can simultaneously provide prompt information in text form, voice form, etc., so that the user can better understand the meaning of the vibration generated by the wearable device 200. For example, when the user's posture is the jumping jacks shown in the user display area 242, the wearable device 200 vibrates with an intensity of L3 and an upward vibration direction. At the same time, the electronic device 100 can play a voice announcement of "Please raise your arms" to more emphatically prompt the user to adjust the action.
[0205] As can be seen from the above method flow, electronic device 100 can generate vibration information based on the difference between the user's current movement and the standard movement, and send this vibration information to wearable device 200. Wearable device 200 can vibrate based on this vibration information to guide the user to exercise more accurately. In this way, vibration can further stimulate the user's sensory experience, allowing the user to adjust their own movements even without looking at the standard movement displayed on the screen, and the user will be more immersed in the exercise.
[0206] In addition to the vibration feedback method described in FIG3 , another vibration feedback method provided by an embodiment of the present application is described below. This method can be used to enable users to exercise using correct standard breathing information.
[0207] FIG6 exemplarily shows another vibration feedback method provided by an embodiment of the present application.
[0208] S601: The electronic device 100 runs a first application.
[0209] For the relevant introduction of S601, please refer to the detailed description of S301 above, which will not be repeated here.
[0210] S602: The electronic device 100 detects a first operation and obtains standard breathing information.
[0211] For the introduction of the first operation, please refer to the detailed description of the first operation in S302 above, which will not be repeated here.
[0212] In this embodiment of the present application, standard breathing information may also be referred to as breathing pattern.
[0213] In some implementations, the electronic device 100 can obtain multiple sets of standard motion information (e.g., exercise course information) while running the first application. Different motions may correspond to different standard breathing information, and the first application can be configured with corresponding correct standard breathing information for each set of standard motions. In other words, the electronic device 100 can obtain corresponding standard breathing information based on each set of standard motions.
[0214] Specifically, when a user performs a dynamic movement, standard breathing information may include: exhalation during exertion and inhalation during relaxation. The determination of which phases of a dynamic movement require exertion and which require relaxation depends on actual circumstances. Different dynamic movements may require different exertion and relaxation actions. Electronic device 100 acquiring standard breathing information is equivalent to determining whether the user needs to exhale or inhale during a particular movement.
[0215] When the user performs a static action, the standard breathing information may include: exhalation time and inhalation time. The exhalation time and inhalation time required for different static actions (such as static actions in yoga) may be different, and the exhalation time and inhalation time may also be different. The electronic device 100 obtains the standard breathing information, which is equivalent to determining the exhalation duration and inhalation duration of the user when performing a certain action. In the embodiment of the present application, the obtained standard breathing information is not limited, and in addition to the above situation, it can also include more or fewer methods.
[0216] In some implementations, the electronic device 100 may obtain the standard breathing information after running the first application, or may obtain the standard breathing information after detecting the first operation.
[0217] S603: The electronic device 100 starts the camera and collects images in real time through the camera.
[0218] For the relevant introduction of S603, please refer to the detailed description of S303 above, which will not be repeated here.
[0219] S604: The electronic device 100 determines the user's current action based on the collected image.
[0220] For the relevant introduction of S604, please refer to the detailed description of S304 above, which will not be repeated here.
[0221] S605: The electronic device 100 generates vibration information according to the standard breathing information corresponding to the user's current action.
[0222] In some implementations, in addition to the above method of obtaining standard breathing information by configuring the first application program with corresponding correct standard breathing information for each set of standard actions, the following method may also be used to obtain standard breathing information:
[0223] 1. The user inputs standard respiratory information based on a template provided by the first application. In some implementations, the template can be used to prompt the user to enter various physical information. The electronic device 100 then sets respiratory information that matches the user's physical condition based on the user's input. This physical information may include height, weight, pain in a certain area, high blood pressure, diabetes, and so on. Optionally, the template can be used to provide the user with multiple types of respiratory information, from which the user can select a standard type of respiratory information. For example, when running, the user can select the appropriate standard respiratory information based on their physical condition.
[0224] 2. Match the corresponding standard breathing information according to the identified current action of the user. In some implementations, in addition to matching the corresponding standard breathing information for a complete set of courses, the first application can also match the corresponding standard breathing information for each action. The electronic device 100 can determine the current action of the user by the method introduced in S605, and then match the corresponding standard breathing information. For example, when the electronic device 100 displays the user interface 260, it recognizes through the collected image that the user is performing push-ups, and the electronic device 100 can match the standard breathing information corresponding to the push-ups.
[0225] 3. Matching the corresponding standard breathing information based on the guidance voice played by the electronic device 100. For example, when the user is exercising, the electronic device 100 may play a voice message saying "Next, prepare for push-ups." The electronic device 100 can intelligently recognize the voice message through natural language processing (NLP), determine that the user is about to perform push-ups, and obtain the standard breathing information corresponding to push-ups.
[0226] In the embodiment of the present application, the above method for obtaining standard breathing information is not limited, and may include more or fewer methods.
[0227] In some implementations, the electronic device 100 may generate vibration information when acquiring standard breathing information.
[0228] The above-mentioned situation of generating vibration information can also be divided into two cases:
[0229] Type 1: The user's current action is a dynamic action.
[0230] In some implementations, the electronic device 100 may generate vibration information by comparing the user's current action with the ending action in the standard dynamic action. The vibration information indicates one or more of vibration intensity, vibration direction, vibration rhythm, and vibration duration.
[0231] 1. The vibration intensity depends on the difference between the user's current action and the ending action of the standard dynamic action. The greater the difference, the stronger the vibration intensity. In other words, a stronger vibration can indicate to the user that the current action is far from the standard action.
[0232] 2. The vibration direction depends on whether the user's current action corresponds to exhalation or inhalation. If the corresponding standard breathing information is exhalation, the vibration pattern is exhalation; if the corresponding standard breathing information is inhalation, the vibration pattern is inhalation. The vibration direction can indicate whether the user should exhale or inhale.
[0233] 3. The vibration rhythm depends on how quickly the user's current movement changes. The faster the dynamic movement changes, the faster the vibration rhythm. For example, jumping jacks and crunches are both dynamic movements, but jumping jacks change more quickly and are more intense than crunches. Therefore, the vibration rhythm when the user is doing jumping jacks is faster than when doing crunches. In the embodiments of the present application, this is not a limitation, and other vibration rhythms are also possible.
[0234] 4. The duration of the vibration depends on the total duration of the standard dynamic movements required in the course. Different standard dynamic movements have different vibration durations, and the required number of completions also varies.
[0235] In the embodiment of the present application, the above-mentioned indicated content may also depend on more or fewer conditions, which are not limited here. In addition, the vibration information may also indicate other vibration factors, which are not limited here.
[0236] When the user's current action is a dynamic action, the electronic device 100 can determine the distance between the user's current action and the end of the standard action. The farther the distance, the stronger the vibration intensity of the generated vibration information, and the closer the distance, the weaker the vibration intensity of the generated vibration information. For the relevant description of comparing the difference between the user's current action and the standard action, reference can be made to the detailed description in the above-mentioned step S306-1, which will not be repeated here. The electronic device 100 can also determine whether the user is in the force-generating stage or the relaxation stage (also known as the force-receiving stage) of the entire dynamic action in the current action. If it is in the force-generating stage, the user needs to exhale, and the vibration direction of the vibration information generated by the electronic device 100 is the exhalation direction or the force-generating direction; if it is in the relaxation stage, the user needs to inhale, and the vibration direction of the vibration information generated by the electronic device 100 is the inhalation direction or the force-receiving direction.
[0237] For example, when the user changes from the action shown in user display area 262 in FIG. 2G to the action shown in user display area 272 in FIG. 2H , that is, when the user changes from a posture with arms straight and slightly bent, leaning over the ground, to a posture with arms parallel to the ground, leaning over the ground, the user's center of gravity shifts downward, and the user is in the force-relieving phase during this process, and the user inhales. Therefore, the vibration intensity of the vibration information generated by the electronic device 100 changes from strong to weak during this process, and the vibration direction is perpendicular to the ground and upward, i.e., the direction of the user's inhalation. When the user changes from the action shown in user display area 272 in FIG. 2H to the action shown in user display area 262 in FIG. 2G , that is, when the user changes from a posture with arms parallel to the ground, leaning over the ground, to a posture with arms straight and slightly bent, leaning over the ground, the user's center of gravity shifts upward, and the user is in the force-relieving phase during this process, and the user exhales. Therefore, the vibration intensity of the vibration information generated by the electronic device 100 changes from strong to weak during this process, and the vibration direction is perpendicular to the ground and downward, i.e., the direction of the user's exhalation.
[0238] In the embodiment of the present application, the above-mentioned method of generating vibration information for dynamic actions is only an example, and there may be more methods, which are not limited to this.
[0239] Type 2: The user's current action is a static action.
[0240] In some implementations, the electronic device 100 may generate vibration information by comparing the user's current action, wherein the vibration information indicates one or more of vibration intensity, vibration direction, vibration rhythm, and vibration duration.
[0241] 1. The intensity of the vibration depends on the type of action the user is currently performing, or the time remaining until the end of a static action. Weaker vibrations indicate that the user is closer to the end of the action.
[0242] 2. The vibration direction depends on whether the user's current action corresponds to exhalation or inhalation. If the corresponding standard breathing information is exhalation, the vibration pattern is exhalation; if the corresponding standard breathing information is inhalation, the vibration pattern is inhalation. The vibration direction can indicate whether the user should exhale or inhale.
[0243] 3. The vibration rhythm depends on the time since the static action ended. The longer the time since the static action ended, the slower the vibration rhythm; the shorter the time since the static action ended, the faster the vibration rhythm. The vibration rhythm can also be uniform, but there are no restrictions on this.
[0244] 4. The vibration duration is based on the exhalation and inhalation durations in the standard breathing information. Exhalation and inhalation durations may vary for the same standard static movement. The vibration duration is used to indicate the required exhalation and inhalation durations.
[0245] In the embodiment of the present application, the above-mentioned indicated content may also depend on more or fewer conditions, which are not limited here. In addition, the vibration information may also indicate other vibration factors, which are not limited here.
[0246] When the user's current action is a static action, since the user will maintain the static action for a period of time, the user can complete multiple breaths during this period. Different static actions may require different breathing times. Therefore, the electronic device 100 can generate vibration information based on the exhalation time and inhalation time required for the static action.
[0247] For example, when a user is performing a yoga pose that requires five minutes of deep breathing, the electronic device 100 will obtain standard breathing information: exhale for five seconds, inhale for five seconds. During the first five seconds of the yoga pose, the user inhales, and the vibration intensity in the vibration information generated by the electronic device 100 decreases, with the vibration direction corresponding to the user's inhalation. During the first six to ten seconds of the yoga pose, the user exhales, and the vibration intensity in the vibration information generated by the electronic device 100 decreases, with the vibration direction corresponding to the user's exhalation.
[0248] In the embodiment of the present application, the above-mentioned method of generating vibration information for static actions is only an example, and there may be more methods, which are not limited to this.
[0249] S606: The electronic device 100 sends the vibration information to the wearable device 200. The wearable device 200 generates corresponding vibration according to the vibration information, and the vibration can prompt the user to adopt a corresponding breathing method when exercising.
[0250] For the relevant introduction of S606, please refer to the detailed description of S306 above, which will not be repeated here.
[0251] In one possible implementation, after reminding the user to adjust the action, the wearable device 200 may prompt the user to adjust the breathing when it recognizes that the user has reached the standard action.
[0252] For example, when a user is performing static yoga poses, the electronic device 100 can generate vibration information X based on the user's current pose and the standard static yoga pose, and send this vibration information X to the wearable device 200. The user adjusts their pose based on the vibration X generated by the wearable device 200. When the electronic device 100 detects that the user's adjusted pose matches the standard static yoga pose, it generates vibration information Y based on the standard breathing information corresponding to the standard static pose, and sends this vibration information Y to the wearable device. The user adjusts their breathing based on the vibration Y generated by the wearable device 200.
[0253] As can be seen from the above method flow, the electronic device 100 can obtain the standard breathing information corresponding to the user's current movement, generate vibration information based on the standard breathing information, and send the vibration information to the wearable device 200. The wearable device 200 can vibrate based on the vibration information to guide the user to adopt the corresponding correct standard breathing information when performing different exercises, which can help the user better master the exercise rhythm.
[0254] In one possible manner, in an embodiment of the present application, the electronic device 100 may generate vibration information, and the electronic device 100 may send information to the wearable device 200, and the wearable device 200 may generate vibration information and generate vibration according to the vibration information.
[0255] In order to better understand the above description of the embodiments of the present application, the related structures of the electronic device 100 and the wearable device 200 are introduced below.
[0256] FIG. 7A shows a schematic structural diagram of the electronic device 100 .
[0257] The electronic device 100 may be equipped with Or a portable terminal device with other operating systems, the electronic device 100 can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle, an in-vehicle device, a smart home device and / or a smart city device. Without limitation, the electronic device 100 can also include a laptop computer with a touch-sensitive surface or touch panel, a desktop computer with a touch-sensitive surface or touch panel, and other non-portable terminal devices. The embodiments of the present application do not impose any special restrictions on the specific type of the electronic device.
[0258] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0259] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0260] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0261] In some implementations, the processor 110 can be used to obtain the user's skeletal node information based on the image information captured by the camera 193 and determine the user's current action, or determine the user's current action in combination with the IMU data sent by the wearable device 200. The processor 110 can also be used to obtain standard action information in the first application and compare the difference between the user's current action and the standard action. The processor 110 can also be used to generate vibration information based on the above difference. The processor 110 can also be used to obtain standard breathing information in the first application and generate vibration information based on the standard breathing information.
[0262] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0263] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.
[0264] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0265] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0266] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0267] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
[0268] A modem processor may include a modulator and a demodulator.
[0269] The wireless communication module 160 can provide wireless communication solutions for application on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.
[0270] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0271] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. The GPU is a graphics processing microprocessor that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0272] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.
[0273] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0274] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise and brightness. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0275] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0276] In some implementations, the camera 193 can be used to capture images after the electronic device 100 runs a first application and receives a first operation.
[0277] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0278] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as MPEG1, MPEG2, MPEG3, and MPEG4.
[0279] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.
[0280] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0281] The audio module 170 is used to convert digital audio information into analog audio signals for output, and is also used to convert analog audio input into digital audio signals.
[0282] The speaker 170A, also called a "horn", is used to convert audio electrical signals into sound signals.
[0283] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals.
[0284] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals.
[0285] The headphone jack 170D is used to connect a wired headphone.
[0286] The pressure sensor 180A is used to sense pressure signals and convert the pressure signals into electrical signals.
[0287] The gyro sensor 180B may be used to determine the motion posture of the electronic device 100 .
[0288] The air pressure sensor 180C is used to measure air pressure.
[0289] The magnetic sensor 180D includes a Hall sensor, and the electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
[0290] Accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in all directions (generally three axes). It can also detect the magnitude and direction of gravity when electronic device 100 is stationary. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.
[0291] The distance sensor 180F is used to measure distance. The electronic device 100 can measure distance using infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure distance to achieve fast focusing.
[0292] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the LED.
[0293] The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 based on the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking photos.
[0294] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0295] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
[0296] The touch sensor 180K is also called a “touch control device”. The touch sensor 180K can be provided on the display screen 194 . The touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
[0297] Bone conduction sensor 180M can acquire vibration signals. In some embodiments, bone conduction sensor 180M can acquire vibration signals from vibrating bones in the human body. Bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals.
[0298] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0299] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or touch vibration feedback. For example, touch operations on different applications (such as taking photos, playing audio, etc.) can correspond to different vibration feedback effects.
[0300] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0301] The SIM card interface 195 is used to connect a SIM card.
[0302] FIG7B shows a schematic structural diagram of the wearable device 200 .
[0303] The wearable device 200 may be equipped with The wearable device 200 may include, but is not limited to, a watch, bracelet, band, handle, skin-fitting pocket watch worn on a user's wrist, a ring worn on a user's finger, in-ear headphones, headphones, smart skin-fitting clothing, smart skin-fitting accessories, etc. The embodiments of the present application do not impose any special restrictions on the specific type of the wearable device.
[0304] The wearable device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 2, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc. The sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.
[0305] It is understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the wearable device 200. In other embodiments of the present application, the wearable device 200 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0306] The processor 210 may include one or more processing units. For example, the processor 210 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.
[0307] In some embodiments, the processor 210 may be configured to determine vibration intensity, vibration direction, and vibration rhythm based on vibration information sent by the electronic device 100 .
[0308] The processor 210 may also include a memory for storing instructions and data.
[0309] In some embodiments, processor 210 may include one or more interfaces.
[0310] The charging management module 240 is configured to receive charging input from a charger.
[0311] The power management module 241 is used to connect the battery 242 , the charging management module 240 and the processor 210 .
[0312] The wireless communication function of the wearable device 200 can be implemented through antenna 2, antenna 2, mobile communication module 250, wireless communication module 260, modem processor and baseband processor.
[0313] Antenna 2 and antenna 2 are used to transmit and receive electromagnetic wave signals.
[0314] The mobile communication module 250 can provide wireless communication solutions including 2G / 3G / 4G / 5G applied to the wearable device 200.
[0315] The wireless communication module 260 can provide wireless communication solutions for the wearable device 200, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.
[0316] In some implementations, the wireless communication module 260 may be used to send sensor data to the electronic device 100 and receive vibration information sent by the electronic device 100 .
[0317] Wearable device 200 implements display functionality through a GPU, display screen 294, and an application processor. The GPU is a microprocessor for image processing that connects display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or modify display information.
[0318] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel.
[0319] The wearable device 200 can implement a shooting function through an ISP, a camera 293, a video codec, a GPU, a display 294, and an application processor.
[0320] The ISP is used to process data fed back by the camera 293 .
[0321] The camera 293 is used to capture still images or videos.
[0322] The external memory interface 220 can be used to connect to an external non-volatile memory to expand the storage capacity of the wearable device 200.
[0323] The audio module 270 is used to convert digital audio information into analog audio signals for output, and is also used to convert analog audio input into digital audio signals.
[0324] The speaker 270A, also called a "horn", is used to convert audio electrical signals into sound signals.
[0325] The receiver 270B, also called a "handset", is used to convert audio electrical signals into sound signals.
[0326] Microphone 270C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals.
[0327] The pressure sensor 280A is used to sense pressure signals and convert the pressure signals into electrical signals.
[0328] The gyroscope sensor 280B can be used to determine the motion posture of the wearable device 200. In some embodiments, the angular velocity of the wearable device 200 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 280B. The gyroscope sensor 280B can be used for shooting anti-shake. For example, when the shutter is pressed, the gyroscope sensor 280B detects the angle of the wearable device 200 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the wearable device 200 through reverse movement to achieve anti-shake. The gyroscope sensor 280B can also be used for navigation and somatosensory game scenes.
[0329] In some implementations, the gyroscope sensor 280B can be used to obtain gyroscope data when the user wears the wearable device 200.
[0330] The air pressure sensor 280C is used to measure air pressure.
[0331] The magnetic sensor 280D includes a Hall sensor.
[0332] Accelerometer 280E detects the magnitude of acceleration of wearable device 200 in all directions (typically three axes). When wearable device 200 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.
[0333] In some implementations, the acceleration sensor 280E can be used to obtain acceleration data when the user wears the wearable device 200.
[0334] The distance sensor 280F is used to measure distance.
[0335] The proximity light sensor 280G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
[0336] The ambient light sensor 280L is used to sense the brightness of the ambient light.
[0337] The fingerprint sensor 280H is used to collect fingerprints.
[0338] The temperature sensor 280J is used to detect temperature.
[0339] Touch sensor 280K, also known as "touch device".
[0340] The bone conduction sensor 280M can acquire vibration signals.
[0341] The buttons 290 include a power button, a volume button, etc. The buttons 290 may be mechanical buttons.
[0342] Motor 291 can generate vibration prompts. Motor 291 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 294, motor 291 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0343] In some implementations, the motor 291 can be used to generate corresponding vibrations according to the vibration information.
[0344] The indicator 292 may be an indicator light, which may be used to indicate the charging status, power level change, messages, missed calls, notifications, etc.
[0345] The SIM card interface 295 is used to connect a SIM card.
[0346] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system with a layered architecture is used as an example to illustrate the software structure of the electronic device 100.
[0347] FIG7C is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present invention.
[0348] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0349] The application layer can include a series of application packages.
[0350] As shown in FIG7C , the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, and first application.
[0351] The types of the first application may include, but are not limited to: sports applications (such as fitness apps, dance apps, etc.), game applications (such as somatosensory games, etc.), etc. The first application can be used to support the electronic device 100 to capture images and identify people in the images. The first application can also be used to support the electronic device 100 to obtain standard action information. The first application can also be used to support the electronic device 100 to obtain IMU data of the wearable device 200. The first application can also be used to support the electronic device 100 to generate vibration information according to the user's current action and standard action. The first application can also be used to support the electronic device 100 to generate vibration information according to the standard breathing information corresponding to the standard action and the user's current action.
[0352] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0353] As shown in FIG7C , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
[0354] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.
[0355] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0356] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0357] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including answering, hanging up, etc.).
[0358] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0359] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.
[0360] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
[0361] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0362] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0363] The system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0364] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
[0365] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0366] The 3D graphics processing library is used to implement 3D graphics drawing, rendering, compositing, and layer processing.
[0367] A 2D graphics engine is a drawing engine for 2D drawings.
[0368] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0369] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0370] As used in this specification, the terms "component," "module," "system," and the like are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or a computer. By way of illustration, both an application running on a computing device and a computing device can be a component. One or more components can reside in a process and / or an execution thread, and a component can be located on a computer and / or distributed between two or more computers. In addition, these components can be executed from various computer-readable media having various data structures stored thereon. Components can communicate, for example, via local and / or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component on a local system, a distributed system, and / or a network, such as the Internet interacting with other systems via signals).
[0371] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0372] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0373] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described herein are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).
[0374] Those skilled in the art will appreciate that all or part of the process steps in the above-described method embodiments can be implemented by a computer program instructing the relevant hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the process steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
[0375] In short, the above description is only an embodiment of the technical solution of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made based on the disclosure of the present invention should be included in the scope of protection of the present invention.
Claims
1. A vibration feedback method, characterized in that: The method is applied to a communication system including an electronic device and a wearable device, and the method includes: The electronic device collects images through a camera; The electronic device recognizes a first action of a person in the image, where the first action is different from a standard action; The electronic device generates first information, and sends the first information to the wearable device; The wearable device generates vibration according to the first information.
2. The method according to claim 1, characterized in that: Before the electronic device collects an image through a camera, the method further includes: The electronic device runs a first application; The information of the standard action is provided by the first application.
3. The method according to claim 2, characterized in that The first action is different from the standard action, and specifically includes: The error between the first action and the standard action is greater than a threshold; the threshold is determined by the first application.
4. The method according to any one of claims 1 to 3, characterized in that The electronic device recognizes a first action of a person in the image, specifically comprising: The electronic device recognizes the skeleton nodes of the person in the image, and recognizes the first action based on the skeleton nodes of the person; The first action is different from the standard action in that: The relative positions between the skeletal nodes constituting the first action are different from the relative positions between the skeletal nodes constituting the standard action; Or the angles of the multiple limbs constituting the first action are different from the angles of the multiple limbs constituting the standard action.
5. The method according to any one of claims 1 to 4, characterized in that The first information is used to indicate any one or more of the following: vibration intensity, vibration direction, vibration rhythm, and vibration duration.
6. The method according to claim 5, characterized in that The method may further include any one or more of the following: The vibration intensity is determined by the difference between the first action and the standard action; The vibration direction is the direction in which the first action changes to the standard action; The vibration rhythm is determined by the speed of change of the standard action; The vibration duration is the duration required to complete the standard action.
7. The method according to any one of claims 1 to 6, characterized in that Before the electronic device collects an image through a camera, the method further includes: The wearable device acquires the sensor data and sends the sensor data to the electronic device; The electronic device identifying the first action in the image specifically includes: The electronic device recognizes the first action based on the image and the sensor data.
8. The method according to any one of claims 1 to 7, characterized in that The standard action includes a standard dynamic action, the standard dynamic action includes a plurality of continuous actions, and the plurality of continuous actions includes a start action and an end action; The first action is different from the standard action in that: The first action is different from the start action, or the first action is different from the end action.
9. The method according to any one of claims 1 to 7, characterized in that: The standard action includes a standard static action, and the standard static action includes one action; The first action is different from the standard action in that: The first action is different from the standard static action.
10. The method according to any one of claims 1 to 9, characterized in that When the wearable device generates vibration according to the first information, the method further includes: The electronic device outputs a first prompt message, the first prompt message includes a voice or visual element, and the first prompt message is used to prompt any one or more of the following: the first action is not standard, the first action is adjusted to the direction and distance of the standard action, and the length of time the first action needs to be maintained.
11. The method according to any one of claims 1 to 10, characterized in that After the electronic device runs the first application, the method further includes: The electronic device displays a tutorial, where the tutorial includes second prompt information, and the second prompt information is used to indicate the meaning of the vibration output by the wearable device.
12. A vibration feedback method, characterized in that: The method is applied to a communication system including an electronic device and a wearable device, and the method includes: The electronic device collects images through a camera; The electronic device recognizes a first action of a person in the image; The electronic device acquires breathing information corresponding to the first action; The electronic device generates first information according to the breathing information, and sends the first information to the wearable device; The wearable device generates vibration according to the first information.
13. The method according to claim 12, characterized in that Before the electronic device collects an image through a camera, the method further includes: The electronic device runs a first application; the first application is used to provide the breathing information; The breathing information indicates any one or more of the following: start of exhalation, end of exhalation, start of inhalation, end of inhalation, exhalation duration, and inhalation duration.
14. The method according to claim 12 or 13, characterized in that The electronic device recognizes a first action of a person in the image, specifically comprising: The electronic device recognizes the skeleton nodes of the person in the image, and recognizes the first action based on the skeleton nodes of the person.
15. The method according to any one of claims 12 to 14, characterized in that: The first information is used to indicate any one or more of the following: vibration intensity, vibration direction, vibration rhythm, and vibration duration.
16. The method according to claim 15, characterized in that The method further comprises: The vibration direction is determined by the breathing information corresponding to the first action. If the breathing information corresponding to the first action indicates current exhalation, the vibration direction is the exhalation direction. If the breathing information corresponding to the first action indicates current inhalation, the vibration direction is the inhalation direction.
17. The method according to claim 16, characterized in that After the electronic device recognizes a first action of the person in the image, the method further includes: The electronic device obtains information about standard actions.
18. The method according to claim 17, characterized in that The method further comprises: The vibration intensity is determined by the difference between the first action and the standard action; The vibration rhythm is determined by the speed of change of the standard action or the time required to complete the standard action; The vibration duration is the duration required to complete the standard action.
19. The method according to any one of claims 12 to 18, characterized in that: Before the electronic device collects an image through a camera, the method further includes: The wearable device acquires the sensor data and sends the sensor data to the electronic device; The electronic device identifying the first action in the image specifically includes: The electronic device recognizes the first action based on the image and the sensor data.
20. The method according to any one of claims 12 to 19, characterized in that When the wearable device generates vibration according to the first information, the method further includes: The electronic device outputs first prompt information, the first prompt information includes voice or visual elements, and the first prompt information is used to prompt any one or more of the following: start of exhalation, start of inhalation, end of exhalation, end of inhalation, exhalation duration, and inhalation duration.
21. The method according to any one of claims 12 to 20, characterized in that After the electronic device runs the first application, the method further includes: The electronic device displays a tutorial, where the tutorial includes second prompt information, and the second prompt information is used to indicate the meaning of the vibration output by the wearable device.
22. A vibration feedback method, characterized in that: The method is applied to an electronic device, and the method comprises: The electronic device collects images through a camera; The electronic device recognizes a first action of a person in the image, where the first action is different from a standard action; The electronic device generates first information and sends the first information to the wearable device; the first information is used to instruct the wearable device to generate vibration according to the first information.
23. A vibration feedback method, characterized in that: The method is applied to a wearable device, and the method comprises: The electronic device is used to capture images through a camera; The electronic device is used to recognize a first action of a person in the image, where the first action is different from a standard action; The electronic device is used to generate first information and send the first information to the wearable device; The wearable device receives first information sent by the electronic device; The wearable device generates vibration according to the first information.
24. A vibration feedback method, characterized in that: The method is applied to an electronic device, and the method comprises: The electronic device collects images through a camera; The electronic device recognizes a first action of a person in the image; The electronic device acquires breathing information corresponding to the first action; The electronic device generates first information according to the breathing information, and sends the first information to the wearable device; the first information is used to instruct the wearable device to vibrate according to the first information.
25. A vibration feedback method, characterized in that: The method is applied to a wearable device, and the method comprises: The electronic device is used to capture images through a camera; The electronic device is used to recognize a first action of a person in the image; The electronic device is used to obtain breathing information corresponding to the first action; The electronic device is used to generate first information according to the breathing information, and send the first information to the wearable device; The wearable device receives the first information; The wearable device generates vibration according to the first information.
26. An electronic device, characterized in that: The electronic device comprises a memory and one or more processors, wherein the memory is used to store a computer program, and the processor is used to call the computer program so that the electronic device executes the method as claimed in any one of claims 1 to 22 or 24.
27. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device is caused to execute the method as claimed in any one of claims 1 to 22 or 24.
28. A wearable device, characterized in that: The wearable device includes a memory and one or more processors, the memory is used to store a computer program, and the processor is used to call the computer program so that the wearable device executes the method as described in any one of claims 1 to 21 or 23 or 25.
Citation Information
Patent Citations
Instant assistant system for fitness
CN110052013A
Fitness posture correction method and related device
CN111544852A
Fitness assisting method and electronic device
CN112259191A
Motion monitoring method and system
CN115105819A
Method for determining exercise guidance information, electronic equipment and exercise guidance system
CN115188064A
