Rope skipping counting method, device, equipment and medium

By obtaining the jumping rope motion signal and judging its changing characteristics, and updating the counting threshold in real time, the accuracy problem of the existing jumping rope counting method is solved, and the accurate counting and adaptability of different groups of people are achieved.

CN116212354BActive Publication Date: 2025-08-26SHENZHEN DO INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310369402.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-03
Publication Date
2025-08-26
Estimated Expiration
2043-04-03

AI Technical Summary

Technical Problem

The existing rope skipping counting methods have poor accuracy, especially in artificial counting and intelligent counting, and it is difficult to accurately determine whether the user has successfully crossed rope skipping and has a large counting error in irregular movements.

Method used

By obtaining the user's rope skipping motion signal, we judge whether the signal change characteristics meet the hierarchical start jumping threshold conditions, determine the user's start jumping rope and calculate the number of jumping ropes, and update the count threshold in real time to identify the rope skipping waveform and improve counting accuracy.

Benefits of technology

It improves the accuracy and adaptability of the skipping rope count, adapts to the skipping rope posture and force level of different groups of people, and reduces counting errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116212354B_ABST
    Figure CN116212354B_ABST
Patent Text Reader

Abstract

The present application discloses a rope skipping counting method, device, equipment and medium, which are applied to the field of intelligent device technology to solve the problem of poor rope skipping counting accuracy in the prior art. Specifically, the method comprises the following steps: obtaining the rope skipping motion signal of the user; judging the change characteristics of the rope skipping motion signal within the first time, and if the change characteristics meet the starting threshold conditions of the user's level, determining that the user has started rope skipping and calculating the first number of rope skipping; determining the target rope skipping motion signal; based on the amplitude of the effective waveform of the target rope skipping motion signal after the first time, updating the counting threshold in real time, and sequentially identifying the waveform of the target rope skipping motion signal after the first time according to the counting threshold, obtaining the second number of rope skipping; determining the current total number of rope skipping based on the first number of rope skipping and the second number of rope skipping. In this way, by matching the starting threshold conditions of the corresponding levels for users, the accuracy of rope skipping detection for different groups of people can be improved, and updating the counting threshold in real time can improve the accuracy of rope skipping counting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart devices, and in particular to a rope skipping counting method, device, equipment and medium. Background Art

[0002] Rope skipping is a sport that requires simple equipment, has few venue restrictions, and has obvious fitness effects. Rope skipping often requires counting the number of jumps to determine the amount of exercise.

[0003] Currently, rope skipping counting methods are mainly divided into manual counting and intelligent counting. Manual counting often requires users to count by themselves, which is prone to counting errors. Intelligent counting is mainly achieved by using a rope skipping counting handle equipped with a counter or a smart wearable device equipped with a sensor. Using a rope skipping counting handle equipped with a counter cannot accurately determine whether the user has successfully crossed the rope, resulting in poor counting accuracy; smart wearable devices equipped with sensors still have large errors if the user's rope skipping movements are not standardized; existing rope skipping counting methods generally have the problem of poor accuracy. Summary of the Invention

[0004] The embodiments of the present application provide a rope skipping counting method, device, equipment and medium to solve the problem of poor rope skipping counting accuracy in the prior art.

[0005] The technical solutions provided in the embodiments of this application are as follows:

[0006] On the one hand, an embodiment of the present application provides a rope skipping counting method, comprising:

[0007] Obtain the user's rope skipping motion signal;

[0008] determining a change characteristic of the rope skipping motion signal within a first period of time, and if the change characteristic satisfies the jump threshold condition of the user's level in the graded jump threshold condition, determining that the user has started rope skipping and calculating the number of first jumps made by the user within the first period of time;

[0009] determining a rope skipping motion signal of a valid axis in the rope skipping motion signal of the user as a target rope skipping motion signal;

[0010] Based on the amplitude of the effective waveform of the target rope skipping motion signal after the first time, the counting threshold is updated in real time, and the waveform of the target rope skipping motion signal after the first time is sequentially identified according to the counting threshold to obtain the number of second rope skipping by the user after the first time;

[0011] Based on the first number of rope jumps and the second number of rope jumps, the total number of rope jumps currently performed by the user is determined and output.

[0012] On the other hand, an embodiment of the present application provides a rope skipping counting device, comprising:

[0013] A signal acquisition unit, configured to acquire a rope skipping motion signal of a user;

[0014] a counting unit for judging a change characteristic of a rope skipping motion signal within a first period of time, and if the change characteristic satisfies the jump threshold condition of the user's level in the graded jump threshold condition, determining that the user has started rope skipping and counting the number of first jumps made by the user within the first period of time;

[0015] a target signal determining unit, configured to determine a rope skipping motion signal of a valid axis in a rope skipping motion signal of a user as a target rope skipping motion signal;

