CN112274851A - Treadmill speed adjusting method and device, storage medium and treadmill - Google Patents

Treadmill speed adjusting method and device, storage medium and treadmill Download PDF

Info

Publication number
CN112274851A
CN112274851A CN202011085847.6A CN202011085847A CN112274851A CN 112274851 A CN112274851 A CN 112274851A CN 202011085847 A CN202011085847 A CN 202011085847A CN 112274851 A CN112274851 A CN 112274851A
Authority
CN
China
Prior art keywords
speed
treadmill
adjustment
rotational
adjusting
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
CN202011085847.6A
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.)
Beijing Kingsmith Technology Co Ltd
Original Assignee
Beijing Kingsmith 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 Beijing Kingsmith Technology Co Ltd filed Critical Beijing Kingsmith Technology Co Ltd
Priority to CN202011085847.6A priority Critical patent/CN112274851A/en
Publication of CN112274851A publication Critical patent/CN112274851A/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
    • 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
    • A63B22/0242Exercising 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 with speed variation
    • A63B22/025Exercising 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 with speed variation electrically, e.g. D.C. motors with variable speed control
    • 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
    • A63B22/0242Exercising 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 with speed variation
    • A63B22/0257Mechanical systems therefor

Landscapes

  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • Vascular Medicine (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Rehabilitation Tools (AREA)

Abstract

The disclosure relates to a treadmill speed adjusting method and device, a storage medium and a treadmill. The method comprises the following steps: determining a rotational direction and a rotational speed of a speed adjustment knob on the treadmill in response to a user's rotational operation of the speed adjustment knob; determining a target adjustment speed of the treadmill based on the rotational direction and the rotational speed; adjusting a current speed of the treadmill to the target adjusted speed. By adopting the method, the problems that the speed adjusting buttons on the treadmill are too many and the functions of the speed adjusting buttons are single in the related technology can be solved.

Description

Treadmill speed adjusting method and device, storage medium and treadmill
Technical Field
The present disclosure relates to the field of treadmill technologies, and in particular, to a method and an apparatus for adjusting a speed of a treadmill, a storage medium, and a treadmill.
Background
The treadmill is a necessary fitness equipment for a gymnasium and is the easiest equipment to operate in a plurality of fitness equipments. The running machine has the working principle that the motor drives the running belt so that a person on the running belt runs or walks passively at different speeds. Running on the treadmill can avoid adverse effects of factors such as weather and environment on a sporter when running outdoors, so that running on the treadmill improves the comfort of sports.
In the related art, a plurality of speed adjustment buttons are provided on the treadmill, and the speed adjustment buttons are specifically virtual buttons on a liquid crystal display panel or physical buttons on the treadmill. In particular, shortcut buttons of 3km/h, 6km/h, 9km/h, 12km/h are usually provided on the treadmill. These quick buttons facilitate the user in quickly adjusting the speed of the treadmill to the speed desired by the user. In addition, the treadmill is provided with an acceleration adjusting button for gradually increasing the speed and a deceleration adjusting button for gradually decreasing the speed, and the buttons are convenient for a new user to find the optimal speed suitable for the user by continuously adjusting the speed of the treadmill.
Disclosure of Invention
The disclosure aims to provide a treadmill speed adjusting method, a treadmill speed adjusting device, a storage medium and a treadmill, so as to solve the problems that speed adjusting buttons on the treadmill are too many and the speed adjusting buttons are single in function in the related art.
To achieve the above object, according to a first part of embodiments of the present disclosure, there is provided a treadmill speed adjustment method, the method including:
determining a rotational direction and a rotational speed of a speed adjustment knob on the treadmill in response to a user's rotational operation of the speed adjustment knob;
determining a target adjustment speed of the treadmill based on the rotational direction and the rotational speed;
adjusting a current speed of the treadmill to the target adjusted speed.
Optionally, said determining a target adjustment speed of the treadmill from the rotational direction and the rotational speed comprises:
determining a speed adjustment direction for the treadmill according to the rotation direction;
and determining the target adjusting speed according to the speed adjusting direction and the rotating speed.
Optionally, said determining a speed adjustment direction for the treadmill from the rotational direction comprises:
determining a speed adjustment direction for the treadmill to increase the current speed of the treadmill when the rotational direction is clockwise;
determining a speed adjustment direction for the treadmill to decrease the current speed of the treadmill when the rotational direction is counter-clockwise.
Optionally, the determining the target adjustment speed according to the speed adjustment direction and the magnitude of the rotation speed includes:
under the condition that the speed adjusting direction of the treadmill is determined to be increasing the current speed of the treadmill, if the rotating speed is greater than or equal to a preset threshold value, taking a speed value which is greater than the current speed and has the smallest absolute value of the difference with the current speed in a preset speed set as the target adjusting speed, wherein the preset speed set comprises a plurality of speed values;
and under the condition that the speed adjusting direction of the running machine is determined to be the current speed of the running machine, if the rotating speed is smaller than the preset threshold value, increasing the current speed by a preset speed adjusting value to obtain the target adjusting speed.
Optionally, the determining the target adjustment speed according to the speed adjustment direction and the magnitude of the rotation speed includes:
under the condition that the speed adjusting direction of the treadmill is determined to be the current speed of the treadmill, if the rotating speed is greater than or equal to the preset threshold value, taking the speed value which is smaller than the current speed and has the smallest absolute value of the difference with the current speed in the preset speed set as the target adjusting speed;
and under the condition that the speed adjusting direction of the running machine is determined to be the current speed of the running machine, if the rotating speed is smaller than the preset threshold value, reducing the current speed by the preset speed adjusting value to obtain the target adjusting speed.
Optionally, the speed adjusting knob is a rotary coding switch, and the speed adjusting knob comprises a plurality of uniformly arranged scale grids;
the determining the rotational direction and the rotational speed of the speed adjustment knob comprises:
determining the rotation direction according to the level signal of each port of the rotary coding switch;
the rotational speed is determined according to the number of divisions that the rotational number switch rotates per millisecond.
According to a second aspect of the embodiments of the present disclosure, there is provided a treadmill speed adjustment device, the device comprising:
a response module configured to determine a rotational direction and a rotational speed of a speed adjustment knob on the treadmill in response to a user's rotational operation of the speed adjustment knob;
a determination module configured to determine a target adjustment speed of the treadmill as a function of the rotational direction and the rotational speed;
an adjustment module configured to adjust a current speed of the treadmill to the target adjusted speed.
Optionally, the determining module includes:
a first determination submodule configured to determine a speed adjustment direction for the treadmill from the rotational direction;
a second determination submodule configured to determine the target adjustment speed according to the speed adjustment direction and the magnitude of the rotation speed.
Optionally, the first determining submodule is specifically configured to determine the speed adjustment direction of the treadmill to increase the current speed of the treadmill when the rotation direction is a clockwise direction;
determining a speed adjustment direction for the treadmill to decrease the current speed of the treadmill when the rotational direction is counter-clockwise.
Optionally, the second determining sub-module includes:
a first execution sub-module configured to, if it is determined that a speed adjustment direction for the treadmill is to increase the current speed of the treadmill, if the rotation speed is greater than or equal to a preset threshold, take a speed value in a preset speed set, which is greater than the current speed and has a smallest absolute value of a difference with the current speed, as the target adjustment speed, where the preset speed set includes a plurality of speed values;
a second execution submodule configured to, if it is determined that the speed adjustment direction for the treadmill is to increase the current speed of the treadmill, increase the current speed by a preset speed adjustment value if the rotation speed is less than the preset threshold value, resulting in the target adjustment speed.
Optionally, the second determining sub-module includes:
a third execution sub-module configured to, if it is determined that the speed adjustment direction for the treadmill is decreasing the current speed of the treadmill, if the rotation speed is greater than or equal to the preset threshold, take a speed value in the preset speed set that is less than the current speed and whose absolute value of the difference from the current speed is the smallest as the target adjustment speed;
a fourth execution sub-module configured to, if it is determined that the speed adjustment direction for the treadmill is to decrease the current speed of the treadmill, decrease the current speed by the preset speed adjustment value if the rotation speed is less than the preset threshold value, resulting in the target adjustment speed.
Optionally, the speed adjusting knob is a rotary coding switch, and the speed adjusting knob comprises a plurality of uniformly arranged scale grids;
the response module is specifically configured to determine the rotation direction according to a level signal of each port of the rotary encoding switch; and determining the rotation speed according to the number of the graduation grids rotated by the rotation numbering switch every millisecond.
According to a third aspect of the embodiments of the present disclosure, there is provided a treadmill speed adjustment device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining a rotational direction and a rotational speed of a speed adjustment knob on the treadmill in response to a user's rotational operation of the speed adjustment knob;
determining a target adjustment speed of the treadmill based on the rotational direction and the rotational speed;
adjusting a current speed of the treadmill to the target adjusted speed.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of any one of the treadmill speed adjustment methods of the first aspect of the present disclosure.
According to a fifth aspect of the disclosed embodiments, there is provided a treadmill including a speed adjustment knob, and a treadmill speed adjustment device as described in any of the second or third aspects above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the rotational direction and rotational speed of the user operated speed adjustment knob is determined in response to the user's rotational operation of the speed adjustment knob on the treadmill. A target adjustment speed of the treadmill is determined based on the rotational direction and the rotational speed, and a current speed of the treadmill is adjusted to the target adjustment speed. By adopting the mode, the user can operate the speed adjusting knob through different rotating directions and different rotating speeds, so that the treadmill can be subjected to variable speed adjustment, and the problems of too many speed adjusting knobs on the treadmill and single function of the speed adjusting knobs in the related technology are solved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a treadmill speed adjustment method according to an exemplary embodiment.
FIG. 2 is a schematic circuit diagram illustrating a rotary encoder switch according to one exemplary embodiment.
FIG. 3 is a flow chart illustrating another treadmill speed adjustment method according to an exemplary embodiment.
FIG. 4 is a block diagram illustrating a treadmill speed adjustment device according to an exemplary embodiment.
FIG. 5 is a block diagram illustrating another treadmill speed adjustment device according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The treadmill is a necessary fitness equipment for a gymnasium and is the easiest equipment to operate in a plurality of fitness equipments. The running machine has the working principle that the motor drives the running belt so that a person on the running belt runs or walks passively at different speeds. Running on the treadmill can avoid adverse effects of factors such as weather and environment on a sporter when running outdoors, so that running on the treadmill improves the comfort of sports.
In the related art, a plurality of speed adjustment buttons are provided on the treadmill, and the speed adjustment buttons are specifically virtual buttons on a liquid crystal display panel or physical buttons on the treadmill. In particular, shortcut buttons of 3km/h, 6km/h, 9km/h, 12km/h are usually provided on the treadmill. These quick buttons facilitate the user in quickly adjusting the speed of the treadmill to the speed desired by the user. In addition, the treadmill is provided with an acceleration adjusting button for gradually increasing the speed and a deceleration adjusting button for gradually decreasing the speed, and the buttons are convenient for a new user to find the optimal speed suitable for the user by continuously adjusting the speed of the treadmill.
However, the treadmill is provided with too many speed adjusting buttons, so that the operation panel of the treadmill is more complicated, and the operation of the user is inconvenient.
In view of this, embodiments of the present disclosure provide a treadmill speed adjustment method, device, storage medium and treadmill, so as to solve the problems of too many speed adjustment buttons on the treadmill and single function of the speed adjustment buttons in the related art.
FIG. 1 is a flow chart illustrating a treadmill speed adjustment method according to an exemplary embodiment, as shown in FIG. 1, including the following steps.
In step S11, in response to a user' S rotational operation of a speed adjustment knob on the treadmill, a rotational direction and a rotational speed of the speed adjustment knob are determined.
The speed adjusting knob can be a physical knob arranged on the treadmill or a virtual knob arranged on a liquid crystal display panel of the treadmill. The present disclosure is not particularly limited thereto.
When the user uses the treadmill, the speed of the treadmill can be adjusted by rotating the speed adjusting knob on the treadmill. Specifically, in response to a user's rotational operation of a speed adjustment knob on the treadmill, the rotational direction and rotational speed in which the user operates the speed adjustment knob is determined.
It should be noted that the direction of rotation includes the direction of clockwise rotation of the speed adjustment knob, and the direction of counterclockwise rotation of the speed adjustment knob.
In step S12, a target adjustment speed of the treadmill is determined based on the rotational direction and the rotational speed.
Since the speed adjustment knob has a clockwise direction of rotation and a counter-clockwise direction of rotation and the rotational speed is large or small, in an implementable embodiment, different rotational directions and different rotational speeds can be assigned to different target adjustment speeds. In this way, a target adjustment speed required by the user may be determined depending on the specific direction of rotation and the specific speed of rotation in which the user rotates the speed adjustment knob.
In this way, the speed adjusting knob can be provided with a plurality of functional modes for adjusting the speed of the treadmill. For example, the functions of shortcut buttons of 3km/h, 6km/h, 9km/h, 12km/h in the related art may be integrated on the speed adjusting knob corresponding to different rotation directions and rotation speeds of the speed adjusting knob.
In step S13, the current speed of the treadmill is adjusted to the target adjustment speed.
It should be noted that, as known from the principle of the treadmill, the belt of the treadmill is driven by the motor, so that after the target adjustment speed of the treadmill is determined, the speed of the treadmill needs to be adjusted to the target adjustment speed by the speed executing mechanism of the treadmill.
In one implementation, after determining the target adjustment speed for the treadmill, the target adjustment speed may be sent to a speed actuator of the treadmill to cause the speed actuator of the treadmill to adjust the current speed of the treadmill to the target adjustment speed.
In this way, the rotational direction and rotational speed of the user operating the speed adjustment knob is determined in response to the user's rotational operation of the speed adjustment knob on the treadmill. A target adjustment speed of the treadmill is determined based on the rotational direction and the rotational speed, and a current speed of the treadmill is adjusted to the target adjustment speed. By adopting the mode, the user can operate the speed adjusting knob through different rotating directions and different rotating speeds, so that the treadmill can be subjected to variable speed adjustment, and the problems of too many speed adjusting knobs on the treadmill and single function of the speed adjusting knobs in the related technology are solved. And then can make the operating panel of the treadmill more succinct, the user operation of being convenient for.
Optionally, the determining a target adjustment speed of the treadmill from the rotational direction and the rotational speed may include:
determining a speed adjustment direction for the treadmill according to the rotation direction; and determining the target adjusting speed according to the speed adjusting direction and the rotating speed.
In an implementation manner, when the target adjustment speed of the treadmill is determined according to the rotation direction and the rotation speed, the speed adjustment direction of the treadmill can be determined according to the rotation direction; and determining a target adjusting speed according to the speed adjusting direction and the rotating speed.
Wherein the speed adjustment direction is a direction to increase the current speed of the treadmill, or the speed adjustment direction is a direction to decrease the current speed of the treadmill. Namely, the speed adjusting direction is an accelerating direction and a decelerating direction.
An implementable embodiment, said determining a direction of speed adjustment for said treadmill as a function of said direction of rotation, comprising:
determining a speed adjustment direction for the treadmill to increase the current speed of the treadmill when the rotational direction is clockwise; determining a speed adjustment direction for the treadmill to decrease the current speed of the treadmill when the rotational direction is counter-clockwise.
Specifically, when the user rotates the speed adjustment knob clockwise, the speed adjustment direction is determined as a direction to increase the current speed. When the user rotates the speed adjustment knob counterclockwise, the speed adjustment direction is determined as a direction to decrease the current speed.
In another implementable embodiment, said determining a direction of speed adjustment for the treadmill based on the direction of rotation includes:
determining a speed adjustment direction for the treadmill to decrease the current speed of the treadmill when the rotational direction is clockwise; determining a speed adjustment direction for the treadmill to increase the current speed of the treadmill when the rotational direction is counter-clockwise.
Optionally, the determining the target adjustment speed according to the speed adjustment direction and the magnitude of the rotation speed may specifically include the following steps:
under the condition that the speed adjusting direction of the treadmill is determined to be increasing the current speed of the treadmill, if the rotating speed is greater than or equal to a preset threshold value, taking a speed value which is greater than the current speed and has the smallest absolute value of the difference with the current speed in a preset speed set as the target adjusting speed, wherein the preset speed set comprises a plurality of speed values; and if the rotating speed is smaller than the preset threshold value, increasing the current speed by a preset speed adjusting value to obtain the target adjusting speed.
If the speed adjustment knob includes a plurality of evenly arranged divisions, the rotational speed of the speed adjustment knob can be determined by determining the number of divisions rotated per unit time period. Illustratively, the speed adjustment knob may include 36 graduated grids. The preset threshold for the rotation speed may be five divisions every 200 ms.
The preset speed set comprises a plurality of speed values. Illustratively, the preset speed set may be a set including 1km/h, 3km/h, 6km/h, 9km/h, 12km/h, 15 km/h. The present disclosure is not particularly limited thereto. The preset speed adjusting value is a minimum granularity value of the treadmill adjusting speed, and can be 0.1km/h, for example.
An implementable embodiment may automatically update or set the preset speed set based on historical running data of the user. Specifically, for example, a home treadmill, may have the speed values set by the user while using the treadmill within a historical period of time as values in a preset set of speeds.
Illustratively, assume that the preset threshold for the rotational speed is five ticks per 200 ms. The preset speed set is 1km/h, 3km/h, 6km/h, 9km/h, 12km/h and 15 km/h. The preset speed adjusting value is 0.1km/h, the current speed of the running machine is 0km/h, under the condition that the speed adjusting direction of the running machine is determined to increase the current speed of the running machine, if the rotating speed is greater than or equal to a preset threshold value and five scales are used every 200ms, the speed value which is greater than 0km/h and has the smallest absolute value of the difference with 0km/h in the preset speed sets of 1km/h, 3km/h, 6km/h, 9km/h, 12km/h and 15km/h is taken as the target adjusting speed, namely 1km/h is taken as the target adjusting speed. If the rotating speed is less than the preset threshold value and five scales are arranged every 200ms, the current speed of 0km/h is increased by 0.1km/h, and the target adjusting speed of 0.1km/h is obtained.
As a further example, assume that the preset threshold for the rotational speed is five divisions every 200 ms. The preset speed set is 1km/h, 3km/h, 6km/h, 9km/h, 12km/h and 15 km/h. The preset speed adjusting value is 0.1km/h, and the current speed of the treadmill is 2.5 km/h. Then in the case where it is determined that the speed adjustment direction for the treadmill is to increase the current speed of the treadmill, if the rotational speed is greater than or equal to a preset threshold value by five divisions per 200ms, a speed value greater than 2.5km/h of a preset speed set of 1km/h, 3km/h, 6km/h, 9km/h, 12km/h, 15km/h, and having the smallest absolute value of the difference from 2.5km/h, is taken as the target adjustment speed, i.e., 3km/h is taken as the target adjustment speed. If the rotating speed is less than the preset threshold value and five scales are arranged every 200ms, the current speed of 2.5km/h is increased by 0.1km/h, and the target adjusting speed of 2.6km/h is obtained.
In a possible case where the speed adjustment direction for the treadmill is determined to increase the current speed of the treadmill according to the rotation direction in response to the user's rotational operation of the speed adjustment knob on the treadmill on the basis of the current speed of the treadmill being the maximum speed of the treadmill, the current speed of the treadmill may not be increased since the current speed of the treadmill is already the maximum speed of the treadmill. In this case, the prompt message that the current speed is the maximum speed can be displayed through the display panel of the treadmill.
Optionally, the determining the target adjustment speed according to the speed adjustment direction and the magnitude of the rotation speed may further include:
under the condition that the speed adjusting direction of the treadmill is determined to be the current speed of the treadmill, if the rotating speed is greater than or equal to the preset threshold value, taking the speed value which is smaller than the current speed and has the smallest absolute value of the difference with the current speed in the preset speed set as the target adjusting speed; and if the rotating speed is smaller than the preset threshold value, reducing the current speed by the preset speed adjusting value to obtain the target adjusting speed.
Illustratively, assume that the preset threshold value for the rotational speed is five divisions per 100 ms. The preset speed set is 1km/h, 3km/h, 6km/h, 9km/h, 12km/h and 15 km/h. The preset speed adjusting value is 0.15km/h, and the current speed of the treadmill is 5 km/h. Then, under the condition that the speed adjusting direction of the running machine is determined to be reducing the current speed of the running machine, if the rotating speed is greater than or equal to a preset threshold value and five scales are provided every 100ms, the speed value which is less than 5km/h in a preset speed set of 1km/h, 3km/h, 6km/h, 9km/h, 12km/h and 15km/h and has the smallest absolute value of the difference with 5km/h is taken as a target adjusting speed, namely 3km/h is taken as the target adjusting speed; if the rotating speed is less than the preset threshold value and five scales are arranged every 100ms, the current speed of 5km/h is reduced by 0.15km/h, and the target adjusting speed of 4.85km/h is obtained.
In a possible case, if the speed adjustment direction of the treadmill is determined to decrease the current speed of the treadmill according to the rotation direction in response to the user's rotational operation of the speed adjustment knob on the treadmill when the current speed of the treadmill is 0, the current speed of the treadmill is not decreased in this case since the current speed of the treadmill is already 0.
Optionally, the speed adjusting knob is a rotary encoder switch, and the speed adjusting knob includes a plurality of scale grids which are uniformly arranged. The scale grids can be displayed on the appearance of the speed adjusting knob or not.
The determining the rotational direction and the rotational speed of the speed adjustment knob comprises:
determining the rotation direction according to the level signal of each port of the rotary coding switch; the rotational speed is determined according to the number of divisions that the rotational number switch rotates per millisecond.
Illustratively, referring to fig. 2, the rotary encoder switch has 3 output ports, specifically, a terminal a, a terminal B, and a terminal C. The terminal a is connected to an external interrupt pin of a CPU (encoder) (triggered when a level signal of the terminal a is a falling edge), and the terminal B is connected to an input IO port of the CPU.
Based on the rotary encoder switch shown in fig. 2, when the level signal of the terminal a is the falling edge and the level signal of the terminal B is the low level, it can be determined that the rotation direction of the speed adjusting knob is the clockwise direction. When the level signal of the terminal a is the falling edge and the level signal of the terminal B is the high level, it may be determined that the rotation direction of the speed adjustment knob is the counterclockwise direction.
FIG. 3 is a flow chart illustrating another treadmill speed adjustment method according to an exemplary embodiment of the present disclosure, as shown in FIG. 3, including the following steps.
In step S31, in response to a user' S rotational operation of a speed adjustment knob on the treadmill, determining a rotational direction and a rotational speed of the speed adjustment knob;
in step S32, determining the rotation direction according to the level signal of each port of the rotary encoder switch corresponding to the speed adjusting knob;
in step S33, determining a speed adjustment direction for the treadmill to increase the current speed of the treadmill when the rotational direction is clockwise;
in step S34, determining a speed adjustment direction for the treadmill to decrease the current speed of the treadmill when the rotational direction is counter-clockwise;
in step S35, it is determined whether the rotation speed is greater than a preset threshold;
in step S361, a speed value in a preset speed set, which is greater than the current speed and has a smallest absolute value of a difference with the current speed, is used as the target adjustment speed;
in step S371, increasing the current speed by a preset speed adjustment value to obtain the target adjustment speed;
in step S362, a speed value in the preset speed set that is smaller than the current speed and has a smallest absolute value of a difference with the current speed is taken as the target adjustment speed;
in step S372, the current speed is decreased by the preset speed adjustment value to obtain the target adjustment speed.
In step S38, the target adjustment speed is sent to a speed actuator of the treadmill to adjust the current speed of the treadmill to the target adjustment speed.
The detailed description of the steps in the above method has been given in the foregoing embodiments of the method, and will not be repeated here.
In one possible embodiment, the speed control knob can also be designed as a push-button speed control knob. In this manner, the user's operation of the speed adjustment knob on the treadmill includes an operation of clicking/pressing the speed adjustment knob in addition to the rotation operation. And clicking/pressing the speed adjustment knob may be used to trigger pausing/starting the treadmill.
The disclosed embodiment also provides a treadmill speed adjusting device, as shown in fig. 4, the device 400 includes:
a response module 410 configured for determining a rotational direction and a rotational speed of a speed adjustment knob on the treadmill in response to a user's rotational operation of the speed adjustment knob;
a determination module 420 configured for determining a target adjustment speed of the treadmill based on the rotational direction and the rotational speed;
an adjustment module 430 configured to adjust a current speed of the treadmill to the target adjusted speed.
With this apparatus, the rotational direction and rotational speed of the user operating the speed adjustment knob are determined in response to the user's rotational operation of the speed adjustment knob on the treadmill. A target adjustment speed of the treadmill is determined based on the rotational direction and the rotational speed, and a current speed of the treadmill is adjusted to the target adjustment speed. By adopting the mode, the user can operate the speed adjusting knob through different rotating directions and different rotating speeds, so that the treadmill can be subjected to variable speed adjustment, and the problems of too many speed adjusting knobs on the treadmill and single function of the speed adjusting knobs in the related technology are solved.
Optionally, the determining module 420 includes:
a first determination submodule configured to determine a speed adjustment direction for the treadmill from the rotational direction;
a second determination submodule configured to determine the target adjustment speed according to the speed adjustment direction and the magnitude of the rotation speed.
Optionally, the first determining submodule is specifically configured to determine the speed adjustment direction of the treadmill to increase the current speed of the treadmill when the rotation direction is a clockwise direction;
determining a speed adjustment direction for the treadmill to decrease the current speed of the treadmill when the rotational direction is counter-clockwise.
Optionally, the second determining sub-module includes:
a first execution sub-module configured to, if it is determined that a speed adjustment direction for the treadmill is to increase the current speed of the treadmill, if the rotation speed is greater than or equal to a preset threshold, take a speed value in a preset speed set, which is greater than the current speed and has a smallest absolute value of a difference with the current speed, as the target adjustment speed, where the preset speed set includes a plurality of speed values;
a second execution submodule configured to, if it is determined that the speed adjustment direction for the treadmill is to increase the current speed of the treadmill, increase the current speed by a preset speed adjustment value if the rotation speed is less than the preset threshold value, resulting in the target adjustment speed.
Optionally, the second determining sub-module includes:
a third execution sub-module configured to, if it is determined that the speed adjustment direction for the treadmill is decreasing the current speed of the treadmill, if the rotation speed is greater than or equal to the preset threshold, take a speed value in the preset speed set that is less than the current speed and whose absolute value of the difference from the current speed is the smallest as the target adjustment speed;
a fourth execution sub-module configured to, if it is determined that the speed adjustment direction for the treadmill is to decrease the current speed of the treadmill, decrease the current speed by the preset speed adjustment value if the rotation speed is less than the preset threshold value, resulting in the target adjustment speed.
Optionally, the speed adjusting knob is a rotary coding switch, and the speed adjusting knob comprises a plurality of uniformly arranged scale grids;
the response module 410 is specifically configured to determine the rotation direction according to the level signal of each port of the rotary encoding switch; and determining the rotation speed according to the number of the graduation grids rotated by the rotation numbering switch every millisecond.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the treadmill speed adjustment method provided by the present disclosure.
Fig. 5 is a block diagram illustrating a treadmill speed adjustment apparatus 700 according to an exemplary embodiment. As shown in fig. 5, the apparatus 700 may include: a processor 701 and a memory 702. The apparatus 700 may also include one or more of a multimedia component 703, an input/output (I/O) interface 704, and a communication component 705.
The processor 701 is used for controlling the overall operation of the device 700 to complete all or part of the steps of the treadmill speed adjusting method. The memory 702 is used to store various types of data to support operation of the apparatus 700, such as instructions for any application or method operating on the apparatus 700 and application-related data, such as contact data, messaging, pictures, audio, video, and the like. The Memory 702 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia components 703 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 702 or transmitted through the communication component 705. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 704 provides an interface between the processor 701 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the apparatus 700 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, which is not limited herein. The corresponding communication component 705 may thus include: Wi-Fi module, Bluetooth module, NFC module, etc.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the treadmill speed adjustment method described above.
In another exemplary embodiment, a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the treadmill speed adjustment method described above is also provided. For example, the computer readable storage medium may be the memory 702 described above including program instructions that are executable by the processor 701 of the apparatus 700 to perform the treadmill speed adjustment method described above.
The disclosed embodiment also provides a treadmill, which comprises a speed adjusting knob, and the treadmill speed adjusting device 400 or the treadmill speed adjusting device 700.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A treadmill speed adjustment method, the method comprising:
determining a rotational direction and a rotational speed of a speed adjustment knob on the treadmill in response to a user's rotational operation of the speed adjustment knob;
determining a target adjustment speed of the treadmill based on the rotational direction and the rotational speed;
adjusting a current speed of the treadmill to the target adjusted speed.
2. The method of claim 1, wherein determining a target adjustment speed for the treadmill based on the rotational direction and the rotational speed comprises:
determining a speed adjustment direction for the treadmill according to the rotation direction;
and determining the target adjusting speed according to the speed adjusting direction and the rotating speed.
3. The method of claim 2, wherein determining a speed adjustment direction for the treadmill based on the rotational direction comprises:
determining a speed adjustment direction for the treadmill to increase the current speed of the treadmill when the rotational direction is clockwise;
determining a speed adjustment direction for the treadmill to decrease the current speed of the treadmill when the rotational direction is counter-clockwise.
4. The method of claim 3, wherein determining the target adjustment speed based on the speed adjustment direction and the magnitude of the rotational speed comprises:
under the condition that the speed adjusting direction of the treadmill is determined to be increasing the current speed of the treadmill, if the rotating speed is greater than or equal to a preset threshold value, taking a speed value which is greater than the current speed and has the smallest absolute value of the difference with the current speed in a preset speed set as the target adjusting speed, wherein the preset speed set comprises a plurality of speed values;
and under the condition that the speed adjusting direction of the running machine is determined to be the current speed of the running machine, if the rotating speed is smaller than the preset threshold value, increasing the current speed by a preset speed adjusting value to obtain the target adjusting speed.
5. The method of claim 3 or 4, wherein said determining the target adjustment speed based on the speed adjustment direction and the magnitude of the rotational speed comprises:
under the condition that the speed adjusting direction of the treadmill is determined to be the current speed of the treadmill, if the rotating speed is greater than or equal to the preset threshold value, taking the speed value which is smaller than the current speed and has the smallest absolute value of the difference with the current speed in the preset speed set as the target adjusting speed;
and under the condition that the speed adjusting direction of the running machine is determined to be the current speed of the running machine, if the rotating speed is smaller than the preset threshold value, reducing the current speed by the preset speed adjusting value to obtain the target adjusting speed.
6. The method of claim 5, wherein the speed adjustment knob is a rotary encoder switch, the speed adjustment knob including a plurality of evenly disposed graduations;
the determining the rotational direction and the rotational speed of the speed adjustment knob comprises:
determining the rotation direction according to the level signal of each port of the rotary coding switch;
the rotational speed is determined according to the number of divisions that the rotational number switch rotates per millisecond.
7. A treadmill speed adjustment device, the device comprising:
a response module configured to determine a rotational direction and a rotational speed of a speed adjustment knob on the treadmill in response to a user's rotational operation of the speed adjustment knob;
a determination module configured to determine a target adjustment speed of the treadmill as a function of the rotational direction and the rotational speed;
an adjustment module configured to adjust a current speed of the treadmill to the target adjusted speed.
8. A treadmill speed adjustment device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining a rotational direction and a rotational speed of a speed adjustment knob on the treadmill in response to a user's rotational operation of the speed adjustment knob;
determining a target adjustment speed of the treadmill based on the rotational direction and the rotational speed;
adjusting a current speed of the treadmill to the target adjusted speed.
9. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 6.
10. A treadmill comprising a speed adjustment knob, and a treadmill speed adjustment device of claim 7 or 8.
CN202011085847.6A 2020-10-12 2020-10-12 Treadmill speed adjusting method and device, storage medium and treadmill Pending CN112274851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011085847.6A CN112274851A (en) 2020-10-12 2020-10-12 Treadmill speed adjusting method and device, storage medium and treadmill

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011085847.6A CN112274851A (en) 2020-10-12 2020-10-12 Treadmill speed adjusting method and device, storage medium and treadmill

Publications (1)

Publication Number Publication Date
CN112274851A true CN112274851A (en) 2021-01-29

Family

ID=74496138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011085847.6A Pending CN112274851A (en) 2020-10-12 2020-10-12 Treadmill speed adjusting method and device, storage medium and treadmill

Country Status (1)

Country Link
CN (1) CN112274851A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2317842A1 (en) * 1999-09-07 2001-03-07 Brunswick Corporation Treadmill control system
US7312590B1 (en) * 2003-11-26 2007-12-25 The Creative Train Company, Llc Model railroad velocity controller
CN105056468A (en) * 2015-08-11 2015-11-18 王燕军 Real-time interaction treadmill
CN108579019A (en) * 2018-03-12 2018-09-28 深圳卡路里科技有限公司 Body-building equipment control method, device, treadmill, storage medium and processor
CN207939778U (en) * 2018-03-30 2018-10-02 深圳市溢创技术顾问有限公司 Power adjustable electromagnetic oven
CN109157800A (en) * 2018-03-06 2019-01-08 深圳卡路里科技有限公司 Treadmill

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2317842A1 (en) * 1999-09-07 2001-03-07 Brunswick Corporation Treadmill control system
US7312590B1 (en) * 2003-11-26 2007-12-25 The Creative Train Company, Llc Model railroad velocity controller
CN105056468A (en) * 2015-08-11 2015-11-18 王燕军 Real-time interaction treadmill
CN109157800A (en) * 2018-03-06 2019-01-08 深圳卡路里科技有限公司 Treadmill
CN108579019A (en) * 2018-03-12 2018-09-28 深圳卡路里科技有限公司 Body-building equipment control method, device, treadmill, storage medium and processor
CN207939778U (en) * 2018-03-30 2018-10-02 深圳市溢创技术顾问有限公司 Power adjustable electromagnetic oven

Similar Documents

Publication Publication Date Title
JP6985339B2 (en) Scene-based vibration feedback method and mobile device
US20090094555A1 (en) Adaptive user interface elements on display devices
RU2640733C2 (en) Method and device for application management
US20170278196A1 (en) Tax calculator, tax calculation method, and storage medium storing program
US20110258581A1 (en) Method for adjusting size of an icon and related handheld device
CA2160203A1 (en) Mouse driver arrangement for providing advanced scrolling capabilities to a conventional mouse
CN107609374B (en) Unlocking method and mobile terminal
CN107318091B (en) Network connection control method and mobile terminal
CN106775755B (en) Application recommendation method and mobile terminal
US20120023426A1 (en) Apparatuses and Methods for Position Adjustment of Widget Presentations
CN113238695B (en) Interaction method and device of wearable device, electronic device and storage medium
CN106569674A (en) Mobile terminal and screen operation control method thereof
KR101608799B1 (en) Apparatus and method for having object display dial of in portable terminal
CN112274851A (en) Treadmill speed adjusting method and device, storage medium and treadmill
WO2022228261A1 (en) Display method and electronic device
CN106339088B (en) Method for detecting motion state of equipment, handheld mobile terminal and wearable equipment
CN103809867A (en) Control method, device and electronic equipment
CN107547738A (en) A kind of reminding method and mobile terminal
KR100818991B1 (en) Apparatus and method for providing feedback of item transition probability in tilt-based list navigation
CN104507004A (en) Player control method, player and earphones
CN109062496B (en) Method and device for adjusting operation area, mobile terminal and storage medium
CN107682902B (en) Control method of electronic equipment and electronic equipment
KR100888632B1 (en) Apparatus and method for driving an application in a mobile terminal using an inertial sensor
CN114995710A (en) Wearable device interaction method, wearable device and readable storage medium
TWI258971B (en) Input device, the use of electronic machine and mobile phone equipped with such input device

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
CB02 Change of applicant information

Address after: 100070 room 410, 4 / F, 101, 1-15 / F, building 25, 18 District, 188 South 4th Ring Road West, Fengtai District, Beijing

Applicant after: Beijing goldsmith Technology Co.,Ltd.

Address before: 100070 room 410, 4 / F, 101, 1-15 / F, building 25, 18 District, 188 South 4th Ring Road West, Fengtai District, Beijing

Applicant before: BEIJING KINGSMITH TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20210129

RJ01 Rejection of invention patent application after publication