Search

CN-121999967-A - Exercise guidance method, terminal device, and readable storage medium

CN121999967ACN 121999967 ACN121999967 ACN 121999967ACN-121999967-A

Abstract

The present application relates to the field of terminal technologies, and in particular, to a motion guiding method, a terminal device, and a readable storage medium. In the method, before a user starts moving based on a target movement type, the terminal device can acquire historical movement achievements of the user corresponding to the target movement type according to historical movement data of the user corresponding to the target movement type in a historical period, and can determine a target lifting rate corresponding to the movement achievements through user portrait data (such as continuous movement duration of the user corresponding to the target movement type and the like). And calculating the target sports score corresponding to the target sports type through the target lifting rate and the historical sports score (such as the historical optimal score, the historical average score and the like). Therefore, before the user selects the target motion type and starts to move each time, the target motion score suitable for the science which the user can break through can be determined according to the historical motion data and the user portrait data of the target motion type corresponding to the user.

Inventors

  • WANG TING
  • YANG JIULONG

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260508
Application Date
20241108

Claims (20)

  1. 1. A method of motion guidance, applied to a terminal device, the method comprising: detecting a motion instruction, wherein the motion instruction corresponds to a first motion selected by a user; acquiring first historical data of a first exercise, wherein the first historical data comprises historical exercise achievements of the first exercise and continuous exercise duration of the first exercise; determining a target lift rate corresponding to the first motion based on the first historical data; Determining a first target athletic performance of the first athletic based on the historical athletic performance of the first athletic and the target lift; and displaying the first target athletic performance to a user.
  2. 2. The method of claim 1, wherein the detecting a motion command comprises: displaying a first interface of a first application program, wherein a plurality of sports items are displayed on the first interface; the movement instruction is detected corresponding to a selection operation of a first movement of the plurality of movement items by a user.
  3. 3. The method of claim 1, wherein the historical athletic performance of the first athletic performance is a historical athletic performance over a first statistical time period, wherein the first statistical time period is less than a duration of the athletic performance of the first athletic performance, wherein a last time in the first statistical time period is a first time at which the athletic instruction was detected, and The duration of the motion is a time interval between a second time and a third time, wherein the second time is a starting time of the first motion performed by the user for the first time determined based on historical data of the first application program, and the third time is an ending time of the first motion performed by the user last time before the first time.
  4. 4. The method of claim 1, wherein the historical athletic performance of the first athletic performance is a historical optimal athletic performance, or The historical athletic performance of the first athletic performance is a historical average athletic performance.
  5. 5. The method of claim 1, wherein the determining the first target athletic performance for the first athletic based on the historical athletic performance for the first athletic and the target lift comprises: determining that the continuous motion duration of the first motion is located in a first preset duration interval in a plurality of preset duration intervals, wherein the first preset duration interval corresponds to a first preset target lifting rate; and taking the first preset target lifting rate as the target lifting rate.
  6. 6. The method of claim 1, wherein the determining a target lift rate corresponding to the first motion based on the first historical data comprises: determining that the continuous motion duration of the first motion is located in a first preset duration interval in a plurality of preset duration intervals, wherein the first preset duration interval corresponds to a first preset target lifting rate; Determining a movement distance trend of the user in a second statistical time period based on the first historical data, wherein the second statistical time period is smaller than the first statistical time period; The first preset target lifting rate is reduced to obtain the target lifting rate according to the trend of the movement distance in a descending trend; And taking the first preset target lifting rate as the target lifting rate corresponding to the fact that the movement distance is not in a descending trend.
  7. 7. The method of claim 6, wherein the decreasing the first predetermined target lift rate to obtain the target lift rate corresponds to the decreasing trend of the movement distance, comprising: The target lift rate is calculated based on the following formula, target lift rate= (first preset target lift rate-lift rate adjustment threshold).
  8. 8. The method of claim 6, wherein the determining a target lift rate corresponding to the first motion based on the first historical data further comprises: determining that the continuous motion duration of the first motion is located in a first preset duration interval in a plurality of preset duration intervals, wherein the first preset duration interval corresponds to a first preset target lifting rate; The first temperature corresponding to the first movement performed by the user does not belong to a first temperature range, or the first humidity of the first movement performed by the user does not belong to a first humidity range, and the target lifting rate is obtained after the first preset target lifting rate is reduced; And the first temperature corresponding to the first movement performed by the user currently belongs to a first temperature range, the first humidity of the first movement performed by the user currently belongs to a first humidity range, and the first preset target lifting rate is taken as the target lifting rate.
  9. 9. The method of claim 8, wherein the target lift rate is obtained after decreasing the first preset target lift rate corresponding to the first temperature at which the user is currently performing the first motion not belonging to the first temperature range or the first humidity at which the user is currently performing the first motion not belonging to the first humidity range, comprising: Calculating the target lift rate based on the following formula: Target rate of rise = first preset target rate of rise- [ temperature weight threshold (first temperature-first temperature threshold) +humidity weight threshold (first temperature-first temperature threshold) ].
  10. 10. The method of claim 1, wherein the determining the first target athletic performance for the first athletic based on the historical athletic performance for the first athletic and the target lift comprises: And taking the sum of the product of the historical athletic performance of the first exercise and the target lifting rate and the historical athletic performance of the first exercise as the first target athletic performance.
  11. 11. The method as recited in claim 1, further comprising: And in the process of performing the first exercise by the user, adjusting the first target exercise score based on the real-time exercise index of the user.
  12. 12. The method of claim 11, wherein adjusting the first target athletic performance based on the user's real-time athletic performance during the first athletic performance by the user comprises: acquiring real-time motion indexes of a user, wherein the real-time motion indexes comprise at least one of speed allocation, stride and stride frequency; corresponding to the real-time sports index meeting a first sports score adjustment condition, improving the first target sports score to a second target sports score based on a sports score adjustment threshold; The first athletic performance adjustment condition comprises at least one of the following steps that the matching speed of the user for performing the first exercise is larger than the historical maximum matching speed, the stride of the user for performing the first exercise is larger than the historical maximum stride, and the stride frequency of the user for performing the first exercise is larger than the historical maximum stride frequency.
  13. 13. The method of claim 12, wherein the adjusting the first target athletic performance based on the user's real-time athletic performance during the first athletic performance by the user further comprises: And displaying the second target athletic performance.
  14. 14. The method of claim 11, wherein adjusting the first target athletic performance based on the user's real-time athletic performance during the first athletic performance by the user comprises: acquiring real-time motion indexes of a user, wherein the real-time motion indexes comprise at least one of speed allocation, stride and stride frequency; The sports index corresponding to the first sports performed by the user meets a second sports score adjustment condition, and the target sports score is reduced to a third target sports score based on a sports score adjustment threshold; The second exercise adjustment condition comprises at least one of the following steps that the speed of the user for performing the first exercise is smaller than the historical maximum speed and larger than the historical minimum speed, the stride of the user for performing the first exercise is smaller than the historical maximum stride and larger than the historical minimum stride, and the stride frequency of the user for performing the first exercise is smaller than the historical maximum stride frequency and larger than the historical minimum stride frequency.
  15. 15. The method of claim 14, wherein the adjusting the first target athletic performance based on the user's real-time athletic performance during the first athletic performance by the user further comprises: And displaying the third target athletic performance.
  16. 16. The method as recited in claim 1, further comprising: Detecting that a user obtains a first intermediate sports score, wherein the first intermediate sports score is the product of a first target sports score and an attenuation threshold value, the attenuation threshold value is a decimal value which is more than 0.85 and less than 1, and displaying excitation prompt information for the user, wherein the excitation prompt information is used for prompting the user that the first target sports score is about to be achieved; and detecting that the user reaches the first target athletic performance, and displaying achievement prompt information, wherein the achievement prompt information is used for prompting the user that the first target athletic performance is reached.
  17. 17. The method as recited in claim 11, further comprising: acquiring a real-time heart rate of a user in the process of performing the first exercise by the user; And in response to the real-time heart rate being greater than a first heart rate threshold, wherein the first heart rate threshold is greater than a historical maximum heart rate of the user, not displaying the first target athletic performance.
  18. 18. The method as recited in claim 11, further comprising: acquiring a real-time heart rate of a user in the process of performing the first exercise by the user; And not displaying the first target athletic performance, wherein the duration corresponding to the real-time heart rate being greater than the historical maximum heart rate is greater than a duration threshold.
  19. 19. A terminal device comprising a memory including physical memory and external memory for storing instructions for execution by one or more processors of the terminal device, and a processor for executing the instructions to cause the terminal device to implement the motion guidance method of any one of claims 1 to 18.
  20. 20. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when run by a terminal device, causes the terminal device to implement the motion guidance method of any one of claims 1 to 18.