[0016] A counting unit is used to update the counting threshold in real time based on the amplitude of the effective waveform of the target rope skipping motion signal after the first time, and sequentially identify the waveform of the target rope skipping motion signal after the first time according to the counting threshold to obtain the number of second rope skipping performed by the user after the first time;

[0017] The number counting unit is used to determine the total number of rope jumps performed by the user based on the first number of rope jumps and the second number of rope jumps and output the result.

[0018] On the other hand, an embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the computer program, the rope skipping counting method provided in the embodiment of the present application is implemented.

[0019] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by a processor, the rope skipping counting method provided in the embodiment of the present application is implemented.

[0020] The beneficial effects of the embodiments of the present application are as follows:

[0021] In an embodiment of the present application, whether the user starts jumping rope is determined based on the jumping threshold conditions of the user's level in the graded jumping threshold conditions, that is, the user is matched with the jumping threshold conditions corresponding to his level to determine whether the user starts jumping rope, so that the detection of starting jumping rope is more targeted, and the accuracy of detecting different groups of people starting jumping rope is effectively improved; moreover, based on the amplitude of the effective waveform of the target jumping rope motion signal after the first time, the counting threshold is updated in real time, and the waveform of the target jumping rope motion signal after the first time is identified in turn according to the counting threshold, and the number of second jumps of the user after the first time is obtained, which can realize the real-time update of the counting threshold of the identified waveform, increase the adaptability of the jumping rope counting, and effectively improve the accuracy of the jumping rope counting.

[0022] It will become apparent from the description or understood through implementation of the present application. The purposes and other advantages of the present application can be realized and obtained through the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0024] Figure 1 This is a schematic diagram of an overview of the rope skipping counting method in an embodiment of the present application;

[0025] Figure 2 Schematic diagram of the overview of the first method for determining the number of skipping ropes in an embodiment of the present application;

[0026] Figure 3 This is a schematic diagram of a sliding window in an embodiment of the present application;

[0027] Figure 4 Schematic diagram of the counting threshold in an embodiment of the present application;

[0028] Figure 5 This is a functional structural diagram of a rope skipping counting device in an embodiment of the present application;

[0029] Figure 6 Schematic diagram of the hardware structure of the electronic device in the embodiment of the present application. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solutions and beneficial effects of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0031] It should be noted that the terms "first," "second," etc., mentioned in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that such terms are interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein.

[0032] The embodiment of the present application provides a skipping rope counting method, which is applied to a smart wearable device. The smart wearable device involved in the embodiment of the present application is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. The smart wearable device may include but is not limited to a smart watch, a smart smart watch, a smart wristband, smart glasses, a ring or a helmet, etc. For the convenience of explanation, the following detailed description is given using a smart watch as an example. Figure 1 As shown, the overview process of the rope skipping counting method provided in the embodiment of the present application is as follows:

[0033] Step 101: Obtain a rope skipping motion signal of a user.

[0034] In practice, after a user enters rope skipping mode by clicking a corresponding location on the smartwatch interface or pressing a button, the accelerometer or gyroscope sensor on the smartwatch detects the user's rope skipping motion signal. The rope skipping motion signal is detected by the accelerometer or gyroscope, and includes three axial motion signals: the x-axis, the y-axis, and the z-axis.

[0035] Step 102: Determine the change characteristics of the rope skipping motion signal within the first time. If the change characteristics meet the jump threshold conditions of the user's level in the graded jump threshold conditions, determine that the user starts rope skipping and calculate the number of first jumps of the user within the first time.

[0036] In practical applications, the graded jump threshold conditions include different levels of jump threshold conditions divided according to the signal characteristics generated by different degrees of force. The graded jump threshold conditions can generally be divided into five levels, and the jump threshold conditions in each level can be obtained through large-sample machine learning training. Different users have different rope skipping postures and force levels. The signal characteristics generated by the user's force level can be used to determine the jump threshold conditions of the level corresponding to the signal characteristics generated by the user's force level in the graded jump threshold conditions, and judge whether the change characteristics of the rope skipping motion signal within the first time meet the jump threshold conditions; if so, it is determined that the user has jumped, and the number of the user's first jumps within the first time is recorded. If not, it is determined that the user has not jumped. Among them, the graded jump threshold conditions are mainly divided into two types. One is to set a graded jump threshold including a graded amplitude threshold and a graded interval threshold for the rope skipping motion signal detected by the accelerometer sensor; the other is to set a graded jump threshold including a graded amplitude threshold for the rope skipping motion signal detected by the gyroscope sensor. By setting different levels of jumping threshold conditions in the graded jumping threshold conditions according to the signal characteristics generated by different force levels, all jumping threshold conditions corresponding to the signal characteristics generated by different force levels generated by different people's jumping rope postures can be covered, ensuring the accuracy of detecting the start of jumping rope for different groups of people and the accuracy of counting during the start of jumping rope.

