CN108635805B - Motion reminding method and terminal equipment - Google Patents

Motion reminding method and terminal equipment Download PDF

Info

Publication number
CN108635805B
CN108635805B CN201810268839.1A CN201810268839A CN108635805B CN 108635805 B CN108635805 B CN 108635805B CN 201810268839 A CN201810268839 A CN 201810268839A CN 108635805 B CN108635805 B CN 108635805B
Authority
CN
China
Prior art keywords
motion
target user
target
value
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810268839.1A
Other languages
Chinese (zh)
Other versions
CN108635805A (en
Inventor
李江林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810268839.1A priority Critical patent/CN108635805B/en
Publication of CN108635805A publication Critical patent/CN108635805A/en
Application granted granted Critical
Publication of CN108635805B publication Critical patent/CN108635805B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B71/00Games or sports accessories not covered in groups A63B1/00 - A63B69/00
    • A63B71/06Indicating or scoring devices for games or players, or for other sports activities

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The embodiment of the invention discloses an exercise reminding method and terminal equipment, relates to the technical field of terminals, and can solve the problem that the terminal equipment cannot acquire the energy consumed by a user in each exercise state because the total calories consumed by the user in the exercise process can only reflect the total energy consumed by the user in the whole exercise process. The specific scheme is as follows: acquiring a first energy value, wherein the first energy value is used for indicating energy consumed in the process of a current movement project of a target user, the movement project comprises M actions, and M is a positive integer; detecting whether the first energy value is greater than a first threshold value; and when the first energy value is larger than the first threshold value, reminding the target user of excessive motion according to at least one of the motion items or the M motions. The embodiment of the invention is applied to the process of reminding the user of excessive movement.

Description

Motion reminding method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of terminals, in particular to a motion reminding method and terminal equipment.
Background
With the advent of the terminal equipment intelligent era, the functions of the terminal equipment are more and more powerful. For example, the terminal device has a function of monitoring the motion state of the user in addition to basic functions such as short messages and calls.
At present, a terminal device can monitor the motion state of a user through an intelligent bracelet and calculate calories consumed by the user in the motion state. Specifically, the terminal device can acquire the time required by one step of the current movement of the user through the smart bracelet, and determine the current movement state of the user according to the time; the terminal device records the number of steps of the user in the current motion state, and calculates the total calories consumed by the user by using the calories consumed by the single-step motion in each preset motion state and the recorded number of steps of the user in the current motion state.
However, in the above method, since the total calories consumed by the user during the exercise process can only reflect the total energy consumed by the user during the whole exercise process, the terminal device cannot acquire the energy consumed by the user in each exercise state.
Disclosure of Invention
The embodiment of the invention provides an exercise reminding method and terminal equipment, which can solve the problem that the terminal equipment cannot acquire the energy consumed by a user in each exercise state because the total calories consumed by the user in the exercise process can only reflect the total energy consumed by the user in the whole exercise process.
In order to solve the technical problem, the embodiment of the invention adopts the following technical scheme:
in a first aspect of the embodiments of the present invention, an exercise reminding method is provided, where the exercise reminding method includes: acquiring a first energy value, wherein the first energy value is used for indicating energy consumed in the process of a current movement project of a target user, the movement project comprises M actions, and M is a positive integer; detecting whether the first energy value is greater than a first threshold value; and when the first energy value is larger than the first threshold value, reminding the target user of excessive motion according to at least one of the motion items or the M motions.
In a second aspect of the embodiments of the present invention, there is provided a terminal device, including: the device comprises an acquisition unit, a detection unit and a reminding unit. The system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring a first energy value, the first energy value is used for indicating energy consumed in the process of currently performing an exercise item by a target user, the exercise item comprises M actions, and M is a positive integer. And the detection unit is used for detecting whether the first energy value acquired by the acquisition unit is larger than a first threshold value. And the reminding unit is used for reminding the target user of excessive movement according to at least one of the movement items or the M movements when the detection unit detects that the first energy value is larger than the first threshold value.
In a third aspect of the embodiments of the present invention, a terminal device is provided, where the terminal device includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and when the computer program is executed by the processor, the steps of the exercise reminding method according to the first aspect are implemented.
In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the exercise reminding method according to the first aspect.
The embodiment of the invention provides a movement reminding method, and when detecting that a first energy value is larger than a first threshold value, a terminal device can remind a target user of excessive movement according to a movement item or at least one of M movements. The first energy value is used for indicating the energy consumed by the target user in the process of currently performing the sports item, namely the first energy value can reflect the energy consumed by the target user in the current sports state, so that the terminal device can acquire the energy consumed by the target user in each sports state; and the first threshold is a measurement standard for judging whether the target user excessively moves in the process of carrying out the movement project by the terminal equipment, and the first energy value is larger than the first threshold to represent that the target user excessively moves, so that the terminal equipment can remind the target user of excessive movement in real time when the first energy value is larger than the first threshold, and the intelligence and the convenience of the movement management of the terminal equipment are improved.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a first flowchart of a motion reminding method according to an embodiment of the present invention;
fig. 3 is a flowchart of a second exercise reminding method according to an embodiment of the present invention;
fig. 4 is a flowchart of a movement reminding method provided by the embodiment of the invention;
FIG. 5 is a diagram illustrating an example of resolving power in spatial coordinates according to an embodiment of the present invention;
fig. 6 is a fourth flowchart of a movement reminding method according to an embodiment of the present invention;
fig. 7 is a flowchart of a movement reminding method according to a fifth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second," and the like, in the description and in the claims of embodiments of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first algorithm and the second algorithm, etc. are used to distinguish different algorithms, rather than to describe a particular order of the algorithms. In the description of the embodiments of the present invention, the meaning of "a plurality" means two or more unless otherwise specified.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The embodiment of the invention provides an exercise reminding method and terminal equipment, which can be applied to the process of reminding a user of excessive exercise, and can remind a target user of excessive exercise according to an exercise item or at least one of M actions when a first energy value is detected to be larger than a first threshold value, so that the problem that in the prior art, the terminal equipment cannot acquire the energy consumed by the user in each exercise state because the total calorie consumed by the user in the exercise process can only reflect the total energy consumed by the user in the whole exercise process can be solved.
The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment applied to the motion reminding method provided by the embodiment of the invention, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the motion reminding method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the motion reminding method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the movement reminding method provided by the embodiment of the invention by running the software program in the android operating system.
In a first embodiment of the present invention, fig. 2 shows an exercise reminding method provided in an embodiment of the present invention, which can be applied to a terminal device having an android operating system as shown in fig. 1. As shown in fig. 2, the exercise reminding method includes the following steps 201 to 203.
Step 201, the terminal device obtains a first energy value.
The first energy value is used for indicating energy consumed in the process of currently performing an exercise item by the target user, the exercise item comprises M actions, and M is a positive integer.
In the embodiment of the invention, the terminal device can acquire the first energy value through the intelligent wearable device (such as an intelligent bracelet, an intelligent watch and the like), and the first energy value can reflect the energy consumed by the target user in the current motion state.
For example, the first energy value in the embodiment of the present invention may be calories consumed during the current performance of the athletic event by the target user; the athletic items may be running, gym, walking, etc., each athletic item including at least one athletic movement.
It can be understood that, in the embodiment of the present invention, before performing step 201, the terminal device may receive an input of the target user, where the input is an input of the target user for the target feature information; the terminal device may save the target characteristic information of the target user in the terminal device in response to the input.
For example, the target characteristic information may include information such as height, type, sex, weight, and age of the target user performing the athletic activity.
Optionally, in the embodiment of the present invention, as shown in fig. 3 in combination with fig. 2, step 201 may be specifically implemented by steps 301 to 303 described below.
Step 301, the terminal device obtains source data.
The source data is data generated by the target user in the process of performing the sports.
In the embodiment of the invention, the terminal equipment can acquire the data generated by the target user in the process of performing the sports through the intelligent wearable equipment.
Optionally, in this embodiment of the present invention, the source data may include exercise data and physiological parameters generated by the target user during the exercise process.
For example, athletic data may include data regarding forces generated by a user during performance of an athletic event; the physiological parameters may include pulse, heartbeat, blood pressure, etc. of the user in the process of performing the exercise program.
Illustratively, the terminal device acquires data generated by main body parts (such as legs, waist, arms and the like) of a target user in the process of performing the sports through a pressure unit and an inertial sensor of the intelligent wearable device.
Step 302, the terminal device performs data processing on the source data to obtain a first motion state information value.
Wherein the first motion state information value is used to indicate a degree of motion of the target user in performing the sporting event.
For example, in the embodiment of the present invention, the terminal device may allocate and process the source data through a core processing unit of the smart wearable device, that is, classify and process the source data, and then perform Extract-Transform-Load (ETL) processing on the allocated and processed source data through a signal extraction and calculation module (including a gravity acquisition unit, a conversion unit, and a smoothing unit) of the smart wearable device, so as to obtain the first motion state information value.
Optionally, in this embodiment of the present invention, as shown in fig. 4 in combination with fig. 3, the step 302 may be specifically implemented by the following steps 302a to 302 c.
Step 302a, the terminal device analyzes the source data to obtain target motion data.
The target motion data is motion data generated by a target user in the process of performing an exercise item, and the target motion data comprises data of force generated by the target user in the process of performing the exercise item.
In the embodiment of the invention, the terminal equipment can perform ETL analysis on the source data through the gravity acquisition unit of the signal extraction and calculation module of the intelligent wearable equipment so as to extract the target motion data from the source data.
Optionally, in this embodiment of the present invention, the force data may include the magnitude and direction of the force generated by the target user during the performance of the athletic event.
For example, the force data may include the magnitude and direction of the force generated by the target user when performing any of the M motions of the athletic item.
And step 302b, the terminal device obtains the resolving power of the force in the preset direction according to the force data.
In the embodiment of the present invention, the preset direction may be at least one direction of an X-axis direction, a Y-axis direction, and a Z-axis direction on a spatial coordinate; alternatively, the preset direction may be any direction predefined in space.
For example, the preset directions are assumed to be an X-axis direction, a Y-axis direction, and a Z-axis direction on the spatial coordinates. As shown in fig. 5, the data of the force generated by the target user during the exercise is the force F as shown in fig. 5, and the terminal device decomposes the force F into a decomposition force F in the X-axis direction according to the magnitude and direction of the force FxThe resolving force F in the Y-axis directionyAnd a resolving force F in the Z-axis directionz
And step 302c, the terminal equipment processes the resolving power by adopting a second algorithm to obtain a first motion state information value.
Optionally, in this embodiment of the present invention, the second algorithm may be an algorithm preset by the terminal device, and the second algorithm may be an algorithm for calculating a median, a mode, a mean, or a variance.
Illustratively, the terminal device may process the resolving power by using a second algorithm through a conversion unit of a signal extraction and calculation module of the intelligent wearable device to obtain a first motion state information value.
Illustratively, the force of resolution in the predetermined direction includes a resolution force FxDecomposition force FyAnd a resolving power FzAnd F isxN.m. n.fyN newtons, FzM newtons. The terminal equipment can adopt an algorithm for calculating median to correct the resolution Fx、FyAnd FzCalculating the median to obtain a first motion state information value m, where the first motion state information value m may be used to indicate that the target user is presentThe degree of movement during the performance of the sporting event, the magnitude of the force generated by the target user during the performance of the sporting event in the X-axis direction and the Z-axis direction is m.
It should be noted that, in the embodiment of the present invention, after the terminal device executes step 302c, the terminal device may further perform exponential smoothing processing on the obtained first motion state information value through a smoothing unit of a signal extraction and calculation module of the intelligent wearable device, so as to achieve a data denoising effect.
Step 303, the terminal device obtains a first energy value according to the first motion state information value and the first algorithm.
Wherein the first algorithm is used for indicating the mapping relation between the motion state information value and the energy value.
In the embodiment of the present invention, the first algorithm may be an algorithm preset by the terminal device, and the terminal device may calculate the first energy value through a mapping relationship between the motion state information value and the energy value.
Optionally, in the embodiment of the present invention, as shown in fig. 6 in combination with fig. 3, the step 303 may be specifically implemented by the following steps 303a to 303 c.
And step 303a, the terminal equipment acquires first mechanical work generated by the target user in the process of performing the sports item according to the first motion state information value and the third algorithm.
Wherein the third algorithm is used for indicating a mapping relation between the motion state information value and the mechanical work.
In this embodiment of the present invention, the third algorithm may be an algorithm preset by the terminal device, and the terminal device may calculate the first mechanical work through a mapping relationship between the motion state information value and the mechanical work.
For example, the terminal device may map the first motion state information value m into a preset third algorithm, and calculate the first mechanical work.
And step 303b, the terminal equipment converts the first mechanical work to obtain second mechanical work.
In the embodiment of the invention, the terminal equipment can convert the first mechanical work through the curve conversion factor prestored in the terminal equipment to obtain the second mechanical work.
For example, the terminal device may calculate a product between the first mechanical work and the curve conversion factor to obtain the second mechanical work.
And step 303c, the terminal device obtains a first energy value according to the second mechanical work and the first algorithm.
In the embodiment of the invention, the terminal device can calculate the first energy value through the mapping relation between the second mechanical work and the first energy value.
Step 202, the terminal device detects whether the first energy value is greater than a first threshold value.
In the embodiment of the invention, the terminal device can judge whether the first energy value is greater than the first threshold value through the pre-stored classification model. The first threshold is a measure for judging whether the target user moves excessively in the process of performing the sports item.
Optionally, in the embodiment of the present invention, with reference to fig. 2, as shown in fig. 7, before step 202, the exercise reminding method provided in the embodiment of the present invention further includes the following steps 701 to 703.
Step 701, the terminal device obtains historical motion data of a plurality of users.
The historical motion data is the motion data of a plurality of users under normal conditions.
In the embodiment of the present invention, the "normal condition" may be understood as: m actions of the sport items preset by the terminal equipment are all reference actions or standard actions, and a user carries out the sport item according to the reference actions or the standard actions.
Optionally, in this embodiment of the present invention, the historical exercise data may be data of forces generated during the process of performing the exercise item by the user according to the reference actions or the standard actions, such as the magnitude and the direction of the forces.
It can be understood that, in the embodiment of the present invention, before performing step 701, the terminal device may receive an input of each user in the plurality of users, where the input is an input of feature information of the user by each user; the terminal device may save the characteristic information of the user in the terminal device in response to the input.
For example, the characteristic information may include information such as a height, a type of athletic activity, a sex, a weight, and an age of the user.
Step 702, the terminal device trains the historical motion data to obtain at least one classification model.
One classification model corresponds to a threshold value, and one classification model is used for indicating characteristic information of one class of users.
For example, it is assumed that 10 users are all performing the same kind of sports, and the characteristic information input by each of the 10 users is the sex and weight of the user. And the terminal equipment trains the acquired historical motion data of the 10 users to obtain at least one classification model.
For example, the terminal device trains the acquired historical motion data of 10 users to obtain 5 classification models. As shown in table 1, an example of a corresponding relationship between a classification model, a threshold value, and feature information of a class of users provided by the embodiment of the present invention is given in a table manner.
TABLE 1
Figure BDA0001612040690000061
Referring to table 1, a classification model a corresponds to a threshold 1, and the classification model a is used to indicate feature information 1 of a class a user; the classification model B corresponds to a threshold value 2, and the classification model B is used for indicating the characteristic information 2 of the class B users; the classification model C corresponds to a threshold value 3, and the classification model C is used for indicating the characteristic information 3 of the class C users; the classification model D corresponds to a threshold value 4, and is used for indicating the characteristic information 4 of the D-class users; the classification model E corresponds to a threshold 5, and the classification model E is used for indicating the feature information 5 of the class E user.
For example, assume that 4 users of gender are female and 6 users of gender are male among 10 users. There are 2 class a users in table 1, and the feature information 1 of the class a user is: gender was female and body weight was in the x1 to x2 range (which includes x1 and x 2); there are 2 class B users, and the feature information 2 of the class B user is: gender was female and body weight was in the x2 to x3 range (this range excludes x2, includes x 3); there are 2 class C users, and the feature information 3 of the class C user is: gender was male and body weight was in the x3 to x4 range (this range excludes x3, includes x 4); there are 3 class D users, and the feature information 4 of the class D user is: gender was male and body weight was in the x4 to x5 range (this range excludes x4, includes x 5); there are 1 class E user, and the feature information 5 of the class E user is: gender was male and body weight was in the x5 to x6 range (this range excludes x5, including x 6).
Optionally, in the embodiment of the present invention, the classification model may be a gradient ascending decision tree model; alternatively, the classification model may be another classification model.
Step 703, the terminal device determines a target classification model corresponding to the target characteristic information according to the target characteristic information of the target user.
Wherein the target classification model corresponds to a first threshold.
In the embodiment of the present invention, the terminal device may input the target feature information of the target user into at least one classification model, determine a target classification model corresponding to the target feature information, and determine the first threshold according to the target classification model.
For example, assume that the target feature information input by the target user is: gender was female, and body weight was x 3. The terminal device may input the target feature information (i.e., the gender is female, and the weight is x3) into the classification models a to e, compare the target feature information with the feature information of the class B user indicated by each classification model a to e, and determine that the target feature information corresponds to the feature information 2 of the class B user, and then determine that the target classification model corresponding to the target feature information is the classification model B, where the classification model B corresponds to the first threshold.
And 203, when the first energy value is larger than the first threshold value, the terminal equipment reminds the target user of excessive movement according to at least one of the movement items or the M movements.
In the embodiment of the invention, under the condition that the first energy value is greater than the first threshold value, the terminal device can remind the target user of excessive movement according to the movement item after the target user completes the movement item; or the terminal device may remind the target user of excessive movement according to at least one of the M actions of the sports item during the process of the sports item by the target user.
For example, the terminal device may remind the target user of excessive movement when the target user completes one sport item and performs the next sport item; the terminal device can also remind the target user of excessive movement in at least one process of the M action of the movement item of the target user.
Optionally, in the embodiment of the present invention, the terminal device may remind the target user of excessive movement in at least one of a preset ring and a preset shake; or, the terminal device may further remind the target user of the excessive movement in a manner of presetting at least one of a ring tone and a vibration and displaying a prompt message (the prompt message is used for indicating the excessive movement of the target user) on a display interface of the terminal device.
The embodiment of the invention provides a movement reminding method, and when detecting that a first energy value is larger than a first threshold value, a terminal device can remind a target user of excessive movement according to a movement item or at least one of M movements. The first energy value is used for indicating the energy consumed by the target user in the process of currently performing the sports item, namely the first energy value can reflect the energy consumed by the target user in the current sports state, so that the terminal device can acquire the energy consumed by the target user in each sports state; and the first threshold is a measurement standard for judging whether the target user excessively moves in the process of carrying out the movement project by the terminal equipment, and the first energy value is larger than the first threshold to represent that the target user excessively moves, so that the terminal equipment can remind the target user of excessive movement in real time when the first energy value is larger than the first threshold, and the intelligence and the convenience of the movement management of the terminal equipment are improved.
Furthermore, the terminal device reminds the target user of excessive movement in real time, so that the target user can avoid the health problem caused by excessive movement, and the user experience is improved.
Optionally, in the embodiment of the present invention, after the step 203, the exercise reminding method provided in the embodiment of the present invention further includes the following step 801.
Step 801, displaying, by the terminal device, a first tag on a display interface of the terminal device.
Wherein the first tag is used to indicate a reference sport corresponding to the sport of excessive sports or a reference motion corresponding to at least one motion of excessive sports.
Optionally, in this embodiment of the present invention, the first tag may be an entry of a reference motion item recommended by the terminal device for the target user, the reference motion item corresponding to the motion item of the excessive motion, or a video related to a reference motion corresponding to at least one motion of the excessive motion, or the like; the target user may perform an operation (e.g., a click or press operation) on the first tab to view a reference athletic maneuver corresponding to the overly-athletic maneuver, or a reference action corresponding to at least one of the overly-athletic maneuvers.
For example, in the embodiment of the present invention, the first tag may be an entry of a video of a reference sport corresponding to the sport that moves excessively or a video of a reference motion corresponding to at least one motion that moves excessively; alternatively, the first tag may also be an entry of text of a reference motion item corresponding to the excessively moving motion item or text of a reference motion corresponding to at least one motion of the excessive movement.
Optionally, in the embodiment of the present invention, after the step 203, the exercise reminding method provided in the embodiment of the present invention further includes the following step 901.
Step 901, after the user finishes the sports item, the terminal device displays a second label on a display interface of the terminal device for all energy values of which the energy values are less than or equal to the first threshold.
Wherein the second label is used to indicate the complement of all energy values.
Optionally, in the embodiment of the present invention, the second tag may be an entry of a complementary scheme of all energy values recommended by the terminal device for the target user; the target user may perform an operation (e.g., a click or press operation) on the second tab to view the complement of all energy values.
For example, in the embodiment of the present invention, the supplement scheme may supplement food information (such as the type and quantity of food) required by all energy values, energy values corresponding to each food, collocation information between each food, and the like for the target user.
Illustratively, the supplementary scheme may be a scheme in the form of text information; alternatively, the supplementary scheme may be a scheme in the form of video.
Because the terminal device can display the second label on the display interface of the terminal device after the user finishes the sports item to indicate the supplement scheme of all energy values of the target user, the intelligence and the convenience of the health management of the terminal device are further improved, and the use viscosity and the comfort of the user on the terminal device are further improved.
In a second embodiment of the present invention, fig. 8 shows a schematic diagram of a possible structure of a terminal device involved in the embodiment of the present invention. As shown in fig. 8, the terminal device 80 may include: an acquisition unit 81, a detection unit 82 and a reminder unit 83.
The obtaining unit 81 is configured to obtain a first energy value, where the first energy value is used to indicate energy consumed by a target user in a process of currently performing an exercise program, where the exercise program includes M actions, and M is a positive integer. A detecting unit 82, configured to detect whether the first energy value acquired by the acquiring unit 81 is greater than a first threshold. And the reminding unit 83 is configured to remind the target user of excessive movement according to the movement item or at least one of the M movements when the detecting unit 82 detects that the first energy value is greater than the first threshold.
In a possible implementation manner, the obtaining unit 81 is specifically configured to: acquiring source data, wherein the source data are data generated by a target user in the process of performing an exercise project; performing data processing on the source data to obtain a first motion state information value, wherein the first motion state information value is used for indicating the degree of motion of a target user in the process of performing a motion project; and acquiring a first energy value according to the first motion state information value and a first algorithm, wherein the first algorithm is used for indicating the mapping relation between the motion state information value and the energy value.
In a possible implementation manner, the obtaining unit 81 is specifically configured to: analyzing the source data to obtain target motion data, wherein the target motion data is motion data generated by a target user in the process of performing an exercise project, and the target motion data comprises force data generated by the target user in the process of performing the exercise project; according to the force data, obtaining the decomposition force of the force in the preset direction; and processing the resolving power by adopting a second algorithm to obtain a first motion state information value.
In a possible implementation manner, the obtaining unit 81 is specifically configured to: acquiring first mechanical work generated by a target user in the process of performing an exercise project according to the first exercise state information value and a third algorithm, wherein the third algorithm is used for indicating the mapping relation between the exercise state information value and the mechanical work; converting the first mechanical work to obtain second mechanical work; and acquiring a first energy value according to the second mechanical work and the first algorithm.
In a possible implementation manner, the obtaining unit 81 is further configured to obtain historical motion data of the plurality of users before the detecting unit 82 detects whether the first energy value is greater than the first threshold, where the historical motion data is motion data of the plurality of users under normal conditions. The terminal device 80 in the embodiment of the present invention further includes: a training unit and a determination unit. The training unit is used for training historical motion data to obtain at least one classification model, one classification model corresponds to a threshold value, and one classification model is used for indicating characteristic information of one class of users. And the determining unit is used for determining a target classification model corresponding to the target characteristic information according to the target characteristic information of the target user, wherein the target classification model corresponds to the first threshold value.
In a possible implementation manner, the terminal device 80 in the embodiment of the present invention further includes: a first display unit. The first display unit is configured to display a first label on a display interface of the terminal device after the reminding unit 83 reminds the target user of excessive movement, where the first label is used to indicate a reference movement item corresponding to the movement item of the excessive movement or a reference action corresponding to at least one action of the excessive movement.
In a possible implementation manner, the terminal device 80 in the embodiment of the present invention further includes: and a second display unit. And the second display unit is used for displaying a second label on the display interface of the terminal equipment after the user finishes the sports item, wherein the second label is used for indicating the supplement scheme of all the energy values, and the energy values are less than or equal to the first threshold.
The terminal device 80 provided in the embodiment of the present invention can implement each process implemented by the terminal device in the above method embodiments, and for avoiding repetition, detailed descriptions are not repeated here.
The embodiment of the invention provides a terminal device, which can remind a target user of excessive movement according to an exercise item or at least one of M actions when detecting that a first energy value is larger than a first threshold value. The first energy value is used for indicating the energy consumed by the target user in the process of currently performing the sports item, namely the first energy value can reflect the energy consumed by the target user in the current sports state, so that the terminal device can acquire the energy consumed by the target user in each sports state; and the first threshold is a measurement standard for judging whether the target user excessively moves in the process of carrying out the movement project by the terminal equipment, and the first energy value is larger than the first threshold to represent that the target user excessively moves, so that the terminal equipment can remind the target user of excessive movement in real time when the first energy value is larger than the first threshold, and the intelligence and the convenience of the movement management of the terminal equipment are improved.
In a third embodiment of the present invention, fig. 9 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention. As shown in fig. 9, the terminal device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111.
Those skilled in the art will appreciate that the terminal device configuration shown in fig. 9 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to obtain a first energy value, where the first energy value is used to indicate energy consumed by a target user in a process of currently performing an exercise program, where the exercise program includes M actions, and M is a positive integer; detecting whether the first energy value is greater than a first threshold value; and when the first energy value is larger than the first threshold value, reminding the target user of excessive motion according to at least one of the motion items or the M motions.
The terminal device 100 provided in the embodiment of the present invention can implement each process implemented by the terminal device in the foregoing method embodiments, and for avoiding repetition, detailed descriptions are not repeated here.
The embodiment of the invention provides a terminal device, which can remind a target user of excessive movement according to an exercise item or at least one of M actions when detecting that a first energy value is larger than a first threshold value. The first energy value is used for indicating the energy consumed by the target user in the process of currently performing the sports item, namely the first energy value can reflect the energy consumed by the target user in the current sports state, so that the terminal device can acquire the energy consumed by the target user in each sports state; and the first threshold is a measurement standard for judging whether the target user excessively moves in the process of carrying out the movement project by the terminal equipment, and the first energy value is larger than the first threshold to represent that the target user excessively moves, so that the terminal equipment can remind the target user of excessive movement in real time when the first energy value is larger than the first threshold, and the intelligence and the convenience of the movement management of the terminal equipment are improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 9, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 100 or may be used to transmit data between the terminal apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 100 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 110, a memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program is executed by the processor 110 to implement each process of the foregoing method embodiment, and can achieve the same technical effect, and for avoiding repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. An exercise reminding method, the method comprising:
acquiring a first energy value, wherein the first energy value is used for indicating energy consumed in the process of a current movement project of a target user, the movement project comprises M actions, and M is a positive integer;
detecting whether the first energy value is larger than a first threshold value, wherein the first threshold value is a threshold value corresponding to a target classification model, the target classification model is a classification model corresponding to target characteristic information, and the target characteristic information is the characteristic information of the target user;
and when the first energy value is larger than the first threshold value, reminding the target user of excessive movement according to the movement item or at least one of the M actions.
2. The method of claim 1, wherein obtaining the first energy value comprises:
acquiring source data, wherein the source data are data generated by the target user in the process of performing the sports project;
performing data processing on the source data to obtain a first motion state information value, wherein the first motion state information value is used for indicating the degree of motion of the target user in the process of performing the motion project;
and acquiring the first energy value according to the first motion state information value and a first algorithm, wherein the first algorithm is used for indicating the mapping relation between the motion state information value and the energy value.
3. The method of claim 2, wherein the performing data processing on the source data to obtain a first motion state information value comprises:
analyzing the source data to obtain target motion data, wherein the target motion data is motion data generated by the target user in the process of performing the sports item, and the target motion data comprises force data generated by the target user in the process of performing the sports item;
according to the force data, acquiring the decomposition force of the force in a preset direction;
and processing the resolving power by adopting a second algorithm to obtain the first motion state information value.
4. The method according to claim 2 or 3, wherein said obtaining the first energy value according to the first motion state information value and a first algorithm comprises:
according to the first motion state information value and a third algorithm, first mechanical work generated by the target user in the motion project process is obtained, and the third algorithm is used for indicating the mapping relation between the motion state information value and the mechanical work;
carrying out conversion treatment on the first mechanical work to obtain second mechanical work;
and acquiring the first energy value according to the second mechanical work and the first algorithm.
5. A terminal device, characterized in that the terminal device comprises:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring a first energy value which is used for indicating energy consumed in the process of currently performing an exercise item by a target user, the exercise item comprises M actions, and M is a positive integer;
a detecting unit, configured to detect whether the first energy value obtained by the obtaining unit is greater than a first threshold, where the first threshold is a threshold corresponding to a target classification model, the target classification model is a classification model corresponding to target feature information, and the target feature information is feature information of the target user;
and the reminding unit is used for reminding the target user of excessive movement according to the movement item or at least one of the M actions when the detection unit detects that the first energy value is larger than the first threshold value.
6. The terminal device according to claim 5, wherein the obtaining unit is specifically configured to:
acquiring source data, wherein the source data are data generated by the target user in the process of performing the sports project;
performing data processing on the source data to obtain a first motion state information value, wherein the first motion state information value is used for indicating the degree of motion of the target user in the process of performing the motion project;
and acquiring the first energy value according to the first motion state information value and a first algorithm, wherein the first algorithm is used for indicating the mapping relation between the motion state information value and the energy value.
7. The terminal device according to claim 6, wherein the obtaining unit is specifically configured to:
analyzing the source data to obtain target motion data, wherein the target motion data is motion data generated by the target user in the process of performing the sports item, and the target motion data comprises force data generated by the target user in the process of performing the sports item;
according to the force data, acquiring the decomposition force of the force in a preset direction;
and processing the resolving power by adopting a second algorithm to obtain the first motion state information value.
8. The terminal device according to claim 6 or 7, wherein the obtaining unit is specifically configured to:
according to the first motion state information value and a third algorithm, first mechanical work generated by the target user in the motion project process is obtained, and the third algorithm is used for indicating the mapping relation between the motion state information value and the mechanical work;
carrying out conversion treatment on the first mechanical work to obtain second mechanical work;
and acquiring the first energy value according to the second mechanical work and the first algorithm.
9. A terminal device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the movement alert method as claimed in any one of claims 1 to 4.
CN201810268839.1A 2018-03-29 2018-03-29 Motion reminding method and terminal equipment Active CN108635805B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810268839.1A CN108635805B (en) 2018-03-29 2018-03-29 Motion reminding method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810268839.1A CN108635805B (en) 2018-03-29 2018-03-29 Motion reminding method and terminal equipment

Publications (2)

Publication Number Publication Date
CN108635805A CN108635805A (en) 2018-10-12
CN108635805B true CN108635805B (en) 2020-01-10

Family

ID=63745156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810268839.1A Active CN108635805B (en) 2018-03-29 2018-03-29 Motion reminding method and terminal equipment

Country Status (1)

Country Link
CN (1) CN108635805B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109584989A (en) * 2018-11-27 2019-04-05 北京羽扇智信息科技有限公司 A kind of method for pushing, device, equipment and storage medium moving prompt information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000037478A (en) * 1998-05-20 2000-02-08 Nippon Medics:Kk Exercise evaluation device for exercise therapy equipment
CN103040473A (en) * 2012-12-13 2013-04-17 东软熙康健康科技有限公司 Method and device for monitoring motion state
CN104939818A (en) * 2015-07-08 2015-09-30 安徽瑞宏信息科技有限公司 Sensing system capable of reminding human body to do exercise
CN105797350A (en) * 2016-03-18 2016-07-27 深圳大学 Intelligent method and system for body building posture recognition, evaluation, early-warning and intensity estimation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000037478A (en) * 1998-05-20 2000-02-08 Nippon Medics:Kk Exercise evaluation device for exercise therapy equipment
CN103040473A (en) * 2012-12-13 2013-04-17 东软熙康健康科技有限公司 Method and device for monitoring motion state
CN104939818A (en) * 2015-07-08 2015-09-30 安徽瑞宏信息科技有限公司 Sensing system capable of reminding human body to do exercise
CN105797350A (en) * 2016-03-18 2016-07-27 深圳大学 Intelligent method and system for body building posture recognition, evaluation, early-warning and intensity estimation

Also Published As

Publication number Publication date
CN108635805A (en) 2018-10-12

Similar Documents

Publication Publication Date Title
CN109381165B (en) Skin detection method and mobile terminal
CN109543099B (en) Content recommendation method and terminal equipment
CN109409244B (en) Output method of object placement scheme and mobile terminal
CN108153422B (en) Display object control method and mobile terminal
CN109005336B (en) Image shooting method and terminal equipment
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN110365853B (en) Prompting method and electronic equipment
CN108683850B (en) Shooting prompting method and mobile terminal
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN108874906B (en) Information recommendation method and terminal
CN109343693B (en) Brightness adjusting method and terminal equipment
CN109618218B (en) Video processing method and mobile terminal
CN107784298B (en) Identification method and device
CN110795002A (en) Screenshot method and terminal equipment
CN108196781B (en) Interface display method and mobile terminal
CN108762621B (en) Message display method and mobile terminal
CN108833791B (en) Shooting method and device
CN109117037B (en) Image processing method and terminal equipment
CN109443261B (en) Method for acquiring folding angle of folding screen mobile terminal and mobile terminal
CN108346083B (en) Information processing method and mobile terminal
CN108635805B (en) Motion reminding method and terminal equipment
CN109902232B (en) Display control method and terminal
CN109547696B (en) Shooting method and terminal equipment
CN109712085B (en) Image processing method and terminal equipment
CN109144860B (en) Operation method for control object and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant