CN111701216B - Rope skipping counting implementation method and system, wrist wearable device and storage medium - Google Patents

Rope skipping counting implementation method and system, wrist wearable device and storage medium Download PDF

Info

Publication number
CN111701216B
CN111701216B CN202010603018.6A CN202010603018A CN111701216B CN 111701216 B CN111701216 B CN 111701216B CN 202010603018 A CN202010603018 A CN 202010603018A CN 111701216 B CN111701216 B CN 111701216B
Authority
CN
China
Prior art keywords
rope skipping
skipping
rope
counting
judgment result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010603018.6A
Other languages
Chinese (zh)
Other versions
CN111701216A (en
Inventor
张腾飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN202010603018.6A priority Critical patent/CN111701216B/en
Publication of CN111701216A publication Critical patent/CN111701216A/en
Application granted granted Critical
Publication of CN111701216B publication Critical patent/CN111701216B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B71/00Games or sports accessories not covered in groups A63B1/00 - A63B69/00
    • A63B71/06Indicating or scoring devices for games or players, or for other sports activities
    • A63B71/0619Displays, user interfaces and indicating devices, specially adapted for sport equipment, e.g. display mounted on treadmills
    • A63B71/0669Score-keepers or score display devices
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B5/00Apparatus for jumping
    • A63B5/20Skipping-ropes or similar devices rotating in a vertical plane
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • G10L25/18Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters the extracted parameters being spectral information of each sub-band
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/02Preprocessing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/08Feature extraction
    • G06F2218/10Feature extraction by analysing the shape of a waveform, e.g. extracting parameters relating to peaks

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Quality & Reliability (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The invention provides a method and a system for realizing rope skipping counting, wrist wearable equipment and a storage medium, wherein the method comprises the following steps: respectively acquiring target audio data and target motion data during rope skipping; and judging the effectiveness of rope skipping according to the target audio data and the target motion data, and analyzing according to a judgment result to obtain the rope skipping times. The invention realizes automatic and accurate counting to obtain the rope skipping times of the user and improves the accuracy of rope skipping counting.

Description

Rope skipping counting implementation method and system, wrist wearable device and storage medium
Technical Field
The invention relates to the technical field of intelligent equipment, in particular to a rope skipping counting implementation method and system, wrist wearable equipment and a storage medium.
Background
Rope skipping is one of sports items that people often engage in, and a rope skipping person needs to count in the process of rope skipping, namely, needs to know the amount of exercise as a sports index, however, in the use of the existing rope skipping, the counting needs to be carried out by the person himself or by a judge, and when the person counts himself, on one hand, the attention of the rope skipping person is dispersed, and on the other hand, the counting is easy to be wrong. When counting is performed by a referee, a counting error is likely to occur.
In the prior art, an electronic counter is arranged in a handle for counting, and the number of rope skipping of a user is detected through the counter. However, whether the skipping rope normally crosses the skipping rope or not can not be judged by adopting a mode of placing a counter in the handle, and the problem of inaccurate counting exists. Also have through wrist formula wearing equipment such as phone wrist-watch, bracelet and carry out rope skipping number of times statistics through motion sensor, under the condition of user rope skipping action standard, the number of times of skipping of statistics rope that can be better, nevertheless because the user has the condition that the rope skipping action is irregular, utilize motion sensor to judge simply, can have great statistical error.
Therefore, how to accurately count the rope skipping times of the user is an urgent problem to be solved.
Disclosure of Invention
The invention aims to provide a rope skipping counting implementation method, a rope skipping counting implementation system, wrist type wearable equipment and a storage medium, which can be used for automatically and accurately counting the rope skipping times of a user and improving the accuracy of the rope skipping counting.
The technical scheme provided by the invention is as follows:
the invention provides a rope skipping counting implementation method, which comprises the following steps:
respectively acquiring target audio data and target motion data during rope skipping;
and judging the effectiveness of rope skipping according to the target audio data and the target motion data, and analyzing according to a judgment result to obtain the rope skipping times.
Further, the separately acquiring the target audio data and the target motion data during rope skipping comprises the steps of:
screening out target audio data which accord with the rope skipping counting time period according to the acquisition timestamp in the rope skipping counting time period in which the rope skipping counting function is started;
and screening out the target motion data which accords with the rope skipping counting time period according to the motion data acquired by the motion sensor and the acquisition timestamp.
Further, the rope skipping effectiveness judgment according to the target audio data and the target motion data, and the rope skipping times obtained by analyzing according to the judgment result comprise the following steps:
analyzing according to the target audio data to obtain a first judgment result of whether each time point is an effective rope skipping;
analyzing according to the target motion data to obtain a second judgment result of whether each time point is an effective rope skipping;
and obtaining the final rope skipping times according to the first judgment result and the second judgment result of each time point in the rope skipping period.
Further, the obtaining of the final rope skipping frequency according to the first determination result and the second determination result at each time point during the rope skipping period includes:
when the first judgment result and the second judgment result at the current time point are consistent, increasing the effective rope skipping for one time or zero times according to the type of the judgment result;
when the first judgment result and the second judgment result of the current time point are inconsistent, acquiring the accuracy of audio counting and motion counting within a preset time length from the current time point, determining the first judgment result or the second judgment result with high accuracy as a final effective rope skipping judgment result, and increasing effective rope skipping for one time or zero times according to the effective rope skipping judgment result;
and accumulating and calculating to obtain the final rope skipping times according to the effective rope skipping times of each time point in the rope skipping period.
The invention also provides a rope skipping counting implementation system, which comprises:
the acquisition module is used for respectively acquiring target audio data and target motion data during rope skipping;
and the processing module is used for judging the rope skipping effectiveness according to the target audio data and the target motion data and analyzing the judgment result to obtain the rope skipping times.
Further, the obtaining module includes:
the first acquisition unit is used for screening out target audio data which accord with the rope skipping counting time period according to the acquisition timestamp in the rope skipping counting time period in which the rope skipping counting function is started;
and the second acquisition unit is used for screening out the target motion data which accords with the rope skipping counting time period according to the motion data acquired by the motion sensor and the acquisition timestamp.
Further, the processing module comprises:
the first judgment unit is used for analyzing according to the target audio data to obtain a first judgment result of whether each time point is an effective skipping rope;
the second judgment unit is used for analyzing according to the target motion data to obtain a second judgment result whether each time point is an effective rope skipping or not;
and the processing unit is used for obtaining the final rope skipping times according to the first judgment result and the second judgment result of each time point in the rope skipping period.
Further, the processing unit includes:
the counting subunit is used for increasing the effective rope skipping for one time or zero times according to the type of the judgment result when the first judgment result and the second judgment result of the current time point are consistent;
the counting subunit is further configured to, when the first determination result and the second determination result at the current time point are inconsistent, obtain accuracy rates of audio counting and motion counting within a preset time period from the current time point, determine that the first determination result or the second determination result with high accuracy is a final effective rope skipping determination result, and increase effective rope skipping for one time or zero times according to the effective rope skipping determination result;
and the statistical unit is used for accumulating and calculating the final rope skipping times according to the effective rope skipping times of each time point in the rope skipping period.
The invention also provides a wrist wearable device, which comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the processor is used for executing the computer program stored in the memory to realize the operation executed by the rope skipping counting realization method.
The invention also provides a storage medium, which is characterized in that at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to realize the operation executed by the rope skipping counting implementation method.
By the method and the system for realizing rope skipping counting, the wrist type wearable device and the storage medium, the rope skipping frequency of the user can be automatically and accurately counted, and the accuracy of rope skipping counting is improved.
Drawings
The above features, technical features, advantages and implementations of the rope skipping counting implementation method, system, wrist wearable device and storage medium will be further described in the following detailed description of preferred embodiments in a clearly understandable manner with reference to the accompanying drawings.
FIG. 1 is a flow chart of one embodiment of a rope skipping counting implementation method of the present invention;
FIG. 2 is a flow chart of another embodiment of a rope skipping counting implementation method of the present invention;
FIG. 3 is a flow chart of another embodiment of a rope skipping counting implementation method of the present invention;
FIG. 4 is a flow chart of another embodiment of a rope skipping counting implementation method of the present invention;
FIG. 5 is a schematic diagram of a skipping rope counting implementation system according to an embodiment of the invention;
fig. 6 is a schematic structural diagram of an embodiment of a wrist wearable device of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
In an embodiment of the present invention, as shown in fig. 1, a method for implementing rope skipping counting includes:
s100, respectively acquiring target audio data and target motion data during rope skipping;
specifically, the wrist wearable device has an audio signal collecting function and a motion data collecting function, for example, the wrist wearable device collects surrounding audio data through a microphone or a sound sensor such as a microphone array, and the wrist wearable device collects motion data of the wrist wearable device through the motion sensor.
Due to the motion and sound sensors of wrist wearable devices, it is possible to always collect motion and audio data when the device is powered on. Certainly, under the actual use scene, the motion data can be gathered all the time to wrist wearable device's motion sensor when equipment is gone up electricity, and the sound sensor only opens the audio frequency and records the function or just can gather audio data when skipping the counting function, consequently, need acquire the target audio data and the target motion data of user during skipping the rope, like this, can avoid skipping the counting to make mistakes, promote the rate of accuracy of skipping the counting of skipping the rope.
S200, rope skipping effectiveness judgment is carried out according to the target audio data and the target motion data, and rope skipping times are obtained through analysis according to judgment results.
Specifically, according to the target audio data and the target motion data, the effectiveness judgment result of judging whether the current skipping rope is an effective skipping rope or an ineffective skipping rope is combined, so that the total number of times of the effective skipping rope can be analyzed and statistically determined as the final skipping rope number according to the effectiveness judgment result.
In this embodiment, combine target audio data and target motion data to carry out the statistics of the number of times of skipping, can effectively get rid of the count of skipping, the user only stands tiptoe, only shakes the hand, continues the false behaviors of skipping such as jumping after stepping on the rope, also can reduce the normative requirement of the count function of skipping to the user behavior of skipping, improves the degree of accuracy of skipping the count.
Preferably, if the wrist wearable device worn by the user acquires target audio data and target motion data during rope skipping according to the above mode and acquires rope skipping times according to the above mode, the user does not need to count the rope skipping times by himself or count the rope skipping times by a judge, and the accuracy of the rope skipping time counting can be greatly improved.
If the server establishes communication connection with each wrist wearable device in a wireless communication mode (such as WIFI, mobile networks such as 2G, 3G, 4G or 5G) and the like), the server acquires target audio data and target motion data during a rope jump from the respective wrist wearable devices, the rope skipping times are acquired by referring to the mode, so that the wrist wearable device can only carry out data acquisition, the effectiveness judgment of rope skipping and the counting of the rope skipping times are realized by the server, the hardware requirement of a CPU of the wrist wearable device is reduced, the self-counting of the rope skipping times of different users can also be realized, and then the rope skipping times of different users are sequenced and compared to obtain a rope skipping score ranking list, and the rope skipping score ranking list can be subsequently sent to each wrist wearable device by the server, so that each user is stimulated to further improve the rope skipping capability of the user.
In an embodiment of the present invention, as shown in fig. 2, a method for implementing rope skipping counting includes:
s110, screening out target audio data which accord with the rope skipping counting time period according to the acquisition timestamp in the rope skipping counting time period in which the rope skipping counting function is started;
specifically, the wearable equipment of wrist formula can possess gesture unblock function, judges whether accord with the predetermined gesture that rope skipping counting function opened through the gesture data of gathering user input, if then opens wearable equipment of wrist formula's rope skipping counting function automatically. Certainly, the wearable wrist device can also recognize the pressing state of the power on/off button to determine whether the power on/off function or the skipping rope counting function switch is performed, for example, the duration of continuously pressing the power on/off button reaches the preset duration to trigger automatic power on/off, and then the preset number of times of intermittent pressing (for example, 2 times of pressing in 5 s) in the preset duration can be set to trigger the skipping rope counting function of automatically turning on/off the wearable wrist device. Certainly, the wrist wearable device may additionally include a rope skipping counting control button (which may be a touch button or a mechanical button), and the user presses the rope skipping counting control button to switch on/off the rope skipping counting function.
The wearable wrist equipment can be counted by a plurality of rounds of rope skipping, and the wearable wrist equipment starts to time by taking the starting time of the rope skipping counting function of the current round as a starting point until the rope skipping counting function of the current round is closed, namely the rope skipping counting time period when the rope skipping counting function of the current round is in an open state. The wrist wearable device can screen out target audio data which accord with the rope skipping counting time period according to the collecting timestamp in the rope skipping counting time period. Of course, if the sound sensor is always in the on state, since each frame of audio data has a corresponding time stamp, the audio data meeting the range of the rope skipping counting time period can be screened out according to the collecting time stamp to be used as the target audio data.
Preferably, the wearable equipment of wrist formula also probably opens the camera video recording function in the rope skipping count time quantum that the counting function of rope skipping opened, at this moment, only need record the video data who acquires the rope skipping action, extract from the video data can, can avoid data conflict and set up two way audio frequency collection passageways (when camera video recording function and rope skipping counting function were opened simultaneously, audio frequency collection passageway of the same way cooperates the camera to shoot the collection when the image and logs around sound signal, another way audio frequency collection passageway only gathers around the recording sound signal), increase the hardware cost of wearable equipment of wrist formula, avoid extravagant hardware resources and reduce electric quantity consumption.
S120, screening out target motion data which accord with a rope skipping counting time period according to the motion data acquired by the motion sensor according to the acquisition timestamp;
specifically, the motion sensor is always in a working state when being powered on and working on the wrist wearable device, so that motion data which accord with a rope skipping counting time period can be screened out only according to the collection timestamp and used as target motion data. Among them, the motion sensor includes, but is not limited to, a gyroscope, an acceleration sensor, a velocity sensor, and the like.
S200, rope skipping effectiveness judgment is carried out according to the target audio data and the target motion data, and rope skipping times are obtained through analysis according to judgment results.
Specifically, the same portions of this embodiment as those of the above embodiment refer to the above method embodiment, and are not described in detail here. The method and the device perform statistics on rope skipping times by combining the target audio data and the target motion data, can realize automatic accurate counting without manual work to obtain the rope skipping times of the user, and have strong practicability.
In an embodiment of the present invention, as shown in fig. 3, a method for implementing rope skipping counting includes:
s110, screening out target audio data which accord with the rope skipping counting time period according to the acquisition timestamp in the rope skipping counting time period in which the rope skipping counting function is started;
s120, screening out target motion data which accord with a rope skipping counting time period according to the motion data acquired by the motion sensor according to the acquisition timestamp;
s210, analyzing according to the target audio data to obtain a first judgment result of whether each time point is an effective rope skipping;
specifically, target audio data generated by rope skipping actions are acquired, filtering is carried out on the target audio data to remove interference sounds and noise, sampling frequency of audio is extracted from the filtered target audio data, an audio waveform diagram with time as a horizontal coordinate is drawn, Fourier transform is carried out on the audio waveform diagram to obtain a sound frequency spectrogram, wave crests and wave troughs are found out from the sound frequency spectrogram, when rope skipping of a user is effective, the sound frequency spectrogram presents continuity regularity, namely the numerical values of the wave crests and the wave troughs are within a certain numerical value range, and at the moment, the rope skipping at the current time point is judged to be effective rope skipping. When the rope skipping of the user is invalid, the sound frequency spectrogram shows an irregular sign, namely, the numerical values of the wave crest and the wave trough are not in a certain numerical value range or the waveform is discontinuous in disconnection, and at the moment, the rope skipping at the current time point is judged to be invalid. And drawing an audio waveform graph into a coordinate system according to the target audio data, taking the time frame as a horizontal axis, and judging by using auditory mechanism analysis to realize the effectiveness judgment of rope skipping.
S220, analyzing according to the target motion data to obtain a second judgment result of whether each time point is an effective rope skipping;
specifically, target motion data generated by rope skipping actions are acquired, the target motion data are filtered to remove interference, sampling frequency of motion is extracted from the filtered target motion data, a motion oscillogram taking time as a horizontal coordinate is drawn, Fourier transform is performed on the motion oscillogram to obtain a motion spectrogram, wave crests and wave troughs are found out from the motion spectrogram, and the motion spectrogram shows continuous regularity when a user skips a rope, namely the numerical values of the wave crests and the wave troughs are within a certain numerical value range, so that the rope skipping at the current time point is judged to be effective rope skipping. When the rope skipping of the user is invalid, the motion spectrogram shows an irregular sign, namely the numerical values of the wave crest and the wave trough are not in a certain numerical range or the waveform is discontinuous in disconnection, and the rope skipping at the current time point is judged to be invalid. And drawing the motion waveform graph into a coordinate system according to the target motion data, taking the time frame as a horizontal axis, and judging by using mechanism analysis that the motion data have regularity when the motion is repeated to realize the effectiveness judgment of rope skipping.
S230 obtains a final number of times of rope skipping according to the first determination result and the second determination result at each time point during the rope skipping.
Specifically, after a first judgment result and a second judgment result during rope skipping are obtained, a final judgment whether the skipping rope at each time point is valid is obtained according to the combination of the first judgment result and the second judgment result at each time point, and then final rope skipping times are obtained through statistics according to the final judgment results whether the skipping ropes corresponding to all the time points are valid.
For example, the conventional telephone watches and bracelets generally carry out rope skipping times statistics through motion sensors, and can better count the rope skipping times under the condition that a user has standard rope skipping actions. Because the group of pupils has the condition of irregular rope skipping action, the judgment is carried out by only utilizing the motion sensor, and larger statistical errors exist. Through observing the discovery, no matter the action of skipping rope is standard, as long as accomplish the action of skipping rope, then can produce some continuous and regular sound, sound like the wrist is rocked, the sound of rope friction air, the sound of rope collision ground and the sound that the user jumped and trampled ground, so through gathering near wrist wearable equipment such as wrist-watch, bracelet and obtain target audio data, carry out the screening after the motion data is gathered through motion sensor and acquire target motion data, carry out the first judged result whether effective skipping rope is obtained to the frequency spectrum regularity analysis of target audio data, carry out the second judged result whether effective skipping rope is obtained to target motion data motion state analysis, combine first judged result and second judged result to carry out comprehensive judgement, can play the effect that promotes skipping rope counting accuracy.
In an embodiment of the present invention, as shown in fig. 4, a method for implementing rope skipping counting includes:
s110, screening out target audio data which accord with the rope skipping counting time period according to the acquisition timestamp in the rope skipping counting time period in which the rope skipping counting function is started;
s120, screening out target motion data which accord with a rope skipping counting time period according to the motion data acquired by the motion sensor according to the acquisition timestamp;
s210, analyzing according to the target audio data to obtain a first judgment result of whether each time point is an effective rope skipping;
s220, analyzing according to the target motion data to obtain a second judgment result of whether each time point is an effective rope skipping;
s231, when the first judgment result and the second judgment result of the current time point are consistent, increasing effective rope skipping for one time or zero times according to the type of the judgment result;
specifically, the rope skipping effectiveness of the end user is judged by combining the analysis result of the sound frequency spectrum nearby during rope skipping and the analysis result of the motion sensor, so that the purpose of counting rope skipping is achieved. And during rope skipping counting, if the first judgment result and the second judgment result are consistent and are both effective rope skipping, adding one to the effective rope skipping times. And if the first judgment result is consistent with the second judgment result and both the first judgment result and the second judgment result are invalid rope skipping, counting is not carried out or the number of rope skipping times is increased to zero.
S232, when the first judgment result and the second judgment result of the current time point are inconsistent, obtaining the accuracy of audio counting and motion counting within a preset time length from the current time point, determining the first judgment result or the second judgment result with high accuracy as a final effective rope skipping judgment result, and increasing effective rope skipping for one time or zero times according to the effective rope skipping judgment result;
specifically, assume that the motion skipping counting is performed according to the motion rule, that is, the accuracy of the skipping validity determination is a first value, and assume that the audio skipping counting is performed according to the audio waveform rule, that is, the accuracy of the skipping validity determination is a second value. The first numerical value and the second numerical value may be different, so that when the first determination result and the second determination result at the current time point are inconsistent, the accuracy rates of the audio count and the motion count within the preset time length from the current time point are respectively obtained, and corresponding weight coefficients are set, wherein the weight coefficient with high set accuracy is large, so that the first determination result (or the second determination result) with high accuracy is determined to be the final effective rope skipping determination result, and if the effective rope skipping determination result is effective rope skipping, the number of effective rope skipping times is increased by one. And if the effective skipping rope judgment result is the ineffective skipping rope, counting is not carried out or the skipping rope times are added with zero.
Illustratively, the accuracy of the motion count within a preset time length from the current time point is higher than the accuracy of the audio count, the weight coefficient of the motion count is higher than the weight coefficient of the audio count, and the second determination result corresponding to the motion count is taken as the final effective skipping rope determination result when the first determination result is inconsistent with the second determination result.
S233, the final rope skipping times are obtained through accumulation calculation according to the effective rope skipping times of each time point in the rope skipping period.
Specifically, the effective skipping rope is switched to the next time point for effective skipping rope judgment, and then the effective skipping rope judgment mode of the current time point is continued according to the first judgment result and the second judgment result of the next time point, whether the effective skipping rope is increased once or zero times is determined at the next time point, the determination is similar in sequence, and the final skipping rope times are obtained by accumulating and calculating the times of adding one to the effective skipping rope at each time point during rope skipping.
When a user jumps, the telephone watch device main body collects nearby sounds and carries out spectrum analysis, and rope skipping times are counted and optimized according to regularity fed back in the spectrum. For example, when the motion sensor cannot well judge the rope skipping completion degree of the user, the sound spectrum can be analyzed with the aid of the sound spectrum, and the sound spectrum is marked as valid if the sound spectrum still shows regularity, and the sound spectrum is marked as invalid if the sound spectrum has an obvious sign of disconnection. According to the invention, false skipping behaviors such as standing tipon the foot, shaking hands and continuing to skip after stepping on the rope of the user in the skipping counting can be effectively eliminated, meanwhile, the requirement of the skipping counting function on the normalization of the skipping behavior of the user is reduced, and the skipping counting accuracy is improved.
In an embodiment of the present invention, as shown in fig. 5, a system for counting skipping ropes includes:
the acquisition module is used for respectively acquiring target audio data and target motion data during rope skipping;
and the processing module is used for judging the rope skipping effectiveness according to the target audio data and the target motion data and analyzing the judgment result to obtain the rope skipping times.
Specifically, the wrist wearable device has an audio signal collecting function and a motion data collecting function, for example, the wrist wearable device collects surrounding audio data through a microphone or a sound sensor such as a microphone array, and the wrist wearable device collects motion data of the wrist wearable device through the motion sensor.
Due to the motion and sound sensors of wrist wearable devices, it is possible to always collect motion and audio data when the device is powered on. Certainly, under the actual use scene, the motion data can be gathered all the time to wrist wearable device's motion sensor when equipment is gone up electricity, and the sound sensor only opens the audio frequency and records the function or just can gather audio data when skipping the counting function, consequently, need acquire the target audio data and the target motion data of user during skipping the rope, like this, can avoid skipping the counting to make mistakes, promote the rate of accuracy of skipping the counting of skipping the rope.
And combining the effectiveness judgment result of judging whether the current skipping rope is an effective skipping rope or an ineffective skipping rope according to the target audio data and the target motion data, so that the total number of times of the effective skipping rope can be analyzed and counted as the final skipping rope number according to the effectiveness judgment result.
In this embodiment, combine target audio data and target motion data to carry out the statistics of the number of times of skipping, can effectively get rid of the count of skipping, the user only stands tiptoe, only shakes the hand, continues the false behaviors of skipping such as jumping after stepping on the rope, also can reduce the normative requirement of the count function of skipping to the user behavior of skipping, improves the degree of accuracy of skipping the count.
Preferably, if the wrist wearable device worn by the user acquires target audio data and target motion data during rope skipping according to the above mode and acquires rope skipping times according to the above mode, the user does not need to count the rope skipping times by himself or count the rope skipping times by a judge, and the accuracy of the rope skipping time counting can be greatly improved.
If the server establishes communication connection with each wrist wearable device in a wireless communication mode (such as WIFI, mobile networks such as 2G, 3G, 4G or 5G) and the like), the server acquires target audio data and target motion data during a rope jump from the respective wrist wearable devices, the rope skipping times are acquired by referring to the mode, so that the wrist wearable device can only carry out data acquisition, the effectiveness judgment of rope skipping and the counting of the rope skipping times are realized by the server, the hardware requirement of a CPU of the wrist wearable device is reduced, the self-counting of the rope skipping times of different users can also be realized, and then the rope skipping times of different users are sequenced and compared to obtain a rope skipping score ranking list, and the rope skipping score ranking list can be subsequently sent to each wrist wearable device by the server, so that each user is stimulated to further improve the rope skipping capability of the user.
Based on the foregoing embodiment, the obtaining module includes:
the first acquisition unit is used for screening out target audio data which accord with the rope skipping counting time period according to the acquisition timestamp in the rope skipping counting time period in which the rope skipping counting function is started;
and the second acquisition unit is used for screening out target motion data which accord with the rope skipping counting time period according to the motion data acquired by the motion sensor.
Specifically, the wearable equipment of wrist formula can possess gesture unblock function, judges whether accord with the predetermined gesture that rope skipping counting function opened through the gesture data of gathering user input, if then opens wearable equipment of wrist formula's rope skipping counting function automatically. Certainly, the wearable wrist device can also recognize the pressing state of the power on/off button to determine whether the power on/off function or the skipping rope counting function switch is performed, for example, the duration of continuously pressing the power on/off button reaches the preset duration to trigger automatic power on/off, and then the preset number of times of intermittent pressing (for example, 2 times of pressing in 5 s) in the preset duration can be set to trigger the skipping rope counting function of automatically turning on/off the wearable wrist device. Certainly, the wrist wearable device may additionally include a rope skipping counting control button (which may be a touch button or a mechanical button), and the user presses the rope skipping counting control button to switch on/off the rope skipping counting function.
The wearable wrist equipment can be counted by a plurality of rounds of rope skipping, and the wearable wrist equipment starts to time by taking the starting time of the rope skipping counting function of the current round as a starting point until the rope skipping counting function of the current round is closed, namely the rope skipping counting time period when the rope skipping counting function of the current round is in an open state. The wrist wearable device can screen out target audio data which accord with the rope skipping counting time period according to the collecting timestamp in the rope skipping counting time period. Of course, if the sound sensor is always in the on state, since each frame of audio data has a corresponding time stamp, the audio data meeting the range of the rope skipping counting time period can be screened out according to the collecting time stamp to be used as the target audio data.
Preferably, the wearable equipment of wrist formula also probably opens the camera video recording function in the rope skipping count time quantum that the counting function of rope skipping opened, at this moment, only need record the video data who acquires the rope skipping action, extract from the video data can, can avoid data conflict and set up two way audio frequency collection passageways (when camera video recording function and rope skipping counting function were opened simultaneously, audio frequency collection passageway of the same way cooperates the camera to shoot the collection when the image and logs around sound signal, another way audio frequency collection passageway only gathers around the recording sound signal), increase the hardware cost of wearable equipment of wrist formula, avoid extravagant hardware resources and reduce electric quantity consumption.
The method and the device perform statistics on rope skipping times by combining the target audio data and the target motion data, can realize automatic accurate counting without manual work to obtain the rope skipping times of the user, and have strong practicability.
Based on the foregoing embodiments, the processing module includes:
the first judgment unit is used for analyzing according to the target audio data to obtain a first judgment result of whether each time point is an effective skipping rope;
specifically, target audio data generated by rope skipping actions are acquired, filtering is carried out on the target audio data to remove interference sounds and noise, sampling frequency of audio is extracted from the filtered target audio data, an audio waveform diagram with time as a horizontal coordinate is drawn, Fourier transform is carried out on the audio waveform diagram to obtain a sound frequency spectrogram, wave crests and wave troughs are found out from the sound frequency spectrogram, when rope skipping of a user is effective, the sound frequency spectrogram presents continuity regularity, namely the numerical values of the wave crests and the wave troughs are within a certain numerical value range, and at the moment, the rope skipping at the current time point is judged to be effective rope skipping. When the rope skipping of the user is invalid, the sound frequency spectrogram shows an irregular sign, namely, the numerical values of the wave crest and the wave trough are not in a certain numerical value range or the waveform is discontinuous in disconnection, and at the moment, the rope skipping at the current time point is judged to be invalid. And drawing an audio waveform graph into a coordinate system according to the target audio data, taking the time frame as a horizontal axis, and judging by using auditory mechanism analysis to realize the effectiveness judgment of rope skipping.
The second judgment unit is used for analyzing according to the target motion data to obtain a second judgment result whether each time point is an effective rope skipping or not;
specifically, target motion data generated by rope skipping actions are acquired, the target motion data are filtered to remove interference, sampling frequency of motion is extracted from the filtered target motion data, a motion oscillogram taking time as a horizontal coordinate is drawn, Fourier transform is performed on the motion oscillogram to obtain a motion spectrogram, wave crests and wave troughs are found out from the motion spectrogram, and the motion spectrogram shows continuous regularity when a user skips a rope, namely the numerical values of the wave crests and the wave troughs are within a certain numerical value range, so that the rope skipping at the current time point is judged to be effective rope skipping. When the rope skipping of the user is invalid, the motion spectrogram shows an irregular sign, namely the numerical values of the wave crest and the wave trough are not in a certain numerical range or the waveform is discontinuous in disconnection, and the rope skipping at the current time point is judged to be invalid. And drawing the motion waveform graph into a coordinate system according to the target motion data, taking the time frame as a horizontal axis, and judging by using mechanism analysis that the motion data have regularity when the motion is repeated to realize the effectiveness judgment of rope skipping.
And the processing unit is used for obtaining the final rope skipping times according to the first judgment result and the second judgment result of each time point in the rope skipping period.
Specifically, after a first judgment result and a second judgment result during rope skipping are obtained, a final judgment whether the skipping rope at each time point is valid is obtained according to the combination of the first judgment result and the second judgment result at each time point, and then final rope skipping times are obtained through statistics according to the final judgment results whether the skipping ropes corresponding to all the time points are valid.
For example, the conventional telephone watches and bracelets generally carry out rope skipping times statistics through motion sensors, and can better count the rope skipping times under the condition that a user has standard rope skipping actions. Because the group of pupils has the condition of irregular rope skipping action, the judgment is carried out by only utilizing the motion sensor, and larger statistical errors exist. Through observing the discovery, no matter the action of skipping rope is standard, as long as accomplish the action of skipping rope, then can produce some continuous and regular sound, sound like the wrist is rocked, the sound of rope friction air, the sound of rope collision ground and the sound that the user jumped and trampled ground, so through gathering near wrist wearable equipment such as wrist-watch, bracelet and obtain target audio data, carry out the screening after the motion data is gathered through motion sensor and acquire target motion data, carry out the first judged result whether effective skipping rope is obtained to the frequency spectrum regularity analysis of target audio data, carry out the second judged result whether effective skipping rope is obtained to target motion data motion state analysis, combine first judged result and second judged result to carry out comprehensive judgement, can play the effect that promotes skipping rope counting accuracy.
Based on the foregoing embodiments, the processing unit includes:
the counting subunit is used for increasing the effective rope skipping for one time or zero times according to the type of the judgment result when the first judgment result and the second judgment result of the current time point are consistent;
specifically, the rope skipping effectiveness of the end user is judged by combining the analysis result of the sound frequency spectrum nearby during rope skipping and the analysis result of the motion sensor, so that the purpose of counting rope skipping is achieved. And during rope skipping counting, if the first judgment result and the second judgment result are consistent and are both effective rope skipping, adding one to the effective rope skipping times. And if the first judgment result is consistent with the second judgment result and both the first judgment result and the second judgment result are invalid rope skipping, counting is not carried out or the number of rope skipping times is increased to zero.
The counting subunit is further configured to, when the first determination result and the second determination result at the current time point are inconsistent, obtain the accuracy of the audio count and the motion count within a preset time period from the current time point, determine that the first determination result or the second determination result with high accuracy is a final effective rope skipping determination result, and increase effective rope skipping for one time or zero times according to the effective rope skipping determination result;
specifically, assume that the motion skipping counting is performed according to the motion rule, that is, the accuracy of the skipping validity determination is a first value, and assume that the audio skipping counting is performed according to the audio waveform rule, that is, the accuracy of the skipping validity determination is a second value. The first numerical value and the second numerical value may be different, so that when the first determination result and the second determination result at the current time point are inconsistent, the accuracy rates of the audio count and the motion count within the preset time length from the current time point are respectively obtained, and corresponding weight coefficients are set, wherein the weight coefficient with high set accuracy is large, so that the first determination result (or the second determination result) with high accuracy is determined to be the final effective rope skipping determination result, and if the effective rope skipping determination result is effective rope skipping, the number of effective rope skipping times is increased by one. And if the effective skipping rope judgment result is the ineffective skipping rope, counting is not carried out or the skipping rope times are added with zero.
Illustratively, the accuracy of the motion count within a preset time length from the current time point is higher than the accuracy of the audio count, the weight coefficient of the motion count is higher than the weight coefficient of the audio count, and the second determination result corresponding to the motion count is taken as the final effective skipping rope determination result when the first determination result is inconsistent with the second determination result.
And the statistical unit is used for accumulating and calculating the final rope skipping times according to the effective rope skipping times of each time point in the rope skipping period.
Specifically, the effective skipping rope is switched to the next time point for effective skipping rope judgment, and then the effective skipping rope judgment mode of the current time point is continued according to the first judgment result and the second judgment result of the next time point, whether the effective skipping rope is increased once or zero times is determined at the next time point, the determination is similar in sequence, and the final skipping rope times are obtained by accumulating and calculating the times of adding one to the effective skipping rope at each time point during rope skipping.
When a user jumps, the telephone watch device main body collects nearby sounds and carries out spectrum analysis, and rope skipping times are counted and optimized according to regularity fed back in the spectrum. For example, when the motion sensor cannot well judge the rope skipping completion degree of the user, the sound spectrum can be analyzed with the aid of the sound spectrum, and the sound spectrum is marked as valid if the sound spectrum still shows regularity, and the sound spectrum is marked as invalid if the sound spectrum has an obvious sign of disconnection. According to the invention, false skipping behaviors such as standing tipon the foot, shaking hands and continuing to skip after stepping on the rope of the user in the skipping counting can be effectively eliminated, meanwhile, the requirement of the skipping counting function on the normalization of the skipping behavior of the user is reduced, and the skipping counting accuracy is improved.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of program modules is illustrated, and in practical applications, the above-described distribution of functions may be performed by different program modules, that is, the internal structure of the apparatus may be divided into different program units or modules to perform all or part of the above-described functions. Each program module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one processing unit, and the integrated unit may be implemented in a form of hardware, or may be implemented in a form of software program unit. In addition, the specific names of the program modules are only used for distinguishing the program modules from one another, and are not used for limiting the protection scope of the application.
One embodiment of the present invention, as shown in fig. 6, a wrist wearable device 100, comprises a processor 110, a memory 120, wherein the memory 120 is used for storing a computer program 121; the processor 110 is configured to execute the computer program 121 stored in the memory 120 to implement the rope skipping counting implementation method in the method embodiments corresponding to fig. 1 to 4.
The wrist wearable device 100 may be a desktop computer, a notebook, a palm computer, a tablet computer, a mobile phone, a human-computer interaction screen, or the like. The wrist wearable device 100 may include, but is not limited to, a processor 110, a memory 120. Those skilled in the art will appreciate that fig. 6 is merely an example of the wrist wearable device 100, does not constitute a limitation of the wrist wearable device 100, may include more or fewer components than shown, or combine certain components, or different components, such as: the wrist wearable device 100 may also include input/output interfaces, display devices, network access devices, communication buses, communication interfaces, and the like. A communication interface and a communication bus, and may further include an input/output interface, wherein the processor 110, the memory 120, the input/output interface and the communication interface complete communication with each other through the communication bus. The memory 120 stores a computer program 121, and the processor 110 is configured to execute the computer program 121 stored in the memory 120 to implement the rope skipping counting implementation method in the method embodiment corresponding to fig. 1 to 4.
The Processor 110 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 120 may be an internal storage unit of the wrist wearable device 100, such as: hard disk or memory of wrist formula wearable equipment. The memory may also be an external storage device of the wrist wearable device, such as: the wrist type wearable device is provided with a plug-in type hard disk, an intelligent memory Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like. Further, the memory 120 may also include both an internal storage unit and an external storage device of the wrist wearable device 100. The memory 120 is used for storing the computer program 121 and other programs and data required by the wrist wearable device 100. The memory may also be used to temporarily store data that has been output or is to be output.
A communication bus is a circuit that connects the described elements and enables transmission between the elements. For example, the processor 110 receives commands from other elements through the communication bus, decrypts the received commands, and performs calculations or data processing according to the decrypted commands. The memory 120 may include program modules such as a kernel (kernel), middleware (middleware), an Application Programming Interface (API), and applications. The program modules may be comprised of software, firmware or hardware, or at least two of the same. The input/output interface forwards commands or data entered by a user via the input/output interface (e.g., sensor, keyboard, touch screen). The communication interface connects the wrist wearable device 100 with other network devices, user devices, networks. For example, the communication interface may be connected to a network by wire or wirelessly to connect to external other network devices or user devices. The wireless communication may include at least one of: wireless fidelity (Wi-Fi), Bluetooth (BT), Near Field Communication (NFC), Global Positioning Satellite (GPS), cellular communications, and the like. The wired communication may include at least one of: universal Serial Bus (USB), high-definition multimedia interface (HDMI), asynchronous transfer standard interface (RS-232), and the like. The network may be a telecommunications network and a communications network. The communication network may be a computer network, the internet of things, a telephone network. The wrist wearable device 100 may be connected to the network through a communication interface, and a protocol by which the wrist wearable device 100 communicates with other network devices may be supported by at least one of an application, an Application Programming Interface (API), middleware, a kernel, and a communication interface.
In an embodiment of the present invention, a storage medium stores at least one instruction, and the instruction is loaded and executed by a processor to implement the operations performed by the corresponding embodiments of the rope skipping counting implementation method. For example, the storage medium may be a read-only memory (ROM), a Random Access Memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
They may be implemented in program code that is executable by a computing device such that it is executed by the computing device, or separately, or as individual integrated circuit modules, or as a plurality or steps of individual integrated circuit modules. Thus, the present invention is not limited to any specific combination of hardware and software.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or recited in detail in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/wrist wearable device and method may be implemented in other ways. For example, the above-described device/wrist wearable device embodiments are merely illustrative, and for example, the division of the modules or units is merely a logical division of functions, and other divisions may be implemented in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units may be stored in a storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow in the method according to the embodiments of the present invention may also be implemented by sending instructions to relevant hardware by the computer program 121, where the computer program 121 may be stored in a storage medium, and when the computer program 121 is executed by a processor, the steps of the above-described embodiments of the method may be implemented. The computer program 121 may be in a source code form, an object code form, an executable file or some intermediate form, etc. The storage medium may include: any entity or device capable of carrying the computer program 121, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content of the storage medium may be increased or decreased as appropriate according to the requirements of legislation and patent practice in the jurisdiction, for example: in certain jurisdictions, in accordance with legislation and patent practice, computer-readable storage media do not include electrical carrier signals and telecommunications signals.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (8)

1. A rope skipping counting implementation method is characterized by comprising the following steps:
respectively acquiring target audio data and target motion data during rope skipping; the target audio data is audio data collected by a sound sensor when a user starts an audio recording function or a rope skipping counting function; the target motion data is motion data collected by a motion sensor during rope skipping of a user;
carrying out rope skipping validity judgment according to the target audio data and the target motion data, and analyzing according to a judgment result to obtain rope skipping times;
the rope skipping effectiveness judgment according to the target audio data and the target motion data, and the rope skipping times obtained by analyzing according to the judgment result comprise the following steps:
analyzing according to the target audio data to obtain a first judgment result of whether each time point is an effective rope skipping;
the step of analyzing according to the target audio data to obtain a first judgment result whether each time point is an effective rope skipping or not comprises the following steps: extracting audio sampling frequency from the target audio data, drawing an audio waveform graph with time as a horizontal coordinate, performing Fourier transform on the audio waveform graph to obtain a sound frequency spectrogram, finding out wave crests and wave troughs from the sound frequency spectrogram, and judging the skipping rope at the current time point to be an effective skipping rope when the numerical values of the wave crests and the wave troughs are within a certain numerical value range; when the numerical values of the wave crest and the wave trough are not in a certain numerical range or the waveform is discontinuous in disconnection, judging that the skipping rope at the current time point is an invalid skipping rope;
analyzing according to the target motion data to obtain a second judgment result of whether each time point is an effective rope skipping;
the step of analyzing according to the target motion data to obtain a second judgment result whether each time point is an effective rope skipping or not comprises the following steps:
extracting a sampling frequency of motion from the filtered target motion data, drawing to obtain a motion oscillogram with time as a horizontal coordinate, performing Fourier transform on the motion oscillogram to obtain a motion spectrogram, finding out a peak and a trough from the motion spectrogram, and judging the skipping rope at the current time point to be an effective skipping rope when the values of the peak and the trough are within a certain numerical range; when the numerical values of the wave crest and the wave trough are not in a certain numerical range or the waveform is discontinuous in disconnection, judging that the skipping rope at the current time point is an invalid skipping rope;
and obtaining the final rope skipping times according to the first judgment result and the second judgment result of each time point in the rope skipping period.
2. The rope skipping counting implementation method of claim 1, wherein the separately acquiring the target audio data and the target motion data during rope skipping comprises the steps of:
screening out target audio data which accord with the rope skipping counting time period according to the acquisition timestamp in the rope skipping counting time period in which the rope skipping counting function is started;
and screening out the target motion data which accords with the rope skipping counting time period according to the motion data acquired by the motion sensor and the acquisition timestamp.
3. The rope skipping counting implementation method according to claim 1, wherein the obtaining of the final number of rope skipping according to the first determination result and the second determination result at each time point during the rope skipping comprises:
when the first judgment result and the second judgment result at the current time point are consistent, increasing the effective rope skipping for one time or zero times according to the type of the judgment result;
when the first judgment result and the second judgment result of the current time point are inconsistent, acquiring the accuracy of audio counting and motion counting within a preset time length from the current time point, determining the first judgment result or the second judgment result with high accuracy as a final effective rope skipping judgment result, and increasing effective rope skipping for one time or zero times according to the effective rope skipping judgment result;
and accumulating and calculating to obtain the final rope skipping times according to the effective rope skipping times of each time point in the rope skipping period.
4. A rope skipping counting implementation system is characterized by comprising:
the acquisition module is used for respectively acquiring target audio data and target motion data during rope skipping; the target audio data is audio data collected by a sound sensor when a user starts an audio recording function or a rope skipping counting function; the target motion data is motion data collected by a motion sensor during rope skipping of a user;
the processing module is used for judging the rope skipping effectiveness according to the target audio data and the target motion data and analyzing the judgment result to obtain the rope skipping times;
the processing module comprises:
the first judgment unit is used for analyzing according to the target audio data to obtain a first judgment result of whether each time point is an effective skipping rope; analyzing according to the target audio data to obtain a first judgment result of whether each time point is an effective rope skipping or not, wherein the first judgment result comprises the following steps: extracting audio sampling frequency from the target audio data, drawing an audio waveform graph with time as a horizontal coordinate, performing Fourier transform on the audio waveform graph to obtain a sound frequency spectrogram, finding out wave crests and wave troughs from the sound frequency spectrogram, and judging the skipping rope at the current time point to be an effective skipping rope when the numerical values of the wave crests and the wave troughs are within a certain numerical value range; when the numerical values of the wave crest and the wave trough are not in a certain numerical range or the waveform is discontinuous in disconnection, judging that the skipping rope at the current time point is an invalid skipping rope;
the second judgment unit is used for analyzing according to the target motion data to obtain a second judgment result whether each time point is an effective rope skipping or not; analyzing according to the target motion data to obtain a second judgment result whether each time point is an effective rope skipping step: extracting a sampling frequency of motion from the filtered target motion data, drawing to obtain a motion oscillogram with time as a horizontal coordinate, performing Fourier transform on the motion oscillogram to obtain a motion spectrogram, finding out a peak and a trough from the motion spectrogram, and judging the skipping rope at the current time point to be an effective skipping rope when the values of the peak and the trough are within a certain numerical range; when the numerical values of the wave crest and the wave trough are not in a certain numerical range or the waveform is discontinuous in disconnection, judging that the skipping rope at the current time point is an invalid skipping rope;
and the processing unit is used for obtaining the final rope skipping times according to the first judgment result and the second judgment result of each time point in the rope skipping period.
5. The rope skipping counting implementation system of claim 4, wherein the obtaining module comprises:
the first acquisition unit is used for screening out target audio data which accord with the rope skipping counting time period according to the acquisition timestamp in the rope skipping counting time period in which the rope skipping counting function is started;
and the second acquisition unit is used for screening out the target motion data which accords with the rope skipping counting time period according to the motion data acquired by the motion sensor and the acquisition timestamp.
6. The rope skipping counting implementation system of claim 4, wherein the processing unit comprises:
the counting subunit is used for increasing the effective rope skipping for one time or zero times according to the type of the judgment result when the first judgment result and the second judgment result of the current time point are consistent;
the counting subunit is further configured to, when the first determination result and the second determination result at the current time point are inconsistent, obtain accuracy rates of audio counting and motion counting within a preset time period from the current time point, determine that the first determination result or the second determination result with high accuracy is a final effective rope skipping determination result, and increase effective rope skipping for one time or zero times according to the effective rope skipping determination result;
and the statistical unit is used for accumulating and calculating the final rope skipping times according to the effective rope skipping times of each time point in the rope skipping period.
7. A wrist wearable device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, the processor configured to execute the computer program stored in the memory to perform the operations performed by the rope skipping counting implementation method of any one of claims 1 to 3.
8. A storage medium having stored therein at least one instruction, which is loaded and executed by a processor to perform operations performed by a rope skipping counting implementation method according to any one of claims 1 to 3.
CN202010603018.6A 2020-06-29 2020-06-29 Rope skipping counting implementation method and system, wrist wearable device and storage medium Active CN111701216B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010603018.6A CN111701216B (en) 2020-06-29 2020-06-29 Rope skipping counting implementation method and system, wrist wearable device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010603018.6A CN111701216B (en) 2020-06-29 2020-06-29 Rope skipping counting implementation method and system, wrist wearable device and storage medium

Publications (2)

Publication Number Publication Date
CN111701216A CN111701216A (en) 2020-09-25
CN111701216B true CN111701216B (en) 2021-07-23

Family

ID=72544597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010603018.6A Active CN111701216B (en) 2020-06-29 2020-06-29 Rope skipping counting implementation method and system, wrist wearable device and storage medium

Country Status (1)

Country Link
CN (1) CN111701216B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112396001B (en) * 2020-11-20 2022-07-12 安徽一视科技有限公司 Rope skipping number statistical method based on human body posture estimation and TPA (tissue placement model) attention mechanism
CN112634400B (en) * 2020-12-21 2024-06-25 浙江大华技术股份有限公司 Rope skipping counting method, terminal and computer readable storage medium thereof
CN112274904A (en) * 2020-12-30 2021-01-29 南京理工大学 Pearl ball referee auxiliary penalty system and method based on deep learning
CN115702993B (en) * 2021-08-12 2023-10-31 荣耀终端有限公司 Rope skipping state detection method and electronic equipment
CN114139669A (en) * 2021-11-19 2022-03-04 歌尔科技有限公司 Rope skipping counting method, device and medium thereof
CN114849215B (en) * 2022-06-29 2023-07-14 上海探寻信息技术有限公司 Rope skipping counting method and device based on intelligent wearable equipment
CN115361438B (en) * 2022-10-19 2023-02-28 山东远联信息科技有限公司 Service processing method and system for cloud computing and big data positioning

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9295872B2 (en) * 2009-09-21 2016-03-29 Millennium Fitness Ltd Group exercise program utilizing free weight, machine fitness accessory and body movement exercise combination
CN109529306B (en) * 2019-01-03 2020-08-07 北京卡路里信息技术有限公司 Rope skipping counting method and device, wearable device and storage medium
CN110152273B (en) * 2019-05-24 2020-08-25 浙江大学 Rope skipping counting method based on intelligent target identification
CN110102040B (en) * 2019-05-24 2020-06-30 浙江大学 Audio skipping rope counting method based on cross-correlation coefficient method
CN110755834A (en) * 2019-10-21 2020-02-07 深圳市中慧智体科技有限公司 Skipping rope score acquisition method and device and intelligent skipping rope