[0037] For specific implementation, see Figure 2 As shown, the changing characteristics of the rope skipping motion signal within the first time are determined. If the changing characteristics meet the starting threshold conditions of the user's level in the graded starting threshold conditions, it is determined that the user has started rope skipping and the number of first rope skips of the user within the first time is calculated. The following methods may be used, but are not limited to:

[0038] Step 201: Determine the jump threshold condition of the user's level among the graded jump threshold conditions based on the signal characteristics generated by the user's exertion degree.

[0039] In practical applications, the signal characteristics generated by the user's exertion are detected by the smartwatch during the user's first rope skipping experience. Specifically, during the user's first rope skipping experience, the user's jump threshold is set relatively low. The smartwatch can determine the signal characteristics generated by the user's exertion based on the user's rope skipping motion signal. The signal characteristics generated by the user's exertion can be obtained by, but are not limited to, moving a sliding window at a preset step size within a preset time, and comprehensively determining each peak value and each trough value within a preset number of sliding windows. Specific comprehensive determination methods include, but are not limited to, requiring that the amplitude of each peak value be greater than a lower peak threshold value set for the user's first rope skipping experience, and that the amplitude of each trough value be less than a lower trough threshold value set for the user's first rope skipping experience. The type of graded jump threshold can be pre-set based on the sensor that generates the user's rope skipping motion signal, or determined by a sensor that recognizes the user's rope skipping motion signal. Then, based on the signal characteristics generated by the user's exertion, the jump threshold condition corresponding to the user's level is determined within the graded jump threshold conditions.

[0040] Step 202: Determine the change characteristics of the rope skipping motion signals in each axis through a sliding window within the first time.

[0041] In practical applications, the axes of the rope skipping motion signal mainly include the x-axis, y-axis, and z-axis. Different sensors detect different rope skipping motion signals, and the corresponding rope skipping motion signal change characteristics are different. The rope skipping motion signal detected by the accelerometer sensor has amplitude characteristics and interval characteristics, while the rope skipping motion signal detected by the gyroscope sensor has amplitude characteristics. The window size of the sliding window is related to the frequency of the rope skipping motion signal. For details, please refer to Figure 3 As shown, the window size of the sliding window is smaller than one cycle of the rope skipping motion signal, and each axis of the rope skipping motion signal in a sliding window only has one peak value and one trough value. In the first time, a step size can be set, and the sliding window can be moved according to the step size. In the sliding window at each position, the peak value and trough value of the rope skipping motion signal of each axis can be determined as the amplitude characteristics of the rope skipping motion signal of each axis in the sliding window at each position; in the sliding window at adjacent positions, the time interval between two adjacent peaks corresponding to the rope skipping motion signal of each axis can be determined, thereby obtaining the interval characteristics of the rope skipping motion signal of each axis.

[0042] Step 203: If there is an axial rope skipping motion signal whose variation characteristics meet the jump threshold condition, record the number of rope skipping motion signals of the first axial direction, and use the number of rope skipping motion signals of the first axial direction as the first preliminary rope skipping number.

[0043] In practical applications, the first axis is the first axis whose changing characteristics of the rope skipping motion signal meet the jump threshold condition, and can be any axis among the three axes of the rope skipping motion signal, namely, the x-axis, the y-axis, and the z-axis, that first meets the jump threshold condition. Within a first time period, for the rope skipping motion signal detected by the accelerometer sensor, if there is a rope skipping motion signal of one axis whose amplitude characteristics and interval characteristics in a preset number of sliding windows all meet the jump threshold condition at a level corresponding to the signal characteristics generated by the user's force, then the number of rope jumps in the rope skipping motion signal of the first axis begins to be recorded as the first preliminary rope skipping number. Within a first time period, for the rope skipping motion signal detected by the gyroscope sensor, if there is a rope skipping motion signal of one axis whose amplitude characteristics in a preset number of sliding windows all meet the jump threshold condition at a level corresponding to the signal characteristics generated by the user's force, then the number of rope jumps in the rope skipping motion signal of the first axis begins to be recorded as the first preliminary rope skipping number. The amplitude feature refers to the peak and trough values ​​of the rope skipping motion signal along the same axis, and the interval feature refers to the interval between two adjacent peaks or the interval between two adjacent troughs of the rope skipping motion signal along the same axis. The number of rope jumps in the rope skipping motion signal along the first axis is determined based on the amplitude feature of the rope skipping motion signal along the first axis that satisfies the jump threshold condition at a level corresponding to the signal feature generated by the user's force level.

[0044] Step 204: If the change characteristics of the rope skipping motion signals in at least two axes both meet the jump threshold condition, the number of rope skipping in the rope skipping motion signal in the second axis is used as the second preliminary rope skipping number.

