Method and device for determining motion data of sit-ups
By acquiring and processing the user's acceleration curve and angular velocity curve, combined with the ground angle, intelligent identification and counting of sit-up movements is achieved, and the problem of artificial reliance on site-up movements in the existing technology is solved, and the problem of site-up movements is improved. Easy to operate and adaptable.
Patent Information
- Application Number
- CN202111510205.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2041-12-10
AI Technical Summary
In the prior art, the identification and counting of sit-up movements depend on manual labor, and the existing instruments cannot adapt to different users, and there are inconveniences in handling and use.
By obtaining the user's acceleration curve for high-frequency denoising and double integral, the real-time displacement of sit-ups is judged, combined with the angular velocity curve and ground angle, the motion data is determined, and intelligent identification and counting is achieved.
It realizes intelligent identification and counting of sit-ups, reduces manual intervention, enhances operational convenience, adapts to different environments and users, and improves application prospects.
Smart Images

Figure CN114254497B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method and device for determining motion data of sit-ups. Background Art
[0002] With the strengthening of the awareness of national fitness, the coverage of parks, squares, open-air venues, and even gyms has increased sharply. In daily exercise, sit-ups are one of the well-known sports. They can effectively exercise abdominal muscles and are simple in action. They have become the most common exercise for people to improve their daily exercise. However, in the prior art, the identification of whether the sit-ups are standard and the counting are still the original manual identification and manual counting, which makes the identification and counting process not only labor-intensive but also very inconvenient; at the same time, in the prior art, although the instrument for measuring sit-ups is separated from manual detection and counting, due to the unified production of the machine, the sit-up instrument cannot be suitable for all users, and the sit-up instrument also brings great inconvenience in carrying. Summary of the invention
[0003] One purpose of the present application is to provide a method and device for determining the motion data of sit-ups, so as to realize intelligent collection of the motion data of sit-ups of users, thereby being more convenient and quicker.
[0004] According to one aspect of the present application, a method for determining motion data of sit-ups is provided, wherein the method comprises:
[0005] Get the acceleration curve of the user's current sit-up;
[0006] The acceleration curve is subjected to high-frequency denoising and double integration processing in sequence to obtain the real-time displacement of the user during the current sit-up;
[0007] Based on the real-time displacement, determine whether the user's current sit-up is effective.
[0008] If yes, then obtaining the angular velocity curve and the angle to the ground of the user's current sit-up;
[0009] Based on the real-time displacement of the user in the current sit-up, the angular velocity curve, and the angle relative to the ground, the motion data of the user in the current sit-up is determined.
[0010] Furthermore, in the above method, before obtaining the acceleration curve of the user's current sit-up, the method further includes:
[0011] Setting a minimum acceleration threshold for detecting the user starting to move;
[0012] The step of obtaining the acceleration curve of the user's current sit-up includes:
[0013] Obtaining the real-time three-axis acceleration of the user;
[0014] If any single-axis acceleration in the real-time three-axis acceleration is greater than the minimum acceleration threshold, it is determined that the user has started the current sit-up movement, and an acceleration curve of the user's current sit-up is obtained.
[0015] Furthermore, in the above method, the method further comprises:
[0016] determining a verification model for verifying the validity of each sit-up performed by the user;
[0017] Wherein, judging whether the current sit-up of the user is valid based on the real-time displacement includes:
[0018] The real-time displacement is input into the verification model to determine whether the user's current sit-up is valid.
[0019] Furthermore, in the above method, determining a verification model for verifying the effectiveness of each sit-up performed by the user includes:
[0020] Obtaining historical displacements corresponding to the predicted valid sit-ups performed by the user in history;
[0021] Based on the historical displacements corresponding to the predicted effective sit-ups, a verification model is constructed for verifying the effectiveness of each sit-up performed by the user.
[0022] Further, in the above method, the motion data includes a motion direction;
[0023] Wherein, determining the motion data of the current sit-up of the user based on the real-time displacement, the angular velocity curve and the angle to the ground of the current sit-up of the user includes:
[0024] Calculating a spatial trajectory of the user's current sit-up based on the real-time displacement of the user's current sit-up and the angular velocity curve;
[0025] Based on the spatial trajectory and the angle to the ground of the user's current sit-up, a movement direction of the user's current sit-up is determined.
[0026] Furthermore, in the above method, the motion data also includes: one or more of motion speed, motion frequency and motion consistency result.
[0027] According to another aspect of the present application, a non-volatile storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions can be executed by a processor, the processor implements the method for determining the motion data of sit-ups as described above.
[0028] According to another aspect of the present application, a device for determining motion data of sit-ups is also provided, wherein the device comprises:
[0029] one or more processors;
[0030] A computer readable medium for storing one or more computer readable instructions,
[0031] When the one or more computer-readable instructions are executed by the one or more processors, the one or more processors implement the above-mentioned method for determining the motion data of sit-ups.
[0032] Compared with the prior art, the present application obtains the acceleration curve of the user's current sit-up; performs high-frequency denoising and double integral processing on the acceleration curve in sequence to obtain the real-time displacement of the user's current sit-up; based on the real-time displacement, determines whether the user's current sit-up is valid, and if so, obtains the angular velocity curve and the angle to the ground of the user's current sit-up; based on the real-time displacement of the user's current sit-up, the angular velocity curve and the angle to the ground, determines the motion data of the user's current sit-up, thereby realizing intelligent processing of identifying and counting sit-ups, so that the user can identify and count the sit-up postures when doing sit-ups, which is convenient and quick, more operational in daily life, and thus has better application prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0034] Figure 1 A schematic flow chart showing a method for determining motion data of sit-ups according to the present application;
[0035] Figure 2 A schematic diagram showing an actual flow chart of a method for determining motion data of sit-ups according to one aspect of the present application.
[0036] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION
[0037] The present application is described in further detail below in conjunction with the accompanying drawings.
[0038] In a typical configuration of the present application, the terminal, the device of the service network and the trusted party all include one or more processors (CPU), input / output interfaces, network interfaces and memories.
[0039] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0040] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory media such as modulated data signals and carrier waves.
[0041] like Figure 1 As shown, one aspect of the present application provides a flow chart of a method for determining sit-up motion data, which is applied to a user's handheld terminal, which includes but is not limited to a handheld smart device, such as a wearable watch, a mobile phone that can be placed in a pocket, and a wearable sports bracelet, anklet, waist ring and other wearable devices, wherein the method includes step S11, step S12, step S13 and step S14, specifically including the following steps:
[0042] Step S11, obtaining the acceleration curve of the user's current sit-up.
[0043] Step S12, performing high-frequency denoising and double integration processing on the acceleration curve in sequence to obtain the real-time displacement of the user during the current sit-up; wherein, interference information in the initial acceleration curve can be eliminated by high-frequency denoising, so that the acceleration curve after high-frequency denoising can more accurately reflect the user's movement status, and at the same time, the acceleration curve after high-frequency denoising is double-integrated to realize the digital conversion of the information of the acceleration curve of the complex sit-up, so as to subsequently identify and count the sit-up movements.
[0044] Step S13, based on the real-time displacement, determining whether the current sit-up of the user is valid, and if so, obtaining the angular velocity curve and the angle to the ground of the current sit-up of the user.
[0045] It should be noted that the angular velocity curve of the user's current sit-up obtained includes obtaining the user's real-time three-axis angular velocity, thereby reflecting the angular velocity changes of the user's movement from multiple angles, so that the final motion data result can more truly reflect the user's movement.
[0046] For example, in a preferred embodiment of the present application, the acceleration curve 1 of the current sit-up of user A is obtained, and the acceleration curve 1 is subjected to high-frequency denoising and double integral processing in sequence to obtain the real-time displacement corresponding to the current sit-up of user A, and it is judged that the current sit-up of user A is effective. At this time, the current three-axis angular velocity curve and the angle to the ground of user A are obtained, wherein the three-axis angular velocity curve is preferably the X-axis, the Y-axis and the Z-axis, and the X-axis is the direction from the head to the feet of user A, the Y-axis is the direction of the left arm of user A, and the Z-axis is perpendicular to the X-axis and the Y-axis, that is, perpendicular to the ground, that is, the X-axis direction curve, the Y-axis direction curve, the Z-axis direction curve and the current angle to the ground of user A are obtained.
[0047] Step S14, determining the motion data of the user's current sit-up based on the real-time displacement of the user's current sit-up, the angular velocity curve and the angle to the ground.
[0048] Through the above steps S11 to S14, the quantitative representation of abstract movement is realized, and the purpose of intelligently determining movement data can be achieved without human intervention throughout the process. At the same time, users can choose an open space according to different environments and complete sit-ups alone. This application is not limited by environmental conditions and is more convenient and saves trouble to use.
[0049] In a preferred embodiment of the present application, after user A is ready for sit-ups, he starts exercising. At this time, the acceleration curve 1 of the current sit-up of user A is obtained, and the acceleration curve 1 of the current sit-up of user A is subjected to high-frequency denoising and double integral processing in sequence to obtain the real-time displacement meters corresponding to the current sit-up of user A. After judgment, the real-time displacement of the current sit-up of user A is valid, that is, the current sit-up of user A is valid, then the three-axis angular velocity curve of user A is obtained, preferably the X-axis angular velocity curve, the Y-axis angular velocity curve and the Z-axis angular velocity curve, wherein the X-axis is the direction from the head to the feet of user A, and the Y-axis is the direction from the head to the feet of user A. The axis is the direction of the left arm of user A, the Z axis is perpendicular to the X axis and the Y axis, that is, the direction perpendicular to the ground, and the current angle of user A to the ground is obtained at the same time. The motion data of the current sit-up of user A is obtained according to the real-time displacement of A, the X-axis angular velocity curve, the Y-axis angular velocity curve, the Z-axis angular velocity curve and the angle to the ground, and the intelligent processing of identifying and counting sit-ups is realized by combining the real-time displacement, the angular velocity curve and the angle to the ground, so that the user can identify and count the sit-up postures when doing sit-ups, which is convenient and fast, more operable in daily life, and thus has a better application prospect.
[0050] Following the above-mentioned embodiment of the present application, before the step S11, the method further includes: setting a minimum acceleration threshold for detecting that the user has started exercising; wherein, the step S11 obtains the acceleration curve of the user's current sit-up, specifically including: obtaining the real-time three-axis acceleration of the user; if any single-axis acceleration in the real-time three-axis acceleration is greater than the minimum acceleration threshold, it is determined that the user has started the current sit-up exercise, and the acceleration curve of the user's current sit-up is obtained.
[0051] For example, before user A starts exercising, the three-axis acceleration directions of user A are preferably the X-axis acceleration direction, the Y-axis acceleration direction, and the Z-axis acceleration direction, wherein the X-axis is the direction from the head to the feet of user A, the Y-axis is the direction of the left arm of user A, and the Z-axis is perpendicular to the X-axis and the Y-axis, that is, perpendicular to the ground. The minimum acceleration thresholds of the X-axis acceleration direction and the Y-axis acceleration direction are both set to 0 meters per square second, and the minimum acceleration threshold of the Z-axis acceleration direction is 0.55 meters per square second; after user A starts exercising, the three-axis acceleration magnitudes of user A are obtained as follows: the X-axis acceleration direction value is 0 meters per square second, the Y-axis acceleration direction is 0 meters per square second, and the Z-axis acceleration direction is 0.55 meters per square second. The velocity direction value is 0.28 meters per square second and the Z-axis acceleration direction value is 0.88 meters per square second, wherein both the Y-axis acceleration and the Z-axis acceleration exceed the set minimum acceleration threshold of the Y-axis acceleration and the minimum acceleration threshold of the Z-axis acceleration, that is, it is determined that user A has started the current sit-up exercise, and the acceleration curve of the current sit-up exercise of user A is obtained in time to avoid obtaining redundant and invalid acceleration curves, thereby preventing invalid information from affecting subsequent acceleration curve analysis, and realizing automatic detection and judgment of the start of the sit-up exercise, which is not constrained by other external environments.
[0052] Following the above embodiment of the present application, the method further includes: determining a verification model for verifying the validity of each sit-up performed by the user; wherein, judging whether the current sit-up by the user is valid based on the real-time displacement includes: inputting the real-time displacement into the verification model to judge whether the current sit-up by the user is valid. Here, different users correspond to different verification models for verifying the validity of the sit-ups performed by the users, that is, one user corresponds to one verification model, so as to satisfy the directional analysis and verification of the validity verification of the sit-ups performed by different users.
[0053] For example, before detecting user A performing sit-ups, it is necessary to first train and determine a verification model Model (A) for verifying the validity of each sit-up performed by user A. Then, at the beginning of user A performing sit-ups, the acquired and calculated real-time displacement of the current sit-up performed by user A is input into the verification model Model (A) for verifying the validity of each sit-up performed by user A to determine whether the current sit-up performed by user A is valid, thereby achieving the purpose of verifying the validity of the current sit-up performed by user A through the verification model Model (A).
[0054] Continuing with the above-mentioned embodiment of the present application, the verification model determined for verifying the validity of each sit-up performed by the user specifically includes: obtaining historical displacements corresponding to predicted valid sit-ups performed by the user in history; and constructing a verification model for verifying the validity of each sit-up performed by the user based on the historical displacements corresponding to the predicted valid sit-ups.
[0055] Here, historical displacement refers to the real-time displacement corresponding to the historical sit-ups before the current sit-up. For example, if the user's current sit-up is the user's 5th sit-up, then the 1st to 4th sit-ups are the historical sit-ups before the current sit-up. At this time, the real-time displacement corresponding to the 1st to 4th sit-ups is the historical displacement of the 5th sit-up.
[0056] For example, when determining the verification model Model(A) for verifying the validity of each sit-up performed by user A, first obtain the historical displacements corresponding to a preset number of (for example, N times, where N is a positive integer greater than or equal to 1) valid sit-ups performed by user A in history. For example, the historical displacements corresponding to the N valid sit-ups performed by user A in history are: historical displacement S1, historical displacement S2, historical displacement S3, ..., historical displacement S(N-1), and historical displacement S(N); then, based on the historical displacements corresponding to these N valid sit-ups: historical displacement S1, historical displacement S2, historical displacement S3, ..., historical displacement S(N-1), and historical displacement S(N). The historical displacement S(N-1) and the historical displacement S(N) are used to construct a verification model Model(A) for verifying the validity of each sit-up performed by user A. Combined with the historical displacement of user A, the construction and determination of the verification model Model(A) for verifying the validity of sit-ups performed by user A is realized, that is, according to the historical displacement of user A, a verification model Model(A) suitable for verifying the validity of sit-ups performed by user A is generated, which overcomes the problem in the prior art that it is impossible to use a verification model that is only suitable for each user for each user, and realizes personalized and targeted verification of the validity of sit-ups for each user.
[0057] Continuing with the above-mentioned embodiment of the present application, the motion data includes a motion direction; wherein, the step S14 determines the motion data of the user's current sit-up based on the real-time displacement of the user's current sit-up, the angular velocity curve and the angle to the ground, specifically including: calculating the spatial trajectory of the user's current sit-up based on the real-time displacement of the user's current sit-up and the angular velocity curve; determining the motion direction of the user's current sit-up based on the spatial trajectory of the user's current sit-up and the angle to the ground.
[0058] It should be noted that the spatial trajectory is obtained by combining the angular velocity and acceleration values of each axis at each moment. In addition, the spatial trajectory is the trajectory in the gravity field, and the waveform of the angle to the ground obtained by the geomagnetic sensor is the trajectory in the magnetic field. By comparing the characteristics of the two waveforms, the mapping relationship is calculated, which is the movement direction of the sit-up.
[0059] For example, when user A starts the current sit-up exercise, the acceleration curve 1 of the current sit-up exercise of user A is obtained through the acceleration sensor, and the acceleration curve 1 is sequentially subjected to high-frequency denoising and double integration to obtain the current real-time displacement of user A. At this time, according to the verification model constructed based on the historical displacement, it is judged that the current sit-up of user A is valid, and the angular velocity curve of the current sit-up of user A is obtained through the gyroscope. According to the angular velocity value and acceleration value at each moment, the spatial trajectory of the current sit-up of user C is obtained, and the spatial trajectory of the current sit-up of user C is obtained through the verification model constructed based on the historical displacement. The geomagnetic sensor obtains the angle of user C's current sit-up to the ground, and combines the spatial trajectory and angle of user A's current sit-up to calculate the movement direction of user A's current sit-up, breaking through the technical barrier of the existing technology that can only count sit-ups. Combined with the information collected by the acceleration sensor, gyroscope and geomagnetic sensor, the relevant data and movement direction of each sit-up of user A are more accurately analyzed, making it convenient for user A to summarize and correct the sit-ups he has done, thereby enhancing user A's experience and sense of use.
[0060] Following the above embodiment of the present application, the motion data further includes: one or more of motion speed, motion frequency and motion consistency result.
[0061] Here, by calculating the interval time of different effective actions, the user's movement speed for sit-ups can be obtained; the movement consistency result is obtained by comparing the real-time displacement of each movement to obtain the result of user movement consistency or user movement inconsistency.
[0062] In a preferred embodiment of the present application, user A starts a one-minute sit-up test training, obtains the acceleration curve of user A's first sit-up, and performs high-frequency denoising and double integration processing on the acceleration curve of user A's first sit-up in sequence, and obtains the real-time displacement of user A's first sit-up is 0.8 meters. After judgment, it is obtained that the real-time displacement of user A's current sit-up is 0.8 meters and valid, that is, user A's one sit-up is valid, obtains the first three-axis angular velocity curve of user A and the angle to the ground is 60 degrees, and obtains the motion data of user A's first sit-up movement; obtains the acceleration curve of user A's second sit-up, and performs high-frequency denoising and double integration processing on the acceleration curve of user A's second sit-up, and obtains the real-time displacement of user A's second sit-up is 1 meter. After judgment, it is obtained that the real-time displacement of user A's second sit-up is 1 meter, which is valid, that is, user A's second sit-up is valid, the second three-axis angular velocity curve of user A and the angle to the ground are 60 degrees, and the motion data of user A's second sit-up is obtained; ...; the acceleration curve of user A's last sit-up is obtained, and the last acceleration curve of user A is subjected to high-frequency denoising and double integration processing in sequence, and the real-time displacement of user A's last sit-up is 0.2 meters. After judgment, it is obtained that the real-time displacement of user A's last sit-up is 0.2 meters, which is invalid, that is, user A's last sit-up is invalid, the last three-axis angular velocity curve of user A and the angle to the ground are 10 degrees, and the motion data of user A's last sit-up is obtained.
[0063] At this time, after user A completes one minute of sit-up exercise using the technology of the present application, it is found that user A performs 50 sit-ups in one minute, of which 45 are effective sit-ups. The exercise speed of user A is 0.75 per second, and the exercise frequency of user A is 1.3 seconds per sit-up. The real-time displacement of each sit-up of user A is analyzed to obtain consistent exercise results of user A, so that during the entire exercise process of the user, not only the exercise data of each sit-up can be analyzed, but also the overall sit-up exercise results can be comprehensively analyzed, so that the user can have an in-depth understanding of the completion status of each sit-up and perform autonomous optimization based on the exercise data.
[0064] like Figure 2As shown, it is a schematic diagram of the actual process of a method for determining motion data of sit-ups in one aspect of the present application, wherein a user wears a smart watch with an acceleration sensor, a gyroscope and a geomagnetic sensor, wherein the acceleration sensor is used to detect the three-axis acceleration of the smart watch during the user's sit-ups to form an acceleration curve; the gyroscope is used to detect the angular rotation degree of the smart watch during the user's sit-ups to form an angular velocity curve; the geomagnetic sensor is used to detect the angle of the smart watch relative to the ground during the user's sit-ups, that is, the angle to the ground. Before the user starts exercising, the acceleration sensor, gyroscope, and geomagnetic sensor obtain the acceleration curve, angular velocity curve, and ground angle of the user's real-time sit-up exercise to set a minimum acceleration threshold, and detect whether the user starts exercising according to the minimum acceleration threshold; if the user starts exercising, the acceleration curve is obtained through the acceleration sensor, and high-frequency denoising is achieved through a filter; the acceleration waveform after high-frequency denoising is double-integrated to obtain the displacement size of the current exercise; using several historical displacement sizes as templates, the user's current displacement size is compared with the template to determine whether the current sit-up is valid; then, if the user's current sit-up is valid, the acceleration curve after high-frequency denoising is combined with the angular velocity curve obtained by the gyroscope to calculate the spatial trajectory; the ground angle obtained by the geomagnetic sensor is called, and the relationship between the spatial trajectory and the ground reference system is calculated using the spatial trajectory and the ground angle to obtain the movement direction of the user in the current sit-up; then based on all sit-ups performed in a continuous time period, the sit-up movement speed, movement frequency, and consistency result information of each action in the continuous time period are calculated.
[0065] According to another aspect of the present application, a non-volatile storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions can be executed by a processor, the processor implements the method for determining the motion data of sit-ups as described above.
[0066] According to another aspect of the present application, a device for determining motion data of sit-ups is also provided, wherein the device comprises:
[0067] one or more processors;
[0068] A computer readable medium for storing one or more computer readable instructions,
[0069] When the one or more computer-readable instructions are executed by the one or more processors, the one or more processors implement a method for determining sit-up motion data of the above-mentioned device.
[0070] Here, the detailed contents of each embodiment of the device for accessing code data forwarded by the gateway can be specifically referred to the corresponding part of the embodiment of the method for determining the motion data of sit-ups mentioned above, which will not be described in detail here.
[0071] In summary, the present application obtains the acceleration curve of the user's current sit-up; performs high-frequency denoising and double integral processing on the acceleration curve in sequence to obtain the real-time displacement of the user's current sit-up; based on the real-time displacement, determines whether the user's current sit-up is valid, and if so, obtains the angular velocity curve and the angle to the ground of the user's current sit-up; based on the real-time displacement of the user's current sit-up, the angular velocity curve and the angle to the ground, determines the motion data of the user's current sit-up, thereby realizing intelligent processing of identifying and counting sit-ups, so that the user can identify and count the sit-up postures when doing sit-ups, which is convenient and quick, more operational in daily life, and thus has better application prospects.
[0072] It should be noted that the present application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present application can be executed by a processor to implement the steps or functions described above. Similarly, the software program of the present application (including relevant data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.
[0073] In addition, a part of the present application may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present application through the operation of the computer. The program instruction for calling the method of the present application may be stored in a fixed or removable recording medium, and / or transmitted through a data stream in a broadcast or other signal-bearing medium, and / or stored in a working memory of a computer device that runs according to the program instruction. Here, according to an embodiment of the present application, a device is included, the device including a memory for storing computer program instructions and a processor for executing program instructions, wherein, when the computer program instruction is executed by the processor, the device is triggered to run the method and / or technical solution based on the aforementioned multiple embodiments according to the present application.
[0074] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
Claims
1. A method for determining motion data of sit-ups, wherein: The method comprises: Get the acceleration curve of the user's current sit-up; The acceleration curve is subjected to high-frequency denoising and double integration processing in sequence to obtain the real-time displacement of the user during the current sit-up; Based on the real-time displacement, determine whether the user's current sit-up is effective. If yes, then obtaining the angular velocity curve and the angle to the ground of the user's current sit-up; Determining motion data of the user's current sit-up based on the real-time displacement of the user's current sit-up, the angular velocity curve, and the angle relative to the ground; The method further includes: determining a verification model for verifying the validity of each sit-up performed by the user; wherein the determining of the verification model for verifying the validity of each sit-up performed by the user specifically includes: obtaining historical displacements corresponding to the predicted times of valid sit-ups performed by the user in history, and constructing a verification model for verifying the validity of each sit-up performed by the user based on the historical displacements corresponding to the predicted times of valid sit-ups; Wherein, judging whether the current sit-up of the user is valid based on the real-time displacement comprises: inputting the real-time displacement into the verification model to judge whether the current sit-up of the user is valid.
2. The method according to claim 1, wherein: Before obtaining the acceleration curve of the user's current sit-up, the method further includes: Setting a minimum acceleration threshold for detecting the user starting to move; The step of obtaining the acceleration curve of the user's current sit-up includes: Obtaining the real-time three-axis acceleration of the user; If any single-axis acceleration in the real-time three-axis acceleration is greater than the minimum acceleration threshold, it is determined that the user has started the current sit-up movement, and an acceleration curve of the user's current sit-up is obtained.
3. The method according to claim 1, wherein: The motion data includes a motion direction; Wherein, determining the motion data of the current sit-up of the user based on the real-time displacement, the angular velocity curve and the angle to the ground of the current sit-up of the user includes: Calculating a spatial trajectory of the user's current sit-up based on the real-time displacement of the user's current sit-up and the angular velocity curve; Based on the spatial trajectory and the angle to the ground of the user's current sit-up, a movement direction of the user's current sit-up is determined.
4. The method according to any one of claims 1 to 3, wherein: The motion data also includes: one or more of motion speed, motion frequency and motion consistency result.
5. A non-volatile storage medium having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executable by a processor, the processor is enabled to implement the method according to any one of claims 1 to 4.
6. A method and apparatus for determining motion data of sit-ups, wherein: The equipment includes: one or more processors; A computer readable medium for storing one or more computer readable instructions, When the one or more computer-readable instructions are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.