Also Published As

Publication number Publication date
CN111701216A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
CN111701216B (en) Rope skipping counting implementation method and system, wrist wearable device and storage medium
CN104457955B (en) Body weight information acquisition method, apparatus and system
CN104166696B (en) Application program method for pushing and device
CN109737952B (en) Rope skipping data processing method and device and wearable device
US10028037B2 (en) Apparatus, method and computer program for enabling information to be provided to a user
JP5372487B2 (en) Action record input support system and server
US10363471B2 (en) Method and device for measuring speed of moving device
KR20220133858A (en) Task scheduling method and apparatus, electronic device, storage medium and program product
EP3418951A1 (en) Method for data processing and related products
CN107644219B (en) Face registration method and related product
US20150170674A1 (en) Information processing apparatus, information processing method, and program
CN114302088A (en) Frame rate adjusting method and device, electronic equipment and storage medium
CN113747411A (en) Method for asking for help in emergency, related device, medium and program product
CN111836069A (en) Virtual gift presenting method, device, terminal, server and storage medium
CN112735563A (en) Recommendation information generation method and device and processor
CN113643787A (en) Fitness course pushing method and device
CN109069900A (en) A kind of method and device of treadmill step counting
CN113453066A (en) Playing time determining method and related equipment
CN111722993A (en) Method and system for monitoring abnormal power consumption of communication terminal, terminal device and storage medium
JP2017529640A (en) Short message processing method, apparatus, program, and recording medium
CN110706784A (en) Calorie intake amount calculation method, device, system, apparatus, and storage medium
CN112073904B (en) Event monitoring method, system, device, electronic equipment and storage medium
CN111341416A (en) Psychological stress assessment model processing method and related equipment
CN108553905A (en) Data feedback method, terminal and computer storage media based on game application
JP2019180666A (en) Pulse wave detection terminal program, pulse wave analysis server program and pulse wave detection analysis terminal program

Legal Events

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