[0045] In practical applications, the second axis is the second axis where the change characteristics of the rope skipping motion signal meet the starting threshold condition. The first time refers to the time consumed between obtaining the rope skipping motion signal of the user and the time when the change characteristics of the rope skipping motion signals of the first and second axes meet the starting threshold conditions of the user's level. Since the rope skipping action involves exerting force in at least two directions, after determining that the change characteristics of the rope skipping motion signal of the first axis all meet the starting threshold conditions of the level corresponding to the signal characteristics generated by the user's force level, if the rope skipping motion signal of the second axis also meets the starting threshold conditions satisfied by the change characteristics of the rope skipping motion signal of the first axis within the first time, it can be determined that the user has started rope skipping, and the number of rope skipping of the rope skipping motion signal of the second axis can be further determined. Specifically, there may be the following two situations:

[0046] Case 1: The change characteristics of the rope skipping motion signal along the second axis meet the corresponding jump threshold condition, while the change characteristics of the rope skipping motion signal along the third axis do not meet the corresponding jump threshold condition. In this case, it is determined that the user has started rope skipping based on the number of amplitude characteristics in the second rope skipping motion signal that meet the jump threshold condition at a level corresponding to the signal characteristics generated by the user's force level.

[0047] Case 2: The change characteristics of the rope skipping motion signal in the second and third axes both meet the corresponding jump threshold conditions. In this case, it is determined that the user has started rope skipping, and the second preliminary number of rope skipping is determined based on the number of amplitude characteristics in the second or third rope skipping motion signal that meet the jump threshold conditions at a level corresponding to the signal characteristics generated by the user's force level. The third axis is the axis in the rope skipping motion signal other than the first and second axes.

[0048] Step 205: Determine the first number of rope skipping within the first time according to the first preliminary selected number of rope skipping and the second preliminary selected number of rope skipping.

[0049] In actual applications, there may be a deviation between the first preliminary selected number of rope skipping and the second preliminary selected number of rope skipping. It is necessary to further determine the first number of rope skipping within the first time period by using the difference between the first preliminary selected number of rope skipping and the second preliminary selected number of rope skipping. Specifically, the following methods may be used, but are not limited to:

[0050] Determine whether the difference between the first preliminary selected number of skipping ropes and the second preliminary selected number of skipping ropes is greater than a preset threshold;

[0051] If so, the smallest number of rope skipping between the first preliminary number of rope skipping and the second preliminary number of rope skipping is used as the first number of rope skipping;

[0052] If not, the largest number of rope skipping between the first preliminary number of rope skipping and the second preliminary number of rope skipping is used as the first number of rope skipping.

[0053] In a specific implementation, if the difference between the first preliminary number of jumps and the second preliminary number of jumps is greater than a preset threshold, then the starting counting point corresponding to the axis corresponding to the larger of the first and second preliminary numbers of jumps is a non-jumping point, and the starting counting point corresponding to the axis corresponding to the smaller of the first and second preliminary numbers of jumps is the actual jump starting point. At this time, the smallest of the first and second preliminary numbers of jumps is used as the first number of jumps. If the difference between the first and second preliminary numbers of jumps is not greater than the preset threshold, it is more accurate to use the largest of the first and second preliminary numbers of jumps as the first number of jumps.

[0054] Step 103: Determine the rope skipping motion signal of the valid axis in the rope skipping motion signal of the user as the target rope skipping motion signal.

[0055] In practical applications, to reduce the computational complexity of rope skipping count identification and mitigate interference caused by waveform anomalies along a specific axis, a rope skipping motion signal with a normal overall waveform and a large amplitude can be selected from the user's rope skipping motion signal as the target rope skipping motion signal for further rope skipping count identification. A normal waveform means that the rope skipping motion signal along the same axis within a window does not have secondary peaks, i.e., two peaks, one large and one small.

[0056] Step 104: Based on the amplitude of the effective waveform of the target rope skipping motion signal after the first time, the counting threshold is updated in real time, and the waveform of the target rope skipping motion signal after the first time is identified in sequence according to the counting threshold to obtain the number of second rope skipping by the user after the first time.

[0057] In practical applications, after determining that the user has started skipping rope, the waveform of the target skipping rope motion signal after the first time can be identified based on the real-time updated counting threshold. Specifically, the following methods can be used, but are not limited to:

[0058] First, the initial counting threshold is determined based on the amplitude of the target rope skipping motion signal within the first time, and whether the first waveform of the target rope skipping motion signal after the first time is a valid waveform is determined based on the initial counting threshold; if so, the second rope skipping number is recorded plus 1, and the non-rope skipping number is cleared; if not, the non-rope skipping number is recorded plus 1.

[0059] In specific implementations, the initial counting threshold includes an initial peak counting threshold and an initial trough counting threshold. The initial peak counting threshold can be determined by multiplying the average value of the peak values ​​that meet the jump threshold conditions of the user's level within the first time by the average ratio coefficient. The initial trough counting threshold can be determined by multiplying the average value of the trough values ​​that meet the jump threshold conditions of the user's level within the first time by the average ratio coefficient. The average ratio coefficient is generally selected as 0.7. Based on the initial counting threshold, it is determined whether the first waveform of the target rope skipping motion signal after the first time is a valid waveform. If the peak of the first waveform is greater than the initial peak counting threshold and the trough of the first waveform is less than the initial trough counting threshold, the first waveform is a valid waveform, then the second rope skipping number is recorded plus 1, and the non-rope skipping number is cleared; otherwise, the first waveform is not a valid waveform, then the non-rope skipping number is recorded plus 1.

