WO2023040449A1 - Triggering of client operation instruction by using fitness action - Google Patents
Triggering of client operation instruction by using fitness action Download PDFInfo
- Publication number
- WO2023040449A1 WO2023040449A1 PCT/CN2022/106220 CN2022106220W WO2023040449A1 WO 2023040449 A1 WO2023040449 A1 WO 2023040449A1 CN 2022106220 W CN2022106220 W CN 2022106220W WO 2023040449 A1 WO2023040449 A1 WO 2023040449A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user
- fitness
- action
- exercise
- actions
- Prior art date
Links
- 230000009471 action Effects 0.000 title claims abstract description 234
- 230000033001 locomotion Effects 0.000 claims abstract description 73
- 238000000034 method Methods 0.000 claims abstract description 66
- 238000005259 measurement Methods 0.000 claims description 18
- 238000011022 operating instruction Methods 0.000 claims description 10
- 238000000605 extraction Methods 0.000 claims description 8
- 230000003993 interaction Effects 0.000 abstract description 11
- 230000001960 triggered effect Effects 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 14
- 238000004891 communication Methods 0.000 description 11
- 210000002414 leg Anatomy 0.000 description 9
- 230000008569 process Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 4
- 230000003187 abdominal effect Effects 0.000 description 4
- 238000005452 bending Methods 0.000 description 4
- 229910052799 carbon Inorganic materials 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 210000003205 muscle Anatomy 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 210000001513 elbow Anatomy 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 210000000245 forearm Anatomy 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 210000003127 knee Anatomy 0.000 description 2
- 241000894007 species Species 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 101000864990 Homo sapiens Serine incorporator 5 Proteins 0.000 description 1
- 102100029726 Serine incorporator 5 Human genes 0.000 description 1
- 210000001015 abdomen Anatomy 0.000 description 1
- 210000003489 abdominal muscle Anatomy 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 210000003423 ankle Anatomy 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 210000001981 hip bone Anatomy 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 210000002832 shoulder Anatomy 0.000 description 1
- 210000000689 upper leg Anatomy 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
Definitions
- the embodiments of this specification relate to the field of computer applications, and in particular to a method and device for triggering client operation instructions by using fitness actions.
- the client also known as the client, refers to an application that corresponds to the server and provides local services for users, and needs to cooperate with the server to run.
- the client is generally installed on the user terminal, and the user generally triggers an operation command of the client by touching the screen or pressing a specific button on the mobile terminal.
- the current interaction method is too single, which affects the user experience.
- the embodiments of this specification provide a method and device for triggering an operation command of a client terminal by using a fitness action.
- a method for triggering client operation instructions by using fitness actions including: determining the correspondence between preset operation instructions and fitness actions; wherein each operation instruction corresponds to at least one Fitness action, the fitness action corresponding to any two operation instructions does not overlap; obtain the user's current exercise posture data; identify the fitness movement corresponding to the acquired exercise posture data; determine and execute according to the corresponding relationship between the preset operation instruction and fitness action Operation instructions corresponding to fitness actions.
- a device for triggering client operation instructions by using fitness actions including: a correspondence determination module for determining the correspondence between preset operation instructions and fitness actions; wherein each operation instruction Corresponding to at least one fitness action, the fitness actions corresponding to any two operation instructions do not overlap; the exercise posture data acquisition module is used to obtain the user's current exercise posture data; the fitness action recognition module is used to identify the acquired exercise posture data corresponding to Fitness action; an operation instruction execution module, configured to determine and execute the operation instruction corresponding to the exercise action according to the preset corresponding relationship between the operation instruction and the exercise action.
- a computer-readable storage medium on which computer instructions are stored, and when the instructions are executed by a processor, the above-mentioned method for triggering an operation instruction of a client by using a fitness action is implemented.
- an electronic device including: a processor; a memory for storing processor-executable instructions; wherein, the processor executes the executable instructions to realize the above-mentioned utilization of fitness Action triggers the method of client operation instruction.
- the embodiment of this specification by acquiring the user's exercise posture data and identifying the fitness action corresponding to the exercise posture data, according to the corresponding relationship between the preset operation instruction and the fitness movement, determine the operation instruction corresponding to the fitness movement, and execute the corresponding operating instructions.
- the embodiment of this specification utilizes fitness actions to trigger operation instructions, increases the interaction mode between the user and the client, and improves user experience.
- Fig. 1 is a flow chart of a method for triggering an operation instruction of a client by using a fitness action according to an exemplary embodiment of the present specification.
- Fig. 2 is a schematic diagram of identifying a user's fitness action according to an embodiment of this specification.
- Fig. 3 is a block diagram of an apparatus for triggering an operation instruction of a client by using a fitness action according to an exemplary embodiment of the present specification.
- Fig. 4 is a hardware structural diagram of a computer device where an apparatus for triggering an operation command of a client terminal by using a fitness action according to an exemplary embodiment of this specification is located.
- the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification.
- the method may include more or less steps than those described in this specification.
- a single step described in this specification may be decomposed into multiple steps for description in other embodiments; multiple steps described in this specification may also be combined into a single step in other embodiments describe.
- the user for the client software installed on the mobile terminal, the user generally interacts with the client software by touching the screen or pressing a specific button on the mobile terminal, in other words, the user triggers the client software through the above-mentioned method operating instructions to complete the interaction with the client software.
- the client software installed on other user terminals such as computers, TVs, etc.
- the user generally completes the interaction with the client software through auxiliary tools (such as mouse keyboard or remote control, etc.). Tool to select a specific button on the page to trigger an operation command and complete the interaction.
- the current interaction method is relatively single, which affects the user experience.
- the fitness action can be combined with the trigger operation command, so that the user can exercise while using the client.
- the embodiment of this specification utilizes fitness actions to trigger operation instructions, increases the interaction mode between the user and the client, and improves user experience.
- this specification provides a method for using fitness actions to trigger client operation instructions, including the following steps: Step 101, determine the correspondence between preset operation instructions and fitness actions; where each operation instruction corresponds to At least one fitness movement, and the fitness movements corresponding to any two operation instructions do not overlap.
- the execution body of the method may be client software installed on the mobile terminal, such as applied to smart phones, tablet computers, smart watches and other wearable devices. In some cases, it can also be applied to client software installed on non-mobile user terminals, such as personal computers, TVs, etc. When users use the client, they can freely choose to use the traditional touch method. Trigger the client's operation instructions, or trigger the client's operation instructions through fitness actions.
- the user terminal where the client is located has a speaker or can connect to a wireless headset, it can also remind the user through voice, such as reminding the user of the action standard or reminder The placement of the user's mobile phone, etc.; if the picture of the user terminal where the client is located can be seen by the user in fitness, the user can also be reminded through the picture.
- the user enables the operation command triggered by fitness action, which can be set on the setting page of the client; it can also be controlled by a specific gesture, such as pulling down the current page to the bottom to enable the operation command triggered by fitness action, or on the page Draw a big triangle on the top to trigger operation instructions through fitness actions; if the client or user terminal has a built-in voice assistant, the user can also enable the activation of exercise actions to trigger operation instructions by talking to the voice assistant; if the user terminal In the case of at least one button on the keyboard, it is also possible to trigger an operation command through a fitness action by pressing a specified button or a specified combination of buttons. Of course, the specified button or the combination of specified buttons has not been given other functions in advance. This specification of the user terminal does not limit the method of triggering the operation instruction of the client through fitness actions.
- the user enables triggering operation commands through fitness actions, which can be enabled in the entire client to trigger operation commands through fitness actions, or only in a certain module of the client. For example, in the client Open it in an embedded applet, or open it in some interface of the client. For example, for an electronic wallet client, it can be opened on a certain carbon saving interface of the client. Of course, users can choose which interfaces to open.
- the client After the user triggers the operation command through the fitness action, in order to determine what kind of operation command the user is currently doing to trigger the fitness action, the client needs to perform step 101 to determine the corresponding relationship between the preset operation command and the fitness action , so as to determine the operation instruction through the corresponding relationship.
- a fitness action corresponds to multiple operation instructions, it will be impossible to determine which operation instruction the user wants to trigger when the user performs the exercise action. Therefore, a fitness action will only correspond to one operation instruction. In addition, in order to further improve user experience, one operation instruction can be selected to correspond to multiple fitness actions.
- each operation instruction corresponds not only to a fitness movement, but also to a standard of the fitness movement.
- the fitness action standard can be the execution frequency of the fitness action, or the range of motion, etc. For example, if the fitness action is a high leg raise, you can set the frequency of the fitness action execution to 2 times per second. If the fitness action is a squat, You can set the range of motion for squatting.
- the standard of fitness actions can be set according to the user's age and physical condition. For older users, the frequency of fitness actions should not be too high to prevent users from accidents during the completion of fitness actions; For the best users, the frequency and range of fitness movements should not be too high to prevent accidents.
- the user When the user performs a fitness movement, but the frequency or amplitude of the fitness movement does not meet the standard of the corresponding fitness movement, the user may be prompted by voice, vibration or other forms that the current fitness movement is not standard.
- the client detects that the user has performed a certain fitness action, it judges whether the fitness action performed by the user meets the standard of the fitness action, and if it does not meet the standard of the fitness action, through a method To remind the user that the current fitness action is not standard.
- Step 103 acquiring the current motion posture data of the user.
- Step 105 identifying the fitness action corresponding to the acquired exercise posture data.
- step 103-step 105 will be uniformly described.
- the method of acquiring the user's motion posture data and identifying the user's fitness action this manual provides the following two acquisition methods. Of course, these two methods do not represent limitations to this manual. If other methods can also obtain motion posture If the data is recognized and the fitness action is recognized, it is also possible to use other acquisition methods for acquisition and recognition.
- the first method is to acquire through the camera module of the user terminal, and use a machine learning method to identify the fitness action performed by the user.
- step 103 is specifically: acquiring motion posture data captured by the camera module of the user terminal.
- step 105 is specifically: obtaining a pre-trained feature extraction model and a pre-trained action recognition model; inputting the motion gesture data of the user into the feature extraction model to extract the action features of the motion gesture data; Input the action recognition model to determine the fitness action corresponding to the user's exercise posture data.
- the camera module of the user terminal may be a self-contained camera module of the user terminal, or may be an external camera module of the user terminal.
- the user can be reminded to stand at the position where the camera module can capture the whole body through sound, vibration or image.
- the range that the module can capture can also remind the user that it has exceeded the range through sound, vibration, or text or images on the display interface, and prompt the user to move to enter the shooting range of the camera module.
- the user since the user interacts with the client through fitness actions, if the camera module of the mobile terminal is used, the user may be too far away from the mobile terminal in order to capture the whole body of the user, and cannot see the image on the mobile terminal. The content cannot be well interacted. Therefore, when the screen of the mobile terminal is small, after the user activates the fitness action to trigger the operation command, the user may be prompted to use the screen projection method to project the content of the mobile terminal client to a larger screen; or the user may be prompted to use Take pictures with an external camera; or prompt the user to stand in front of the mirror, make the screen face the user, and use the rear camera of the mobile terminal to capture the mirrored action of the user in the mirror.
- the user can also see the content on the screen of the mobile terminal, so that the user can have a better experience.
- the acquired motion posture data is the real-time motion posture data of the user, not the motion posture data recorded in the past.
- a live body detection function when obtaining motion posture data.
- live body detection can be used while shooting data to detect whether the currently captured video is the user's Real-time motion posture data.
- the current data is not analyzed, and the user is prompted that there is no living body currently by voice or other methods.
- the feature extraction of the user's motion posture data can be realized by various methods, and the extracted action features can also include various forms, such as, action features, which are the positional features of human body key points in each frame image, and the human body key points It is used to identify human actions.
- action features which are the positional features of human body key points in each frame image
- human body key points It is used to identify human actions.
- the extracted action features can be shown in FIG. 2 .
- the key points of the human body can include joint points such as ankles, knees, shoulders, elbows, hip bones, and elbows, as well as key points used to identify facial movements.
- Identifying key points can be identified by gesture detection models MoveNet, BlazePose or PoseNet.
- key points can also be detected through auxiliary tools, for example, special stickers can be pasted on key points, and the user's posture can be determined by the position of the special sticker on the device.
- the user terminal is a mobile terminal or a wearable device
- the user's motion can also be detected according to the sensor on the mobile terminal to obtain the user's motion posture data .
- step 103 includes: obtaining a measurement sequence of a motion sensor of the mobile terminal within a preset time period, and using the measurement sequence as motion posture data; the motion sensor is a sensor for detecting dynamic movement of the mobile terminal.
- step 105 includes: acquiring a pre-trained action recognition model; inputting the measurement sequence into the action recognition model, and determining an action identifier corresponding to the measurement sequence.
- the motion sensor may be an acceleration sensor, a gyroscope, and other sensors already installed in the mobile terminal itself.
- the motion sensor may be an acceleration sensor, a gyroscope, and other sensors already installed in the mobile terminal itself.
- the acceleration sensor a gyroscope
- the motion trajectory of the mobile terminal or wearable device can be obtained through the displacement formula.
- the measurement sequence can be the measured value of the sensor obtained directly, or It is the motion trajectory obtained according to the velocity formula and displacement formula.
- the client In the case that the user terminal is a mobile terminal, in order to enable the motion sensor to obtain a measurement sequence, the client needs to be fixed on a certain part of the body, such as the user's forearm, forearm or thigh. If it is fixed, it can be fixed by a strap. If the mobile terminal is not large, you can also put the mobile terminal in the user's tight pocket (to prevent it from shaking in the pocket and affect the final measurement result). Of course, you can also place the mobile terminal The mobile terminal is held in the hand for measurement.
- the method provided in this specification is a method for the user to interact with the client, and when the motion sensor on the mobile terminal or wearable device is used to measure, the user cannot see the motion of the mobile terminal or wearable device.
- the display interface in order to enable the user to interact with the client, the user can be prompted to cast the screen, the display interface of the mobile terminal or wearable device can be displayed on the screen, or the visual interaction can be replaced by voice broadcast to complete the user and Client interaction.
- the action recognition model is a pre-trained neural network model used to identify fitness actions. Different users have different actions. For each user, in order to enable the action recognition model to successfully identify the specific fitness actions of the user, the user can be prompted to record in advance before the recognition. Videos/measurement sequences of users doing different fitness actions, and the action/sensor sequence recognition model is updated through these videos, so that the action recognition model of each user's client can be more suitable for the user.
- Step 107 according to the preset correspondence between the operation instruction and the exercise action, determine and execute the operation instruction corresponding to the exercise action.
- the user may also be prompted by voice that the operation instruction has been completed, so that the user can get feedback.
- some rewards can be set to attract users to use this function. For example, if this function is used in the takeaway applet of an e-wallet client, every time the user completes 1000 squat actions (Here is just an example, and does not represent a limitation on fitness actions), reward users with certain points (points can be exchanged for red envelopes). If this function is used on a certain carbon saving statistics interface of an e-wallet client, the user can increase the amount of stolen energy in "stealing energy" through fitness actions.
- the rankings that each user can see include other users who have a friend relationship with the user, and each of the user and these other users.
- Daily exercise time/number of times of exercise for example, the ranking that can be seen by the user may include the daily number of squats of users who have a friend relationship with the user.
- the client can be allowed to obtain the data required for the ranking at regular intervals, or only when the user opens the ranking Get the user's data.
- the methods for obtaining the corresponding relationship between the operation instruction and the fitness action may include the following methods.
- Determining the correspondence between preset operation instructions and fitness actions may be: determining the correspondence between user-defined operating instructions and fitness actions.
- the correspondence between operation instructions and fitness actions is preset by the user, and determining the correspondence between the preset operation instructions and fitness actions is the acquisition of the correspondence between the user's preset operation instructions and fitness actions.
- the user-defined setting may be that the user selects several fitness movements from all the operation instructions and all fitness movements that can be selected, and selects several operation instructions, and sets the corresponding relationship between the operation instructions and the fitness movements.
- User-defined settings can also be selected according to content recommended by the client.
- the client recommendation can be based on the user's operation instruction usage requirements, or based on the user's exercise needs, or based on the user's friend relationship.
- the client needs to first recommend to the user the operation instructions, fitness actions, or the corresponding relationship between the operation instructions and the fitness actions that meet the user's usage needs, so that The user prefers what the client recommends.
- the method for customizing settings includes: determining the user's usage requirements; the usage requirements include at least one of the following: the execution requirements of operation instructions, and the user's exercise requirements; according to the user's usage requirements, preferentially recommending The operation instruction, exercise action corresponding to the use requirement, or the correspondence between the operation instruction and the exercise action; determining the correspondence between the operation instruction selected by the user and the exercise exercise.
- the priority recommendation is performed, that is, the operation instructions, fitness actions or the corresponding relationship between the two that meet the user's use needs are preferentially displayed, so that the user can preferentially choose the recommended ones.
- the correspondence between the operation instructions and the exercise actions is user-defined, the correspondence between the operation instructions and the exercise actions customized by different users may also be different.
- determining the user's usage requirements includes: determining the common operating instructions that the user executes more frequently than the preset frequency threshold, that is, determining the user's most frequently used operating instructions. According to the user's needs, recommend to the user the operation instructions, fitness actions corresponding to the use needs, or the correspondence between the operation instructions and the fitness actions, including: displaying common operation instructions to the user on the corresponding relationship selection page, that is, in On the corresponding relationship selection page, common operation instructions are in front of other operation instructions.
- determining the user's use needs includes: determining the user's exercise needs.
- the user's exercise needs can be determined according to the questionnaire filled out by the user, or determined according to the user's exercise type selection.
- the exercise type can include fat loss, plasticity, muscle gain, etc., and can also be selected Areas for fat loss, plasticity and muscle gain.
- preferentially recommend to the user the corresponding operation instructions, fitness actions, or the correspondence between the operation instructions and the fitness actions including: determining a preset number of recommended actions according to the user's exercise needs ; The preset number is greater than the number of configurable operation instructions; The recommended actions are preferentially displayed to the user on the corresponding relationship selection page.
- the recommended actions are in line with the user's exercise needs. For example, if the user wants to increase abdominal muscles, the recommended actions may include planks, sit-ups, and so on.
- the user's exercise needs may also include exercise levels, which may be selected by the user according to his or her own circumstances, or may be determined based on a questionnaire filled out by the user. .
- the standard of fitness action can be comprehensively considered according to the user's exercise level, age and gender.
- the client makes comprehensive recommendations based on the user's usage needs, then according to the user's usage needs, it will preferentially recommend to the user the operation instructions, fitness actions corresponding to the usage needs, or the corresponding relationship between the operation instructions and the fitness actions, including: According to the usage requirements of the user, determine a user group that has similar usage requirements to the user; determine the common correspondence of the user group; and preferentially display the common correspondence to the user on the correspondence selection page.
- the user's usage requirements can include the user's exercise requirements and operation instruction usage requirements.
- the exercise requirements here can be exercise types, such as fat loss, plasticity, or muscle gain.
- the operation instruction usage requirements can be a certain page or Small program needs. Similar use requirements may refer to the same type of exercise and similar use requirements for operation instructions.
- the commonly used corresponding relationship of the user group may refer to a corresponding relationship in which the number of users is greater than a preset threshold among the corresponding relationships between operating instructions and fitness actions that have been customized in the user group.
- it is also possible to mark the recommended corresponding relationship for example, adding the label of "popularity TPO1", so that the user can preferentially select these corresponding relationships and improve the user experience.
- the commonly used corresponding relationship can be obtained from the corresponding relationship recommended by the user uploaded by the user, or the corresponding relationship can be uploaded to the server after the client determines the corresponding relationship, and the commonly used corresponding relationship can be obtained from the corresponding relationship stored in the server obtained from .
- the client can recommend to the user, among the users who have a friend relationship with the user, the corresponding relationship that uses the most. Specifically, the client needs to first confirm the user's friend relationship, determine the corresponding relationship used by users who have a friend relationship with the user, count the used corresponding relationships, and calculate the number of users who have a friend relationship with the user The most used sets of correspondences are used, and these correspondences are recommended to users first.
- the user can customize the corresponding relationship between operation instructions and fitness actions, and combine fitness with daily use of the client, so that the user can complete fitness while using the client.
- the client will consider the user's use needs or the user's friend relationship and make recommendations, the user can give priority to the operation instructions and fitness actions recommended by the client, or the corresponding relationship between the operation instructions and the fitness actions, so that the operation selected by the user
- the corresponding relationship between instructions and fitness actions is in line with the user's needs for operating instructions or fitness needs, which improves the user experience.
- Determining the correspondence between preset operation instructions and fitness actions can be determined not only according to user-defined settings, but also by determining the correspondence between system preset operation instructions and fitness actions.
- the client is preset with the corresponding relationship between operation instructions and fitness actions. After the user triggers the operation instructions through fitness actions, the client will obtain the corresponding relationship between the operation instructions and fitness actions written in the client.
- the preset correspondence between the operation instruction and the fitness action may be a correspondence that can enhance the interest.
- the realization effect of the fitness action in the correspondence corresponds to the effect after the operation instruction is triggered.
- its commonly used functions include watering others, stealing energy, and switching to the next friend user. Then, because watering requires a lot of strength, you can trigger watering through strength-based actions (such as squats, push-ups); because energy grows like fruit at a higher position on the tree, you need to jump up to pick it, you can use Jumping actions (such as raising your legs high) trigger energy stealing.
- operation instructions can be triggered through fitness actions.
- the client obtains the correspondence between the preset operation command and the fitness action.
- the specific correspondence may include:
- each action can set fitness action standards.
- the specific fitness action standards are set according to the user's gender and age. For example, the user is 30 years old and male, and the set fitness action standards are: high leg raise, ten seconds 15 times, sit-ups, 10 in 10 seconds, 10 push-ups in 10 seconds, side bending at an angle greater than 60°, and 15 consecutive abdominal lifts with one leg.
- the set fitness action standards are: high leg raise, ten seconds 15 times, sit-ups, 10 in 10 seconds, 10 push-ups in 10 seconds, side bending at an angle greater than 60°, and 15 consecutive abdominal lifts with one leg.
- the proportion of the user's energy is also possible to give the user a certain reward when the fitness action performed by the user exceeds the fitness action standard to a certain extent. The proportion of the user's energy.
- the client is a smart phone, which prompts the user to put the smart phone upright on the table and the ground through voice, and prompts the user to go far away.
- the client obtains the captured image through the camera module of the smart phone, and detects the The location of the user in the module, when the location of the user is appropriate, the user will be prompted by voice that the user has arrived at the appropriate location.
- the client After the user arrives at a suitable location, the client obtains the video captured by the camera module, inputs the captured video into the pre-trained feature extraction model, extracts the action features of the video, and inputs the action features into the action recognition model to identify whether there is a preset Fitness actions (the aforementioned high leg lifts, squats, push-ups, sit-ups, side bends, single-leg abdominal lifts, etc.).
- a preset Fitness actions the aforementioned high leg lifts, squats, push-ups, sit-ups, side bends, single-leg abdominal lifts, etc.
- determining that there is a preset fitness action such as determining that there is a high leg raising action
- further determine the frequency of the user performing the high leg raising action if the user frequency exceeds the set high leg raising standard (15 in ten seconds), Then perform the energy steal corresponding to the leg raising action.
- the user can be prompted by voice that the energy stealing action has been completed. For example, the user can be prompted "Congratulations, you have obtained the user's A10g energy”. Whether there are still energy balls that have not been stolen, etc. For example, the user can be prompted, "There are still 5 energy balls that have not been picked on the current page”.
- the user can be prompted by voice, "Switched to the page of user B" . If the action performed by the user is single-leg abdominal lifting, and it meets the preset standard of single-leg abdominal lifting, the user can be prompted by voice, "You have entered your hybrid xx tree”. After entering the combined species, if the user performs sit-ups and satisfies the standard of sit-ups, the user can be prompted by voice "You have watered xx tree 10g".
- this specification also provides an embodiment of a device for triggering a client operation command by using a fitness action and a terminal to which it is applied.
- FIG. 3 is a block diagram of a device for triggering client operation instructions by using fitness actions according to an exemplary embodiment of this specification.
- the device includes: a correspondence determination module 310, configured to determine a preset The corresponding relationship between the operation instruction and the fitness action; wherein, each operation instruction corresponds to at least one fitness action, and the fitness actions corresponding to any two operation instructions do not overlap.
- the exercise posture data acquisition module 320 is configured to acquire the current exercise posture data of the user.
- the exercise action recognition module 330 is configured to identify the exercise action corresponding to the acquired exercise posture data.
- the operation instruction execution module 340 is configured to determine and execute the operation instruction corresponding to the exercise action according to the preset correspondence between the operation instruction and the exercise exercise.
- the correspondence determining module 310 is specifically configured to: determine the correspondence between user-defined operating instructions and fitness actions.
- the device may also include a custom setting module 300, configured to: determine the user's use requirements; the use requirements include at least one of the following: the execution requirements of operation instructions, the user's exercise Requirements; according to the user's use needs, on the corresponding relationship selection page, recommend to the user the operation instructions, fitness actions corresponding to the use needs, or the corresponding relationship between the operation instructions and the fitness actions; determine the relationship between the operation instructions selected by the user and the fitness actions Correspondence between.
- the custom setting module 300 configured to: determine the user's use requirements; the use requirements include at least one of the following: the execution requirements of operation instructions, the user's exercise Requirements; according to the user's use needs, on the corresponding relationship selection page, recommend to the user the operation instructions, fitness actions corresponding to the use needs, or the corresponding relationship between the operation instructions and the fitness actions; determine the relationship between the operation instructions selected by the user and the fitness actions Correspondence between.
- the determination of the user's usage requirements may include: determining that the user executes common operation instructions whose frequency is greater than a preset frequency threshold;
- the operation instruction, exercise action, or the correspondence between the operation instruction and the exercise action may include: preferentially displaying common operation instructions to the user on the correspondence selection page.
- the determination of the user's use needs may also include: determining the user's exercise needs; according to the user's use needs, preferentially recommending to the user the operation instructions and fitness actions corresponding to the use needs
- the correspondence between operation instructions and fitness actions may also include: determining a preset number of recommended actions according to the user's exercise needs; the preset number is greater than the number of configurable operation instructions; Users are given priority to display recommended actions.
- the operation instructions and fitness actions corresponding to the use needs are preferentially recommended to the user, or the corresponding relationship between the operation instructions and the fitness actions can also include: Determine the user group that has similar usage requirements as the user; determine the common correspondence of the user group; and preferentially display the common correspondence to the user on the correspondence selection page.
- the motion posture data acquisition module 320 is specifically configured to obtain motion posture data captured by the camera module of the user terminal.
- the fitness action recognition module 330 is specifically used to obtain a pre-trained feature extraction model and a pre-trained action recognition model; input the user's motion posture data into the feature extraction model, and extract the motion features of the motion posture data;
- the action features are input into the action recognition model to determine the fitness action corresponding to the user's exercise posture data.
- the action feature may be the position feature of the key points of the human body in each frame of image; the key points of the human body are used to identify the action of the human body.
- the motion posture data acquisition module 320 can also be specifically used to obtain the measurement sequence of the motion sensor of the mobile terminal within a preset time, and use the measurement sequence as motion posture data; the motion sensor is used to detect the motion of the mobile terminal.
- the fitness action recognition module 330 can also be specifically configured to obtain a pre-trained action recognition model; input the measurement sequence into the action recognition model, and determine the action identifier corresponding to the measurement sequence.
- the device embodiment since it basically corresponds to the method embodiment, for related parts, please refer to the part description of the method embodiment.
- the device embodiments described above are only illustrative, and the modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in One place, or it can be distributed to multiple network modules. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution in this specification. It can be understood and implemented by those skilled in the art without creative effort.
- the device may include: a processor 1010, a memory 1020, an input/output interface 1030 , a communication interface 1040 and a bus 1050 .
- the processor 1010 , the memory 1020 , the input/output interface 1030 and the communication interface 1040 are connected to each other within the device through the bus 1050 .
- the processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit, central processing unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute related programs to realize the technical solutions provided by the embodiments of this specification.
- a general-purpose CPU Central Processing Unit, central processing unit
- a microprocessor an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits
- ASIC Application Specific Integrated Circuit
- the memory 1020 can be implemented in the form of ROM (Read Only Memory, read-only memory), RAM (Random Access Memory, random access memory), static storage device, dynamic storage device, and the like.
- the memory 1020 can store operating systems and other application programs. When implementing the technical solutions provided by the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1020 and invoked by the processor 1010 for execution.
- the input/output interface 1030 is used to connect the input/output module to realize information input and output.
- the input/output/module can be configured in the device as a component (not shown in the figure), or can be externally connected to the device to provide corresponding functions.
- the input device may include a keyboard, mouse, touch screen, microphone, various sensors, etc.
- the output device may include a display, a speaker, a vibrator, an indicator light, and the like.
- the communication interface 1040 is used to connect a communication module (not shown in the figure), so as to realize the communication interaction between the device and other devices.
- the communication module can realize communication through wired means (such as USB, network cable, etc.), and can also realize communication through wireless means (such as mobile network, WIFI, Bluetooth, etc.).
- Bus 1050 includes a path that carries information between the various components of the device (eg, processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
- the above device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components.
- the above-mentioned device may only include components necessary to implement the solutions of the embodiments of this specification, and does not necessarily include all the components shown in the figure.
- the embodiment of this specification also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned method for triggering an operation instruction of a client by using a fitness action is implemented.
- Computer-readable media including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information.
- Information may be computer readable instructions, data structures, modules of a program, or other data.
- Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
- computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Biomedical Technology (AREA)
- Molecular Biology (AREA)
- Biophysics (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Provided in one or more embodiments of the present specification are a method and apparatus for triggering a client operation instruction by using a fitness action. The method comprises: acquiring motion posture data of a user; recognizing a fitness action corresponding to the motion posture data; and determining, according to a preset correlation between operation instructions and fitness actions, an operation instruction corresponding to the fitness action, and executing the corresponding operation instruction. In the embodiments of the present specification, an operation instruction is triggered by using a fitness action, thereby increasing the modes of interaction between a user and a client, and improving the user experience.
Description
本说明书实施例涉及计算机应用领域,尤其涉及一种利用健身动作触发客户端操作指令的方法及装置。The embodiments of this specification relate to the field of computer applications, and in particular to a method and device for triggering client operation instructions by using fitness actions.
客户端也称为用户端,是指与服务器相对应,为用户提供本地服务的应用程序,需要与服务端互相配合运行。The client, also known as the client, refers to an application that corresponds to the server and provides local services for users, and needs to cooperate with the server to run.
客户端一般安装在用户终端上,用户一般通过触摸屏幕或者按下移动终端上的特定按钮,来触发客户端的操作指令。而目前的交互方式过于单一,影响用户的使用体验。The client is generally installed on the user terminal, and the user generally triggers an operation command of the client by touching the screen or pressing a specific button on the mobile terminal. However, the current interaction method is too single, which affects the user experience.
发明内容Contents of the invention
有鉴于此,本说明书实施例提供一种利用健身动作触发客户端操作指令的方法及装置。In view of this, the embodiments of this specification provide a method and device for triggering an operation command of a client terminal by using a fitness action.
根据本说明书实施例的第一方面,提出了一种利用健身动作触发客户端操作指令的方法,包括:确定预设的操作指令与健身动作的对应关系;其中,每个操作指令对应于至少一个健身动作,任意两个操作指令对应的健身动作不重合;获取用户当前的运动姿态数据;识别获取的运动姿态数据对应的健身动作;根据预设的操作指令与健身动作的对应关系,确定并执行健身动作对应的操作指令。According to the first aspect of the embodiments of this specification, a method for triggering client operation instructions by using fitness actions is proposed, including: determining the correspondence between preset operation instructions and fitness actions; wherein each operation instruction corresponds to at least one Fitness action, the fitness action corresponding to any two operation instructions does not overlap; obtain the user's current exercise posture data; identify the fitness movement corresponding to the acquired exercise posture data; determine and execute according to the corresponding relationship between the preset operation instruction and fitness action Operation instructions corresponding to fitness actions.
根据本说明书第二方面,提出了一种利用健身动作触发客户端操作指令的装置,包括:对应关系确定模块,用于确定预设的操作指令与健身动作的对应关系;其中,每个操作指令对应于至少一个健身动作,任意两个操作指令对应的健身动作不重合;运动姿态数据获取模块,用于获取用户当前的运动姿态数据;健身动作识别模块,用于识别获取的运动姿态数据对应的健身动作;操作指令执行模块,用于根据预设的操作指令与健身动作的对应关系,确定并执行健身动作对应的操作指令。According to the second aspect of the present specification, a device for triggering client operation instructions by using fitness actions is proposed, including: a correspondence determination module for determining the correspondence between preset operation instructions and fitness actions; wherein each operation instruction Corresponding to at least one fitness action, the fitness actions corresponding to any two operation instructions do not overlap; the exercise posture data acquisition module is used to obtain the user's current exercise posture data; the fitness action recognition module is used to identify the acquired exercise posture data corresponding to Fitness action; an operation instruction execution module, configured to determine and execute the operation instruction corresponding to the exercise action according to the preset corresponding relationship between the operation instruction and the exercise action.
根据本说明书实施例的第三方面,提供一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现上述利用健身动作触发客户端操作指令的方法。According to a third aspect of the embodiments of this specification, there is provided a computer-readable storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, the above-mentioned method for triggering an operation instruction of a client by using a fitness action is implemented.
根据本说明书实施例的第四方面,提供一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器通过运行所述可执行指令以实现上述利用健身动作触发客户端操作指令的方法。According to a fourth aspect of the embodiments of this specification, there is provided an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein, the processor executes the executable instructions to realize the above-mentioned utilization of fitness Action triggers the method of client operation instruction.
本说明书实施例中,通过获取用户的运动姿态数据,并识别运动姿态数据对应的健身动作,根据预设的操作指令与健身动作之间的对应关系,确定健身动作对应的操作指令,并执行相应的操作指令。本说明书实施例利用健身动作来触发操作指令,增加了用户和客户端的交互方式,提升了用户体验。In the embodiment of this specification, by acquiring the user's exercise posture data and identifying the fitness action corresponding to the exercise posture data, according to the corresponding relationship between the preset operation instruction and the fitness movement, determine the operation instruction corresponding to the fitness movement, and execute the corresponding operating instructions. The embodiment of this specification utilizes fitness actions to trigger operation instructions, increases the interaction mode between the user and the client, and improves user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本说明书。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the specification.
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本说明书的实施例,并与说明书一起用于解释本说明书的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and together with the description serve to explain the principles of the specification.
图1是本说明书根据一示例性实施例示出的一种利用健身动作触发客户端操作指令的方法的流程图。Fig. 1 is a flow chart of a method for triggering an operation instruction of a client by using a fitness action according to an exemplary embodiment of the present specification.
图2是本说明书根据一实施例示出的一种识别用户健身动作的示意图。Fig. 2 is a schematic diagram of identifying a user's fitness action according to an embodiment of this specification.
图3是本说明书根据一示例性实施例示出的一种利用健身动作触发客户端操作指令的装置的框图。Fig. 3 is a block diagram of an apparatus for triggering an operation instruction of a client by using a fitness action according to an exemplary embodiment of the present specification.
图4是本说明书根据一示例性实施例示出的一种利用健身动作触发客户端操作指令的装置所在计算机设备的一种硬件结构图。Fig. 4 is a hardware structural diagram of a computer device where an apparatus for triggering an operation command of a client terminal by using a fitness action according to an exemplary embodiment of this specification is located.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本说明书一个或多个实施例相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本说明书一个或多个实施例的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. Implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of this specification. Rather, they are merely examples of apparatuses and methods consistent with aspects of one or more embodiments of the present specification as recited in the appended claims.
需要说明的是:在其他实施例中并不一定按照本说明书示出和描述的顺序来执行相应方法的步骤。在一些其他实施例中,其方法所包括的步骤可以比本说明书所描述的更多或更少。此外,本说明书中所描述的单个步骤,在其他实施例中可能被分解为多个步骤进行描述;而本说明书中所描述的多个步骤,在其他实施例中也可能被合并为单个步骤进行描述。It should be noted that in other embodiments, the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or less steps than those described in this specification. In addition, a single step described in this specification may be decomposed into multiple steps for description in other embodiments; multiple steps described in this specification may also be combined into a single step in other embodiments describe.
相关技术中,对于移动终端上所安装的客户端软件而言,一般是用户通过触摸屏幕或者按下移动终端上的特定按钮与客户端软件进行交互,换言之,用户通过上述方式来 触发客户端软件的操作指令,以完成与客户端软件的交互。对于其他用户终端(比如计算机、电视等)上所安装的客户端软件而言,一般是用户通过辅助工具(比如鼠标键盘或遥控器等)完成与客户端软件的交互,换言之,用户通过使用辅助工具,对页面上的特定按钮进行选取,以触发操作指令,完成交互。In related technologies, for the client software installed on the mobile terminal, the user generally interacts with the client software by touching the screen or pressing a specific button on the mobile terminal, in other words, the user triggers the client software through the above-mentioned method operating instructions to complete the interaction with the client software. For the client software installed on other user terminals (such as computers, TVs, etc.), the user generally completes the interaction with the client software through auxiliary tools (such as mouse keyboard or remote control, etc.). Tool to select a specific button on the page to trigger an operation command and complete the interaction.
可见,当前的交互方法相对单一,影响用户的使用体验。为了提升用户的使用体验,考虑到可以将健身动作与触发操作指令结合起来,使得用户在使用客户端的同时可以健身锻炼。具体而言,通过获取用户的运动姿态数据,并识别运动姿态数据对应的健身动作,根据预设的操作指令与健身动作之间的对应关系,确定健身动作对应的操作指令,并执行相应的操作指令。本说明书实施例利用健身动作来触发操作指令,增加了用户和客户端的交互方式,提升了用户体验。It can be seen that the current interaction method is relatively single, which affects the user experience. In order to improve the user experience, it is considered that the fitness action can be combined with the trigger operation command, so that the user can exercise while using the client. Specifically, by acquiring the user's exercise posture data, and identifying the fitness action corresponding to the exercise posture data, according to the correspondence between the preset operation instruction and the fitness action, determine the operation instruction corresponding to the exercise action, and perform the corresponding operation instruction. The embodiment of this specification utilizes fitness actions to trigger operation instructions, increases the interaction mode between the user and the client, and improves user experience.
接下来将对本说明书的提供的一种利用健身动作触发客户端操作指令的方法进行详细说明。Next, a method for triggering an operation command of a client terminal provided by this specification will be described in detail.
如图1所示,本说明书提供一种利用健身动作触发客户端操作指令的方法,包括以下步骤:步骤101,确定预设的操作指令与健身动作的对应关系;其中,每个操作指令对应于至少一个健身动作,任意两个操作指令对应的健身动作不重合。As shown in Figure 1, this specification provides a method for using fitness actions to trigger client operation instructions, including the following steps: Step 101, determine the correspondence between preset operation instructions and fitness actions; where each operation instruction corresponds to At least one fitness movement, and the fitness movements corresponding to any two operation instructions do not overlap.
其中,该方法的执行主体可以是移动终端上所安装的客户端软件,比如应用于智能手机、平板电脑、智能手表等穿戴设备等。在某些情况下,也可以是应用于非移动的用户终端上所安装的客户端软件,比如应用于个人计算机、电视等、用户使用客户端的情况下,可自由选择是通过传统触摸的方法来触发客户端的操作指令,还是通过健身动作来触发客户端的操作指令。开启通过健身动作来触发操作指令后,客户端除了需要执行步骤101之外,如果客户端所在的用户终端存在扬声器或者可以连接无线耳机,还可以通过语音提醒用户,比如提醒用户的动作标准或者提醒用户手机的摆放等;如果客户端所在的用户终端的画面可以使得健身中的用户看到,还可以通过画面提醒用户。Wherein, the execution body of the method may be client software installed on the mobile terminal, such as applied to smart phones, tablet computers, smart watches and other wearable devices. In some cases, it can also be applied to client software installed on non-mobile user terminals, such as personal computers, TVs, etc. When users use the client, they can freely choose to use the traditional touch method. Trigger the client's operation instructions, or trigger the client's operation instructions through fitness actions. After enabling triggering operation instructions through fitness actions, in addition to performing step 101, if the user terminal where the client is located has a speaker or can connect to a wireless headset, it can also remind the user through voice, such as reminding the user of the action standard or reminder The placement of the user's mobile phone, etc.; if the picture of the user terminal where the client is located can be seen by the user in fitness, the user can also be reminded through the picture.
用户开启通过健身动作来触发操作指令,可以是在客户端的设置页面进行设置;也可以是通过特定的手势进行控制,比如将当前页面下拉到底即为开启通过健身动作来触发操作指令,或者在页面上画个大的三角形即为开启通过健身动作来触发操作指令;如果客户端或者用户终端内置了语音助手,还可以是用户通过与语音助手对话来开启通过健身动作来触发操作指令;如果用户终端上有至少一个按键的情况下,还可以是通过按下指定按键或者指定的按键组合的方式来开启通过健身动作来触发操作指令,当然指定按键或者指定按键组合事先没有被赋予其他功能。用户终端的本说明书对于开启通过健身动作来触发客户端的操作指令的方法不做限制。The user enables the operation command triggered by fitness action, which can be set on the setting page of the client; it can also be controlled by a specific gesture, such as pulling down the current page to the bottom to enable the operation command triggered by fitness action, or on the page Draw a big triangle on the top to trigger operation instructions through fitness actions; if the client or user terminal has a built-in voice assistant, the user can also enable the activation of exercise actions to trigger operation instructions by talking to the voice assistant; if the user terminal In the case of at least one button on the keyboard, it is also possible to trigger an operation command through a fitness action by pressing a specified button or a specified combination of buttons. Of course, the specified button or the combination of specified buttons has not been given other functions in advance. This specification of the user terminal does not limit the method of triggering the operation instruction of the client through fitness actions.
用户开启通过健身动作来触发操作指令,可以是在整个客户端内开启通过健身动作来触发操作指令,也可以是只在客户端的某个模块内开启通过健身动作触发操作指令,比如在客户端内嵌的某个小程序内开启,或者在客户端的某些界面内开启。比如对于某电子钱包客户端来说,可以在该客户端某统计节碳量的界面开启。当然,在哪些界面开启,用户是可以选择的。The user enables triggering operation commands through fitness actions, which can be enabled in the entire client to trigger operation commands through fitness actions, or only in a certain module of the client. For example, in the client Open it in an embedded applet, or open it in some interface of the client. For example, for an electronic wallet client, it can be opened on a certain carbon saving interface of the client. Of course, users can choose which interfaces to open.
用户开启通过健身动作来触发操作指令后,为了能确定用户当前做该健身动作究竟是为了触发什么样的操作指令,客户端需要执行步骤101,来确定预设的操作指令与健身动作的对应关系,以通过该对应关系来确定操作指令。After the user triggers the operation command through the fitness action, in order to determine what kind of operation command the user is currently doing to trigger the fitness action, the client needs to perform step 101 to determine the corresponding relationship between the preset operation command and the fitness action , so as to determine the operation instruction through the corresponding relationship.
如果一个健身动作对应于多个操作指令的话,在用户做该健身动作的情况下,将会无法确定用户究竟想触发哪个操作指令,因此,一个健身动作只会对应于一个操作指令。此外,为了进一步提升用户的使用体验,可以选择一个操作指令对应于多个健身动作。If a fitness action corresponds to multiple operation instructions, it will be impossible to determine which operation instruction the user wants to trigger when the user performs the exercise action. Therefore, a fitness action will only correspond to one operation instruction. In addition, in order to further improve user experience, one operation instruction can be selected to correspond to multiple fitness actions.
其中,每个操作指令除了对应于健身动作之外,还对应于该健身动作的标准。健身动作标准可以是健身动作的执行频率,或者动作幅度等,比如健身动作是高抬腿的情况下,可以设置健身动作执行的频率为一秒2下,在健身动作是深蹲的情况下,可以设置深蹲的动作幅度。Wherein, each operation instruction corresponds not only to a fitness movement, but also to a standard of the fitness movement. The fitness action standard can be the execution frequency of the fitness action, or the range of motion, etc. For example, if the fitness action is a high leg raise, you can set the frequency of the fitness action execution to 2 times per second. If the fitness action is a squat, You can set the range of motion for squatting.
健身动作的标准可以根据用户的年龄、身体状况等进行设置,对于年龄更大的用户来说,健身动作的频率不易过高,以防止用户在完成健身动作的过程中出现意外;对于身体状况不佳的用户来说,健身动作的频率和幅度都不易过高,以防出现意外。The standard of fitness actions can be set according to the user's age and physical condition. For older users, the frequency of fitness actions should not be too high to prevent users from accidents during the completion of fitness actions; For the best users, the frequency and range of fitness movements should not be too high to prevent accidents.
在用户执行了一个健身动作,但是该健身动作的频率或者幅度不符合对应的健身动作的标准的情况下,可以通过语音、振动或者其他形式来提示用户当前的健身动作不标准。具体而言,客户端在检测到用户执行了某个健身动作的情况下,判断用户所执行的健身动作是否符合该健身动作的标准,并在不符合健身动作标准的情况下,通过一种方式来提醒用户当前的健身动作不标准。When the user performs a fitness movement, but the frequency or amplitude of the fitness movement does not meet the standard of the corresponding fitness movement, the user may be prompted by voice, vibration or other forms that the current fitness movement is not standard. Specifically, when the client detects that the user has performed a certain fitness action, it judges whether the fitness action performed by the user meets the standard of the fitness action, and if it does not meet the standard of the fitness action, through a method To remind the user that the current fitness action is not standard.
此外,具体的操作指令与及健身动作之间的对应关系是如何获取的,将在下文进行详细描述,在此暂不赘述。In addition, how to obtain the corresponding relationship between specific operation instructions and fitness actions will be described in detail below, and will not be repeated here.
步骤103,获取用户当前的运动姿态数据。 Step 103, acquiring the current motion posture data of the user.
步骤105,识别获取的运动姿态数据对应的健身动作。 Step 105, identifying the fitness action corresponding to the acquired exercise posture data.
接下来将对步骤103-步骤105进行统一说明。具体的获取用户的运动姿态数据和识别用户的健身动作的方法,本说明书提供了以下两种获取方法,当然这两种方法并不表示对于本说明书的限定,如果其他的方法也可以获取运动姿态数据并识别到健身动作的话,使用其他获取方法进行获取识别也可以。Next, step 103-step 105 will be uniformly described. Specifically, the method of acquiring the user's motion posture data and identifying the user's fitness action, this manual provides the following two acquisition methods. Of course, these two methods do not represent limitations to this manual. If other methods can also obtain motion posture If the data is recognized and the fitness action is recognized, it is also possible to use other acquisition methods for acquisition and recognition.
第一种方法是通过用户终端的摄像模块进行获取,并通过机器学习的方法来识别用户所执行的健身动作。The first method is to acquire through the camera module of the user terminal, and use a machine learning method to identify the fitness action performed by the user.
换言之,步骤103具体为:获取用户终端的摄像模块所拍摄的运动姿态数据。步骤105具体为:获取预先训练的特征提取模型和预先训练的动作识别模型;将所述用户的运动姿态数据输入所述特征提取模型,提取所述运动姿态数据的动作特征;将所述动作特征输入所述动作识别模型,确定所述用户的运动姿态数据对应的健身动作。In other words, step 103 is specifically: acquiring motion posture data captured by the camera module of the user terminal. Step 105 is specifically: obtaining a pre-trained feature extraction model and a pre-trained action recognition model; inputting the motion gesture data of the user into the feature extraction model to extract the action features of the motion gesture data; Input the action recognition model to determine the fitness action corresponding to the user's exercise posture data.
其中,用户终端的摄像模块,可以是用户终端所自带的摄像模块,也可以是用户终端外接的摄像模块。在用户开启通过健身动作触发操作指令,且摄像模块已经就位后,可以通过声音、振动或者图像来提醒用户站到摄像模块可以拍摄到全身的位置,且在健身过程中,如果用户出了摄像模块所能拍摄到的范围,也可以通过声音、振动或者显示界面上的文字或者图像来提醒用户已经超出范围,并提示用户进行移动,以进入摄像模块拍摄范围内。Wherein, the camera module of the user terminal may be a self-contained camera module of the user terminal, or may be an external camera module of the user terminal. After the user triggers the operation command through fitness actions and the camera module is in place, the user can be reminded to stand at the position where the camera module can capture the whole body through sound, vibration or image. The range that the module can capture can also remind the user that it has exceeded the range through sound, vibration, or text or images on the display interface, and prompt the user to move to enter the shooting range of the camera module.
此外,由于用户是通过健身动作与客户端进行交互,如果是利用移动终端自带的摄像模块的话,可能为了拍摄到用户的全身,使得用户离移动终端太远,而无法看到移动终端上的内容,无法很好的进行交互。因此,在移动终端的屏幕较小的情况下,可以在用户开启健身动作触发操作指令后,提示用户使用投屏的方式,将移动终端客户端的内容投屏到更大的屏幕;或者提示用户使用外接摄像头进行拍摄;或者提示用户站在镜子前面,让屏幕朝向用户,并用移动终端的后置摄像头去拍摄镜子中用户的镜像动作。通过以上方式,使得在摄像模块得到用户完整图像的基础上,用户还能看到移动终端屏幕上的内容,以使得用户有较好的体验。In addition, since the user interacts with the client through fitness actions, if the camera module of the mobile terminal is used, the user may be too far away from the mobile terminal in order to capture the whole body of the user, and cannot see the image on the mobile terminal. The content cannot be well interacted. Therefore, when the screen of the mobile terminal is small, after the user activates the fitness action to trigger the operation command, the user may be prompted to use the screen projection method to project the content of the mobile terminal client to a larger screen; or the user may be prompted to use Take pictures with an external camera; or prompt the user to stand in front of the mirror, make the screen face the user, and use the rear camera of the mobile terminal to capture the mirrored action of the user in the mirror. Through the above method, on the basis of the complete image of the user obtained by the camera module, the user can also see the content on the screen of the mobile terminal, so that the user can have a better experience.
其中,所获取的运动姿态数据,是用户实时的运动姿态数据,并不是过去录制的运动姿态数据。为了确保获取到的运动姿态数据是真实的实时数据,还可以在获取运动姿态数据时,增加活体检测功能,比如可以在拍摄数据的同时使用活体检测,检测当前所拍摄到的视频是否是用户的实时运动姿态数据。在当前所拍摄的视频并不包括活体的情况下,不对当前数据进行分析,并通过语音或者其他方法提示用户当前不存在活体。Wherein, the acquired motion posture data is the real-time motion posture data of the user, not the motion posture data recorded in the past. In order to ensure that the acquired motion posture data is real real-time data, it is also possible to add a live body detection function when obtaining motion posture data. For example, live body detection can be used while shooting data to detect whether the currently captured video is the user's Real-time motion posture data. In the case that the currently captured video does not include a living body, the current data is not analyzed, and the user is prompted that there is no living body currently by voice or other methods.
用户的运动姿态数据的特征提取可以通过多种方法实现,所提取的动作特征也可以包括多种形式,比如,动作特征,为每一帧图像中人体关键点的位置特征,所述人体关键点用于标识人体动作,这种情况下,所提取的动作特征可以如图2所示。可见,人体关键点可以包括脚腕、膝盖、肩膀、胳膊肘和胯骨、手肘等关节点,还有用于标识面部动作的关键点。The feature extraction of the user's motion posture data can be realized by various methods, and the extracted action features can also include various forms, such as, action features, which are the positional features of human body key points in each frame image, and the human body key points It is used to identify human actions. In this case, the extracted action features can be shown in FIG. 2 . It can be seen that the key points of the human body can include joint points such as ankles, knees, shoulders, elbows, hip bones, and elbows, as well as key points used to identify facial movements.
识别关键点可以通过姿态检测模型MoveNet、BlazePose或PoseNet来识别。当然为 了减少客户端集成的功能数量,也可以通过辅助工具来检测关键点,比如可以在关键点上贴上特殊贴纸,通过设备特殊贴纸的位置来确定用户的姿态。Identifying key points can be identified by gesture detection models MoveNet, BlazePose or PoseNet. Of course, in order to reduce the number of functions integrated on the client side, key points can also be detected through auxiliary tools, for example, special stickers can be pasted on key points, and the user's posture can be determined by the position of the special sticker on the device.
此外,除了上述通过拍摄的方式来获取运动姿态数据外,在用户终端是移动终端或者可穿戴设备的情况下,还可以根据移动终端上的传感器来检测用户的运动,以获取用户的运动姿态数据。In addition, in addition to the above-mentioned acquisition of motion posture data by means of photography, if the user terminal is a mobile terminal or a wearable device, the user's motion can also be detected according to the sensor on the mobile terminal to obtain the user's motion posture data .
具体而言,步骤103包括:获取预设时间内移动终端的运动传感器的测量序列,将所述测量序列作为运动姿态数据;所述运动传感器为用于检测移动终端的动态移动的传感器。步骤105包括:获取预先训练的动作识别模型;将所述测量序列输入所述动作识别模型,确定所述测量序列对应的动作标识。Specifically, step 103 includes: obtaining a measurement sequence of a motion sensor of the mobile terminal within a preset time period, and using the measurement sequence as motion posture data; the motion sensor is a sensor for detecting dynamic movement of the mobile terminal. Step 105 includes: acquiring a pre-trained action recognition model; inputting the measurement sequence into the action recognition model, and determining an action identifier corresponding to the measurement sequence.
其中,运动传感器可以为加速度传感器、陀螺仪等移动终端自身已经安装的传感器,目前大部分智能移动终端和可穿戴设备都装有加速度传感器和陀螺仪等。通过运动传感器的测量序列,就能通过速度公式计算出速度的大小和方向,再通过位移公式得到移动终端或可穿戴设备的运动轨迹,其中测量序列可以是直接获取的传感器的测量值,也可以是根据速度公式和位移公式等获取的运动轨迹。Wherein, the motion sensor may be an acceleration sensor, a gyroscope, and other sensors already installed in the mobile terminal itself. Currently, most smart mobile terminals and wearable devices are equipped with an acceleration sensor, a gyroscope, and the like. Through the measurement sequence of the motion sensor, the magnitude and direction of the velocity can be calculated through the velocity formula, and then the motion trajectory of the mobile terminal or wearable device can be obtained through the displacement formula. The measurement sequence can be the measured value of the sensor obtained directly, or It is the motion trajectory obtained according to the velocity formula and displacement formula.
在用户终端是移动终端的情况下,为了使得运动传感器可以得到测量序列,需要把客户端固定在身体的某个部位上,比如如果用户的大臂、小臂或者大腿等部位。固定的话,可以通过绑带来固定,如果移动终端体积不大,还可以将移动终端放在用户的较为紧的兜里(防止在兜里乱晃,影响最终的测量结果),当然也可以将移动终端拿在手上进行测量。In the case that the user terminal is a mobile terminal, in order to enable the motion sensor to obtain a measurement sequence, the client needs to be fixed on a certain part of the body, such as the user's forearm, forearm or thigh. If it is fixed, it can be fixed by a strap. If the mobile terminal is not large, you can also put the mobile terminal in the user's tight pocket (to prevent it from shaking in the pocket and affect the final measurement result). Of course, you can also place the mobile terminal The mobile terminal is held in the hand for measurement.
此外,考虑到本说明书提供的方法是一种用户和客户端进行交互的方法,而在通过移动终端或者可穿戴设备上的运动传感器来测量的时候,用户无法看到移动终端或者可穿戴设备的显示界面,为了能使得用户可以和客户端进行交互,可以提示用户进行投屏,将移动终端或者可穿戴设备的显示界面进行投屏显示,或者通过语音播报的形式取代视觉交互,以完成用户和客户端的交互。In addition, considering that the method provided in this specification is a method for the user to interact with the client, and when the motion sensor on the mobile terminal or wearable device is used to measure, the user cannot see the motion of the mobile terminal or wearable device. For the display interface, in order to enable the user to interact with the client, the user can be prompted to cast the screen, the display interface of the mobile terminal or wearable device can be displayed on the screen, or the visual interaction can be replaced by voice broadcast to complete the user and Client interaction.
上述方法中,动作识别模型是预先训练的用于识别健身动作的神经网络模型。不同的用户,所做的动作有一定差别,对于每个用户来说,为了使得动作识别模型都能成功识别该用户的健身动作具体是什么,可以在进行识别前,预先提示用户进行录制,录制用户做不同健身动作的视频/测量序列,并通过这些视频对动作/传感器序列识别模型进行更新,以使得每个用户的客户端的动作识别模型能更适用于该用户。In the above method, the action recognition model is a pre-trained neural network model used to identify fitness actions. Different users have different actions. For each user, in order to enable the action recognition model to successfully identify the specific fitness actions of the user, the user can be prompted to record in advance before the recognition. Videos/measurement sequences of users doing different fitness actions, and the action/sensor sequence recognition model is updated through these videos, so that the action recognition model of each user's client can be more suitable for the user.
步骤107,根据预设的操作指令与健身动作的对应关系,确定并执行健身动作对应的操作指令。 Step 107, according to the preset correspondence between the operation instruction and the exercise action, determine and execute the operation instruction corresponding to the exercise action.
完成指令后,还可以通过语音提示用户已经完成该操作指令,以使得用户得到反馈。After the instruction is completed, the user may also be prompted by voice that the operation instruction has been completed, so that the user can get feedback.
此外,为了提升用户使用该功能的意愿,可以设置一些奖励,来吸引用户使用该功能,比如,如果在某电子钱包客户端的外卖小程序中使用该功能,可以每当用户完成1000个深蹲动作(这里只是举例,并不表示对于健身动作的限定),奖励用户一定积分(积分可以换取红包)。如果在某电子钱包客户端的某统计节碳量的界面使用该功能,用户可以通过健身动作来增加“偷能量”中所偷能量的大小。In addition, in order to increase users' willingness to use this function, some rewards can be set to attract users to use this function. For example, if this function is used in the takeaway applet of an e-wallet client, every time the user completes 1000 squat actions (Here is just an example, and does not represent a limitation on fitness actions), reward users with certain points (points can be exchanged for red envelopes). If this function is used on a certain carbon saving statistics interface of an e-wallet client, the user can increase the amount of stolen energy in "stealing energy" through fitness actions.
为了提升用户使用该功能的意愿,还可以:在该功能中增加排行功能,每个用户可以看到的排行中,包括与该用户具有朋友关系的其他用户,及该用户和这些其他用户的每日运动时间/运动次数,比如,可以让该用户看到的排行中,可以包括与其具有朋友关系的用户们的每日深蹲数量。In order to improve the user's willingness to use this function, it is also possible to: add a ranking function to this function. The rankings that each user can see include other users who have a friend relationship with the user, and each of the user and these other users. Daily exercise time/number of times of exercise, for example, the ranking that can be seen by the user may include the daily number of squats of users who have a friend relationship with the user.
进一步地为了得到排行,需要实时统计每个用户的运动时间/运动次数,但是为了减轻客户端的通信压力,可以让客户端每隔一定时间去获取排行需要的数据,或者只在用户打开该排行时获取用户的数据。Further, in order to get the ranking, it is necessary to count the exercise time/number of times of each user in real time, but in order to reduce the communication pressure of the client, the client can be allowed to obtain the data required for the ranking at regular intervals, or only when the user opens the ranking Get the user's data.
此外,还需要说明的是,操作指令与健身动作的对应关系的获取方法可以包括以下几种。In addition, it should be noted that the methods for obtaining the corresponding relationship between the operation instruction and the fitness action may include the following methods.
确定预设的操作指令与健身动作的对应关系,可以是:确定用户自定义设置的操作指令与健身动作的对应关系。换言之,操作指令与健身动作的对应关系是用户预先自定义设置的,确定预设的操作指令与健身动作的对应关系,是获取了用户预设的操作指令与健身动作的对应关系。Determining the correspondence between preset operation instructions and fitness actions may be: determining the correspondence between user-defined operating instructions and fitness actions. In other words, the correspondence between operation instructions and fitness actions is preset by the user, and determining the correspondence between the preset operation instructions and fitness actions is the acquisition of the correspondence between the user's preset operation instructions and fitness actions.
用户自定义设置,可以是用户从可以选择的所有操作指令,和所有健身动作中,选取若干个健身动作,并选取若干个操作指令,并设置操作指令和健身动作之间的对应关系。The user-defined setting may be that the user selects several fitness movements from all the operation instructions and all fitness movements that can be selected, and selects several operation instructions, and sets the corresponding relationship between the operation instructions and the fitness movements.
用户自定义设置,还可以是根据客户端所推荐的内容进行选择。对于客户端来说,客户端推荐,可以基于用户的操作指令使用需求进行推荐,也可以基于用户的锻炼需求进行推荐,还可以基于用户的朋友关系进行推荐。User-defined settings can also be selected according to content recommended by the client. For the client, the client recommendation can be based on the user's operation instruction usage requirements, or based on the user's exercise needs, or based on the user's friend relationship.
如果根据用户的操作指令使用需求或者锻炼需求(统称为使用需求)进行推荐,则客户端需要向用户优先推荐符合用户使用需求的操作指令、健身动作或操作指令与健身动作的对应关系,以使用户优先选择客户端所推荐的。换言之,自定义设置的方法包括:确定用户的使用需求;所述使用需求包括以下至少一个:操作指令的执行需求,用户的锻炼需求;根据用户的使用需求,在对应关系选择页面向用户优先推荐和使用需求相对应的操作指令、健身动作或操作指令与健身动作之间的对应关系;确定用户选择的操作 指令与健身动作之间的对应关系。If the recommendation is made based on the user's operation instruction usage requirements or exercise requirements (collectively referred to as usage requirements), the client needs to first recommend to the user the operation instructions, fitness actions, or the corresponding relationship between the operation instructions and the fitness actions that meet the user's usage needs, so that The user prefers what the client recommends. In other words, the method for customizing settings includes: determining the user's usage requirements; the usage requirements include at least one of the following: the execution requirements of operation instructions, and the user's exercise requirements; according to the user's usage requirements, preferentially recommending The operation instruction, exercise action corresponding to the use requirement, or the correspondence between the operation instruction and the exercise action; determining the correspondence between the operation instruction selected by the user and the exercise exercise.
根据用户的使用需求,进行优先推荐,也就是说,将符合用户使用需求的操作指令、健身动作或两者的对应关系进行优先展示,以使得用户优先选择所优先推荐的。此外,由于操作指令与健身动作的对应关系是用户自定义设置的,那么不同用户所自定义设置的操作指令与健身动作的对应关系也可能是不同的。According to the user's use needs, the priority recommendation is performed, that is, the operation instructions, fitness actions or the corresponding relationship between the two that meet the user's use needs are preferentially displayed, so that the user can preferentially choose the recommended ones. In addition, since the correspondence between the operation instructions and the exercise actions is user-defined, the correspondence between the operation instructions and the exercise actions customized by different users may also be different.
客户端如果是基于用户的操作指令使用需求进行推荐,那么确定用户的使用需求,包括:确定用户执行频率大于预设频率阈值的常用操作指令,即确定用户最常用的若干个操作指令。根据用户的使用需求,向用户优先推荐和使用需求相对应的操作指令、健身动作或操作指令与健身动作之间的对应关系,包括:在对应关系选择页面向用户优先展示常用操作指令,即在对应关系选择页面中,常用操作指令在其他操作指令的前面。If the client makes recommendations based on the user's operating instruction usage requirements, then determining the user's usage requirements includes: determining the common operating instructions that the user executes more frequently than the preset frequency threshold, that is, determining the user's most frequently used operating instructions. According to the user's needs, recommend to the user the operation instructions, fitness actions corresponding to the use needs, or the correspondence between the operation instructions and the fitness actions, including: displaying common operation instructions to the user on the corresponding relationship selection page, that is, in On the corresponding relationship selection page, common operation instructions are in front of other operation instructions.
客户端如果是基于用户的锻炼需求进行推荐,那么确定用户的使用需求,包括:确定用户的锻炼需求。其中,用户的锻炼需求,可以是根据用户填写的问卷确定的,也可以是根据用户的锻炼类型选择所确定的,锻炼类型可以包括,减脂、塑性、增肌等等,具体的还可以选择减脂、塑性和增肌等的部位。此外,根据用户的使用需求,向用户优先推荐和使用需求相对应的操作指令、健身动作或操作指令与健身动作之间的对应关系,包括:根据用户的锻炼需求,确定预设数量的推荐动作;所述预设数量大于可设置的操作指令的数量;在对应关系选择页面向用户优先展示推荐动作。推荐动作和用户的锻炼需求相符,比如用户想要针对腹部增肌,那么推荐动作可以包括平板支撑、仰卧起坐等等。If the client makes recommendations based on the user's exercise needs, determining the user's use needs includes: determining the user's exercise needs. Among them, the user's exercise needs can be determined according to the questionnaire filled out by the user, or determined according to the user's exercise type selection. The exercise type can include fat loss, plasticity, muscle gain, etc., and can also be selected Areas for fat loss, plasticity and muscle gain. In addition, according to the user's needs, preferentially recommend to the user the corresponding operation instructions, fitness actions, or the correspondence between the operation instructions and the fitness actions, including: determining a preset number of recommended actions according to the user's exercise needs ; The preset number is greater than the number of configurable operation instructions; The recommended actions are preferentially displayed to the user on the corresponding relationship selection page. The recommended actions are in line with the user's exercise needs. For example, if the user wants to increase abdominal muscles, the recommended actions may include planks, sit-ups, and so on.
此外,在用户设置的健身动作存在健身动作的标准的情况下,用户的锻炼需求还可以包括锻炼等级,锻炼等级可以是用户根据自身情况进行选择的,也可以是根据用户填写的问卷所确定的。健身动作的标准可以根据用户锻炼等级、年龄和性别等综合进行考虑。In addition, in the case where there are standards for fitness actions set by the user, the user's exercise needs may also include exercise levels, which may be selected by the user according to his or her own circumstances, or may be determined based on a questionnaire filled out by the user. . The standard of fitness action can be comprehensively considered according to the user's exercise level, age and gender.
客户端如果是基于用户的使用需求来进行综合推荐,那么根据用户的使用需求,向用户优先推荐和使用需求相对应的操作指令、健身动作或操作指令与健身动作之间的对应关系,包括:根据用户的使用需求,确定与用户具有相似使用需求的用户群;确定该用户群的常用对应关系;在对应关系选择页面向用户优先展示常用对应关系。If the client makes comprehensive recommendations based on the user's usage needs, then according to the user's usage needs, it will preferentially recommend to the user the operation instructions, fitness actions corresponding to the usage needs, or the corresponding relationship between the operation instructions and the fitness actions, including: According to the usage requirements of the user, determine a user group that has similar usage requirements to the user; determine the common correspondence of the user group; and preferentially display the common correspondence to the user on the correspondence selection page.
其中,用户的使用需求可以包括用户的锻炼需求和操作指令使用需求,这里的锻炼需求可以是锻炼类型,比如减脂、塑性或增肌,操作指令使用需求可以是用户使用客户端的某个页面或者小程序的需求。相似使用需求可以指的是锻炼类型相同,操作指令使用需求相似。Among them, the user's usage requirements can include the user's exercise requirements and operation instruction usage requirements. The exercise requirements here can be exercise types, such as fat loss, plasticity, or muscle gain. The operation instruction usage requirements can be a certain page or Small program needs. Similar use requirements may refer to the same type of exercise and similar use requirements for operation instructions.
该用户群常用对应关系可以指的是,该用户群中已经自定义设置操作指令与健身动作的对应关系中,使用人数大于预设阈值的对应关系。在向用户推荐的时候,还可以对推荐的对应关系进行标注,比如增加“人气TPO1”等的标注,以使得用户优先选择这些对应关系,提升用户的使用体验。The commonly used corresponding relationship of the user group may refer to a corresponding relationship in which the number of users is greater than a preset threshold among the corresponding relationships between operating instructions and fitness actions that have been customized in the user group. When recommending to the user, it is also possible to mark the recommended corresponding relationship, for example, adding the label of "popularity TPO1", so that the user can preferentially select these corresponding relationships and improve the user experience.
其中,常用对应关系可以是从用户上传的自身推荐的对应关系中获取,也可以是从客户端在确定对应关系后,将该对应关系上传至服务端,常用对应关系从服务端存储的对应关系中获取。Among them, the commonly used corresponding relationship can be obtained from the corresponding relationship recommended by the user uploaded by the user, or the corresponding relationship can be uploaded to the server after the client determines the corresponding relationship, and the commonly used corresponding relationship can be obtained from the corresponding relationship stored in the server obtained from .
此外,客户端如果是基于用户的朋友关系进行推荐,那么客户端可以向用户推荐,与该用户具有朋友关系的用户中,使用最多的对应关系。具体而言,客户端需要先确认该用户的朋友关系,在确定与该用户具有朋友关系的用户使用过的对应关系,并将使用过的对应关系进行计数,计算与该用户具有朋友关系的用户使用数最多的几组对应关系,并将这些对应关系优先推荐给用户。In addition, if the client recommends based on the user's friend relationship, then the client can recommend to the user, among the users who have a friend relationship with the user, the corresponding relationship that uses the most. Specifically, the client needs to first confirm the user's friend relationship, determine the corresponding relationship used by users who have a friend relationship with the user, count the used corresponding relationships, and calculate the number of users who have a friend relationship with the user The most used sets of correspondences are used, and these correspondences are recommended to users first.
通过上述方式可以实现用户自定义设置操作指令与健身动作的对应关系,将健身和日常使用客户端相结合,使得用户可以在使用客户端的同时完成健身。此外,由于客户端会考虑用户的使用需求或用户的朋友关系并进行推荐,用户可以优先选择客户端所推荐的操作指令、健身动作或者操作指令与健身动作的对应关系,这样用户所选取的操作指令与健身动作的对应关系,是符合用户的操作指令使用需求或者健身需求的,提升了用户的使用体验。Through the above method, the user can customize the corresponding relationship between operation instructions and fitness actions, and combine fitness with daily use of the client, so that the user can complete fitness while using the client. In addition, since the client will consider the user's use needs or the user's friend relationship and make recommendations, the user can give priority to the operation instructions and fitness actions recommended by the client, or the corresponding relationship between the operation instructions and the fitness actions, so that the operation selected by the user The corresponding relationship between instructions and fitness actions is in line with the user's needs for operating instructions or fitness needs, which improves the user experience.
确定预设的操作指令与健身动作的对应关系,除了可以根据用户的自定义设置来确定,还可以是确定系统预设的操作指令与健身动作的对应关系。换言之,客户端预先设置有操作指令与健身动作的对应关系,用户开启通过健身动作来触发操作指令后,客户端会获取预先写在客户端内的操作指令与健身动作的对应关系。Determining the correspondence between preset operation instructions and fitness actions can be determined not only according to user-defined settings, but also by determining the correspondence between system preset operation instructions and fitness actions. In other words, the client is preset with the corresponding relationship between operation instructions and fitness actions. After the user triggers the operation instructions through fitness actions, the client will obtain the corresponding relationship between the operation instructions and fitness actions written in the client.
预先设置的操作指令与健身动作的对应关系可以是,能够增强趣味性的对应关系,具体而言,对应关系中健身动作的实现效果与操作指令触发后的效果相对应。比如,对于某电子钱包客户端的统计节碳量的界面而言,其常用的功能有给别人浇水,及偷能量,和切换到下一个朋友用户。那么由于浇水需要较大的力气,可以通过力量型动作(比如深蹲、俯卧撑)来触发浇水;由于能量像果子一样长在树上较高的位置,需要跳起来才能摘到,可以通过跳跃性动作(比如高抬腿)来触发偷能量,由于切换到下一个朋友需要左右滑动,那么可以通过向左侧弯腰或者向右侧弯腰来进行切换。比如,对于某新闻浏览客户端而言,可以通过下蹲进行向下翻页,通过跳跃进行向上翻页,再比如,对于某电子钱包客户端的捐爱心的界面来说,可以增加跟着小鸡做五禽戏的内容。这样的设 置,增加了用户使用的趣味性。The preset correspondence between the operation instruction and the fitness action may be a correspondence that can enhance the interest. Specifically, the realization effect of the fitness action in the correspondence corresponds to the effect after the operation instruction is triggered. For example, for the carbon saving statistics interface of an electronic wallet client, its commonly used functions include watering others, stealing energy, and switching to the next friend user. Then, because watering requires a lot of strength, you can trigger watering through strength-based actions (such as squats, push-ups); because energy grows like fruit at a higher position on the tree, you need to jump up to pick it, you can use Jumping actions (such as raising your legs high) trigger energy stealing. Since you need to slide left and right to switch to the next friend, you can switch by bending to the left or bending to the right. For example, for a news browsing client, you can turn pages down by squatting, and turn pages up by jumping. The content of Wuqinxi. Such a setting increases the interest of users.
接下来将通过一具体实施例来对本说明书提供的一种利用健身动作触发客户端操作指令的方法进行详细说明。Next, a specific embodiment will be used to describe in detail a method for using fitness actions to trigger client operation instructions.
比如在某电子钱包客户端的统计节碳量的界面(以蚂蚁森林为例),可以通过健身动作来触发操作指令。用户在客户端的设置页面开启通过健身动作来触发客户端的操作指令后,客户端获取预设的操作指令与健身动作的对应关系具体的对应关系可以包括:For example, on the interface of an e-wallet client that counts carbon savings (take Ant Forest as an example), operation instructions can be triggered through fitness actions. After the user activates the operation command to trigger the client through the fitness action on the setting page of the client, the client obtains the correspondence between the preset operation command and the fitness action. The specific correspondence may include:
偷能量-高抬腿,Steal Energy - Knee High,
浇水-深蹲/俯卧撑/仰卧起坐,watering - squats/pushups/situps,
切换下一个用户-侧弯腰,switch next user - side bend,
进入自己参与的合种-单腿提腹。Enter the joint species that you participate in - one-leg belly lift.
其中,每个动作都可以设定健身动作标准,具体的健身动作标准根据用户的性别及年龄进行设置,比如该用户年龄30,性别男,设置的健身动作标准为:高抬腿,十秒钟15次,仰卧起坐,10秒钟10个,俯卧撑10秒钟10个,侧弯腰角度大于60°,单腿提腹连续做15个。为了提升用户的锻炼效果,还可以在用户执行的健身动作超过健身动作标准一定程度的情况下,给予用户一定奖励,比如用户在十秒钟做了20个高抬腿,可以提高该用户获取其他用户的能量的比例。Among them, each action can set fitness action standards. The specific fitness action standards are set according to the user's gender and age. For example, the user is 30 years old and male, and the set fitness action standards are: high leg raise, ten seconds 15 times, sit-ups, 10 in 10 seconds, 10 push-ups in 10 seconds, side bending at an angle greater than 60°, and 15 consecutive abdominal lifts with one leg. In order to improve the user's exercise effect, it is also possible to give the user a certain reward when the fitness action performed by the user exceeds the fitness action standard to a certain extent. The proportion of the user's energy.
在用户开启后,该客户端是智能手机,通过语音提示用户将智能手机竖放在桌子和地上,并用语音提示用户走远,客户端通过智能手机的摄像模块获取拍摄到的图像,并检测摄像模块中用户的位置,在用户的位置合适时,通过语音提示用户已经到达合适位置。After the user turns it on, the client is a smart phone, which prompts the user to put the smart phone upright on the table and the ground through voice, and prompts the user to go far away. The client obtains the captured image through the camera module of the smart phone, and detects the The location of the user in the module, when the location of the user is appropriate, the user will be prompted by voice that the user has arrived at the appropriate location.
在用户到达合适位置后,客户端获取摄像模块拍摄的视频,将拍摄的视频输入预先训练的特征提取模型,提取该视频的动作特征,并将动作特征输入动作识别模型,识别是否存在预设的健身动作(上述的高抬腿、深蹲、俯卧撑、仰卧起坐、侧弯腰、单腿提腹等)。After the user arrives at a suitable location, the client obtains the video captured by the camera module, inputs the captured video into the pre-trained feature extraction model, extracts the action features of the video, and inputs the action features into the action recognition model to identify whether there is a preset Fitness actions (the aforementioned high leg lifts, squats, push-ups, sit-ups, side bends, single-leg abdominal lifts, etc.).
在确定存在预设的健身动作的情况下,比如确定存在高抬腿动作,进一步确定用户执行高抬腿动作的频率,如果用户频率超过设定的高抬腿标准(十秒钟15个),则执行高抬腿动作对应的偷能量。在偷取能量后,通过语音提示用户已经完成偷能量的动作,比如可以提示用户“恭喜您,您已经获取了用户A10g能量”,此外,还可以对页面内容进行一定提示,可以提示用户当前用户是否还有未偷取的能量球等,比如可以提示用户,“当前页面还有5个未摘取的能量球”。In the case of determining that there is a preset fitness action, such as determining that there is a high leg raising action, further determine the frequency of the user performing the high leg raising action, if the user frequency exceeds the set high leg raising standard (15 in ten seconds), Then perform the energy steal corresponding to the leg raising action. After the energy is stolen, the user can be prompted by voice that the energy stealing action has been completed. For example, the user can be prompted "Congratulations, you have obtained the user's A10g energy". Whether there are still energy balls that have not been stolen, etc. For example, the user can be prompted, "There are still 5 energy balls that have not been picked on the current page".
如果用户执行的动作是向左侧弯腰,且符合预设的向左侧弯腰标准,则可以在切换 到下一个用户的界面后,通过语音提示用户,“已经切换到用户B的页面”。如果用户执行的动作是单腿提腹,且符合预设的单腿提腹标准,则可以通过语音提示用户,“已进入您的合种xx树”。在进入合种后,如果用户执行的动作是仰卧起坐,且符合仰卧起坐的标准,则可以通过语音提示用户“您已向xx树浇水10g”。If the action performed by the user is to bend to the left and meets the preset standard of bending to the left, after switching to the interface of the next user, the user can be prompted by voice, "Switched to the page of user B" . If the action performed by the user is single-leg abdominal lifting, and it meets the preset standard of single-leg abdominal lifting, the user can be prompted by voice, "You have entered your hybrid xx tree". After entering the combined species, if the user performs sit-ups and satisfies the standard of sit-ups, the user can be prompted by voice "You have watered xx tree 10g".
与前述利用健身动作触发客户端操作指令的方法的实施例相对应,本说明书还提供了一种利用健身动作触发客户端操作指令的装置及其所应用的终端的实施例。Corresponding to the foregoing embodiment of the method for triggering a client operation command by using a fitness action, this specification also provides an embodiment of a device for triggering a client operation command by using a fitness action and a terminal to which it is applied.
如图3所示,图3是本说明书根据一示例性实施例示出的一种利用健身动作触发客户端操作指令的装置的框图,所述装置包括:对应关系确定模块310,用于确定预设的操作指令与健身动作的对应关系;其中,每个操作指令对应于至少一个健身动作,任意两个操作指令对应的健身动作不重合。As shown in FIG. 3, FIG. 3 is a block diagram of a device for triggering client operation instructions by using fitness actions according to an exemplary embodiment of this specification. The device includes: a correspondence determination module 310, configured to determine a preset The corresponding relationship between the operation instruction and the fitness action; wherein, each operation instruction corresponds to at least one fitness action, and the fitness actions corresponding to any two operation instructions do not overlap.
运动姿态数据获取模块320,用于获取用户当前的运动姿态数据。The exercise posture data acquisition module 320 is configured to acquire the current exercise posture data of the user.
健身动作识别模块330,用于识别获取的运动姿态数据对应的健身动作。The exercise action recognition module 330 is configured to identify the exercise action corresponding to the acquired exercise posture data.
操作指令执行模块340,用于根据预设的操作指令与健身动作的对应关系,确定并执行健身动作对应的操作指令。The operation instruction execution module 340 is configured to determine and execute the operation instruction corresponding to the exercise action according to the preset correspondence between the operation instruction and the exercise exercise.
其中,对应关系确定模块310具体用于:确定用户自定义设置的操作指令与健身动作的对应关系。Wherein, the correspondence determining module 310 is specifically configured to: determine the correspondence between user-defined operating instructions and fitness actions.
在对应关系是用户自定义设置的情况下,该装置还可以包括自定义设置模块300,用于:确定用户的使用需求;所述使用需求包括以下至少一个:操作指令的执行需求,用户的锻炼需求;根据用户的使用需求,在对应关系选择页面向用户优先推荐和使用需求相对应的操作指令、健身动作或操作指令与健身动作之间的对应关系;确定用户选择的操作指令与健身动作之间的对应关系。In the case that the corresponding relationship is a user-defined setting, the device may also include a custom setting module 300, configured to: determine the user's use requirements; the use requirements include at least one of the following: the execution requirements of operation instructions, the user's exercise Requirements; according to the user's use needs, on the corresponding relationship selection page, recommend to the user the operation instructions, fitness actions corresponding to the use needs, or the corresponding relationship between the operation instructions and the fitness actions; determine the relationship between the operation instructions selected by the user and the fitness actions Correspondence between.
自定义设置模块300中,所述确定用户的使用需求,可以包括:确定用户执行频率大于预设频率阈值的常用操作指令;所述根据用户的使用需求,向用户优先推荐和使用需求相对应的操作指令、健身动作或操作指令与健身动作之间的对应关系,可以包括:在对应关系选择页面向用户优先展示常用操作指令。In the custom setting module 300, the determination of the user's usage requirements may include: determining that the user executes common operation instructions whose frequency is greater than a preset frequency threshold; The operation instruction, exercise action, or the correspondence between the operation instruction and the exercise action may include: preferentially displaying common operation instructions to the user on the correspondence selection page.
此外,自定义设置模块300中,所述确定用户的使用需求,还可以包括:确定用户的锻炼需求;所述根据用户的使用需求,向用户优先推荐和使用需求相对应的操作指令、健身动作或操作指令与健身动作之间的对应关系,还可以包括:根据用户的锻炼需求,确定预设数量的推荐动作;所述预设数量大于可设置的操作指令的数量;在对应关系选择页面向用户优先展示推荐动作。In addition, in the custom setting module 300, the determination of the user's use needs may also include: determining the user's exercise needs; according to the user's use needs, preferentially recommending to the user the operation instructions and fitness actions corresponding to the use needs Or the correspondence between operation instructions and fitness actions may also include: determining a preset number of recommended actions according to the user's exercise needs; the preset number is greater than the number of configurable operation instructions; Users are given priority to display recommended actions.
自定义设置模块300中,根据用户的使用需求,向用户优先推荐和使用需求相对应 的操作指令、健身动作或操作指令与健身动作之间的对应关系,还可以包括:根据用户的使用需求,确定与用户具有相似使用需求的用户群;确定该用户群的常用对应关系;在对应关系选择页面向用户优先展示常用对应关系。In the custom setting module 300, according to the use needs of the user, the operation instructions and fitness actions corresponding to the use needs are preferentially recommended to the user, or the corresponding relationship between the operation instructions and the fitness actions can also include: Determine the user group that has similar usage requirements as the user; determine the common correspondence of the user group; and preferentially display the common correspondence to the user on the correspondence selection page.
其中,运动姿态数据获取模块320,具体用于获取用户终端的摄像模块所拍摄的运动姿态数据。健身动作识别模块330,具体用于获取预先训练的特征提取模型和预先训练的动作识别模型;将所述用户的运动姿态数据输入所述特征提取模型,提取所述运动姿态数据的动作特征;将所述动作特征输入所述动作识别模型,确定所述用户的运动姿态数据对应的健身动作。其中,动作特征,可以为每一帧图像中人体关键点的位置特征;所述人体关键点用于标识人体动作。Wherein, the motion posture data acquisition module 320 is specifically configured to obtain motion posture data captured by the camera module of the user terminal. The fitness action recognition module 330 is specifically used to obtain a pre-trained feature extraction model and a pre-trained action recognition model; input the user's motion posture data into the feature extraction model, and extract the motion features of the motion posture data; The action features are input into the action recognition model to determine the fitness action corresponding to the user's exercise posture data. Wherein, the action feature may be the position feature of the key points of the human body in each frame of image; the key points of the human body are used to identify the action of the human body.
此外,运动姿态数据获取模块320,还可以具体用于获取预设时间内移动终端的运动传感器的测量序列,将所述测量序列作为运动姿态数据;所述运动传感器为用于检测移动终端的动态移动的传感器。健身动作识别模块330,还可以具体用于获取预先训练的动作识别模型;将所述测量序列输入所述动作识别模型,确定所述测量序列对应的动作标识。In addition, the motion posture data acquisition module 320 can also be specifically used to obtain the measurement sequence of the motion sensor of the mobile terminal within a preset time, and use the measurement sequence as motion posture data; the motion sensor is used to detect the motion of the mobile terminal. Mobile sensors. The fitness action recognition module 330 can also be specifically configured to obtain a pre-trained action recognition model; input the measurement sequence into the action recognition model, and determine the action identifier corresponding to the measurement sequence.
上述一种利用健身动作触发客户端操作指令的装置中各个模块的功能和作用的实现过程具体详见上述一种利用健身动作触发客户端操作指令的方法中对应步骤的实现过程,在此不再赘述。For the implementation process of the functions and functions of each module in the above-mentioned device for triggering client operation instructions by using fitness actions, please refer to the implementation process of corresponding steps in the above-mentioned method for triggering client operation instructions by using exercise actions, which will not be repeated here. repeat.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本说明书方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the device embodiment, since it basically corresponds to the method embodiment, for related parts, please refer to the part description of the method embodiment. The device embodiments described above are only illustrative, and the modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in One place, or it can be distributed to multiple network modules. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution in this specification. It can be understood and implemented by those skilled in the art without creative effort.
如图4所示,图4示出了实施例=利用健身动作触发客户端操作指令的装置所在计算机设备的一种硬件结构图,该设备可以包括:处理器1010、存储器1020、输入/输出接口1030、通信接口1040和总线1050。其中处理器1010、存储器1020、输入/输出接口1030和通信接口1040通过总线1050实现彼此之间在设备内部的通信连接。As shown in Figure 4, Figure 4 shows a hardware structure diagram of a computer device where the embodiment=uses a fitness action to trigger a client operation instruction device, the device may include: a processor 1010, a memory 1020, an input/output interface 1030 , a communication interface 1040 and a bus 1050 . The processor 1010 , the memory 1020 , the input/output interface 1030 and the communication interface 1040 are connected to each other within the device through the bus 1050 .
处理器1010可以采用通用的CPU(Central Processing Unit,中央处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本说明书实施例所提供的技术方案。The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit, central processing unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute related programs to realize the technical solutions provided by the embodiments of this specification.
存储器1020可以采用ROM(Read Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器1020可以存储操作系统和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器1020中,并由处理器1010来调用执行。The memory 1020 can be implemented in the form of ROM (Read Only Memory, read-only memory), RAM (Random Access Memory, random access memory), static storage device, dynamic storage device, and the like. The memory 1020 can store operating systems and other application programs. When implementing the technical solutions provided by the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1020 and invoked by the processor 1010 for execution.
输入/输出接口1030用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。The input/output interface 1030 is used to connect the input/output module to realize information input and output. The input/output/module can be configured in the device as a component (not shown in the figure), or can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, mouse, touch screen, microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, and the like.
通信接口1040用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。The communication interface 1040 is used to connect a communication module (not shown in the figure), so as to realize the communication interaction between the device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.), and can also realize communication through wireless means (such as mobile network, WIFI, Bluetooth, etc.).
总线1050包括一通路,在设备的各个组件(例如处理器1010、存储器1020、输入/输出接口1030和通信接口1040)之间传输信息。 Bus 1050 includes a path that carries information between the various components of the device (eg, processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
需要说明的是,尽管上述设备仅示出了处理器1010、存储器1020、输入/输出接口1030、通信接口1040以及总线1050,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本说明书实施例方案所必需的组件,而不必包含图中所示的全部组件。It should be noted that although the above device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components. In addition, those skilled in the art can understand that the above-mentioned device may only include components necessary to implement the solutions of the embodiments of this specification, and does not necessarily include all the components shown in the figure.
本说明书实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述的利用健身动作触发客户端操作指令的方法。The embodiment of this specification also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned method for triggering an operation instruction of a client by using a fitness action is implemented.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包 括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
Claims (12)
- 一种利用健身动作触发客户端操作指令的方法,包括:A method for using fitness actions to trigger client operation instructions, comprising:确定预设的操作指令与健身动作的对应关系;其中,每个操作指令对应于至少一个健身动作,任意两个操作指令对应的健身动作不重合;Determine the correspondence between preset operation instructions and fitness actions; wherein, each operation instruction corresponds to at least one fitness action, and the fitness actions corresponding to any two operation instructions do not overlap;获取用户当前的运动姿态数据;Obtain the user's current motion posture data;识别获取的运动姿态数据对应的健身动作;Identify the fitness action corresponding to the acquired motion posture data;根据预设的操作指令与健身动作的对应关系,确定并执行健身动作对应的操作指令。According to the preset corresponding relationship between the operation instruction and the exercise action, the operation instruction corresponding to the exercise action is determined and executed.
- 根据权利要求1所述方法,所述确定预设的操作指令与健身动作的对应关系,包括:According to the method according to claim 1, said determining the corresponding relationship between preset operation instructions and fitness actions comprises:确定用户自定义设置的操作指令与健身动作的对应关系。Determine the correspondence between the user-defined operating instructions and fitness actions.
- 根据权利要求2所述方法,自定义设置的方法包括:According to the method described in claim 2, the method for custom setting comprises:确定用户的使用需求;所述使用需求包括以下至少一个:操作指令的执行需求,用户的锻炼需求;Determine the user's usage requirements; the usage requirements include at least one of the following: execution requirements of operation instructions, user's exercise requirements;根据用户的使用需求,在对应关系选择页面向用户优先推荐和使用需求相对应的操作指令、健身动作或操作指令与健身动作之间的对应关系;According to the user's use needs, on the corresponding relationship selection page, preferentially recommend to the user the operation instructions, exercise actions corresponding to the use needs, or the correspondence between the operation instructions and the exercise actions;确定用户选择的操作指令与健身动作之间的对应关系。Determine the correspondence between the operation instruction selected by the user and the exercise action.
- 根据权利要求3所述方法,According to the method described in claim 3,所述确定用户的使用需求,包括:确定用户执行频率大于预设频率阈值的常用操作指令;The determination of the user's use requirements includes: determining that the user executes common operation instructions whose frequency is greater than a preset frequency threshold;所述根据用户的使用需求,向用户优先推荐和使用需求相对应的操作指令、健身动作或操作指令与健身动作之间的对应关系,包括:在对应关系选择页面向用户优先展示常用操作指令。According to the usage needs of the user, the preferential recommendation to the user of the operation instructions and fitness actions corresponding to the usage needs, or the correspondence between the operation instructions and the fitness actions, includes: preferentially displaying common operation instructions to the user on the corresponding relationship selection page.
- 根据权利要求3所述方法,According to the method described in claim 3,所述确定用户的使用需求,包括:确定用户的锻炼需求;The determination of the user's use needs includes: determining the user's exercise needs;所述根据用户的使用需求,向用户优先推荐和使用需求相对应的操作指令、健身动作或操作指令与健身动作之间的对应关系,包括:根据用户的锻炼需求,确定预设数量的推荐动作;所述预设数量大于可设置的操作指令的数量;在对应关系选择页面向用户优先展示推荐动作。According to the user's use needs, the priority recommendation to the user is the operation instruction, fitness action corresponding to the use demand, or the corresponding relationship between the operation instruction and the exercise action, including: according to the user's exercise demand, determining a preset number of recommended actions ; The preset number is greater than the number of configurable operation instructions; The recommended actions are preferentially displayed to the user on the corresponding relationship selection page.
- 根据权利要求3所述方法,所述根据用户的使用需求,向用户优先推荐和使用需求相对应的操作指令、健身动作或操作指令与健身动作之间的对应关系,包括:According to the method of claim 3, according to the use needs of the user, the priority recommendation to the user is the operation instruction, fitness action corresponding to the use demand, or the corresponding relationship between the operation instruction and the exercise action, including:根据用户的使用需求,确定与用户具有相似使用需求的用户群;According to the user's use needs, determine the user group that has similar use needs with the user;确定该用户群的常用对应关系;Determine the common correspondence of the user group;在对应关系选择页面向用户优先展示常用对应关系。On the corresponding relationship selection page, frequently used corresponding relationships are preferentially displayed to the user.
- 根据权利要求1所述方法,According to the described method of claim 1,所述获取用户的运动姿态数据,包括:获取用户终端的摄像模块所拍摄的运动姿态数据;The acquisition of the motion posture data of the user includes: obtaining the motion posture data captured by the camera module of the user terminal;所述识别获取的运动姿态数据对应的健身动作,包括:The fitness action corresponding to the exercise posture data acquired by the identification includes:获取预先训练的特征提取模型和预先训练的动作识别模型;Get pre-trained feature extraction models and pre-trained action recognition models;将所述用户的运动姿态数据输入所述特征提取模型,提取所述运动姿态数据的动作特征;Inputting the motion posture data of the user into the feature extraction model, and extracting the action features of the motion posture data;将所述动作特征输入所述动作识别模型,确定所述用户的运动姿态数据对应的健身动作。Input the action feature into the action recognition model to determine the fitness action corresponding to the user's exercise posture data.
- 根据权利要求7所述方法,所述动作特征,为每一帧图像中人体关键点的位置特征;所述人体关键点用于标识人体动作。According to the method according to claim 7, the action feature is the position feature of the key points of the human body in each frame of image; the key points of the human body are used to identify the action of the human body.
- 根据权利要求1所述方法,According to the described method of claim 1,所述获取用户的运动姿态数据,包括:获取预设时间内移动终端的运动传感器的测量序列,将所述测量序列作为运动姿态数据;所述运动传感器为用于检测移动终端的动态移动的传感器;The acquisition of the user's motion posture data includes: obtaining a measurement sequence of the motion sensor of the mobile terminal within a preset time, and using the measurement sequence as motion posture data; the motion sensor is a sensor used to detect the dynamic movement of the mobile terminal ;所述识别获取的运动姿态数据对应的健身动作,包括:The fitness action corresponding to the exercise posture data acquired by the identification includes:获取预先训练的动作识别模型;Obtain a pre-trained action recognition model;将所述测量序列输入所述动作识别模型,确定所述测量序列对应的动作标识。Input the measurement sequence into the action recognition model, and determine the action identifier corresponding to the measurement sequence.
- 一种利用健身动作触发客户端操作指令的装置,包括:A device for triggering client operation instructions by fitness actions, comprising:对应关系确定模块,用于确定预设的操作指令与健身动作的对应关系;其中,每个操作指令对应于至少一个健身动作,任意两个操作指令对应的健身动作不重合;A correspondence determination module, configured to determine the correspondence between preset operation instructions and fitness actions; wherein, each operation instruction corresponds to at least one fitness movement, and the fitness movements corresponding to any two operation instructions do not overlap;运动姿态数据获取模块,用于获取用户当前的运动姿态数据;The movement posture data acquisition module is used to obtain the user's current movement posture data;健身动作识别模块,用于识别获取的运动姿态数据对应的健身动作;A fitness action recognition module, used to identify the fitness action corresponding to the acquired motion posture data;操作指令执行模块,用于根据预设的操作指令与健身动作的对应关系,确定并执行健身动作对应的操作指令。The operation instruction execution module is used to determine and execute the operation instruction corresponding to the exercise action according to the preset correspondence between the operation instruction and the exercise exercise.
- 一种电子设备,包括:An electronic device comprising:处理器;processor;用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;其中,所述处理器通过运行所述可执行指令以实现如权利要求1-9中任一项所述的 方法。Wherein, the processor implements the method according to any one of claims 1-9 by running the executable instructions.
- 一种计算机可读存储介质,存储有计算机指令,所述计算机指令被处理器执行时实现如权利要求1-9中任一项所述的方法。A computer-readable storage medium storing computer instructions, which implement the method according to any one of claims 1-9 when the computer instructions are executed by a processor.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111093227.1 | 2021-09-17 | ||
CN202111093227.1A CN113849065A (en) | 2021-09-17 | 2021-09-17 | Method and device for triggering client operation instruction by using body-building action |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023040449A1 true WO2023040449A1 (en) | 2023-03-23 |
Family
ID=78974597
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/106220 WO2023040449A1 (en) | 2021-09-17 | 2022-07-18 | Triggering of client operation instruction by using fitness action |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113849065A (en) |
WO (1) | WO2023040449A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116225238A (en) * | 2023-05-10 | 2023-06-06 | 荣耀终端有限公司 | Man-machine interaction method and system |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113849065A (en) * | 2021-09-17 | 2021-12-28 | 支付宝(杭州)信息技术有限公司 | Method and device for triggering client operation instruction by using body-building action |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109621332A (en) * | 2018-12-29 | 2019-04-16 | 北京卡路里信息技术有限公司 | A kind of attribute determining method, device, equipment and the storage medium of body-building movement |
CN110991482A (en) * | 2019-10-31 | 2020-04-10 | 深圳市木瓜有子健康科技有限公司 | Body-building action recognition method, terminal and computer storage medium |
CN112306220A (en) * | 2019-07-31 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Control method and device based on limb identification, electronic equipment and storage medium |
CN113076002A (en) * | 2021-04-07 | 2021-07-06 | 江苏智恒文化科技有限公司 | Interconnected body-building competitive system and method based on multi-part action recognition |
CN113849065A (en) * | 2021-09-17 | 2021-12-28 | 支付宝(杭州)信息技术有限公司 | Method and device for triggering client operation instruction by using body-building action |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102622085A (en) * | 2012-04-11 | 2012-08-01 | 北京航空航天大学 | Multidimensional sense man-machine interaction system and method |
CN103809733B (en) * | 2012-11-07 | 2018-07-20 | 北京三星通信技术研究有限公司 | Man-machine interactive system and method |
CN104881122B (en) * | 2015-05-29 | 2018-10-09 | 深圳奥比中光科技有限公司 | A kind of body feeling interaction system Activiation method, body feeling interaction method and system |
CN108803874A (en) * | 2018-05-30 | 2018-11-13 | 广东省智能制造研究所 | A kind of human-computer behavior exchange method based on machine vision |
CN112543248A (en) * | 2020-11-24 | 2021-03-23 | 深圳传音控股股份有限公司 | Air-separating operation method, terminal and storage medium |
CN112637655A (en) * | 2021-01-08 | 2021-04-09 | 深圳市掌视互娱网络有限公司 | Control method and system of smart television and mobile terminal |
CN112965592A (en) * | 2021-02-24 | 2021-06-15 | 中国工商银行股份有限公司 | Equipment interaction method, device and system |
-
2021
- 2021-09-17 CN CN202111093227.1A patent/CN113849065A/en active Pending
-
2022
- 2022-07-18 WO PCT/CN2022/106220 patent/WO2023040449A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109621332A (en) * | 2018-12-29 | 2019-04-16 | 北京卡路里信息技术有限公司 | A kind of attribute determining method, device, equipment and the storage medium of body-building movement |
CN112306220A (en) * | 2019-07-31 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Control method and device based on limb identification, electronic equipment and storage medium |
CN110991482A (en) * | 2019-10-31 | 2020-04-10 | 深圳市木瓜有子健康科技有限公司 | Body-building action recognition method, terminal and computer storage medium |
CN113076002A (en) * | 2021-04-07 | 2021-07-06 | 江苏智恒文化科技有限公司 | Interconnected body-building competitive system and method based on multi-part action recognition |
CN113849065A (en) * | 2021-09-17 | 2021-12-28 | 支付宝(杭州)信息技术有限公司 | Method and device for triggering client operation instruction by using body-building action |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116225238A (en) * | 2023-05-10 | 2023-06-06 | 荣耀终端有限公司 | Man-machine interaction method and system |
CN116225238B (en) * | 2023-05-10 | 2024-06-21 | 荣耀终端有限公司 | Man-machine interaction method and system |
Also Published As
Publication number | Publication date |
---|---|
CN113849065A (en) | 2021-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3131027B1 (en) | Method for detecting activity information of user and electronic device thereof | |
KR102341985B1 (en) | Exercise assistant device and exercise assistant method | |
KR102091848B1 (en) | Method and apparatus for providing emotion information of user in an electronic device | |
WO2023040449A1 (en) | Triggering of client operation instruction by using fitness action | |
US10088901B2 (en) | Display device and operating method thereof | |
CN112447273A (en) | Method and electronic device for assisting fitness | |
KR102089002B1 (en) | Method and wearable device for providing feedback on action | |
CN111698564B (en) | Information recommendation method, device, equipment and storage medium | |
KR102466438B1 (en) | Cognitive function assessment system and method of assessing cognitive funtion | |
CN108132983A (en) | The recommendation method and device of clothing matching, readable storage medium storing program for executing, electronic equipment | |
WO2021218940A1 (en) | Workout class recommendation method and apparatus | |
CN114432683A (en) | Intelligent voice playing method and equipment | |
CN112349380A (en) | Body-building guidance method, device, equipment and storage medium based on cloud computing | |
JP2019016254A (en) | Method and system for evaluating user posture | |
WO2022174544A1 (en) | Action comparison method, apparatus, electronic device, storage medium, computer program product and computer program | |
US20220277845A1 (en) | Prompt method and electronic device for fitness training | |
CN112308880B (en) | Target user locking method and electronic equipment | |
CN113139506A (en) | Step counting method, step counting equipment and storage medium | |
CN106303939A (en) | The method and device of healthalert | |
KR20220039440A (en) | Display apparatus and method for controlling the display apparatus | |
CN108983956B (en) | Somatosensory interaction method and device | |
WO2023221233A1 (en) | Interactive mirroring apparatus, system and method | |
KR20230087352A (en) | Apparatus and method for detecting workout status | |
CN113842622B (en) | Motion teaching method, device, system, electronic equipment and storage medium | |
JP2022187952A (en) | Program, method, and information processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22868826 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22868826 Country of ref document: EP Kind code of ref document: A1 |