CN114534202A - Background tone adjusting method and device based on treadmill, storage medium and intelligent equipment - Google Patents

Background tone adjusting method and device based on treadmill, storage medium and intelligent equipment Download PDF

Info

Publication number
CN114534202A
CN114534202A CN202011355483.9A CN202011355483A CN114534202A CN 114534202 A CN114534202 A CN 114534202A CN 202011355483 A CN202011355483 A CN 202011355483A CN 114534202 A CN114534202 A CN 114534202A
Authority
CN
China
Prior art keywords
stride
user
background
background sound
recommended
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.)
Pending
Application number
CN202011355483.9A
Other languages
Chinese (zh)
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Yuandong Smart Sports Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Yuandong Smart Sports 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Yuandong Smart Sports Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202011355483.9A priority Critical patent/CN114534202A/en
Publication of CN114534202A publication Critical patent/CN114534202A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0087Electric or electronic controls for exercising apparatus of groups A63B21/00 - A63B23/00, e.g. controlling load
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B22/00Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements
    • A63B22/02Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements with movable endless bands, e.g. treadmills
    • A63B22/0235Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements with movable endless bands, e.g. treadmills driven by a motor
    • 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/0622Visual, audio or audio-visual systems for entertaining, instructing or motivating the user
    • 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/0622Visual, audio or audio-visual systems for entertaining, instructing or motivating the user
    • A63B2071/0625Emitting sound, noise or music
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2220/00Measuring of physical parameters relating to sporting activity
    • A63B2220/20Distances or displacements
    • A63B2220/22Stride length
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2220/00Measuring of physical parameters relating to sporting activity
    • A63B2220/64Frequency, e.g. of vibration oscillation

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Engineering & Computer Science (AREA)
  • Cardiology (AREA)
  • Vascular Medicine (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

The invention discloses a background tone adjusting method, a background tone adjusting device, a storage medium and intelligent equipment based on a treadmill, wherein the method comprises the following steps: acquiring the step frequency of a user within a set time length; acquiring the average stride of the user within a set time according to the step frequency and the set running speed; judging whether the absolute value of the difference value between the average stride and the recommended stride is larger than a preset value or not; and if the absolute value of the difference value between the average stride and the recommended stride is greater than the preset value, playing adaptive background sound to enable the absolute value of the difference value between the stride of the user and the recommended stride to be less than the preset value. The user is guided to adjust the stride by controlling the background sound, and the technical problem that the stride of running cannot be guided by the background sound in the prior art is solved.

Description

Background tone adjusting method and device based on treadmill, storage medium and intelligent equipment
Technical Field
The invention relates to the field of treadmills, in particular to a background tone adjusting method, a background tone adjusting device, a storage medium and intelligent equipment based on the treadmills.
Background
When the treadmill is used, people often play music step by step to realize the effect of dispersing attention, the music is usually related to the step frequency, in order to realize the control of music playing, a common technical scheme is to realize the function through a user wearable device such as a gravity sensor or an acceleration sensor, for example, the user wearable device with the sensor is used for obtaining the gravity and acceleration changes generated by the movement of the user, the step frequency of the user is calculated, and the music in a song list is recommended and limited according to the step frequency.
Disclosure of Invention
The invention mainly aims to provide a background tone adjusting method, a background tone adjusting device, a storage medium and intelligent equipment based on a running machine, and aims to solve the technical problem that the stride of running cannot be guided through background tones in the prior art.
The invention provides a background tone adjusting method based on a treadmill, which comprises the following steps:
acquiring the step frequency of a user within a set time length;
acquiring the average stride of the user within a set time according to the step frequency and the set running speed;
judging whether the absolute value of the difference value between the average stride and the recommended stride is larger than a preset value or not;
and if the absolute value of the difference value between the average stride and the recommended stride is greater than the preset value, playing adaptive background sound, wherein the background sound is used for assisting the user to adjust the step frequency, and under the condition that the running speed is not changed, the absolute value of the difference value between the stride of the user and the recommended stride is smaller than the preset value.
Further, the step of obtaining the step frequency of the user within the set time span through the treadmill includes:
acquiring a current amplitude of a brushless motor for driving a running belt in the movement process of a user;
identifying that the foot lands once when the amplitude change of each current reaches a peak;
the step frequency is obtained by dividing the set time by the time interval between two landings.
Further, the step of judging that the current amplitude change reaches the peak comprises:
acquiring the slope of the current amplitude change;
judging whether the slope is greater than a preset slope or not;
if yes, the current amplitude change is judged to reach a peak.
Further, before the step of obtaining the step frequency of the user within the set time length, the method includes:
acquiring the height of a user;
calculating a recommended stride according to the height of the user, wherein the recommended stride is 0.45 times of the height of the user;
and dividing the moving speed by the recommended stride to obtain the step frequency of the user at the moving speed, wherein different step frequencies correspond to background sounds with different rhythms.
Further, the step of playing the adapted background sound comprises:
detecting whether a background sound generation command is received;
if yes, obtaining a sound mixing selection parameter;
generating a mixed sound according to the mixed sound selection parameter, and taking the mixed sound as a basic background sound;
and adjusting the playing speed of the basic background sound to generate the adaptive background sound.
Further, the step of playing the adapted background sound comprises:
generating a background tone speed mode and a background tone mode replacing selection instruction;
judging whether an instruction for selecting a background pitch rate mode is received or not;
if so, dividing the absolute value of the difference value between the average stride and the recommended stride by a set parameter to obtain a first numerical value;
obtaining an integer according to the first value;
and dividing the current playing speed to a first playing speed into a plurality of stages according to the integer, and gradually changing the playing speed of the background sound from the current playing speed to the first playing speed to obtain the adaptive background sound, wherein the first playing speed is the playing speed corresponding to the first step frequency, and the first step frequency is obtained by dividing the moving speed by the recommended step frequency.
Further, the step of playing the adapted background sound comprises:
generating a background tone speed mode and a background tone mode replacing selection instruction;
judging whether an instruction for selecting a background pitch rate mode is received or not;
if so, dividing the absolute value of the difference value between the average stride and the recommended stride by a set parameter to obtain a first numerical value;
obtaining an integer according to the first value;
generating a background sound replacing sequence according to the integer and the step frequency-music comparison table, wherein the background sound replacing sequence comprises an integer number of background sounds which are sequentially arranged according to the rhythm change requirement;
and gradually replacing the background sound according to the background sound replacing sequence to obtain the adaptive background sound.
The invention also provides a background sound adjusting device based on the treadmill, which comprises:
the step frequency acquisition module is used for acquiring the step frequency of the user within a set time length;
the stride acquisition module is used for acquiring the average stride of the user within the set time according to the stride frequency and the set running speed;
the stride judgment module is used for judging whether the absolute value of the difference value between the average stride and the recommended stride is larger than a preset value or not;
and the guiding module is used for playing adaptive background sound if the absolute value of the difference value between the average stride and the recommended stride is greater than a preset value, wherein the background sound is used for assisting the user to adjust the step frequency, and the absolute value of the difference value between the stride of the user and the recommended stride is smaller than the preset value under the condition that the running speed is not changed.
The present invention also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, which when executed implements the above-mentioned treadmill-based background pitch adjustment method.
The invention also provides an intelligent device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the treadmill-based background tone adjusting method when executing the computer program.
The invention has the beneficial effects that: acquiring the step frequency of a user within a set time length; acquiring the average stride of the user within a set time according to the step frequency and the set running speed; judging whether the absolute value of the difference value between the average stride and the recommended stride is larger than a preset value or not; and if the absolute value of the difference value between the average stride and the recommended stride is greater than the preset value, playing adaptive background sound to enable the absolute value of the difference value between the stride of the user and the recommended stride to be less than the preset value. The user is guided to adjust the stride by controlling the playing of the background sound, and the technical problem that the stride of running cannot be guided by the background sound in the prior art is solved.
Drawings
FIG. 1 is a schematic block diagram of an embodiment of a background tone adjustment method based on a treadmill according to the present invention;
FIG. 2 is a schematic structural diagram of an embodiment of a background sound adjusting device based on a treadmill of the present invention;
FIG. 3 is a schematic structural diagram of an embodiment of a storage medium according to the present invention;
fig. 4 is a schematic structural diagram of an embodiment of the smart device of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1-4, the present invention provides a background tone adjusting method based on a treadmill, comprising:
s1, acquiring the step frequency of the user within a set time length;
s2, acquiring the average stride of the user within the set time according to the step frequency and the set running speed;
s3, judging whether the absolute value of the difference between the average stride and the recommended stride is larger than a preset value or not;
and S4, if the absolute value of the difference between the average stride and the recommended stride is larger than the preset value, adjusting the playing speed of the background sound to enable the background sound to gradually reach a first playing speed corresponding to the step frequency corresponding to the recommended stride from the current playing speed.
In step S1, the step frequency of the user within the set time length may be obtained by the treadmill, the step frequency of the user may also be obtained by the terminal moving along with the user, and in some embodiments, the step frequency may be derived by obtaining the current amplitude variation data during the user' S movement; in other embodiments, the step frequency of the user within the set time length can be obtained by visually identifying the running condition of the user; the method is specifically determined according to actual conditions; in some embodiments, the step frequency may be obtained by calculation, for example, BMP ═ 60x1000/TGap, where TGap is the time interval between two touchdowns of the user, in ms milliseconds, and 60x1000 milliseconds is one minute, so the step frequency BMP is steps per minute.
In the step S2, the running speed is a known speed set on the treadmill, and in the treadmill, in order to keep up with the moving speed of the running belt, otherwise, the treadmill is separated, so the speed set on the treadmill is the running speed of the user, and in normal operation, the running speed is the running speed of the user, and therefore, the stride can be obtained by the known running speed and the known running frequency.
In the step S3, when the absolute value of the difference between the average stride and the recommended stride is greater than the preset value, it indicates that the average stride deviation of the user is large, the stride is too large or too small, the user may be injured by the user without adjustment, and the stride needs to be adjusted so as to reach a more scientific recommended stride; when the absolute value of the difference between the average stride and the recommended stride is less than or equal to a preset value, the average stride of the user is represented to be within an acceptable range, and no special adjustment is needed.
In step S4, the adaptive background sound is played to guide the user to gradually change the stride frequency and further gradually adjust the stride length. The adaptive background sound can be obtained by adjusting the playing speed of the background sound in some embodiments, and can also be obtained by replacing the background sound in some embodiments; when adaptive background sound is obtained by adjusting the playing speed of the background sound, the playing speed of the background sound is positively correlated with the step frequency, the change condition of the step frequency can be generally known through the sound transformation of the background sound, and then the step frequency can be self-adjusted in a tilting manner, so that the device has a guiding function, is interesting, and can disperse the attention to fatigue in the running process; in some embodiments, the speed of the background sound may vary in proportion to the difference between the standard pace frequency, which is related to the height of the user, the weight of the user, and the slope of the treadmill.
Further, the step S1 of obtaining the step frequency of the user within the set time span through the treadmill includes:
s11, acquiring the current amplitude of the brushless motor for driving the running belt in the user movement process;
s12, identifying that the foot lands once when the amplitude change of each current reaches the peak;
and S13, dividing the set time by the time interval between two landings to obtain the step frequency.
In the step S11, generally, the time is taken as the horizontal axis and the current is taken as the vertical axis, when the treadmill operates, the user selects the running speed, the user steps on the treadmill, when the running speed is stable, the user steps on the treadmill to generate a larger resistance (mainly composed of friction), and in order to maintain the stable running speed, the treadmill automatically increases the current and increases the power under a constant voltage, so the stepping condition of the user can be reflected by the current amplitude.
In the above step S12, whether the peak is reached is determined by the slope of the current amplitude change, for example, the slope K is (I2-I1)/(T2-T1), when K is greater than a certain value Ka, the current amplitude change is considered to reach the peak, the user performs a stepping action, and a foot landing is identified, wherein the specific value of Ka is related to the user' S weight, the treadmill slope, the treadmill roller damping and the treadmill belt material, and is a previously measured value.
In the above step S13, the setting time is a preset value, for example, one minute; in this embodiment, the step frequency can be obtained by calculation, for example, BMP ═ 60x1000/TGap, where TGap is the time interval between two times that the user lands on the ground, and the unit is ms milliseconds, and 60x1000 milliseconds is one minute.
Further, the step of judging that the current amplitude change reaches the peak comprises:
s121, obtaining the slope of the current amplitude change;
s122, judging whether the slope is larger than a preset slope or not;
and S123, if so, judging that the current amplitude change reaches a peak.
In the above steps S121 to S123, the slope of the current amplitude change is obtained by a formula, for example, the slope K is (I2-I1)/(T2-T1); the preset slope is Ka, when K is larger than a certain value Ka, the change of the current amplitude is considered to reach a peak, a user generates a trampling action, and the foot is identified as one-time foot landing; wherein the specific value of Ka is a pre-measured value related to the user's weight, running deck slope, running deck roller damping and running belt material.
Further, before the step S1 of obtaining the step frequency of the user within the set time length, the method includes:
s10, obtaining the height of the user;
s20, calculating a recommended stride according to the height of the user, wherein the recommended stride is 0.45 times of the height of the user;
and S30, dividing the moving speed by the recommended stride to obtain the step frequency of the user at the moving speed, wherein different step frequencies correspond to background sounds with different rhythms.
In the above steps S10-S30, the user may use the treadmill to input the height, or the height of the user in the terminal, wherein the formula is a calculation formula recommended for sports science, and the user' S body can be better protected according to the recommended stride exercise, so as to avoid the injury of the exercise; setting rules to be preset, for example, the change condition of the playing speed of the background sound can be in direct proportion to the difference between the step frequency and the standard step frequency, and the proportion is set according to the actual application environment; wherein, different rhythms of the background sounds can be obtained by adjusting the playing speed of the same background sound and can be realized by playing the background sounds with different rhythms.
Further, the step S4 of playing the adapted background sound includes:
s401, detecting whether a background sound generation command is received;
s402, if yes, obtaining a sound mixing selection parameter;
s403, generating a mixed sound according to the mixed sound selection parameter, and taking the mixed sound as background sound;
s404, acquiring a second playing speed of the background sound corresponding to the step frequency according to the set rule, and adjusting the playing speed of the background sound according to the second playing speed.
In step S401, the background sound generation command may be generated by the user actively, or may be generated according to a set rule when no background sound is detected.
In the above steps S402-S404, in order to deal with the situation that the terminal of the user does not have a corresponding APP, the mixing selection parameter is the selection of a preset series of audio paragraphs, each of which has a recorded beat; different audio mixing can be formed by selecting different audio frequency paragraphs, so that the interestingness is greatly increased; in some embodiments, the remix selection parameters may be obtained by questionnaires or other means, such as user input.
In some embodiments, the adaptive background sound can be played under the control of a terminal carried by a user, and the treadmill only provides the detected step frequency for the terminal; in some embodiments, when no APP is detected, a background sound is generated, that is, whether a set APP is connected is determined; if so, uploading the step frequency to the APP so that the APP can adjust the playing speed of the background sound according to the step frequency; if no APP is connected, a background sound generation command is generated. The set APP can be multiple types, whether the treadmill is in communication connection with the set APP can be judged in different modes, and whether the set APP exists can be judged according to the mode of monitoring whether the corresponding handshake protocol exists or not; the APP can adjust the playing speed of the background sound or replace the background sound through the acquired step frequency, and the APP is usually arranged in a mobile terminal of a user, such as a bracelet and a mobile phone.
Further, the step S4 of playing the adapted background sound includes:
s4001, generating a background tone rate mode and replacing a background tone mode selection instruction;
s4002, judging whether an instruction for selecting a background pitch rate mode is received;
s4003, if yes, dividing the absolute value of the difference between the average stride and the recommended stride by a set parameter to obtain a first numerical value;
s4004, acquiring an integer according to the first numerical value;
s4005, dividing the current playing speed to a first playing speed into a plurality of stages according to an integer, and gradually changing the playing speed of the background sound from the current playing speed to the first playing speed to obtain an adaptive background sound, wherein the first playing speed is a playing speed corresponding to a first step frequency, and the first step frequency is obtained by dividing a moving speed by a recommended step.
In the above steps S4001 to S4005, the generated background sound speed adjustment mode and the background sound replacement mode selection instruction may be displayed on the display screen in the form of an option, and after the user selects the corresponding mode, the user receives the instruction to select the corresponding mode, and obtains an integer through the first value, and in some embodiments, the integer in the first value may be directly obtained; in other embodiments, an integer may be obtained through a rounding rule, for example, a carry greater than 0.8 behind a decimal point is one, so as to obtain the integer, thereby avoiding that the music guide effect of step change is affected by too large change of the rhythm of the played background sound due to too few divided stages; the effect that the rhythm of the background sound changes along with the change of the playing speed is achieved.
Further, the step of gradually changing from the current play speed to the first play speed includes:
s40051, acquiring the playing speed of background sound corresponding to the current step frequency of the user;
s40052, judging whether the difference value between the playing speed of the background sound corresponding to the current step frequency and the current playing speed is within a preset range;
s40053, if yes, adjusting the playing speed of the background sound to enable the playing speed to enter the next stage until the difference value between the playing speed of the background sound corresponding to the current step frequency and the first playing speed is within the preset range.
In the above steps S40051 to S40053, the rhythm of the background sound may be gradually adjusted by gradually adjusting the playing speed of the background sound, so that the user gradually adjusts the step width and gradually approaches the recommended step width, thereby avoiding that the user cannot adapt to the background sound due to too large change in the playing speed, and further avoiding that the user cannot adapt to the background sound due to too large change in the playing speed by gradually determining whether the playing speed needs to be adjusted.
Further, in some embodiments, the step S4 of playing the adapted background sound comprises:
s4001, generating a background tone rate mode and replacing a background tone mode selection instruction;
s4006, judging whether an instruction for selecting a background pitch rate mode is received;
s4007, if yes, dividing the absolute value of the difference between the average stride and the recommended stride by a set parameter to obtain a first numerical value;
s4008, acquiring an integer according to the first numerical value;
s4009, generating a background sound replacement sequence according to the integer and the stride frequency-music comparison table, wherein the background sound replacement sequence comprises an integer number of background sounds which are sequentially arranged according to the rhythm change requirement;
s40010, gradually replacing the background sounds according to the background sound replacement sequence to obtain the adaptive background sounds.
In the above steps S4001 to S40010, the generated background sound speed adjustment mode and the background sound replacement mode selection instruction may be displayed on the display screen in the form of an option, and after the user selects the corresponding mode, the user receives the instruction to select the corresponding mode, and obtains an integer through the first value, and in some embodiments, the integer in the first value may be directly obtained; in other embodiments, an integer may be obtained through a rounding rule, for example, a carry greater than 0.8 behind a decimal point is one, and then the integer is obtained, so as to avoid that the music guidance effect of stride change is affected by too large change of tempo of playing background sound due to too small number of divided stages; the background sound can be preset or obtained by mixing sound according to a preset rule; the rhythm of the background sound can be gradually adjusted by gradually adjusting the playing of the background sound, so that the pace of the user is gradually adjusted and gradually approaches to the recommended pace, the situation that the user cannot adapt due to overlarge change of the playing speed of the background sound is avoided, whether the background sound needs to be adjusted or not can be gradually judged, and the situation that the user cannot adapt due to the overlarge change of the playing speed can also be avoided.
Referring to fig. 2, the present invention further provides a background sound adjusting device based on a treadmill, comprising:
a step frequency obtaining module 1, configured to obtain a step frequency of a user within a set time length;
the stride acquisition module 2 is used for acquiring the average stride of the user within the set time according to the stride frequency and the set running speed;
the stride judgment module 3 is used for judging whether the absolute value of the difference value between the average stride and the recommended stride is larger than a preset value;
and the guiding module 4 is used for playing adaptive background sound if the absolute value of the difference between the average stride and the recommended stride is greater than a preset value, wherein the background sound is used for assisting the user in adjusting the stride frequency, and the absolute value of the difference between the stride of the user and the recommended stride is smaller than the preset value under the condition that the running speed is not changed.
The background sound adjusting device based on the treadmill obtains the step frequency of the user within a set time length through the step frequency obtaining module 1; the stride obtaining module 2 obtains the average stride of the user within the set time according to the stride frequency and the set running speed; the stride judgment module 3 judges whether the absolute value of the difference value between the average stride and the recommended stride is greater than a preset value; and if the absolute value of the difference between the average stride and the recommended stride is greater than the preset value, the guiding module 4 plays the adaptive background sound, so that the absolute value of the difference between the stride of the user and the recommended stride is smaller than the preset value. The user is guided to adjust the stride by controlling the playing of the background sound, and the technical problem that the stride of running cannot be guided by the background sound in the prior art is solved.
Referring to fig. 3, a storage medium 100, which is a computer-readable storage medium, is further provided, and a computer program 200 is stored thereon, and when the computer program 200 is executed, the method for adjusting background tone based on a treadmill in any of the above embodiments is implemented.
Referring to fig. 4, the present application further provides a smart device 300, which includes a memory 400, a processor 500, and a computer program 200 stored in the memory 400 and executable on the processor 500, wherein the processor 500 executes the computer program 200 to implement the treadmill-based background pitch adjustment method in any of the above embodiments.
Those skilled in the art will appreciate that the smart device 300 of the embodiments of the present application is a device referred to above for performing one or more of the methods of the present application. These devices may be specially designed and manufactured for the required purposes, or they may comprise known devices in general-purpose computers. These devices have stored therein computer programs 200 or application programs, which computer programs 200 are selectively activated or reconfigured. Such a computer program 200 may be stored in a device (e.g., computer) readable medium, including, but not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magnetic-optical disks, ROMs (Read-Only memories), RAMs (Random Access memories), EPROMs (Erasable Programmable Read-Only memories), EEPROMs (Electrically Programmable Read-Only memories), flash memories, magnetic cards, or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a bus. That is, readable media includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
The invention has the beneficial effects that: acquiring the step frequency of a user within a set time length; acquiring the average stride of the user within a set time according to the step frequency and the set running speed; judging whether the absolute value of the difference value between the average stride and the recommended stride is larger than a preset value or not; and if the absolute value of the difference value between the average stride and the recommended stride is greater than the preset value, playing adaptive background sound to enable the absolute value of the difference value between the stride of the user and the recommended stride to be less than the preset value. The user is guided to adjust the stride by controlling the playing of the background sound, and the technical problem that the stride of running cannot be guided by the background sound in the prior art is solved.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A treadmill-based background tone adjustment method, comprising:
acquiring the step frequency of a user within a set time length;
acquiring the average stride of the user within a set time according to the step frequency and the set running speed;
judging whether the absolute value of the difference value between the average stride and the recommended stride is larger than a preset value or not;
and if the absolute value of the difference between the average stride and the recommended stride is greater than a preset value, playing adaptive background sound, wherein the background sound is used for assisting the user to adjust the stride frequency, and the absolute value of the difference between the stride of the user and the recommended stride is smaller than the preset value under the condition that the running speed is not changed.
2. The treadmill based background tone adjusting method of claim 1, wherein the step of obtaining, via the treadmill, a stride frequency of the user for a set length of time comprises:
acquiring the current amplitude of a brushless motor for driving the running belt in the user movement process;
identifying that the foot lands once when the amplitude change of each current reaches a peak;
and dividing the set time by the time interval between two landings to obtain the step frequency.
3. The treadmill based background tone adjusting method of claim 2, wherein determining that the change in current amplitude reaches a peak comprises:
acquiring the slope of the current amplitude change;
judging whether the slope is greater than a preset slope threshold value or not;
if so, judging that the current amplitude change reaches a peak.
4. The treadmill-based background pitch adjustment method of claim 1, wherein the step of obtaining the stride frequency of the user for the set length of time is preceded by:
acquiring the height of the user;
calculating the recommended stride according to the height of the user, wherein the recommended stride is 0.45 times of the height of the user;
and dividing the moving speed by the recommended stride to obtain the step frequency of the user at the moving speed, wherein different step frequencies correspond to background sounds with different rhythms.
5. The treadmill-based background tone adjustment method of claim 1, wherein the step of playing the adapted background tone is preceded by:
detecting whether a background sound generation command is received;
if yes, obtaining a sound mixing selection parameter;
generating a mixed sound according to the mixed sound selection parameter, and taking the mixed sound as a basic background sound;
and adjusting the playing speed of the basic background sound to generate the adaptive background sound.
6. The treadmill-based background tone adjustment method of claim 1, wherein the step of playing the adapted background tone is preceded by:
generating a background tone speed mode and a background tone mode replacing selection instruction;
judging whether an instruction for selecting the background pitch rate mode is received or not;
if so, dividing the absolute value of the difference value between the average stride and the recommended stride by a set parameter to obtain a first numerical value;
obtaining an integer according to the first numerical value;
and dividing the current playing speed to a first playing speed into a plurality of stages according to the integer, and gradually changing the playing speed of the background sound from the current playing speed to the first playing speed to obtain the adaptive background sound, wherein the first playing speed is the playing speed corresponding to a first step frequency, and the first step frequency is obtained by dividing the moving speed by the recommended step.
7. The treadmill-based background tone adjustment method of claim 1, wherein the step of playing the adapted background tone is preceded by:
generating a background tone speed mode and a background tone mode replacing selection instruction;
judging whether an instruction for selecting the background pitch rate mode is received;
if so, dividing the absolute value of the difference value between the average stride and the recommended stride by a set parameter to obtain a first numerical value;
obtaining an integer according to the first numerical value;
generating a background sound replacing sequence according to the integer and the step frequency-music comparison table, wherein the background sound replacing sequence comprises an integer number of background sounds which are sequentially arranged according to the rhythm change requirement;
and gradually replacing the background sound replacement sequence to obtain the adaptive background sound.
8. A background sound adjusting device based on a treadmill is characterized by comprising:
the step frequency acquisition module is used for acquiring the step frequency of the user within a set time length;
the stride acquisition module is used for acquiring the average stride of the user within a set time according to the step frequency and the set running speed;
the stride judgment module is used for judging whether the absolute value of the difference value between the average stride and the recommended stride is larger than a preset value;
and the guiding module is used for playing adaptive background sound if the absolute value of the difference value between the average stride and the recommended stride is greater than a preset value, wherein the background sound is used for assisting the user in adjusting the stride frequency, and the absolute value of the difference value between the stride of the user and the recommended stride is smaller than the preset value under the condition that the running speed is unchanged.
9. A storage medium, characterized in that it is a computer-readable storage medium, on which a computer program is stored which, when executed, implements the treadmill based background pitch adjusting method as claimed in any one of claims 1 to 7.
10. A smart device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor when executing the computer program implementing the treadmill based background pitch adjustment method of any of claims 1-7.
CN202011355483.9A 2020-11-26 2020-11-26 Background tone adjusting method and device based on treadmill, storage medium and intelligent equipment Pending CN114534202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011355483.9A CN114534202A (en) 2020-11-26 2020-11-26 Background tone adjusting method and device based on treadmill, storage medium and intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011355483.9A CN114534202A (en) 2020-11-26 2020-11-26 Background tone adjusting method and device based on treadmill, storage medium and intelligent equipment

Publications (1)

Publication Number Publication Date
CN114534202A true CN114534202A (en) 2022-05-27

Family

ID=81668251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011355483.9A Pending CN114534202A (en) 2020-11-26 2020-11-26 Background tone adjusting method and device based on treadmill, storage medium and intelligent equipment

Country Status (1)

Country Link
CN (1) CN114534202A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW556570U (en) * 2002-03-29 2003-10-01 Jia-Chen Huang Running machine of which speed is controlled by music
WO2010118552A1 (en) * 2009-04-15 2010-10-21 Yu Juntao Treadmill utilizing man-machine interactive mode for controlling speed and control method thereof
FR2963689A1 (en) * 2010-08-04 2012-02-10 Michael Stephen Herve Digital music listening device for use at time of sporting practice i.e. race, has audio headset/ear-phones reproducing selected bit of music from music file database, and accelerometer capturing movement signal of runner
CN107998595A (en) * 2017-11-27 2018-05-08 轻奔智能科技(上海)有限公司 Change the control method of control speed on treadmill by preset musical BPM
CN108042973A (en) * 2017-11-27 2018-05-18 轻奔智能科技(上海)有限公司 The control method run is driven by music BPM speed changes on treadmill
CN108452480A (en) * 2018-04-11 2018-08-28 杭州启望科技有限公司 The detection method and device of running posture on a kind of treadmill and treadmill

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW556570U (en) * 2002-03-29 2003-10-01 Jia-Chen Huang Running machine of which speed is controlled by music
WO2010118552A1 (en) * 2009-04-15 2010-10-21 Yu Juntao Treadmill utilizing man-machine interactive mode for controlling speed and control method thereof
FR2963689A1 (en) * 2010-08-04 2012-02-10 Michael Stephen Herve Digital music listening device for use at time of sporting practice i.e. race, has audio headset/ear-phones reproducing selected bit of music from music file database, and accelerometer capturing movement signal of runner
CN107998595A (en) * 2017-11-27 2018-05-08 轻奔智能科技(上海)有限公司 Change the control method of control speed on treadmill by preset musical BPM
CN108042973A (en) * 2017-11-27 2018-05-18 轻奔智能科技(上海)有限公司 The control method run is driven by music BPM speed changes on treadmill
CN108452480A (en) * 2018-04-11 2018-08-28 杭州启望科技有限公司 The detection method and device of running posture on a kind of treadmill and treadmill

Similar Documents

Publication Publication Date Title
US10867013B2 (en) Information processing apparatus, information processing method, and program
CN107004035B (en) Music playing method and device and music playing equipment
CN111442460B (en) Air conditioner control method for sensing user activity state and air conditioner
US20170021270A1 (en) Method, apparatus, and recording medium for controlling a game
CN106844660B (en) Music recommendation method and device
US20080103022A1 (en) Method and system for dynamic music tempo tracking based on exercise equipment pace
US20210299518A1 (en) Flagging irregularities in user performance in an exercise machine system
US20230405439A1 (en) Leaderboard with irregularity flags in an exercise machine system
US20180064375A1 (en) Auditory stimulus for auditory rehabilitation
CN102027547A (en) Gesture-related feedback in eletronic entertainment system
US20120214644A1 (en) Notification signal control apparatus and method
CN106055101B (en) A kind of Anti-addiction reminding method, device and the mobile terminal of mobile terminal
US20190122577A1 (en) System and method for synchronizing audio, movement, and patterns
US20170157459A1 (en) Treadmill and control method thereof
KR100949931B1 (en) Rhythm action game method using a user equipment with key-pad and recording medium storing program implementing the same
CN111589092B (en) Exercise guidance method and device
CN108905060A (en) It is a kind of for controlling the method, apparatus and system of treadmill
CN106055256A (en) Control method and device for game skill upgrading
CN113762336A (en) Fitness guidance method and system
CN114534202A (en) Background tone adjusting method and device based on treadmill, storage medium and intelligent equipment
US10912994B2 (en) Vibration control system, vibration control apparatus and vibration control method
JP2010259456A (en) Sound emission controller
CN110652731B (en) Beat class application scoring method, device, electronic equipment and storage medium
JP5829346B1 (en) Information processing apparatus and game program
WO2010102083A1 (en) Personal media player with user-selectable tempo input

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220527

RJ01 Rejection of invention patent application after publication