[0060] Then, for each waveform after the first waveform of the target rope skipping motion signal after the first time, the counting threshold of the current waveform is determined based on the amplitude of the previous valid waveform and the counting threshold of the previous valid waveform; according to the counting threshold of the current waveform, it is judged whether the current waveform in the target rope skipping motion signal is a valid waveform; if so, the number of the second rope skipping is recorded plus 1, and the number of non-rope skipping is cleared; if not, the number of non-rope skipping is recorded plus 1.

[0061] In specific implementations, the counting threshold of the current waveform is determined based on the amplitude of the previous valid waveform and the counting threshold of the previous valid waveform as follows: counting threshold of the current waveform = counting threshold of the previous valid waveform × a + amplitude of the previous valid waveform × b; where a is the proportional coefficient of the counting threshold of the previous valid waveform, and b is the proportional coefficient of the amplitude of the previous valid waveform. a and b are set based on experience. In the specific calculation process, the peak counting threshold of the previous valid waveform and the peak amplitude of the previous valid waveform are substituted to obtain the counting threshold of the current peak; the trough counting threshold of the previous valid waveform and the trough amplitude of the previous valid waveform are substituted to obtain the counting threshold of the current trough. Figure 4 As shown, based on the counting threshold of the current peak and the counting threshold of the current trough, it is determined whether the peak value of the current waveform in the target rope skipping motion signal is greater than the counting threshold of the peak of the current waveform, and whether the trough value of the current waveform is less than the counting threshold of the trough of the current waveform; if the peak value of the current waveform is greater than the counting threshold of the current peak and the trough value of the current waveform is less than the counting threshold of the current trough, then the peak of the current waveform is a valid peak and the trough of the current waveform is a valid trough. It can be further determined that the current waveform is a valid waveform, the second rope skipping count is recorded plus 1, and the number of non-rope skipping counts is cleared; otherwise, it is determined that the current waveform is not a valid waveform, and the number of non-rope skipping counts is recorded plus 1. In this way, determining the counting threshold of the current waveform based on the amplitude of the previous valid waveform and the counting threshold of the previous valid waveform can realize dynamic adjustment of the counting threshold, increase the adaptability of rope skipping counting, and effectively improve counting accuracy.

[0062] Step 105: Determine the total number of rope jumps currently performed by the user based on the first number of rope jumps and the second number of rope jumps, and output the result.

[0063] During specific implementation, the sum of the first number of rope skipping and the second number of rope skipping is the total number of rope skipping currently performed by the user.

[0064] In a possible implementation, after obtaining the number of second rope skipping performed by the user after the first time, it is also possible to determine whether the user has stopped rope skipping, specifically by but not limited to the following methods:

[0065] Determine whether the number of non-skipping ropes is greater than the stop threshold;

[0066] If so, determine that the user has stopped skipping, record the number of trips plus 1, and output the sum of the first jump number and the current second jump number as the current number of consecutive jumps;

[0067] If not, it is determined that the user is currently continuing to jump rope.

[0068] In practical applications, whether the user has stopped skipping can be determined based on whether the number of non-skipping attempts is greater than the stop threshold. If the number of non-skipping attempts is greater than the stop threshold, the user is determined to have stopped skipping. A skipping stop refers to a tripping attempt. In this case, the tripping count is incremented by 1 and the displayed tripping count is updated. The sum of the first jump count and the current second jump count is output as the current number of consecutive jumps. If the number of non-skipping attempts is not greater than the stop threshold, the user is determined to be continuously skipping.

[0069] In a possible implementation, after determining and outputting the current number of consecutive jumps, the user's current maximum number of consecutive jumps may also be output. Specifically, the following methods may be used, but are not limited to:

[0070] When it is determined that the current number of consecutive jumps is greater than the maximum number of consecutive jumps in history, the current number of consecutive jumps is output as the maximum number of consecutive jumps.

[0071] In actual applications, the smart watch can display the user's maximum number of consecutive jumps in real time. Every time the user stops jumping rope due to tripping and outputs the current number of consecutive jumps, the current number of consecutive jumps is compared with the historical maximum number of consecutive jumps. If the current number of consecutive jumps is greater than the historical maximum number of consecutive jumps, the current number of consecutive jumps is output as the maximum number of consecutive jumps. If the current number of consecutive jumps is not greater than the historical maximum number of consecutive jumps, the original maximum number of consecutive jumps is maintained.

