Spinning resistance adjustment method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202410027400.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-04
- Publication Date
- 2026-10-20
- Estimated Expiration
- 2044-01-04
AI Technical Summary
目前,动感单车的踏板阻力依旧是通过人为对各种旋钮进行操作来进行阻力大小调节,不仅操作过程繁琐,还会导致阻力调节过小或阻力调节过大的问题,难以快捷精确的调节动感单车的踏板阻力
[0037]如上,本申请提供一种动感单车的阻力调整方法、装置、电子设备及存储介质,响应于地图选择操作,确定地图选择操作对应的目标骑行地图;获取目标骑行地图的地形数据;根据地形数据以及当前的重力数据,调节在骑行过程中的阻力反馈系数;通过阻力反馈系数调整动感单车的踏板阻力。在本申请提供的动感单车的阻力调整方案中,通过结合目标骑行地图的地形数据和当前的重力数据,调节在骑行过程中的阻力反馈系数,从而可以通过阻力反馈系数自动调整动感单车的踏板阻力,可见,本方案可以结合地形数据和当前的重力数据调整动感单车的踏板阻力,提高动感单车的踏板阻力的调节准确度,进而有利于让用户在使用动感单车时与骑行场景进行充分交互,提高用户体验。
Smart Images

Figure CN117861175B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of fitness equipment technology, and in particular to a method, device, electronic device and storage medium for adjusting the resistance of a stationary bike. Background Technology
[0002] Indoor cycling, as an efficient and safe form of indoor fitness equipment, has become an increasingly popular choice for a healthy lifestyle. By combining virtual reality technology with the equipment itself, indoor cycling allows users to experience the sensation of riding a bicycle, thus helping them better maintain their exercise routine and achieve goals such as weight loss, body shaping, and improved physical fitness.
[0003] When riding a stationary bike, the intensity of the ride is primarily controlled by the amount of pedal resistance. Higher resistance results in a "heavier" feeling, and vice versa. Currently, the pedal resistance of stationary bikes is still adjusted manually by operating various knobs. This process is not only cumbersome but can also lead to adjusting the resistance too low or too high, making it difficult to quickly and accurately adjust the pedal resistance. Summary of the Invention
[0004] This application proposes a method, device, electronic device, and storage medium for adjusting the resistance of a stationary bike, which can improve the accuracy of adjusting the pedal resistance of the stationary bike, thereby enabling users to fully interact with the cycling scenario when using the stationary bike and improving the user experience.
[0005] Firstly, a method for adjusting the resistance of a stationary bike is provided, including:
[0006] In response to a map selection operation, determine the target cycling map corresponding to the map selection operation;
[0007] Obtain the terrain data of the target cycling map;
[0008] Adjust the resistance feedback coefficient during riding based on the terrain data and current gravity data;
[0009] The pedal resistance of the exercise bike is adjusted by the resistance feedback coefficient.
[0010] Secondly, a resistance adjustment device for a stationary bike is provided, comprising:
[0011] A determination module is used to determine the target cycling map corresponding to the map selection operation in response to the map selection operation;
[0012] The acquisition module is used to acquire terrain data of the target cycling map;
[0013] The adjustment module is used to adjust the resistance feedback coefficient during riding based on the terrain data and the current gravity data.
[0014] The first adjustment module is used to adjust the pedal resistance of the exercise bike through the resistance feedback coefficient.
[0015] Optionally, in some embodiments of this application, the adjustment module further includes:
[0016] The acquisition submodule is used to acquire the position coordinates of the exercise bike in the target cycling map;
[0017] The determination submodule is used to determine the resistance change point from the terrain data based on the position coordinates, along the riding direction of the exercise bike on the target riding map.
[0018] The adjustment submodule is used to adjust the resistance feedback coefficient based on the resistance change point and the current gravity data.
[0019] Optionally, in some embodiments of this application, the adjustment submodule further includes:
[0020] The determining unit is used to determine the cycling terrain associated with the resistance change point and to obtain the resistance influencing factors corresponding to the cycling terrain;
[0021] An adjustment unit is used to adjust the resistance feedback coefficient based on the resistance influencing factors and the current gravity data.
[0022] Optionally, in some embodiments of this application, the adjustment unit further includes;
[0023] The first adjustment subunit is used to adjust the resistance feedback coefficient according to the first slope angle, the first rolling resistance factor and the current gravity data if the resistance influencing factors include the first slope angle and the first rolling resistance factor.
[0024] The second adjustment subunit is used to adjust the resistance feedback coefficient based on the second rolling resistance factor and the current gravity data if the resistance influencing factors include the second rolling resistance factor.
[0025] The third adjustment subunit is used to adjust the resistance feedback coefficient according to the third rolling resistance factor and the current gravity data if the resistance influencing factors include the third rolling resistance factor.
[0026] The fourth adjustment subunit is used to adjust the resistance feedback coefficient based on the second slope angle and the current gravity data if the resistance influencing factors include the second slope angle.
[0027] Optionally, in some embodiments of this application, a detection module is further included, which is specifically used for:
[0028] Detect whether the movement direction of the exercise bike exceeds the wall range of the preset invisible wall in the target cycling map;
[0029] If the movement of the exercise bike exceeds the range of the wall, the pedal resistance of the exercise bike will be adjusted to the upper limit of the resistance value.
[0030] Optionally, in some embodiments of this application, a first reduction module is further included, which is specifically used for:
[0031] If a movement control operation is received for the exercise bike, the pedal resistance of the exercise bike is reduced in response to the movement control operation until the movement direction of the exercise bike is detected to be within the range of the wall.
[0032] Optionally, in some embodiments of this application, a second reduction module is further included, the second reduction module being specifically used for:
[0033] In response to the movement control operation of the exercise bike, determine the movement angle corresponding to the movement control operation;
[0034] Based on the change in the moving angle, the pedal resistance of the exercise bike is reduced until the moving position of the exercise bike is detected to be within the range of the wall.
[0035] Thirdly, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described resistance adjustment method for a stationary bicycle.
[0036] Fourthly, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described resistance adjustment method for a stationary bicycle.
[0037] As described above, this application provides a method, device, electronic device, and storage medium for adjusting the resistance of a stationary bike. In response to a map selection operation, it determines the target cycling map corresponding to the map selection operation; acquires the terrain data of the target cycling map; adjusts the resistance feedback coefficient during cycling based on the terrain data and current gravity data; and adjusts the pedal resistance of the stationary bike using the resistance feedback coefficient. In the stationary bike resistance adjustment scheme provided by this application, by combining the terrain data of the target cycling map and the current gravity data to adjust the resistance feedback coefficient during cycling, the pedal resistance of the stationary bike can be automatically adjusted through the resistance feedback coefficient. Therefore, this scheme can adjust the pedal resistance of the stationary bike by combining terrain data and current gravity data, improving the accuracy of pedal resistance adjustment, and thus facilitating full interaction between the user and the cycling scenario when using the stationary bike, thereby improving the user experience. Attached Figure Description
[0038] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0039] Figure 1 This is an application environment diagram of the resistance adjustment method for a stationary bike provided in the embodiments of this application;
[0040] Figure 2 This is a flowchart of the resistance adjustment method based on a stationary bike provided in the embodiments of this application;
[0041] Figure 3 This is a schematic diagram of the map selection menu display interface provided in an embodiment of this application;
[0042] Figure 4 This is a schematic diagram of the first cycling route for the target cycling map provided in this application embodiment;
[0043] Figure 5 This is a schematic diagram of the second cycling route of the target cycling map provided in the embodiments of this application;
[0044] Figure 6 This is a schematic diagram of the resistance adjustment device for the exercise bike provided in this application embodiment;
[0045] Figure 7 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0046] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0047] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0049] This application provides a method, device, electronic device, and storage medium for adjusting the resistance of a stationary bicycle.
[0050] Specifically, the resistance adjustment device of the exercise bike can be integrated into an electronic device, which can be any of a smartphone, tablet, laptop, desktop computer, or exercise bike, but is not limited to these. The electronic device can be directly or indirectly connected to the server via wired or wireless communication. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. This application does not impose any restrictions on these aspects.
[0051] For example, please see Figure 1 The resistance adjustment device of the exercise bike is integrated into the exercise bike 10.
[0052] The exercise bike 10 can be equipped with a display screen, or it can connect to an electronic device with a display screen via a network. This display screen can render and display a target cycling map. Optionally, the exercise bike can also display the target cycling map to the user through holographic projection. In response to a map selection operation, the exercise bike 10 determines the target cycling map corresponding to the map selection operation. This map selection operation can be triggered by the user 20. Then, the exercise bike 10 obtains the terrain data of the target cycling map. Next, the exercise bike 10 adjusts the resistance feedback coefficient during the cycling process based on the terrain data and the current gravity data. Finally, the exercise bike 10 adjusts the pedal resistance of the exercise bike through the resistance feedback coefficient.
[0053] The resistance adjustment method for the exercise bike provided in this application can automatically adjust the pedal resistance of the exercise bike by combining terrain data and current gravity data, thereby improving the accuracy of pedal resistance adjustment and enabling users to fully interact with the cycling scenario when using the exercise bike, thus improving the user experience.
[0054] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the priority of the embodiments.
[0055] A method for adjusting the resistance of a stationary bike includes: responding to a map selection operation, determining the target cycling map corresponding to the map selection operation; acquiring terrain data of the target cycling map; adjusting the resistance feedback coefficient during cycling based on the terrain data and current gravity data; and adjusting the pedal resistance of the stationary bike through the resistance feedback coefficient.
[0056] Please see Figure 2 As shown, Figure 2 This is a flowchart illustrating a method for adjusting the resistance of a stationary bike according to an embodiment of this application. The specific process of this method may include the following:
[0057] 101: In response to a map selection operation, determine the target cycling map corresponding to the map selection operation.
[0058] The target cycling map can be a 3D virtual map generated based on the real environment. For example, a target cycling map generated based on West Lake Park would show all the roads (driveways and sidewalks) in West Lake Park as cycling routes for users. Similarly, a target cycling map generated based on a forest park would show the mountain roads within the forest park as cycling routes for users.
[0059] The map selection operation is used to trigger the exercise bike to select a target cycling map on the display screen. This map selection operation can be triggered by user interaction with the exercise bike. For example, the exercise bike can be linked to an electronic device with a display screen, where the target cycling map can be displayed. When the user deems it appropriate to trigger the map selection operation, they can touch a virtual trigger button on the display screen to initiate the operation. Alternatively, if the target cycling map is displayed on the exercise bike's screen, the user can touch a virtual trigger button on the exercise bike's screen to initiate the map selection operation.
[0060] In one embodiment, when the exercise bike is associated with a user's mobile terminal, the user can generate a map selection menu on the mobile terminal, thereby determining the target cycling map corresponding to the map selection operation in response to the map selection operation. For example, the mobile terminal displays a map selection menu, which includes... Figure 1 ,land Figure 2 ,land Figure 3 peacefully Figure 4 Users can touch the ground Figure 4 The corresponding virtual trigger case triggers the exercise bike to execute actions displayed on the screen. Figure 4 that place Figure 4 This is the target cycling map.
[0061] 102: Obtain terrain data for the target cycling map.
[0062] Terrain data can include information such as cycling roads, corresponding cycling terrain, and terrain transition points. Cycling terrain can include flat roads, slopes, and curves, with slopes including uphill and downhill sections. For example, please refer to... Figure 4The terrain of the cycling route is as follows: A1 to A2 is flat, A2 to A3 is uphill, A3 to A4 is downhill, and A4 to A5 is uphill. A2 is the point of resistance change between the flat road and the uphill section, A3 is the point of resistance change between the uphill section and the downhill section, and A4 is the point of resistance change between the downhill section and the uphill section. Among them, A11 is a schematic diagram of the riding status of the exercise bike on the flat road, that is, riding on the road between A1 and A2; A22 is a schematic diagram of the riding status of the exercise bike on the uphill section, that is, riding on the road between A2 and A3; A33 is a schematic diagram of the riding status of the exercise bike on the downhill section, that is, riding on the road between A3 and A4; and A44 is a schematic diagram of the riding status of the exercise bike on the uphill section, that is, riding on the road between A4 and A5.
[0063] 103: Adjust the resistance feedback coefficient during riding based on terrain data and current gravity data.
[0064] The resistance feedback coefficient can be a numerical value representing the relationship between the current gravity and terrain data and the pedal resistance of the exercise bike.
[0065] The current gravity data can be the sum of the user's weight and the weight of the exercise bike. The user's weight can be data entered by the user, while the exercise bike's weight can be data preset at the factory.
[0066] Optionally, the system can track the user's starting position and current position on the target cycling map in real time, calculate the user's cycling distance in real time based on the starting position and current position, switch the user's cycling terrain when the user's cycling distance is equal to the distance of the current cycling terrain, obtain the corresponding resistance influencing factors based on the switched cycling terrain, and update the resistance feedback coefficient during the cycling process based on the resistance influencing factors and the current gravity data.
[0067] For example, please see Figure 4 Assuming Figure 4 In the diagram, A1 represents the starting position of the exercise bike. The flat sections A1 to A2 represent the user's current riding terrain. When the target position is A2, the user's riding distance is determined to be equal to the distance of the current riding terrain. At this point, the user's riding terrain is switched to the uphill section A2 to A3. The resistance influencing factors corresponding to the uphill section A2 to A3 are obtained, and the resistance feedback coefficient during the riding process is updated based on the resistance influencing factors and the current gravity data.
[0068] For example, please see Figure 4 Assuming Figure 4In the diagram, A3 represents the starting position of the exercise bike, and the flat sections A3 to A4 represent the user's current riding terrain. When the target position is A4, the user's riding distance is determined to be equal to the distance of the current riding terrain. At this point, the user's riding terrain is switched to the uphill section A4 to A5. The resistance influencing factors corresponding to the uphill section A4 to A5 are obtained, and the resistance feedback coefficient during the riding process is updated based on the resistance influencing factors and the current gravity data.
[0069] In one application scenario, the user's position coordinates on the target cycling map can be tracked in real time, and resistance change points can be determined from terrain data based on these coordinates. This allows the resistance feedback coefficient of the exercise bike to be updated based on these resistance change points and current gravity data. Specifically, in some embodiments, the step "adjusting the resistance feedback coefficient during cycling based on terrain data and current gravity data" may include:
[0070] (11) Obtain the position coordinates of the exercise bike in the target cycling map.
[0071] The location coordinates can be the coordinates of the current position of the exercise bike on the target cycling map.
[0072] (12) Determine the resistance change point from the terrain data based on the location coordinates of the stationary bike along the riding direction of the target riding map.
[0073] The resistance change point is used to indicate the switching of the current riding terrain of the exercise bike to the riding terrain corresponding to the resistance change point.
[0074] Optionally, the system can detect the position coordinates of the exercise bike in the target cycling map, determine whether the exercise bike has reached a road fork in the terrain data, and if it is determined that the exercise bike has reached a road fork in the terrain data, and upon receiving a user's road change operation, determine the cycling direction of the exercise bike in the target cycling map in response to the road change operation. The road change operation is when the user operates the exercise bike to change its movement direction and enter the target lane, thereby determining the cycling direction of the exercise bike in the target cycling map in response to the road change operation.
[0075] (13) Adjust the resistance feedback coefficient based on the resistance change point and the current gravity data.
[0076] Optionally, the resistance influencing factors can be obtained based on the resistance change points, and the resistance feedback coefficient can be adjusted according to the resistance influencing factors.
[0077] For example, such as Figure 5As shown, assuming the current riding terrain of the exercise bike is a circular track, and the bike's position coordinates are B1, where the track between B1 and B2 is flat, the track between B2 and B21 is flat, the track between B21 and B3 is flat, the track between B2 and B22 is curved, and the track between B22 and B3 is curved, and the bike's riding direction on the target riding map is B22, then it can be determined that when the target position reaches B2, B2 is the point of resistance change. The resistance influencing factors corresponding to B2 include the rolling resistance factor of the exercise bike when it is on a curve. The resistance feedback coefficient can be adjusted based on this rolling resistance factor and the current gravity data.
[0078] For example, such as Figure 5 As shown, assuming the current riding terrain of the exercise bike is a circular track, and the position coordinate of the exercise bike is B1, and the riding direction of the exercise bike in the target riding map is B21, then it can be determined that when the target position reaches C1, C1 is the point of resistance change. The resistance influencing factors corresponding to C1 include the rolling resistance factor of the exercise bike on flat ground. The resistance feedback coefficient can be adjusted according to the rolling resistance factor and the current gravity data.
[0079] In one application scenario, when the position coordinates of the exercise bike rider match the coordinates corresponding to the resistance change point, the resistance influencing factors can be obtained. Based on these factors and the current gravity data, the resistance feedback coefficient can be adjusted. Specifically, in some embodiments, the step "adjusting the resistance feedback coefficient based on the resistance change point and the current gravity data" may include:
[0080] (21) Determine the cycling terrain associated with the resistance change point and obtain the resistance influencing factors corresponding to the cycling terrain;
[0081] (22) Adjust the resistance feedback coefficient according to the factors affecting resistance and the current gravity data.
[0082] For example, such as Figure 5 As shown, assuming the current riding terrain of the exercise bike is a circular track, and the position coordinate of the exercise bike is B1, and the riding direction of the exercise bike in the target riding map is B22, then the resistance change point can be determined to be B2. The riding terrain corresponding to B1 is a curve. The resistance influencing factors corresponding to this curve include the rolling resistance factor of the exercise bike when it is on the curve. The resistance feedback coefficient can be adjusted according to the rolling resistance factor and the current gravity data.
[0083] For example, such as Figure 5As shown, assuming the current riding terrain of the exercise bike is a circular track, when the position coordinate of the exercise bike is B1, in response to the road change operation, the riding direction of the exercise bike in the target riding map is determined to be direction B21. At this time, the resistance change point can be determined to be B2. The riding terrain corresponding to B2 is a flat road. The resistance influencing factors of this flat road include the rolling resistance factor of the exercise bike on the flat road. The resistance feedback coefficient can be adjusted according to the rolling resistance factor and the current gravity data.
[0084] In one embodiment, the drag feedback coefficient is adjusted by further judging the drag influencing factors. Specifically, in some embodiments, the step "adjusting the drag feedback coefficient based on the drag influencing factors and the current gravity data" may include:
[0085] (31) If the resistance influencing factors include the first slope angle and the first rolling resistance factor, then adjust the resistance feedback coefficient according to the first slope angle, the first rolling resistance factor and the current gravity data.
[0086] The first rolling resistance factor is the rolling resistance factor of the exercise bike when it is going uphill, and the first slope angle is the slope angle of the exercise bike when it is going uphill.
[0087] Based on the first slope angle, the first rolling resistance factor, and the current gravity data, the target resistance feedback coefficient is calculated. The difference between the target resistance feedback coefficient and the current resistance feedback coefficient is then calculated, and the resistance feedback coefficient is adjusted based on this difference. Therefore, the target resistance feedback coefficient can be calculated using the following formula (1):
[0088] f1=μ1*m+sinθ1*m (1)
[0089] In the formula, f1 is the target resistance feedback coefficient of the exercise bike when going uphill, μ1 is the first rolling resistance factor, θ1 is the first slope angle, and m is the current gravity data.
[0090] (32) If the drag influencing factors include the second rolling drag factor, then adjust the drag feedback coefficient according to the second rolling drag factor and the current gravity data.
[0091] The second rolling resistance factor is the rolling resistance factor of the exercise bike on a flat road.
[0092] Based on the second rolling resistance factor and the current gravity data, the target resistance feedback coefficient is calculated. The difference between the target resistance feedback coefficient and the current resistance feedback coefficient is then calculated, and the resistance feedback coefficient is adjusted based on this difference. Therefore, the target resistance feedback coefficient can be calculated using the following formula (2):
[0093] f2=μ2*m (2)
[0094] In the formula, f2 is the target resistance feedback coefficient of the exercise bike on a flat road, μ1 is the second rolling resistance factor, and m is the current gravity data.
[0095] (33) If the drag influencing factors include the third rolling drag factor, then adjust the drag feedback coefficient according to the third rolling drag factor and the current gravity data.
[0096] The third rolling resistance factor is the rolling resistance factor of the exercise bike when it is in a curve.
[0097] Based on the third rolling resistance factor and the current gravity data, the target resistance feedback coefficient is calculated. The difference between the target resistance feedback coefficient and the current resistance feedback coefficient is calculated, and the resistance feedback coefficient is adjusted based on this difference. Therefore, the second rolling resistance factor in the above formula (2) can be replaced with the third rolling resistance factor, thereby replacing the subsequent formula (2) in calculating the target resistance feedback coefficient. This will not be repeated here.
[0098] (34) If the drag influencing factors include the second slope angle, then adjust the drag feedback coefficient according to the second slope angle and the current gravity data.
[0099] The second slope angle is the rolling resistance factor of the exercise bike when going downhill.
[0100] Based on the second slope angle and the current gravity data, the target resistance feedback coefficient is calculated. The difference between the target resistance feedback coefficient and the current resistance feedback coefficient is calculated. Based on this difference, the resistance feedback coefficient is adjusted. If the difference is negative, the current resistance feedback coefficient is subtracted from the difference; if the difference is positive, the current resistance feedback coefficient is added to the difference. Based on this, the target resistance feedback coefficient can be calculated according to the following formula (3):
[0101] f3=sinθ2*m (3)
[0102] In the formula, f3 is the target resistance feedback coefficient of the exercise bike when going downhill, θ2 is the first slope angle, and m is the current gravity data.
[0103] 104: Adjust the pedal resistance of the exercise bike by using the resistance feedback coefficient.
[0104] Optionally, the target resistance can be determined based on the resistance feedback coefficient, and the pedal resistance of the exercise bike can be adjusted to that target resistance.
[0105] Specifically, a data table showing the correspondence between resistance feedback coefficients and resistance can be pre-set. The target resistance corresponding to the resistance feedback coefficient can be determined from the data table, and the pedal resistance of the exercise bike can be adjusted to that target resistance.
[0106] During cycling, if the movement of the exercise bike exceeds the wall range of the preset air wall in the target cycling map, the pedal resistance of the exercise bike can be adjusted to the upper limit of resistance, thereby forcing the exercise bike to stop in the target cycling map. That is, optionally, in some embodiments, the resistance adjustment method of the exercise bike may further include:
[0107] (41) Detect whether the movement direction of the exercise bike exceeds the wall range of the preset air wall in the target cycling map;
[0108] (42) If the movement of the exercise bike is detected to be outside the wall, the pedal resistance of the exercise bike will be adjusted to the upper limit of the resistance value.
[0109] The upper limit of resistance is the maximum value of the pedal resistance of the exercise bike.
[0110] If the movement of the exercise bike exceeds the wall's range, it means that at least the front wheel of the exercise bike has gone beyond the wall's range and is no longer within the cycling path. Based on this, the pedal resistance of the exercise bike is adjusted to the upper limit of resistance, and the exercise bike is made to stop in the target cycling map.
[0111] In one scenario, when a user moves a stationary bike back onto the cycling path from behind a wall, the pedal resistance of the stationary bike can be reduced. Based on this, after adjusting the pedal resistance to its maximum value, if a movement control operation is received for the stationary bike, the pedal resistance is further reduced. That is, optionally, in some embodiments, after the step "if it is detected that the stationary bike's movement direction exceeds the wall area, then adjust the pedal resistance to its maximum value," the following may be further included:
[0112] (51) If a movement control operation is received for the exercise bike, the pedal resistance of the exercise bike is reduced in response to the movement control operation until the movement direction of the exercise bike is detected to be within the wall area.
[0113] The movement control operation triggers the action of moving the exercise bike from outside the invisible wall area back onto the cycling path on the display screen. This map selection operation can be triggered by the user interacting with the exercise bike, such as by associating the exercise bike with an electronic device equipped with a display screen. When the user deems it appropriate to trigger the action of moving the exercise bike from outside the invisible wall area back onto the cycling path on the display screen, the user can perform a movement control operation on the front of the exercise bike to trigger this action.
[0114] After adjusting the pedal resistance of the exercise bike to its maximum value, if a movement control operation is received for the exercise bike, the movement angle of the exercise bike can be determined. Based on the movement angle, the pedal resistance of the exercise bike is reduced. That is, optionally, in some embodiments, the step "in response to the movement control operation, reduce the pedal resistance of the exercise bike until the movement direction of the exercise bike is detected to be within the wall range" may specifically include:
[0115] (61) In response to the movement control operation of the exercise bike, determine the movement angle corresponding to the movement control operation;
[0116] (62) Based on the change in the moving angle, reduce the pedal resistance of the exercise bike until the moving direction of the exercise bike is detected to be within the range of the wall.
[0117] Among them, the movement angle of the exercise bike is positively correlated with the extent to which the pedal resistance of the exercise bike is reduced. That is, the larger the movement angle of the exercise bike, the greater the extent to which the pedal resistance of the exercise bike needs to be reduced, so that the user can move the front of the exercise bike without spending time and effort.
[0118] The above is the resistance adjustment process for the exercise bike described in this application.
[0119] As described above, this application provides a method, device, electronic device, and storage medium for adjusting the resistance of a stationary bike. In response to a map selection operation, it determines the target cycling map corresponding to the map selection operation; acquires the terrain data of the target cycling map; adjusts the resistance feedback coefficient during cycling based on the terrain data and current gravity data; and adjusts the pedal resistance of the stationary bike using the resistance feedback coefficient. In the stationary bike resistance adjustment scheme provided by this application, by combining the terrain data of the target cycling map and the current gravity data to adjust the resistance feedback coefficient during cycling, the pedal resistance of the stationary bike can be automatically adjusted through the resistance feedback coefficient. Therefore, this scheme can adjust the pedal resistance of the stationary bike by combining terrain data and current gravity data, improving the accuracy of pedal resistance adjustment, and thus facilitating full interaction between the user and the cycling scenario when using the stationary bike, thereby improving the user experience.
[0120] To facilitate better implementation of the resistance adjustment method for the exercise bike according to the embodiments of this application, the present invention also provides a resistance adjustment device for the exercise bike (hereinafter referred to as the adjustment device). The meanings of the terms are the same as in the resistance adjustment method for the exercise bike described above, and specific implementation details can be found in the description of the method embodiments.
[0121] Please see Figure 6 , Figure 6This is a schematic diagram of the resistance adjustment device for a stationary bike provided in an embodiment of this application. The resistance adjustment device includes a determining module 201, an acquiring module 202, an adjusting module 203, and a first adjusting module 204. Detailed descriptions of each functional module are as follows:
[0122] The determination module 201 is used to determine the target cycling map corresponding to the map selection operation in response to the map selection operation;
[0123] The map selection operation is used to trigger the exercise bike to select a target cycling map on the display screen. This map selection operation can be triggered by user interaction with the exercise bike. For example, the exercise bike can be linked to an electronic device with a display screen, where the target cycling map can be displayed. When the user deems it appropriate to trigger the map selection operation, they can touch a virtual trigger button on the display screen to initiate the operation. Alternatively, if the target cycling map is displayed on the exercise bike's screen, the user can touch a virtual trigger button on the exercise bike's screen to initiate the map selection operation.
[0124] Module 202 is used to acquire terrain data of the target cycling map;
[0125] The resistance feedback coefficient can be a numerical value representing the relationship between the current gravity and terrain data and the pedal resistance of the exercise bike.
[0126] The adjustment module 203 is used to adjust the resistance feedback coefficient during riding based on terrain data and current gravity data.
[0127] The first adjustment module 204 is used to adjust the pedal resistance of the exercise bike through the resistance feedback coefficient.
[0128] Optionally, in some embodiments, the adjustment module further includes:
[0129] The `get` submodule is used to obtain the position coordinates of the exercise bike in the target cycling map;
[0130] The determination submodule is used to determine the resistance change points from terrain data based on the location coordinates, along the riding direction of the exercise bike in the target riding map;
[0131] The adjustment submodule is used to adjust the resistance feedback coefficient based on the resistance change point and the current gravity data.
[0132] Optionally, in some embodiments, the adjustment submodule further includes:
[0133] The unit is used to determine the cycling terrain associated with the resistance change point and to obtain the resistance influencing factors corresponding to the cycling terrain;
[0134] The adjustment unit is used to adjust the drag feedback coefficient based on the drag influencing factors and the current gravity data.
[0135] Optionally, in some embodiments, the adjustment unit further includes;
[0136] The first adjustment subunit is used to adjust the resistance feedback coefficient based on the first slope angle, the first rolling resistance factor, and the current gravity data if the resistance influencing factors include the first slope angle and the first rolling resistance factor.
[0137] The second adjustment subunit is used to adjust the resistance feedback coefficient based on the second rolling resistance factor and the current gravity data if the resistance influencing factors include the second rolling resistance factor.
[0138] The third adjustment subunit is used to adjust the resistance feedback coefficient based on the third rolling resistance factor and the current gravity data if the resistance influencing factors include the third rolling resistance factor.
[0139] The fourth adjustment subunit is used to adjust the resistance feedback coefficient based on the second slope angle and the current gravity data if the resistance influencing factors include the second slope angle.
[0140] Optionally, in some embodiments, the adjustment device of this application further includes a detection module, which is specifically used to: detect whether the movement direction of the exercise bike exceeds the wall range of the preset air wall in the target cycling map; if the movement direction of the exercise bike exceeds the wall range, then adjust the pedal resistance of the exercise bike to the upper limit of the resistance value.
[0141] Optionally, in some embodiments, the adjustment device of this application further includes a first lowering module, which is specifically used to: if a movement control operation for the exercise bike is received, reduce the pedal resistance of the exercise bike in response to the movement control operation until the movement direction of the exercise bike is detected to be within the wall range.
[0142] Optionally, in some embodiments, the adjustment device of this application further includes a second lowering module, which is specifically used to: determine the movement angle corresponding to the movement control operation in response to the movement control operation of the exercise bike; and reduce the pedal resistance of the exercise bike according to the change of the movement angle until the movement direction of the exercise bike is detected to be within the range of the wall.
[0143] It should be noted that, in the embodiments of this application, if the above methods are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to the prior art, can be embodied in the form of software products. These computer software products are stored in a storage medium and include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.
[0144] Accordingly, embodiments of this application also disclose a storage medium storing a computer program that can be loaded by a processor and execute the above-described methods.
[0145] This application also discloses an electronic device, such as... Figure 7 As shown, the system includes a processor 100, at least one communication bus 200, a user interface 300, at least one external communication interface 400, and a memory 500. The processor 100 provides computing and control capabilities, the communication bus 200 is configured to enable communication between these components, the user interface 300 may include a display screen, the external communication interface 400 may include standard wired and wireless interfaces, and the memory 500 stores resistance adjustment methods for a stationary bike. The processor 100 is also used to employ the aforementioned methods when executing the resistance adjustment methods for the stationary bike stored in the memory 500.
[0146] Optionally, in some embodiments, the processor performs the following steps when executing a computer program:
[0147] In response to a map selection operation, determine the target cycling map corresponding to the map selection operation; obtain the terrain data of the target cycling map; adjust the resistance feedback coefficient during cycling based on the terrain data and the current gravity data; and adjust the pedal resistance of the exercise bike through the resistance feedback coefficient.
[0148] In this embodiment, the resistance feedback coefficient during cycling can be adjusted by combining the terrain data of the target cycling map with the current gravity data. This allows the pedal resistance of the exercise bike to be automatically adjusted based on the resistance feedback coefficient. As can be seen, this solution can adjust the pedal resistance of the exercise bike by combining terrain data and current gravity data, thereby improving the accuracy of pedal resistance adjustment. This, in turn, helps users to fully interact with the cycling scene when using the exercise bike, thus improving the user experience.
[0149] It should be understood that the phrases "one embodiment" or "some embodiments" throughout the specification mean that a specific feature, structure, or characteristic related to an embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in one embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely descriptive and do not represent the superiority or inferiority of the embodiments.
[0150] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0151] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0152] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0153] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0154] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0155] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a device to execute all or part of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0156] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. A method for adjusting the resistance of a stationary bike, characterized in that, include: In response to a map selection operation, determine the target cycling map corresponding to the map selection operation; Obtain the terrain data of the target cycling map; the terrain data includes cycling roads, cycling terrain corresponding to the cycling roads, and terrain switching points, wherein the cycling terrain includes flat roads, slopes, and curves, and the slopes include uphill slopes and downhill slopes; Obtain the position coordinates of the exercise bike in the target cycling map; Along the cycling direction of the exercise bike on the target cycling map, the resistance change point is determined from the terrain data based on the position coordinates; Determine the cycling terrain associated with the resistance change points, and obtain the resistance influencing factors corresponding to the cycling terrain; The resistance feedback coefficient is adjusted based on the aforementioned resistance influencing factors and the current gravity data; the current gravity data is the sum of the user's weight and the weight of the exercise bike. The pedal resistance of the exercise bike is adjusted by the resistance feedback coefficient.
2. The resistance adjustment method for a stationary bike according to claim 1, characterized in that, The step of adjusting the resistance feedback coefficient based on the resistance influencing factors and the current gravity data includes: If the resistance influencing factors include a first slope angle and a first rolling resistance factor, then the resistance feedback coefficient is adjusted according to the first slope angle, the first rolling resistance factor, and the current gravity data. If the resistance influencing factors include a second rolling resistance factor, then the resistance feedback coefficient is adjusted according to the second rolling resistance factor and the current gravity data; If the drag influencing factors include a third rolling drag factor, then the drag feedback coefficient is adjusted according to the third rolling drag factor and the current gravity data. If the drag influencing factors include the second slope angle, then the drag feedback coefficient is adjusted based on the second slope angle and the current gravity data.
3. The resistance adjustment method for a stationary bike according to claim 1 or 2, characterized in that, Also includes: Detect whether the movement direction of the exercise bike exceeds the wall range of the preset invisible wall in the target cycling map; If the movement of the exercise bike exceeds the range of the wall, the pedal resistance of the exercise bike will be adjusted to the upper limit of the resistance value.
4. The resistance adjustment method for a stationary bike according to claim 3, characterized in that, If the movement of the exercise bike is detected to exceed the wall area, after adjusting the pedal resistance of the exercise bike to the upper limit value, the method further includes: If a movement control operation is received for the exercise bike, the pedal resistance of the exercise bike is reduced in response to the movement control operation until the movement direction of the exercise bike is detected to be within the range of the wall.
5. The resistance adjustment method for a stationary bike according to claim 4, characterized in that, The step of reducing the pedal resistance of the exercise bike in response to the movement control operation until the movement direction of the exercise bike is detected to be within the wall area includes: In response to the movement control operation of the exercise bike, determine the movement angle corresponding to the movement control operation; Based on the change in the moving angle, the pedal resistance of the exercise bike is reduced until the moving position of the exercise bike is detected to be within the range of the wall.
6. A resistance adjustment device for a stationary bicycle, characterized in that, include: A determination module is used to determine the target cycling map corresponding to the map selection operation in response to the map selection operation; The acquisition module is used to acquire terrain data of the target cycling map; the terrain data includes cycling roads, cycling terrain corresponding to cycling roads, and terrain switching points, wherein the cycling terrain includes flat roads, slopes, and curves, and the slopes include uphill slopes and downhill slopes; An adjustment module is used to acquire the position coordinates of the exercise bike in the target cycling map; determine the resistance change point from the terrain data based on the position coordinates along the cycling direction of the exercise bike in the target cycling map; determine the cycling terrain associated with the resistance change point and acquire the resistance influencing factors corresponding to the cycling terrain; adjust the resistance feedback coefficient based on the resistance influencing factors and the current gravity data; the current gravity data is the sum of the user's weight and the weight of the exercise bike; The first adjustment module is used to adjust the pedal resistance of the exercise bike through the resistance feedback coefficient.
7. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, when the processor executes the computer program, it implements the steps of the resistance adjustment method for a stationary bike as described in any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the resistance adjustment method for the exercise bike as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Intelligent real spin bike riding speed control system and method
CN107281736A
Exercise bike riding resistance simulating method
CN107346370A