Description

Exercise guidance method, terminal device, and readable storage medium Technical Field The present application relates to the field of terminal technologies, and in particular, to a motion guiding method, a terminal device, and a readable storage medium. Background More and more users choose to record data during exercise using an application program (e.g., sports health) in the terminal device in order to develop good exercise habits. The user can turn on the sports health setting sports type and sports goal before each sports. For example, the user sets the exercise type to run, and the set running target is 6 km. Some users hope to break through the historical optimal sports score when in sports, for example, the historical optimal sports score of the users is 6 km, and then the users can set the current target sports score to be 8 km. When the user runs 8 km successfully, the 8 km becomes the best athletic performance of the user in the athletic item of running. However, the target athletic performance set manually by the user is unchanged, and in some scenarios, after the user achieves the target athletic performance set by the user, the user still has the ability to break through the target athletic performance set by the user (for example, 8 km), for example, the user has the ability to run through 10 km. The current sports application cannot provide a target sports score suitable for the user to break through, and the target sports score is superior to the historical sports score of the user. Based on this, the user may not break through the best athletic performance that the user can achieve for a long time, i.e., the user cannot be helped to promote the best athletic performance. Disclosure of Invention In order to solve the above problems, embodiments of the present application provide a motion guiding method, a terminal device, and a readable storage medium. In a first aspect, the application provides a task processing method applied to a terminal device, the method comprises the steps of detecting a motion command, wherein the motion command corresponds to a first motion selected by a user, obtaining first historical data of the first motion, the first historical data comprise historical motion achievements of the first motion and continuous motion duration of the first motion, determining a target lifting rate corresponding to the first motion based on the first historical data, determining a first target motion achievements of the first motion based on the historical motion achievements of the first motion and the target lifting rate, and displaying the first target motion achievements to the user. It will be appreciated that the terminal device may refer to the mobile phone 10 and the like in the embodiments of the present application, and the first exercise may include, but is not limited to, outdoor running, indoor running, outdoor riding, swimming, rope skipping, rock climbing, mountain climbing, skiing, ball sports, yoga, prasugrel and the like. In some embodiments of the present application, the duration of the target motion type may refer to the length of time from the start time of the user's motion based on the target motion type to the end time of the last recording. For example, by determining that the date when the user starts running is 1 month, 1 day, 5, and the last recorded end time is 10 months, 10 days, 5, and the time length is 9 months according to the exercise data recorded by the exercise health application, the duration of the user corresponding to the running target exercise type may be determined to be greater than 6 months and less than 1 year, which is not limited herein. Based on the method, before the user selects the target motion type and starts the motion each time, the target motion score suitable for the user to break through can be determined according to the historical motion score and the continuous motion duration of the user corresponding to the target motion type. And, this goal athletic performance is more scientific than the goal athletic performance subjectively set by the user. In one possible implementation of the first aspect, detecting the motion instruction includes displaying a first interface of the first application, the first interface displaying a plurality of motion items, and detecting the motion instruction corresponding to a user selection operation of a first motion of the plurality of motion items. It is to be appreciated that the first interface may refer to the interface 103 mentioned in the embodiments of the present application, the first exercise may refer to the running exercise mentioned in the embodiments of the present application, and the selection operation of the first exercise may refer to the operation of the running selection control 1031 mentioned in the embodiments of the present application, which is not limited herein. Based on this, the type of target motion selected by the user can be determined. In one possible i