[0072] Based on the above embodiments, the present application provides a rope skipping counting device, see Figure 5 As shown, the rope skipping counting device 500 provided in the embodiment of the present application includes at least:

[0073] A signal acquisition unit 501 is used to acquire a rope skipping motion signal of a user;

[0074] A counting unit 502 is configured to determine a change characteristic of the rope skipping motion signal within a first period of time, and if the change characteristic satisfies the jump threshold condition of the user's level in the graded jump threshold condition, determine that the user has started rope skipping and calculate the number of first jumps made by the user within the first period of time;

[0075] a target signal determining unit 503, configured to determine a rope skipping motion signal of a valid axis in the rope skipping motion signal of the user as a target rope skipping motion signal;

[0076] The counting unit 504 is configured to update the counting threshold in real time based on the amplitude of the effective waveform of the target rope skipping motion signal after the first time, and sequentially identify the waveform of the target rope skipping motion signal after the first time according to the counting threshold to obtain the number of second rope skipping performed by the user after the first time;

[0077] The number counting unit 505 is used to determine the total number of rope jumps performed by the user based on the first number of rope jumps and the second number of rope jumps, and output the result.

[0078] In one possible embodiment, the rope skipping motion signal is obtained by detecting at least one of an accelerometer sensor and a gyroscope sensor; the change characteristics of the rope skipping motion signal detected by the accelerometer sensor within the first time include amplitude characteristics and interval characteristics; the change characteristics of the rope skipping motion signal detected by the gyroscope sensor within the first time are amplitude characteristics.

[0079] In a possible implementation, the counting unit 502 is specifically configured to:

[0080] Determining the jump threshold condition for the user's level among the graded jump threshold conditions based on the signal characteristics generated by the user's force level;

[0081] Determine the change characteristics of the rope skipping motion signal in each axis through a sliding window within the first time;

[0082] If the change characteristics of the rope skipping motion signal in one axis satisfy the jump threshold condition, the number of rope skipping of the rope skipping motion signal in the first axis is recorded, and the number of rope skipping of the rope skipping motion signal in the first axis is used as the first preliminary rope skipping number;

[0083] If the change characteristics of the rope skipping motion signals in at least two axes both meet the jump threshold condition, the number of rope skipping motion signals in the second axis is used as the second preliminary number of rope skipping motions;

[0084] The first number of rope skipping within the first time is determined according to the first preliminary selected number of rope skipping and the second preliminary selected number of rope skipping.

[0085] In a possible implementation, the counting unit 502 is specifically configured to:

[0086] Determine whether the difference between the first preliminary selected number of skipping ropes and the second preliminary selected number of skipping ropes is greater than a preset threshold;

[0087] If so, the smallest number of rope skipping between the first preliminary number of rope skipping and the second preliminary number of rope skipping is used as the first number of rope skipping;

[0088] If not, the largest number of rope skipping between the first preliminary number of rope skipping and the second preliminary number of rope skipping is used as the first number of rope skipping.

[0089] In a possible implementation, the counting unit 504 is specifically configured to:

[0090] An initial counting threshold is determined based on the amplitude of the target rope skipping motion signal within the first time, and whether the first waveform of the target rope skipping motion signal after the first time is a valid waveform is determined based on the initial counting threshold; if so, the second rope skipping number is recorded plus 1, and the non-rope skipping number is cleared; if not, the non-rope skipping number is recorded plus 1;

[0091] For each waveform after the first waveform of the target rope skipping motion signal after the first time, the counting threshold of the current waveform is determined based on the amplitude of the previous valid waveform and the counting threshold of the previous valid waveform; according to the counting threshold of the current waveform, it is judged whether the current waveform in the target rope skipping motion signal is a valid waveform; if so, the number of second rope skipping is recorded plus 1, and the number of non-rope skipping is cleared; if not, the number of non-rope skipping is recorded plus 1.

[0092] Counting Threshold Counting Threshold In one possible implementation, the rope skipping counting device 500 further includes:

[0093] The stop-jump determination unit 506 is used to determine whether the number of non-jumping ropes is greater than the stop threshold; if so, it is determined that the user has stopped jumping rope, the number of tripping ropes is recorded plus 1, and the sum of the first jump rope number and the current second jump rope number is output as the current number of consecutive jumps; if not, it is determined that the user is currently continuing to jump rope.

[0094] In a possible implementation, the rope skipping counting device 500 further includes:

[0095] The maximum consecutive hop determination unit 507 is configured to output the current consecutive hop number as the maximum consecutive hop number when determining that the current consecutive hop number is greater than the historical maximum consecutive hop number.

[0096] It should be noted that the principle of solving the technical problem by the skipping rope counting device 500 provided in the embodiment of the present application is similar to the skipping rope counting method provided in the embodiment of the present application. Therefore, the implementation of the skipping rope counting device 500 provided in the embodiment of the present application can refer to the implementation of the skipping rope counting method provided in the embodiment of the present application, and the repeated parts will not be repeated.

[0097] After introducing the rope skipping counting method and device provided in the embodiments of the present application, the electronic device provided in the embodiments of the present application is briefly introduced.

[0098] See Figure 6 As shown, the electronic device 600 provided in the embodiment of the present application includes at least: a processor 601, a memory 602, and a computer program stored in the memory 602 and executable on the processor 601. When the processor 601 executes the computer program, the rope skipping counting method provided in the embodiment of the present application is implemented.

[0099] It should be noted that Figure 6 The electronic device 600 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.

[0100] The electronic device 600 provided in the embodiment of the present application may further include a bus 603 connecting different components (including the processor 601 and the memory 602). The bus 603 represents one or more of several types of bus structures, including a memory bus, a peripheral bus, a local bus, and the like.

[0101] The memory 602 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 6021 and / or a cache memory 6022 , and may further include a read-only memory (ROM) 6023 .

[0102] The memory 602 may also include a program tool 6025 having a set (at least one) of program modules 6024, including but not limited to: an operating subsystem, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0103] The electronic device 600 may also communicate with one or more external devices 604 (e.g., keyboards, remote controls, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 600 (e.g., mobile phones, computers, etc.), and / or any device that enables the electronic device 600 to communicate with one or more other electronic devices 600 (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 605. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 606. Figure 6 As shown, the network adapter 606 communicates with other modules of the electronic device 600 via the bus 603. Figure 6 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) subsystems, tape drives, and data backup storage subsystems.

[0104] The following describes the computer-readable storage medium provided in an embodiment of the present application. The computer-readable storage medium provided in an embodiment of the present application stores computer instructions, which, when executed by a processor, implement the rope skipping counting method provided in an embodiment of the present application. Specifically, the computer instructions may be built into or installed in the electronic device 600. Thus, the electronic device 600 can implement the rope skipping counting method provided in an embodiment of the present application by executing the built-in or installed computer instructions.

[0105] In addition, the rope skipping counting method provided in the embodiment of the present application can also be implemented as a program product, which includes a program code. When the program product can be run on the electronic device 600, the program code is used to enable the electronic device 600 to execute the rope skipping counting method provided in the embodiment of the present application.

[0106] The program product provided in the embodiments of the present application may adopt any combination of one or more readable media, wherein the readable medium may be a readable signal medium or a readable storage medium, and the readable storage medium may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination of the above. Specifically, more specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, RAM, ROM, Erasable Programmable Read Only Memory (EPROM), optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0107] The program product provided in the embodiments of the present application may be a CD-ROM and include program code, and may also be run on a computing device. However, the program product provided in the embodiments of the present application is not limited thereto. In the embodiments of the present application, the readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0108] It should be noted that although several units or subunits of the device are mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, depending on the embodiment of the application, the features and functions of two or more units described above can be embodied in a single unit. Conversely, the features and functions of a single unit described above can be further divided and embodied by multiple units.

[0109] Furthermore, although the operations of the method of the present application are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in this particular order, or that all illustrated operations must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0110] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present application.

[0111] Obviously, those skilled in the art may make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application also intends to include such modifications and variations.

Claims

1. A rope skipping counting method, characterized in that: include: Obtain the user's rope skipping motion signal; determining a change characteristic of the rope skipping motion signal within a first period of time, and if the change characteristic satisfies the jump threshold condition of the user's level in the graded jump threshold condition, determining that the user has started rope skipping and calculating the number of first jumps made by the user within the first period of time; determining a rope skipping motion signal of a valid axis in the rope skipping motion signal of the user as a target rope skipping motion signal; Based on the amplitude of the effective waveform of the target rope skipping motion signal after the first time, the counting threshold is updated in real time, and the waveforms of the target rope skipping motion signal after the first time are sequentially identified according to the counting threshold to obtain the number of second rope skipping by the user after the first time; Based on the first number of rope skipping and the second number of rope skipping, determining and outputting the total number of rope skipping currently performed by the user; The step of determining a change characteristic of the rope skipping motion signal within a first time, and if the change characteristic satisfies the jump threshold condition of the user's level in the graded jump threshold condition, determining that the user has started rope skipping and calculating the number of first jumps of the user within the first time includes: determining, according to the signal characteristics generated by the user's force exertion, a jump threshold condition for the level of the user in the graded jump threshold condition; Determine the change characteristics of the rope skipping motion signal in each axis through a sliding window within the first time; If the change characteristics of the rope skipping motion signal in one axis satisfy the jump threshold condition, the number of rope skipping of the rope skipping motion signal in the first axis is recorded, and the number of rope skipping of the rope skipping motion signal in the first axis is used as the first preliminary rope skipping number; If the change characteristics of the rope skipping motion signals in at least two axes both meet the jump threshold condition, the number of rope skipping in the rope skipping motion signal in the second axis is used as the second preliminary selected rope skipping number; The first number of rope skipping within the first time is determined according to the first preliminary selected number of rope skipping and the second preliminary selected number of rope skipping.

2. The rope skipping counting method according to claim 1, wherein: The rope skipping motion signal is detected by at least one of an accelerometer sensor and a gyroscope sensor; the change characteristics of the rope skipping motion signal detected by the accelerometer sensor within the first time include amplitude characteristics and interval characteristics; The change characteristic of the rope skipping motion signal detected by the gyro sensor within the first time is an amplitude characteristic.

3. The rope skipping counting method according to claim 1, wherein: The step of determining the first number of rope skipping within a first time period according to the first preliminary selected number of rope skipping and the second preliminary selected number of rope skipping includes: Determining whether a difference between the first preliminary selected number of rope skipping and the second preliminary selected number of rope skipping is greater than a preset threshold; If yes, the smallest of the first and second preliminary selected rope skipping numbers is used as the first rope skipping number; If not, the largest of the first preliminary selected number of rope skipping and the second preliminary selected number of rope skipping is used as the first number of rope skipping.

4. The rope skipping counting method according to any one of claims 1 to 3, wherein: The step of updating a counting threshold in real time based on the amplitude of the effective waveform of the target rope skipping motion signal after the first time, and sequentially identifying the waveform of the target rope skipping motion signal after the first time according to the counting threshold to obtain the number of second rope skipping by the user after the first time includes: An initial counting threshold is determined based on the amplitude of the target rope skipping motion signal within the first time, and whether the first waveform of the target rope skipping motion signal after the first time is a valid waveform is determined based on the initial counting threshold; if so, the second rope skipping number is recorded plus 1, and the non-rope skipping number is cleared; if not, the non-rope skipping number is recorded plus 1; For each waveform after the first waveform after the first time of the target rope skipping motion signal, the counting threshold of the current waveform is determined based on the amplitude of the previous valid waveform and the counting threshold of the previous valid waveform; according to the counting threshold of the current waveform, it is judged whether the current waveform in the target rope skipping motion signal is a valid waveform; if so, the second rope skipping number is recorded plus 1, and the non-rope skipping number is cleared; if not, the non-rope skipping number is recorded plus 1.

5. The rope skipping counting method according to claim 4, wherein: After obtaining the second number of rope skipping performed by the user after the first time, the method further includes: Determining whether the non-rope skipping number is greater than a stop threshold; If yes, determine that the user has stopped skipping, record the number of trips plus 1, and output the sum of the first number of skips and the current second number of skips as the current number of consecutive jumps; If not, it is determined that the user is currently continuing to jump rope.

6. The rope skipping counting method according to claim 5, wherein: After outputting the sum of the first number of rope skipping and the current number of second rope skipping as the current number of consecutive jumps, the method further includes: When it is determined that the current number of consecutive hops is greater than the maximum number of consecutive hops in history, the current number of consecutive hops is output as the maximum number of consecutive hops.

7. A skipping rope counting device, characterized in that: include: A signal acquisition unit, configured to acquire a rope skipping motion signal of a user; a counting unit, configured to determine a change characteristic of the rope skipping motion signal within a first period of time, and if the change characteristic satisfies the jump threshold condition of the user's level in the graded jump threshold condition, determine that the user has started rope skipping and calculate the number of first jumps of the user within the first period of time; a target signal determining unit, configured to determine a rope skipping motion signal of a valid axis in the rope skipping motion signal of the user as a target rope skipping motion signal; a counting unit, configured to update a counting threshold in real time based on the amplitude of the effective waveform of the target rope skipping motion signal after the first time, and sequentially identify the waveform of the target rope skipping motion signal after the first time according to the counting threshold, to obtain the number of second rope skipping performed by the user after the first time; a number counting unit, configured to determine and output a total number of rope skipping performed by the user based on the first number of rope skipping and the second number of rope skipping; The counting unit is specifically used for: determining, according to the signal characteristics generated by the user's force exertion, a jump threshold condition for the level of the user in the graded jump threshold condition; Determine the change characteristics of the rope skipping motion signal in each axis through a sliding window within the first time; If the change characteristics of the rope skipping motion signal in one axis satisfy the jump threshold condition, the number of rope skipping of the rope skipping motion signal in the first axis is recorded, and the number of rope skipping of the rope skipping motion signal in the first axis is used as the first preliminary rope skipping number; If the change characteristics of the rope skipping motion signals in at least two axes both meet the jump threshold condition, the number of rope skipping in the rope skipping motion signal in the second axis is used as the second preliminary selected rope skipping number; The first number of rope skipping within the first time is determined according to the first preliminary selected number of rope skipping and the second preliminary selected number of rope skipping.

8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the rope skipping counting method according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the rope skipping counting method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Rope skipping counting method and device based on wearable equipment, equipment and storage medium

    CN111558195A

  • Sit-up exercise counting device

    CN114425149A