Exercise control method, electronic device, and computer readable medium
By obtaining the user's historical exercise records and real-time physiological data, the exercise training plan is dynamically adjusted, which solves the problem of discomfort in the load adjustment of sports equipment in the existing technology, improves the exercise effect and safety, and provides a better exercise experience.
Patent Information
- Application Number
- PCT/CN2024/073070
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2024-01-18
- Publication Date
- 2024-10-03
AI Technical Summary
Existing motion control solutions cannot effectively match the user's actual athletic ability, resulting in discomfort in the amplitude and frequency of load adjustment of sports equipment, affecting the user's sports experience and safety.
By obtaining the user's historical exercise records and real-time physiological data, the exercise training plan is dynamically adjusted to ensure that the load of the sports equipment matches the user's exercise ability and avoid frequent or large load adjustments.
It improves exercise effect and safety, provides a better exercise experience, and ensures that users complete training goals within a safe range.
Smart Images

Figure CN2024073070_03102024_PF_FP_ABST
Abstract
Description
Motion control method, electronic device, and computer-readable medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 31, 2023, with application number 202310377258.2 and application name “Motion Control Method, Electronic Device and Computer-Readable Medium”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present invention relates to the field of terminal technology, and in particular to a motion control method, electronic equipment, and computer-readable medium. Background Art
[0003] As users' health awareness gradually increases, the consumer market for exercise equipment is growing. Consumers are more inclined to choose more professional sports venues and use more professional exercise equipment, such as treadmills, exercise bikes, and elliptical machines, to assist with exercise. At the same time, the intelligence level of these exercise equipment is also constantly improving. Some exercise equipment can connect to the user's mobile device or wearable device to monitor exercise progress. Users can not only set exercise goals on the exercise equipment, such as distance goals, time goals, and calorie consumption goals, but also intuitively observe their heart rate changes during exercise. This allows users to systematically complete their set goals and achieve their desired training objectives.
[0004] Therefore, in the process of existing sports equipment assisting exercise, in order to improve the safety of exercise, some methods have emerged that monitor the user's physiological data in real time, such as monitoring the real-time heart rate through wearable devices such as watches and headphones worn by the user, to guide the user to achieve the training goal more safely and efficiently. It can be understood that the above-mentioned user's physiological data can, to a certain extent, characterize the user's current exercise intensity. Combined with the user's cardiopulmonary tolerance range, the user's exercise intensity can be controlled within a safe range. For example, when a user uses a sports equipment to exercise, the load of the corresponding sports equipment can be adjusted to a degree that matches the user's cardiopulmonary tolerance based on the monitored user's real-time heart rate.
[0005] However, current motion control solutions can only adjust the load of exercise equipment based on user-set equipment parameters, such as the initial speed set by the user on a treadmill, combined with the user's real-time heart rate. However, the equipment parameters set by the user may not necessarily match the user's actual athletic ability. In this case, if the initial speed or resistance intensity of the exercise equipment is high or low, the solution that adjusts the load based on the user's heart rate cannot control the adjustment amplitude and frequency. Frequent or large-scale load adjustments on exercise equipment can easily cause discomfort to the user, resulting in a poor exercise experience.
[0006] Summary of the Invention
[0007] The present application provides a motion control method, electronic device and computer-readable medium, which are conducive to improving actual exercise effects and exercise safety, and can also dynamically adjust the generated training plan according to the user's actual exercise status during the user's exercise, thereby better ensuring the user's safety during exercise and bringing the user a better exercise experience.
[0008] In a first aspect, the present application provides a motion control method, applied to a first electronic device, and comprising:
[0009] Obtain the user's exercise target parameters for the exercise equipment; determine the user's first training plan based on the exercise target parameters and the user's historical exercise ability parameters, where the historical exercise ability parameters include the user's body function parameters generated during exercise using the exercise equipment; and send a first set of control instructions to the exercise equipment based on the first training plan.
[0010] For example, the first training plan is a training plan generated based on the training goals and actual athletic ability input by the user. The training goals input by the user include the above-mentioned sports target parameters for sports equipment, such as distance goals, time goals, calorie consumption goals, etc. The above-mentioned historical athletic ability parameters of the user can be parameters related to the user's actual athletic ability that are obtained through training or statistics based on the user's historical sports records, that is, the above-mentioned physical function parameters. For example, the maximum speed range that the user can withstand, the slope range frequently used by the user, or the maximum power range of the resistance equipment that the user can withstand, etc. There is no limitation here.
[0011] The first electronic device may be, for example, a mobile phone or other electronic device, and the first set of control instructions may be one or more control instructions sent by the mobile phone or other device to the exercise device. Each control instruction may correspond to a movement phase in the first training plan, and may be used to instruct the exercise device to adjust the load corresponding to each movement phase according to the corresponding training plan.
[0012] The solution provided in the first aspect above can generate a training plan that meets the training goals by combining the actual exercise ability determined by the user's historical exercise records, which is conducive to improving the user's actual exercise effect and exercise safety.
[0013] In a possible implementation of the first aspect above, the first training plan includes at least one action phase, wherein the motion control parameters corresponding to each action phase match the user's historical motion ability parameters.
[0014] In a possible implementation of the first aspect, the motion control parameters corresponding to each movement phase in the first training plan include load parameters related to the exercise device, and sending a first control instruction to the exercise device based on the first training plan includes:
[0015] Based on the first load parameter corresponding to the first action stage, a first control instruction for the first action stage is sent to the sports equipment, wherein the first control instruction includes the first load parameter, and the first set of control instructions includes the first control instruction.
[0016] For example, the aforementioned load parameters related to sports equipment may be speed parameters and slope parameters corresponding to sports equipment such as a treadmill, or power parameters corresponding to sports equipment such as a spinning bike, etc., and are not limited here.
[0017] In a possible implementation of the first aspect above, the method further includes: obtaining real-time physiological data currently collected by the second electronic device; and, upon detecting that the real-time physiological data meets a first trigger condition for adjusting the training plan, adjusting the first training plan to a second training plan, wherein at least one motion control parameter in the first training plan is different from that in the second training plan; and sending a second set of control instructions to the sports equipment based on the second training plan.
[0018] The second set of control instructions may be one or more control instructions sent by the first electronic device to the exercise equipment for each action phase in the second training plan.
[0019] In a possible implementation of the first aspect above, the real-time physiological data includes real-time heart rate, and detecting that the real-time physiological data meets the first trigger condition for adjusting the training plan includes: detecting that the real-time heart rate is less than the lower limit value of the target heart rate range, or detecting that the real-time heart rate is greater than the upper limit value of the target heart rate range.
[0020] In a possible implementation of the first aspect, adjusting the first training plan to the second training plan includes:
[0021] detecting that the real-time heart rate is less than a lower limit of the target heart rate range, calculating an increase in a load parameter corresponding to a next stage of the first training plan based on the lower limit, and sending the increase in the load parameter to the exercise device via a second control instruction, wherein the second set of control instructions includes the second control instruction;
[0022] It is detected that the real-time heart rate is greater than the upper limit of the target heart rate range, and the load parameter reduction value corresponding to the next stage in the first training plan is calculated based on the upper limit, and the load parameter reduction value is sent to the sports equipment through a third control instruction, where the second set of control instructions includes the third control instruction.
[0023] In a possible implementation of the first aspect, before obtaining the real-time physiological data currently collected by the second electronic device, the method further includes: obtaining current operating parameters of the exercise equipment;
[0024] adjusting the first training plan to a third training plan based on a comparison result between the current operating parameter and the target load parameter of the next stage in the first training plan, wherein at least one motion control parameter is different between the first training plan and the third training plan;
[0025] Based on the third training plan, a third set of control instructions is sent to the exercise equipment.
[0026] In a possible implementation of the first aspect above, the sports equipment is a speed-type equipment, the current operating parameter is the current speed, the target load parameter is the target speed, and the comparison result between the current operating parameter and the target load parameter of the next stage in the first training plan includes: the current speed is less than the target speed, or the current speed is greater than the target speed.
[0027] In a possible implementation of the first aspect, when the current speed is less than the target speed, adjusting the first training plan to a third training plan includes any one of the following:
[0028] detecting that a difference between the target speed and the current speed is less than a first difference threshold, sending the target speed to the exercise device via a fourth control instruction to control the exercise device to increase the pace from the current speed to the target speed, wherein the third set of control instructions includes the fourth control instruction;
[0029] detecting that a difference between the target speed and the current speed is greater than or equal to a first difference threshold and less than a second difference threshold, sending the difference between the target speed and a preset constant to the exercise device via a fifth control instruction to control the exercise device to increase the pace from the current speed to the difference between the target speed and the preset constant, wherein the second difference threshold is greater than the first difference threshold, and the third set of control instructions includes the fifth control instruction;
[0030] It is detected that the difference between the target speed and the current speed is greater than a second difference threshold, the real-time physiological data currently collected by the second electronic device is obtained, and the first training plan is adjusted according to the real-time physiological data.
[0031] For example, the first difference threshold may be the lower limit m of the preset speed difference interval [m, n], and the second difference threshold may be the upper limit n of the preset speed difference interval [m, n]. The preset constant may be, for example, the difference constant a. The fourth and fifth control instructions may be, for example, acceleration control instructions for the treadmill.
[0032] In a possible implementation of the first aspect, when the current speed is greater than the target speed, adjusting the first training plan to a third training plan includes any one of the following:
[0033] detecting that a difference between the current speed and the target speed is less than or equal to a third difference threshold, sending the target speed to the exercise device via a sixth control instruction to control the exercise device to reduce the pace from the current speed to the target speed, wherein the third set of control instructions includes the sixth control instruction;
[0034] It is detected that the difference between the current speed and the target speed is greater than a third difference threshold, the real-time physiological data currently collected by the second electronic device is obtained, and the first training plan is adjusted according to the real-time physiological data.
[0035] For example, the third difference threshold may correspond to a preset third speed difference threshold k. The sixth control instruction may be, for example, a speed reduction or deceleration control instruction for the treadmill.
[0036] In a possible implementation of the first aspect above, the sports equipment is a resistance-type equipment, the current operating parameter is the current power, the target load parameter is the target power, and the comparison result between the current operating parameter and the target load parameter of the next stage in the first training plan includes: the current power is not equal to the target power.
[0037] In a possible implementation of the first aspect, when the current power is not equal to the target power, adjusting the first training plan to a third training plan includes any one of the following:
[0038] detecting that the absolute value of the difference between the current power and the target power is less than a fourth difference threshold, sending a seventh control instruction to the exercise device instructing it to maintain the current power for a first preset time period;
[0039] detecting that the absolute value of the difference between the current power and the target power is greater than or equal to a fourth difference threshold and less than a fifth difference threshold, sending an eighth control instruction to the exercise device instructing it to maintain the current power for a second preset time period, wherein the fifth difference threshold is greater than the fourth difference threshold;
[0040] detecting that the absolute value of the difference between the current power and the target power is greater than a fifth difference threshold, sending an eighth control instruction to the exercise device to instruct it to maintain the current power for a third preset time period, or obtaining the real-time physiological data currently collected by the second electronic device and adjusting the first training plan according to the real-time physiological data; wherein,
[0041] The first preset time length is shorter than the second preset time length, and the second preset time length is shorter than the third preset time length.
[0042] For example, the fourth difference threshold may be the lower limit value i of the preset power difference interval [i, j], and the fourth difference threshold may be the upper limit value j of the preset power difference interval [i, j].
[0043] In a second aspect, the present application provides a motion control method, applied to a first electronic device, and comprising:
[0044] Detecting a user input operation of a sports target parameter for a sports device;
[0045] In response to the input operation of the exercise target parameter, controlling the exercise equipment to run according to the first training plan;
[0046] It is detected that the user's exercise state meets a preset condition, and the exercise period is controlled to run according to the second training plan, wherein at least one operating parameter of the exercise equipment is different corresponding to the first training plan and the second training plan.
[0047] In a third aspect, the present application provides an electronic device comprising: one or more processors; one or more memories; one or more memories storing one or more programs, which, when one or more programs are executed by one or more processors, enables the electronic device to execute the motion control method provided in the first aspect, the second aspect, and various possible implementations of the first aspect.
[0048] In a fourth aspect, the present application provides a computer-readable medium, comprising: instructions stored on the readable medium, which, when executed on a computer, enable the computer to execute the motion control method provided in the above-mentioned first aspect, second aspect, and various possible implementations of the above-mentioned first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] FIG1 is a schematic diagram of an application scenario provided by an embodiment of the present application.
[0050] FIG2 shows a schematic diagram of a current exercise interface for adjusting the load of exercise equipment according to heart rate.
[0051] FIG3 is a schematic diagram showing the implementation principle of a motion control method provided in an embodiment of the present application.
[0052] FIG4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
[0053] FIG5 is a schematic diagram showing the hardware structure of a sports device provided in an embodiment of the present application.
[0054] FIG6 is a schematic diagram showing an implementation flow of a motion control method provided in Example 1 of the present application.
[0055] Figure 7a shows a schematic diagram of a health interface when a sports health APP is opened provided in Example 1 of the present application.
[0056] FIG7 b shows a schematic diagram of a motion control interface provided in Example 1 of the present application.
[0057] FIG8 a is a schematic diagram of a training course list interface provided in Example 1 of the present application.
[0058] FIG8 b shows a schematic diagram of a training plan interface provided in Example 1 of the present application.
[0059] FIG9 is a schematic diagram showing an implementation process of a running ability model for training a user provided in Example 1 of the present application.
[0060] FIG10 is a schematic diagram showing an implementation process of adjusting a treadmill load based on collected real-time motion data provided in Example 1 of the present application.
[0061] FIG11 is a schematic diagram showing an implementation process of adjusting the treadmill load according to the real-time heart rate provided in Example 1 of the present application.
[0062] FIG12 is a schematic diagram of a motion interface displayed during a user's exercise, as provided in Example 1 of the present application.
[0063] FIG13 shows a schematic diagram of a cycling sports scene provided in Example 2 of the present application.
[0064] FIG14 is a schematic diagram showing the implementation flow of another motion control method provided in Example 2 of the present application.
[0065] FIG15 is a schematic diagram showing an implementation process of adjusting the load of a spinning bike according to collected real-time motion data, as provided in Example 2 of the present application.
[0066] FIG16 is a schematic diagram showing an implementation process of adjusting the load of a spinning bike according to real-time heart rate, as provided in Example 2 of the present application.
[0067] FIG17 shows a block diagram of the software system structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described in detail below with reference to the accompanying drawings and specific implementation methods.
[0069] FIG1 shows a schematic diagram of an application scenario according to an embodiment of the present application.
[0070] As shown in Figure 1, the scene includes a mobile phone 10, a watch 20 and a treadmill 30, and the three establish a communication connection with each other. Among them, the mobile phone 10 can run applications such as sports health, and the corresponding health interface 101 can display card information such as the user's sports record 102. In other embodiments, the mobile phone 10 can also run other APPs with sports recording functions, and the scene shown in Figure 1 can also include other wearable devices different from the watch 20, such as bracelets, headphones, etc. The above-mentioned treadmill 30 is a speed-type device. In other embodiments, the sports equipment in the scene shown in Figure 1 can also be other speed-type sports equipment, such as a climbing machine, etc., which is not limited here.
[0071] As shown in FIG. 1 , the exercise record 102 may display the user's most recent exercise record, such as "aerobic endurance run," "time 30'02," and "248 kcal consumed." "Aerobic endurance run" may be a training course selected by the user, which may be preset in the Sports Health app. In other embodiments, the user may also select other training courses that match their training objectives, such as "fat burning run" or "storytelling run."
[0072] Continuing with reference to FIG1 , the watch 20, which is in communication with the mobile phone 10, can collect real-time physiological data and exercise data such as step count during exercise. This physiological data may include, but is not limited to, heart rate, maximum oxygen uptake (Vo2Max), blood oxygen saturation, and other data. The physiological data and exercise data such as step count collected by the watch 20 can be synchronized to the mobile phone 10 to update the display content on the health interface 101 or related interfaces provided by the sports health app.
[0073] The treadmill 30, which is in communication with the mobile phone 10, can collect machine parameters set by the user, such as speed, incline, distance target, and time target, and send them to the mobile phone 10. Thus, while the user is exercising on the treadmill 30, the mobile phone 10 can determine whether the heart rate data collected by the watch 20 is within a preset range. For example, if the mobile phone 10 detects that the user's current heart rate is below a preset normal heart rate range, it can directly control the load on the treadmill 30, such as increasing the pace or incline of the treadmill 30, without considering whether the user's actual exercise ability can withstand the increased load.
[0074] FIG2 shows a schematic diagram of a current exercise interface for adjusting the load of exercise equipment according to heart rate.
[0075] As shown in FIG2 , the exercise interface 210 may display the user-selected training course "Aerobic Endurance Run" with a time goal of 40 minutes. Furthermore, the exercise interface 210 may also display currently connected devices, such as "Watch X20 Connected" and "Treadmill X30 Connected."
[0076] When starting an exercise session, the user's initial speed of the treadmill 30 during the warm-up phase may be relatively low, such as "4.0 km / h." The user's heart rate may increase over time. For example, after four minutes of slow walking at "4.0 km / h," the user's heart rate may rise from 95 to 110. This heart rate may be lower than the target heart rate range expected during the warm-up phase of an aerobic endurance run. At this point, the mobile phone 10, displaying the exercise interface 210 shown in FIG2 , may directly send a speed adjustment command or a slope adjustment command to the treadmill 30 to increase the load on the treadmill 30. For example, the mobile phone 10 may increase the treadmill 30's speed from 4 km / h to 5 km / h, or the slope from 5% to 10%. This may significantly increase the load on the treadmill 30, hindering the user's ability to adapt to the adjustment. Furthermore, the adjusted treadmill speed and / or slope may not match the user's actual athletic ability, leading to safety issues during exercise.
[0077] Furthermore, if the user's heart rate consistently fails to reach the lower limit of the target heart rate range during the warm-up phase, the phone 10 may control the treadmill 30 to continuously increase the load to increase the user's current heart rate. For example, the phone 10 may continuously send speed adjustment commands to the treadmill 30 to increase the pace, or send slope adjustment commands to increase the slope. This frequent adjustment of the treadmill's speed and slope can also degrade the user's exercise experience.
[0078] In order to solve the above problems, an embodiment of the present application provides a motion control method, which is applied to an electronic device. Specifically, as shown in Figure 3, when the user's exercise needs are detected, the electronic device can generate a training plan that matches the user's exercise ability based on the training goals set by the user, such as the distance goal, time goal, endurance improvement goal, cardiopulmonary improvement goal, etc. set by the user, combined with the exercise ability-related parameters determined based on the user's historical exercise records, such as the user's load tolerance range for the corresponding sports equipment, the maximum heart rate value, and the heart rate change interval. The training plan may include motion control parameters for multiple stages. The motion control parameters for each stage may include, but are not limited to, parameters such as the target distance, target duration, target heart rate and target heart rate interval to be achieved in each stage, pace and speed change interval, matching slope, and matching resistance value. In this way, the training goals input by the user and the user's actual exercise ability can be combined to generate a training plan suitable for the user, which is conducive to achieving better exercise effects and improving the user's exercise safety.
[0079] For example, if user A has strong running ability, while user B has weaker running ability, and user A and user B enter the same training goal, the treadmill pace during the brisk walking phase of the training plan generated for user A may be relatively high, while the treadmill pace during the slow walking phase of the training plan generated for user B may be relatively low.
[0080] Furthermore, with continued reference to FIG3 , while the user is exercising according to the training plan generated above, the electronic device can also dynamically adjust the training content of the next stage of the training plan generated above based on the collected real-time physiological data, such as the user's heart rate, maximum oxygen uptake during the current exercise, and oxygen saturation, including adjusting the target duration of the next stage, the pace, slope, or resistance value of the corresponding exercise equipment. At the same time, during the user's exercise, if the electronic device detects that the real-time collected user heart rate is significantly different from the target heart rate matched to that stage, or that the heart rate value deviates significantly from the target heart rate range, it can also trigger timely adjustment of the exercise control parameters configured for the current stage.
[0081] It will be appreciated that the training plan generated above can control the load, time, and other configuration parameters of the corresponding exercise equipment. Furthermore, by comparing the real-time physiological data collected from the user with parameters related to the user's athletic ability during the user's use of the exercise equipment, the training plan can be further optimized and adjusted. For example, a training plan initially generated based on the user's athletic ability may have a brisk walking pace of 5 km / h. However, while the user is exercising according to this training plan, it is detected that the user's real-time heart rate is already higher during the slow walking phase preceding this brisk walking phase, indicating that the user's current physiological state may be slightly weaker than usual. In this case, the pace of the upcoming brisk walking phase in the training plan can be adjusted to 4.5 km / h. In this way, the motion control solution provided by this application can adaptively adjust the training plan to match the user's athletic ability based on changes in the user's athletic ability, and dynamically adjust the training plan based on the user's actual physiological state during the user's exercise. This allows for control of exercise safety based on the user's actual physiological state during exercise, and helps achieve better exercise results.
[0082] In addition, the motion control method provided in this application also presets corresponding threshold parameters and segmented adjustment strategies for the adjustment amplitude and frequency of the training content in each stage of the training plan to avoid the situation where the adjustment is too frequent or the adjustment amplitude is too large, resulting in a poor user experience.
[0083] Continuing to refer to FIG. 3 , the above-mentioned sports ability-related parameters may be provided by a trained ability model, which may be trained based on historical data such as physiological data and sports data in the user's historical sports records.
[0084] Each stage in the generated training plan can also be labeled with different training types for differentiation. For example, different stages can be labeled as "slow walking," "fast walking," "fast running," and other training types based on the corresponding pace and speed variation range. In other embodiments, each stage can also be labeled as "low resistance," "medium resistance," "high resistance," and other training types based on the resistance parameters of the matching exercise equipment, which is not limited here.
[0085] It can be understood that the motion control method provided in the embodiments of the present application is applicable to electronic devices including but not limited to mobile phones, tablet computers, desktop computers, laptop computers, handheld computers, netbooks, as well as augmented reality (AR) and virtual reality (VR) devices, smart TVs, smart watches and other wearable devices, servers, mobile email devices, car devices, portable game consoles, portable music players, reader devices, televisions in which one or more processors are embedded or coupled, or other electronic devices that can access the Internet.
[0086] For example, the wearable device in the embodiments of the present application can be a wired headset, a wireless headset (for example, a TWS Bluetooth headset, a neck-mounted Bluetooth headset, a head-mounted Bluetooth headset), a smart watch, a smart bracelet, smart glasses, a smart anklet, a smart ring, a smart necklace, etc. The present application does not impose any special restrictions on the specific form of the wearable device.
[0087] FIG4 shows a schematic structural diagram of an electronic device 100 according to an embodiment of the present application.
[0088] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0089] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0090] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0091] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0092] In the embodiment of the present application, the processor 110 can generate an operation control signal through the controller to complete the corresponding steps of the motion control method provided by the present application by the electronic device such as the mobile phone 10, watch 20, or treadmill 30 in the scenario shown in Figure 1. The specific implementation process can be referred to the detailed description of the following embodiments 1 and 2, and will not be repeated here.
[0093] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0094] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0095] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.
[0096] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0097] The charging management module 140 is configured to receive charging input from a charger. The power management module 141 is configured to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160.
[0098] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0099] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0100] The mobile communication module 150 can provide wireless communication solutions including 2G / 3G / 4G / 5G applied on the electronic device 100.
[0101] The wireless communication module 160 can provide wireless communication solutions for application on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.
[0102] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with a network and other devices via wireless communication technologies. The above-mentioned wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The above-mentioned GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), the quasi-zenith satellite system (QZSS) and / or the satellite based augmentation system (SBAS).
[0103] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0104] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel.
[0105] The electronic device 100 can realize the shooting function through the ISP, camera 193, video codec, GPU, display screen 194 and application processor. The ISP is used to process the data fed back by the camera 193. The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. The video codec is used to compress or decompress digital videos. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0106] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0107] The internal memory 121 can be used to store computer executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.
[0108] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0109] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0110] The speaker 170A, also called a "horn", is used to convert audio electrical signals into sound signals.
[0111] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals.
[0112] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals.
[0113] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0114] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a device comprising at least two parallel plates with conductive material. When force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions.
[0115] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., the x, y, and z axes) can be determined by the gyroscope sensor 180B. In the embodiments of the present application, based on the determination of the motion posture of the electronic device 100, some preset algorithm models can be combined to realize the recognition of the user's motion posture, for example, to identify whether the user is running or cycling.
[0116] Accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in all directions (generally three axes). It can also detect the magnitude and direction of gravity when electronic device 100 is stationary. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.
[0117] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, at a different location from the display screen 194. In an embodiment of the present application, for example, when the electronic device 100 is the above-mentioned mobile phone 10, the mobile phone 10 can receive user input operations on the relevant interface of the sports health APP based on the touch sensor 180K. For another example, when the electronic device 100 is the above-mentioned watch 20, the watch 20 can also receive user operations on the sports function interface to start or end exercise, as well as related operations on function interfaces such as heart rate detection, based on the touch sensor 180K.
[0118] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0119] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts and can also be used for touch vibration feedback.
[0120] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0121] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting or removing the SIM card into or from the SIM card interface 195 .
[0122] It can be understood that in the embodiment of the present application, the above-mentioned electronic device 100 can be, for example, an electronic device such as the mobile phone 10 or a watch in the scenario shown in Figure 1 above.
[0123] FIG5 shows a schematic diagram of the hardware structure of a sports device according to an embodiment of the present application.
[0124] It is understood that the exercise equipment can be a smart exercise device. The embodiments of this application do not impose any restrictions on the specific type of exercise equipment. The exercise equipment can be the treadmill 30 described above, or an elliptical machine, a spinning bike, a rowing machine, a climbing machine, etc. It is understood that when the exercise equipment corresponds to different types of exercise equipment, some hardware structures can be added or removed.
[0125] As shown in Figure 5, the sports equipment 200 may include a processor 201, a display device 202, a communication device 203, a motor 204, a transmission device 205, a power management module 206, a charging interface 207, a button 208, an indicator 209, a camera 210, an audio module 211, and a sensor module 212. The audio module 211 may include a speaker 211A, a microphone 211B, and an audio interface 211C. The sensor module 212 may include a pressure sensor 212A, a touch sensor 212B, etc.
[0126] Among them, the relevant processing functions of the processor 201 can refer to the relevant functional description of the above-mentioned processor 110; the relevant display functions of the display device 202 can refer to the relevant functional description of the above-mentioned display screen 194; the relevant communication functions of the communication device 203 can refer to the relevant functional description of the above-mentioned wireless communication module 160; the relevant functions of the power management module 206 and the charging interface 207 can refer to the relevant functional description of the above-mentioned charging management module 140; the relevant functions of the button 208 and the indicator 209 can refer to the relevant functional description of the above-mentioned button 190 and the indicator 192 respectively; the relevant audio functions of the audio module 211 can refer to the relevant functional description of the above-mentioned audio module 170; the relevant functions of the sensor module 212 can refer to the relevant functional description of the above-mentioned sensor module 180, and the pressure sensor 212A and the touch sensor 212B included in the sensor module 212 can also refer to the relevant functional description of the pressure sensor 180A and the touch sensor 180K included in the above-mentioned sensor module 180, and they will not be repeated here.
[0127] The motor 204 can convert electricity into mechanical power to provide mechanical power for the transmission device 205. The motor can include a DC motor and an AC motor. The motor is usually connected to the transmission device 205 to drive the transmission device 205.
[0128] The transmission device 205 is used to directly assist the user in movement. For example, in a treadmill, the transmission device 205 may include a roller and a running belt. The roller transmits power from the motor to the running belt, which continuously transmits power, allowing the user to run on the running belt. The user can adjust the transmission speed of the running belt, thereby adjusting the running speed.
[0129] The following will describe in detail the implementation process of the motion control solution provided by the embodiment of the present application in different motion scenarios based on the scenario shown in Figure 1 and the structure shown in Figures 4-5 in combination with specific embodiments.
[0130] The following first introduces the specific implementation process of the motion control solution provided by this application in the running scene in conjunction with Example 1.
[0131] Example 1
[0132] The scenario described in the embodiment of the present application is the running sports scenario shown in Figure 1. It can be understood that, referring to Figure 1, the running sports scenario may include a mobile phone 10, a watch 20, and a treadmill 30.
[0133] Based on the scenario shown in Figure 1 above, Figure 6 shows a schematic diagram of an implementation process of a motion control method according to an embodiment of the present application. The implementation process is an interactive process implemented by the mobile phone 10, watch 20 and treadmill 30 as the execution entities of each step.
[0134] It should also be stated that the steps in the methods and processes in the embodiments of the present application are numbered for ease of reference, rather than to limit the order of precedence. If there is a sequence between the steps, the written description shall prevail.
[0135] As shown in FIG6 , specifically, the process includes the following steps:
[0136] 601: The mobile phone 10 establishes a running ability model of the user based on the user's historical exercise records.
[0137] Exemplarily, the mobile phone 10 can first construct a sports ability model of the user based on the user's historical sports records, hereinafter referred to as the ability model. The ability model can describe the user's actual sports ability to a certain extent. In an embodiment of the present application, the ability model can be a running ability model of the user. Among them, the user's historical sports records may include sports data recorded for different types of sports in which the user participates and physiological data during the corresponding sports. In an embodiment of the present application, the different types of sports can be, for example, running, brisk walking, hill running, hill walking and other sports performed by the user on the treadmill 30. In other embodiments, the different types of sports can also be sports performed by the user riding an action bike, riding an elliptical machine, or using sports equipment such as a rowing machine, a strength training station, etc., which are not limited here.
[0138] It is understood that the physiological data included in the user's historical exercise records may include, but is not limited to, the user's gender, age, heart rate reserve (HRR), maximum heart rate (MaxHR), resting heart rate (RestHR), maximum oxygen uptake (Vo2Max), etc. The exercise data included in the above historical exercise records may include, but is not limited to, distance, exercise duration, heart rate curve-related data, heart rate fluctuation range, speed in each time period, calories burned, movement frequency, and resistance change curve.
[0139] It can be understood that the ability model constructed based on the above-mentioned historical exercise records may, for example, include the statistically calculated maximum load of the sports equipment that the user can bear, the maximum heart rate reached by the user during exercise, the correspondence between the user's heart rate change range and the training intensity, and the correspondence between the calorie consumption value and the training intensity.
[0140] The specific process of constructing a user's running ability model based on the user's historical exercise records will be described in detail below and will not be repeated here.
[0141] 602: The mobile phone 10 receives the training goal set by the user.
[0142] For example, the user can set a training goal for the current exercise or select a training course of interest on the exercise control interface displayed on the mobile phone 10. The training course displayed on the mobile phone 10 can be a user-selectable training plan that has been pre-installed on an application such as a sports health app and has set corresponding training goals.
[0143] If the user selects an existing training course, the mobile phone 10 can obtain the default motion control parameters for each stage of the corresponding training course. Then, the mobile phone 10 can continue to perform the following steps 603 to 604 to generate a training plan that matches the user's athletic ability.
[0144] As an example, FIG. 7 a and FIG. 7 b show a schematic diagram of a process of opening a motion control interface and setting a training goal.
[0145] Among them, Figure 7a shows a schematic diagram of the health interface when the sports health APP is opened.
[0146] As shown in FIG7a , after the mobile phone 10 runs the sports health app in response to a user operation, it may display a health interface 710. The exercise record card 711 on the health interface 710 may display the most recent exercise record, for example, indicating that the recorded training course is "heart rate controlled running" and the recorded "time 30:02" indicates that the exercise duration was 30 minutes and 2 seconds. The exercise record may also include the calories consumed by the user completing the corresponding exercise course, such as "550 kcal consumed" as shown in FIG7a .
[0147] The lower end of the health interface 710 also displays an interface switching control, such as the motion control 712 shown in Figure 7a. When the mobile phone 10 detects that the user clicks the motion control 712, it can display the motion control interface 720 shown in Figure 7b.
[0148] As shown in reference figure 7b, the user can set a training goal in the training goal input box 721 displayed on the motion control interface 720. For example, the user can click the setting control 722 to set a distance goal, a time goal, a calorie consumption goal, etc. Among them, the distance goal can be set to 1km, 3km, 5km, 10km, etc.; the time goal can be set to 10 minutes, 20 minutes, 30 minutes, etc.; the calorie consumption goal can be set to 100 kcal, 200 kcal, etc., which are not enumerated here. In other embodiments, the training goals set by the user can also be some functional training goals, such as endurance improvement training, cardiopulmonary improvement training, etc., and such training goals can be reflected by setting the above-mentioned distance goals or time goals.
[0149] After setting the goal, the user can click the start control 723. Based on the user's set training goal, the phone 10 will continue to execute the following steps 603 to 604 to generate a training course that is suitable for the set goal. Before the training begins, the user can also click the warm-up control 724 to enter the preset warm-up course for warm-up training, and can also click the music control 725 to set the music they want to listen to during exercise.
[0150] Continuing with FIG7b , the user can also select a training course displayed on the motion control interface 720, such as the "Heart Rate Controlled Running" course 726 shown in FIG7b , to train. In this case, the mobile phone 10 can obtain the motion control parameters for each stage of one or more preset training plans corresponding to the course 726 as initial parameters, and complete the adjustment of these initial parameters after executing steps 603 to 604 below. The one or more preset training plans corresponding to the "Heart Rate Controlled Running" course 726 will be described in the corresponding steps below in conjunction with the accompanying drawings and will not be further described here.
[0151] It can be understood that in other embodiments, the interface for the mobile phone 10 to receive the training goals set by the user may also be other interfaces different from those shown in Figures 7a and 7b above, and the way in which the mobile phone 10 receives the training goals set by the user may also be other ways, such as receiving the training goals input by the user through the watch 20, etc. This application does not impose any restrictions on this.
[0152] 603: The mobile phone 10 obtains running ability related parameters provided by the running ability model.
[0153] For example, when the mobile phone 10 detects the user's exercise needs, it can obtain the running ability-related parameters of the corresponding user based on the trained or updated running ability model. It can be understood that the running ability-related parameters can be parameters updated based on the user's recent exercise records, or they can be training parameters of the ability model statistically / trained based on all the user's historical exercise records. There is no limitation here. The timing of detecting the user's exercise needs can be when the mobile phone 10 executes the above step 603 and receives the training goal set by the user, or when the mobile phone 10 detects that the user opens the sports health APP. There is no limitation here.
[0154] In other embodiments, the mobile phone 10 may first execute step 603 to obtain the user's running ability related parameters, and then execute the above step 602 to receive the training goal set by the user. This is not limited here.
[0155] 604: The mobile phone 10 generates a training plan that matches the user's running ability.
[0156] For example, the mobile phone 10 can generate a training plan that matches the user's running ability based on the training goal set by the user and the running ability-related parameters provided by the user's running ability model. The training plan may include motion control parameters for multiple stages.
[0157] As an example, referring to Table 1 below, the above training plan may include training goals / training courses, action stages 1-N, and motion control parameters corresponding to each stage.
[0158] Table 1
[0159] In the embodiments of the present application, the training control parameters for each stage may include parameters such as the training type, target distance, target duration, target heart rate and fluctuation range, target speed and fluctuation range, and target slope. The values of the above parameters can refer to the specific examples in Table 1. The target heart rate fluctuation range may also be described as a target heart rate interval in other embodiments, and the target speed fluctuation range may also be described as a speed variation interval in other embodiments.
[0160] In the training plan generated above, the method of determining the motion control parameters for each stage based on the training goals set by the user and the user's running ability-related parameters will be described in detail below and will not be repeated here.
[0161] It is understood that the target speed and fluctuation range, and target slope can be used as relevant parameters for setting the treadmill load. The mobile phone 10 can send these parameters to the treadmill 30 when executing step 605 below, so as to set the treadmill load.
[0162] 8a to 8b show schematic diagrams of interfaces corresponding to some training plans according to an embodiment of the present application.
[0163] Figure 8a illustrates a training course list interface 810. As shown in Figure 8a, the course list interface 810 displays multiple courses related to "Heart Rate Controlled Running," including "Basics" 811, "Fat Burning" 812, and "Endurance Improvement" 813. It will be appreciated that these courses can be named based on different training goals, and other naming methods may also be used in other embodiments.
[0164] Referring to "Operation ①" shown in Figure 8a, for example, the user clicks on the "Heart Rate Running·Leisure Brisk Walking" course in the "Basic Introduction" course 811, and the mobile phone 10 responds to the user operation and can further display the training plan interface 820 shown in Figure 8b.
[0165] As shown in reference figure 8b, the training plan interface 820 can display multiple action interfaces, such as a warm-up stage 821, a slow walking stage 822, and a fast walking stage 823. Among them, the display box corresponding to each stage can display some motion control parameters of the corresponding stage. For example, the display box corresponding to the warm-up stage 821 can display that the training time of this stage is "3 minutes" and the heart rate range is "[90, 100] bpm". The display box corresponding to the slow walking stage 822 can display that the training distance of this stage is "1 kilometer" and the heart rate range is "[100, 110] bpm". The display box corresponding to the fast walking stage 823 can display that the training distance of this stage is "1.5 kilometers" and the heart rate range is "[110, 120] bpm".
[0166] It will be appreciated that the multiple movement phases and motion control parameters of the training plan shown in FIG8b can be matched to the user's actual athletic ability. For different users, the movement phases included in the corresponding training plan may vary, and the motion control parameters of each phase may also vary. In other embodiments, the interface displaying the above-mentioned training courses and training plans may also adopt an interface style different from that of FIG8a and FIG8b, which is not limited here.
[0167] 605 : The mobile phone 10 sends the motion control parameters of each stage in the training plan to the treadmill 30 .
[0168] For example, based on the generated training plan, the mobile phone 10 can send the motion control parameters corresponding to each action phase included in the training plan to the treadmill 30. It is understood that the motion control parameters sent to the treadmill 30 can include load-related control parameters that need to be set on the treadmill 30, such as target speed and variation range, target slope, etc., and can also include target time or target distance for the corresponding phase.
[0169] 606 : The treadmill 30 sets the load according to the received motion control parameters.
[0170] For example, the treadmill 30 sets a corresponding load based on the received motion control parameters. For example, the treadmill 30 can set a pace based on the received target speed and its variation range, and set a slope based on the received target slope.
[0171] It is understood that for different types of sports equipment, the loads set based on the corresponding motion control parameters will also be different. For example, for a spinning bike, parameters such as the riding resistance value can be set. For details, please refer to the relevant description in Example 2 below and will not be repeated here.
[0172] 607: The watch 20 collects real-time physiological data and real-time exercise data of the user during exercise.
[0173] For example, while the user is exercising according to the aforementioned training plan, the watch 20 or other wearable device worn by the user can collect the user's real-time physiological data. This real-time physiological data can be, for example, real-time heart rate. In other embodiments, this real-time physiological data can also be parameters such as maximum oxygen uptake during the corresponding exercise, which are not limited here.
[0174] It is understood that the watch 20 can receive a trigger signal indicating that the user has started exercising on the treadmill 30 based on the communication connection established between the watch 20 and the treadmill 30, thereby automatically triggering the collection of the user's physiological data. In other embodiments, the watch 20 can also trigger the collection of the user's real-time physiological data based on an operation such as clicking to start exercising on the watch interface.
[0175] 608 : The watch 20 sends the collected real-time physiological data and real-time motion data to the mobile phone 10 .
[0176] For example, the real-time physiological data collected by the watch 20 can be transmitted to the mobile phone 10 in real time based on the communication connection established between the watch 20 and the mobile phone 10. Furthermore, the mobile phone 10 can perform the adjustment process of steps 609 to 616 below based on the received real-time physiological data and real-time motion data. For details, please refer to the relevant descriptions of the corresponding steps below and will not be repeated here.
[0177] 609: The mobile phone 10 determines that the absolute value of the difference between the real-time motion data and the corresponding interval of the motion control parameter of the current stage is greater than a first threshold.
[0178] For example, the real-time motion data detected by the watch 20 and received by the mobile phone 10 may be higher than the upper limit of the interval corresponding to the corresponding motion control parameter, or may be lower than the lower limit of the interval corresponding to the corresponding motion control parameter. For example, if the real-time motion data is the user's real-time speed, in stage 2 shown in Table 1 above, the real-time speed may be higher than the upper limit of 2.5 km / h of the target speed interval [1.2, 2.5] km / h in Table 1, or may be lower than the lower limit of 1.2 km / h of the target speed interval. In order to measure the difference between the real-time speed and the target speed interval of the corresponding stage, the mobile phone 10 can calculate the difference between the real-time speed and the lower limit of 1.2 km / h when the real-time speed is low and take the absolute value, or calculate the difference between the real-time speed and the upper limit of 2.5 km / h when the real-time speed is high and take the absolute value.
[0179] Then, the mobile phone 10 can compare the calculated absolute value of the difference with a corresponding preset difference threshold to determine whether the user's real-time speed deviates significantly. In step 609, the mobile phone 10 can compare the calculated absolute value of the difference with a preset smaller first threshold. If the absolute value of the difference is greater than the first threshold, the mobile phone 10 can further execute step 610 to determine whether the real-time speed deviates significantly from the target speed range for the corresponding stage, and then adjust the training plan accordingly.
[0180] 610: The mobile phone 10 determines whether the absolute value of the difference between the real-time motion data and the corresponding interval of the motion control parameter of the current stage is greater than a second threshold, wherein the second threshold is greater than the first threshold.
[0181] If yes, it indicates that the difference between the real-time motion data and the corresponding interval of the motion control parameters of the current stage is large, and the mobile phone 10 needs to perform the adjustment process of the following steps 614 to 616;
[0182] If not, it indicates that the difference between the real-time motion data and the corresponding interval of the motion control parameters of the current stage is small, and the mobile phone 10 can adjust the training plan by executing the adjustment process of the following steps 611 to 613.
[0183] Exemplarily, the mobile phone 10 may compare the absolute value of the difference calculated in step 609 with a preset larger second threshold.
[0184] 611: The mobile phone 10 adjusts the motion control parameters of the next stage of the training plan according to the real-time physiological data.
[0185] For example, when the mobile phone 10 determines that the difference between the real-time physiological data and the corresponding interval of the motion control parameters of the current stage is small during the execution of the above steps 609 to 610, it can only adjust the motion control parameters of the next stage in the current training plan.
[0186] The specific process of the mobile phone 10 adjusting the training plan according to the real-time physiological parameters will be described in detail below and will not be repeated here.
[0187] 612 : The mobile phone 10 sends the adjusted motion control parameters for the next stage to the treadmill 30 .
[0188] For example, after completing the adjustment of the motion control parameters for the next stage, the mobile phone 10 may send the adjusted motion control parameters for the next stage to the treadmill 30 .
[0189] In other embodiments, the mobile phone 10 may also send the updated training plan after adjusting the motion control parameters for the next stage to the treadmill 30. The updated training plan may include the updated motion control parameters corresponding to each stage, which is not limited here.
[0190] 613: The treadmill 30 adjusts the load for the next stage according to the adjusted motion control parameters.
[0191] For example, the treadmill 30 can adjust the load of the next stage according to the load-related parameters in the received adjusted motion control parameters of the next stage. The specific adjustment process will be described in detail below and will not be repeated here.
[0192] 614: The mobile phone 10 adjusts the motion control parameters of the current stage and the next stage according to the real-time physiological data.
[0193] For example, when the mobile phone 10 determines that the difference between the real-time physiological data and the corresponding interval of the motion control parameters of the current stage is large during the execution of the above steps 609 to 610, the motion control parameters of the current action stage and the next stage in the current training plan can be adjusted.
[0194] The specific process of the mobile phone 10 adjusting the training plan according to the real-time physiological parameters will be described in detail below and will not be repeated here.
[0195] 615 : The mobile phone 10 sends the adjusted motion control parameters to the treadmill 30 .
[0196] For example, the treadmill 30 can adjust the corresponding load based on the load-related parameters in the received motion control parameters. The motion control parameters received by the treadmill 30 at this time include the adjusted motion control parameters for the current stage and the next stage. It is understood that during the current stage of the user's exercise, timely adjustments are only required to ensure the user's exercise safety when physiological parameters such as the user's real-time heart rate significantly deviate from the safe heart rate range corresponding to the target heart rate interval.
[0197] 616 : The treadmill 30 adjusts the loads of the current stage and the next stage according to the adjusted motion control parameters.
[0198] For example, the treadmill 30 can adjust the load of the current stage according to the adjusted load-related parameters of the current stage, and adjust the load of the next stage according to the adjusted load-related parameters of the next stage. The specific adjustment process will be described in detail below and will not be repeated here.
[0199] It is understood that in steps 613 and 616, the process of adjusting the corresponding load by the treadmill 30 according to the adjusted motion control parameters of the corresponding stage can also be performed using a preset segmented adjustment strategy, and the adjustment frequency of the adjustment process can also be controlled according to a preset frequency threshold. In this way, it is possible to avoid discomfort to the user caused by large or frequent load adjustments during the user's exercise.
[0200] The following describes the detailed process of constructing a user's ability model based on the user's historical exercise records, as performed in step 601, using the user's exercise on a treadmill 30 as an example. In this embodiment of the present application, the user's ability model can be, for example, a running ability model used to measure the user's running ability.
[0201] Figure 9 illustrates a schematic diagram of a process for implementing a running performance model for training a user, according to an embodiment of the present application. It is understood that the execution entity for each step of the process shown in Figure 9 can be a mobile terminal device installed with an application such as a sports health app, such as the mobile phone 10 of the embodiment of the present application. The following description of each step will not be repeated when describing its execution entity.
[0202] 901: Extracting the user's historical physiological data based on the user's historical exercise records.
[0203] Exemplarily, the extracted historical physiological data includes but is not limited to the user's gender, age, reserve heart rate (HRR), maximum heart rate (MaxHR), resting heart rate (RestHR), maximum oxygen uptake, etc.
[0204] Understandably, a user's historical physiological data typically remains stable over a certain period of time, with minimal significant changes. However, as the user ages and whether their exercise habits are maintained, some changes may occur, often reflecting changes in their physical fitness. Therefore, the historical exercise records used to extract historical physiological data can be from the past six months, three months, or even one month, and the extraction results are generally more accurate.
[0205] 902: Extracting the user's historical exercise data based on the user's historical exercise records.
[0206] For example, the extracted historical exercise data may include but is not limited to distance, exercise duration, heart rate curve-related data, heart rate fluctuation range, speed in each time period, calories consumed, etc.
[0207] In some embodiments, the historical motion data extracted from the historical motion records may be motion records within the past three months. In other embodiments, the historical motion data may be extracted based on historical motion records for periods such as the past two months or the past six months. This application does not impose any specific restrictions on this. In addition, when the user's motion records are updated, the historical motion records before three months or so may be deleted accordingly, so that the historical motion records used to extract the historical motion data are promptly added to the user's most recent motion records, thereby improving the degree of matching between the running ability model finally constructed and the user's current actual running ability.
[0208] 903: Construct a running ability model of the user based on the user's historical physiological data and / or historical motion data.
[0209] For example, when the amount of data corresponding to the user's historical exercise data is sufficient, the running ability model constructed for the user can be the corresponding relationship between the user's running ability (i.e., running ability) and exercise time / calorie consumption value / distance, as well as speed, slope, real-time heart rate, etc. As an example, the running ability calculation formula corresponding to the above running ability model can refer to the following formula (1): V = A*(Time / Cal / Dis)+B*(Speed)+C*(Incline)+D*HR+P (1)
[0210] V represents the user's running ability; Time / Cal / Dis represent exercise duration / calorie consumption / distance, respectively, and are typically the corresponding parameter values entered by the user to achieve their training goals; Speed represents speed; Incline represents incline; and HR represents the user's real-time heart rate. A, B, C, and D are the coefficients of the corresponding physiological parameters, and P is the running ability correction value.
[0211] When the amount of data corresponding to the above historical exercise data is insufficient to construct a running ability model, the mobile phone 10 can also calculate the user's exercise ability based on the maximum oxygen uptake data in the user's historical physiological data. In the embodiment of the present application, the exercise ability is the user's running ability. The specific calculation formula for calculating the user's running ability based on the maximum oxygen uptake can refer to the following formula (2): V = Vo2Max-Z (2)
[0212] Vo2Max represents the user's maximum oxygen uptake, which can be the average, mode, or maximum value of the user's historical physiological data. Z is a constant representing the difference between the maximum oxygen uptake and the running ability value.
[0213] When the amount of data corresponding to the above historical exercise data is insufficient and the maximum oxygen uptake data is also missing, the mobile phone 10 can also calculate the user's running ability based on the user's body mass index (BMI). The specific calculation formula for calculating the user's running ability based on the body mass index can refer to the following formula (3): V = BMI + Q (3)
[0214] Among them, BMI stands for body mass index, also known as body mass index, which is equal to weight (kilograms) divided by height (meters) squared; Q is a constant, which represents the difference between the user's running ability and body mass index.
[0215] 904: Determine a maximum speed range that the user can withstand based on the user's running ability model.
[0216] For example, based on the running ability model constructed in step 903 and the corresponding training running ability value, and referring to formula (1), the speed that the user can achieve and the slope that the user can withstand under different control parameters such as exercise duration / calorie consumption value / distance can be calculated.
[0217] Furthermore, based on the calculated speed distribution range and slope distribution range, the corresponding maximum speed range can be calculated.
[0218] The maximum speed range can be calculated using the following formula (4): Speed_max_pct = Speed / Speed_max (4)
[0219] The speed interval end value that matches the user's running ability can be calculated and determined by the following formula (5): Speed_pct=(Speed max_pct-G) / H (5)
[0220] Where Speed max_pct represents the maximum speed range; G and H are constants measured experimentally.
[0221] The following will specifically introduce the method of determining the motion control parameters of each stage based on the training goal set by the user and the user's running ability-related parameters involved in the content executed in the above step 604.
[0222] Table 2
[0223] In Table 2 above, the calculation formula for the minimum heart rate HR0 can refer to the following formula (6): HR0 = rest_HR + (max_HR - rest_HR) * HR_pct_scope_low (6)
[0224] Here, rest_HR represents your resting heart rate; max_HR represents your maximum heart rate; and HR_pct_scope_low represents the minimum value in the corresponding heart rate range. The heart rate range represented by HR_pct_scope is based on experimental values or training experience. For example, if HR_pct_scope is [0.8, 0.85], HR_pct_scope_low is 0.8.
[0225] The calculation formula for the maximum heart rate HR1 can refer to the following formula (7): HR1 = rest_HR + (max_HR - rest_HR) * HR_pct_scope_high (7)
[0226] Among them, HR_pct_scope_high represents the maximum value in the corresponding heart rate difference ratio interval.
[0227] It can be understood that the target heart rate range (Target HR Scope) can generally be [HR0, HR1].
[0228] If HR1-HR0>K (corresponding to a large heart rate fluctuation range) or HR1-HR0<L (corresponding to a small fluctuation range), the target heart rate range (Target HR Scope) can be: [(HR0+HR1) / 2–10, (HR0+HR1) / 2+10].
[0229] In addition, the target speed (TS) in Table 2 can be calculated by referring to the following formula (8): TS = b + w1 * (HR_pct) 2 +w2*x+w3*(Vdot) 2 +…*(Vdot) 2 +wN*(HR_pct) 2 *Vdot (8)
[0230] Among them, w1, w2, w3…wN are specific gravity coefficients.
[0231] The calculation formula for the minimum speed value (TS0) in [TS0, TS1] corresponding to the above speed range (Target speed scope) can refer to the following formula (9): TS0 = b + w1 * (HR_pct – L) 2 +w2*x+w3*(Vdot) 2 +…*(Vdot) 2 +wN*(HR_pct–L) 2 *Vdot (9)
[0232] The calculation formula of the maximum speed (TS1) can refer to the following formula (10): TS1 = b + w1 * (HR_pct + w) 2 +w2*x+w3*(Vdot) 2 +…*(Vdot) 2 +wN*(HR_pct+w) 2 *Vdot (10)
[0233] In other embodiments, the target heart rate and fluctuation range, target speed and fluctuation range and other related parameters corresponding to each stage in Table 1 above can also be calculated using other calculation methods, and this application does not limit this.
[0234] The target incline can be calculated and determined by referring to the relevant calculation method in the prior art, which will not be described in detail here.
[0235] The specific process of adjusting the motion control parameters of the corresponding stages of the training plan according to the real-time physiological parameters involved in the above steps 609 to 616 will be described in detail below.
[0236] It is understood that the timing for the treadmill 30 to adjust the load of the corresponding stage according to the load-related parameters in the adjusted motion control parameters in the training plan is generally at the following two points:
[0237] The first adjustment opportunity: when switching between adjacent action phases in the training plan.
[0238] The second adjustment opportunity: During the same action phase, when the user's heart rate zone differs significantly from the target heart rate zone, the training load needs to be adjusted in real time.
[0239] Therefore, when the mobile phone 10 detects that the user's real-time heart rate deviates from the target heart rate range of the corresponding stage, it can adjust the corresponding stage in the training plan at the above two adjustment opportunities according to the degree of deviation.
[0240] It can be understood that when the exercise stage is about to be switched, if the current speed is significantly different from the target speed of the next stage, in order to avoid discomfort to the user due to a large adjustment of the speed, the current speed can be adjusted to the target speed in sections, that is, the load can be adjusted in sections. At the same time, in order to avoid frequent adjustment of the treadmill pace in the same action stage, which may lead to a poor user experience, the frequency threshold or time proportion threshold of the load adjustment can also be set. For example, the time proportion threshold for adjusting the current load (such as the current speed) to the target load (such as the target speed) in sections is preset to 20%, and the total time of the load adjustment in sections can be controlled not to exceed 20% of the total time of the corresponding action stage.
[0241] In addition, considering that the human body's ability to withstand increased loads on sports equipment is usually less than its ability to withstand reduced loads on sports equipment, the adjustment frequency during increased load can be controlled to be greater than the adjustment frequency during reduced load, and the adjustment amplitude during increased load can be smaller than the adjustment amplitude during reduced load.
[0242] FIG10 shows a schematic diagram of an implementation process of adjusting a treadmill load based on collected real-time motion data according to an embodiment of the present application.
[0243] It will be appreciated that in the embodiment of the present application, each step of the adjustment process shown in FIG10 can be performed by mobile phone 10. Specifically, mobile phone 10 can adjust the load of treadmill 30 based on the collected real-time motion data. The following description of each step of the adjustment process shown in FIG10 will be based on an example in which the load to be adjusted is speed.
[0244] Specifically, the process includes the following steps:
[0245] 1001: Determine the current speed of the treadmill and the target speed for the next phase of the current training plan.
[0246] 1002: Determine whether the current speed is less than the target speed.
[0247] If yes, it indicates that the current speed is less than the target speed, and the following steps 1003 to 1004 may be executed to adjust the speed load;
[0248] If not, it indicates that the current speed is greater than the target speed, and the following steps 1005 to 1006 may be executed to adjust the speed load.
[0249] It is understandable that if the current speed is equal to the target speed, the load of the treadmill 30 does not need to be adjusted, and the pace of the treadmill 30 can be kept at the current speed or the target speed.
[0250] 1003: Calculate a first speed difference between the target speed and the current speed.
[0251] 1004: Determine a comparison result between the first speed difference and a preset speed difference interval, and determine a first adjustment strategy for the current speed according to the comparison result.
[0252] For example, the preset speed difference interval may be [m, n], where m is the lower limit of the preset speed interval and n is the upper limit of the preset speed interval. Furthermore, the comparison result between the first speed difference and the preset speed difference interval and the first adjustment strategy determined based on the comparison result may include the following situations:
[0253] (a) When the first speed difference is less than m, the current speed is increased to the target speed, that is, the load is increased to the target load.
[0254] (b) When m≤first speed difference<n, the current speed is increased to the target speed minus a, that is, the load is increased to the target load-a, where a is a preset difference constant.
[0255] (c) When the first speed difference is ≥ n, the strategy for adjusting the load of the corresponding exercise equipment in stages can be determined by determining whether the collected real-time heart rate is within the heart rate range of the corresponding stage. For example, a dynamic speed adjustment algorithm can be used to adjust the speed of a treadmill. The dynamic speed adjustment algorithm executed based on the collected real-time heart rate will be described in detail below and is not detailed here.
[0256] As an example, the lower limit value m of the preset speed difference interval can correspond to the first threshold value in the above step 609, for example, it can be preset to a speed difference value such as 1.2 km / h; the upper limit value n of the preset speed difference interval can correspond to the second threshold value in the above step 610, for example, it can be preset to a speed difference value such as 2.5 km / h; the above-mentioned difference constant a for controlling the adjustment amplitude can be preset to a speed constant such as 1 km / h.
[0257] 1005: Calculate a second speed difference between the current speed and the target speed.
[0258] 1006: Determine a comparison result between the second speed difference and a preset third threshold, and determine a second adjustment strategy for the current speed according to the comparison result.
[0259] For example, if the current speed is greater than the target speed, it indicates that the load of the corresponding sports equipment needs to be reduced. In this case, a preset larger speed difference threshold, such as the third threshold mentioned above, can be used to control whether to perform segmented adjustment. The specific adjustment process may include the following situations:
[0260] ① When the second speed difference ≤ k, reduce the current speed to the target speed, that is, reduce the load to the target load.
[0261] ② When the second speed difference is greater than k, the strategy for adjusting the load of the corresponding exercise equipment in stages can be determined by determining whether the collected real-time heart rate is within the target heart rate range for the corresponding stage. For example, a dynamic speed adjustment algorithm can be used to adjust the treadmill's pace. The dynamic speed adjustment algorithm based on the collected real-time heart rate will be described in detail below and will not be detailed here.
[0262] As an example, the third threshold k can be preset to a speed difference of 3 km / h or the like, without limitation. It is understood that in some embodiments, the third threshold can be greater than the second threshold. In other embodiments, the third threshold can be equal to the second threshold, without limitation.
[0263] The following describes in detail the specific implementation process of the dynamic speed regulation algorithm executed according to the collected real-time heart rate.
[0264] As described above, during a user's exercise, if the target speed for the next phase of the user's upcoming movement is significantly higher than the current speed, such as in the example of step 1004 (c) where the first speed difference is greater than 2.5, or in the example of step 1006 (b) where the second speed difference is greater than 3, then to avoid discomfort caused by a large one-time adjustment, the load can be adjusted in stages. For example, the load of the exercise equipment can be dynamically adjusted by monitoring the user's real-time heart rate. It will be understood that the current speed is the pace currently being used by the user on the treadmill 30, and is also the running speed of the user in the current phase of the movement.
[0265] Specifically, the segmented adjustment strategy for the corresponding load can be dynamically determined by judging whether the user's real-time heart rate collected by real-time monitoring is within the target heart rate range corresponding to the corresponding action stage. As an example, the strategy can include the following two:
[0266] Strategy 1: Dynamic heart rate adjustment strategy, which determines whether the load of the exercise equipment needs to be adjusted based on whether the real-time heart rate is within the target heart rate range. Furthermore, this strategy 1 can also determine the amount of load to increase or decrease based on the difference between the upper and lower limits of the real-time heart rate.
[0267] It can be understood that strategy ① requires the user to wear a wearable device throughout the entire process. For example, the user needs to wear a watch 20 to collect real-time heart rate data during exercise. In addition, in the process of sampling real-time heart rate data, the wearable device such as the watch 20 worn by the user should ensure that the collected real-time heart rate data is valid heart rate data. For the collected real-time heart rate data, it can be judged by judging whether the proportion of valid data is greater than a first preset proportion threshold (or called a normal proportion), or by judging whether the proportion of invalid data is less than a second preset proportion threshold (or called an abnormal proportion). There is no restriction here.
[0268] As an example, FIG11 shows a schematic diagram of an implementation process of adjusting a treadmill load according to a real-time heart rate according to an embodiment of the present application.
[0269] It will be appreciated that in the embodiment of the present application, each step of the adjustment process shown in FIG11 can be performed by mobile phone 10. That is, mobile phone 10 can adjust the load of treadmill 30 based on the collected real-time motion and physiological data. The following description of each step of the adjustment process shown in FIG11 will be based on the example of adjusting the load to be speed / slope.
[0270] As shown in Figure 11, the process includes the following steps:
[0271] 1101: Obtain the real-time heart rate data collected at each sampling moment in the current stage.
[0272] 1102: Determine whether the proportion of invalid data in the collected real-time heart rate data is greater than a preset abnormal proportion.
[0273] If the result is yes, it indicates that the real-time heart rate data collected contains a large amount of invalid data and cannot be used to determine whether to adjust the load. In this case, step 1106 below can be executed without adjusting the training plan. At the same time, a prompt message may be displayed on the corresponding interface of mobile phone 10, such as a message such as "Your valid heart rate cannot be collected at this time. Please confirm whether the wearable device is worn properly."
[0274] If the result of the judgment is no, it indicates that the collected real-time heart rate data is sufficient to be used for adjusting the load. At this time, the following step 1103 can be continued to further determine whether the collected real-time heart rate is within the target heart rate range.
[0275] 1103: Determine whether the real-time heart rate average value of the current stage is within the target heart rate range.
[0276] If the result of the judgment is yes, it indicates that the user's real-time heart rate can adapt to the load of the current stage, and the current training plan is also compatible with the user's current athletic ability. In this case, there is no need to adjust the control parameters of the corresponding exercise equipment load in the training plan, and the following step 1106 can be executed.
[0277] If the judgment result is no, it indicates that the user's real-time heart rate may not be able to adapt to the load of the current stage, and it is necessary to execute the following steps 1104 to 1105 to adjust the load of the corresponding sports equipment based on the comparison results of the real-time heart rate average value and the upper and lower limits of the target heart rate range.
[0278] For example, the target heart rate interval can be a recommended heart rate range for the current stage. For example, the target heart rate interval can be [70, 210), where 70 ≤ HRavg (real-time heart rate average) < 210. If the calculated real-time heart rate average falls within [70, 210), the judgment result is yes; otherwise, the judgment result is no.
[0279] In other embodiments, the average value of the real-time heart rate calculated above may be an arithmetic mean, a geometric mean, a harmonic mean, etc., which is not limited here.
[0280] As an example, FIG12 shows a schematic diagram of a corresponding exercise interface displayed during a user's exercise according to an embodiment of the present application.
[0281] As shown in FIG12 , the exercise interface 1201 displayed by the mobile phone 10 may display an indicator icon 1202 indicating that the watch 20 and the treadmill 30 are connected, a display area 1203 for the collected real-time heart rate value, and a display area 1204 for the recommended heart rate. The recommended heart rate may be, for example, the target heart rate range for the current stage. The exercise interface 1201 may also display a curve 1205 of the user's real-time heart rate change over time, which may be referred to as a heart rate curve in this embodiment of the present application.
[0282] Therefore, the real-time heart rate average value to be calculated for the current stage can be obtained by calculating the average value of the real-time heart rate data collected during the exercise duration of the user in the current stage, for example, the average value of the real-time heart rate data corresponding to each moment collected within 3 minutes as shown in the heart rate curve 1205 shown in FIG12. In other embodiments, the exercise interface shown in FIG12 can also display the real-time heart rate average value calculated in real time, which is not limited here.
[0283] 1104: Determine whether the real-time heart rate average value is less than a lower limit of the target heart rate range, and calculate the target load for the next stage based on the lower limit.
[0284] Illustratively, for the aforementioned example, if the real-time heart rate average value of the current stage calculated above falls outside the target heart rate range and HR is less than 70 beats / minute, the target load for the next stage can be calculated according to the target heart rate = 70 beats / minute. In the embodiment of the present application, the target load can be the target speed. At this time, it can be determined that the user's heart rate is low. In the embodiment of the present application, in order to increase the user's heart rate, it can be adjusted by increasing the load, such as by accelerating. In some embodiments, the target load calculated based on the upper limit value of the target heart rate range may be higher than the target load originally designed for this stage, and this is not limited here.
[0285] It can be understood that during the acceleration process, the target speed and speed duration of the next stage can be calculated by the following equations (11) and (12):
[0286] The target speed of the next stage TS = the larger integer (constant 5 * current speed + constant 6 * target speed + constant 7, 1) (11)
[0287] Speed duration = minimum rounding (constant 1 * current speed + constant 2 * target speed + constant 3 * current speed squared + constant 4 * target speed squared + constant, 0) (12)
[0288] 1105: Determine whether the real-time heart rate average value is greater than the upper limit of the target heart rate range, and calculate the target load for the next stage based on the upper limit.
[0289] Illustratively, for the aforementioned example, if the real-time heart rate average value of the current stage calculated above falls outside the target heart rate range and HR>210 beats / minute, the target load for the next stage can be calculated according to the target heart rate = 210. In the embodiment of the present application, the target load can be the target speed. At this time, it can be determined that the user's heart rate is high. In the embodiment of the present application, in order to increase the user's heart rate, it can be adjusted by reducing the load, such as by slowing down. In some embodiments, the target load calculated based on the lower limit of the target heart rate range may be lower than the target load originally designed for this stage, and this is not limited here.
[0290] It can be understood that during the deceleration process, the target speed and speed duration of the next stage can be calculated by the following equations (13) and (14):
[0291] The target speed of the next stage TS = the larger integer (constant 8 * current speed + constant 9 * target speed + constant 10), 1) (13)
[0292] Duration = minimum rounding (constant 11 * current speed + constant 12 * target speed + constant 13 * current speed squared + constant 14 * target speed squared + constant, 0) (14)
[0293] 1106: No need to adjust training plan.
[0294] It can be understood that the advantage of the above strategy ① is that it can adjust the training plan of the corresponding user in real time according to the user's physiological state on that day.
[0295] In other embodiments, the process of adjusting the training plan according to the user's heart rate changes may also adopt other strategies, such as the following strategy ②, which is not limited here.
[0296] Strategy ②: Static heart rate adjustment strategy, that is, adjusting the heart rate according to a fixed step value based on the relationship between load increase and heart rate stabilization time in the user's running ability model. This application will not be described in detail here.
[0297] The advantage of this strategy ② is that it does not require the user to wear a watch throughout the entire process, based on the established user running ability model. In addition, the load increase and decrease are more certain, and the frequent increase and decrease of load in segments will not affect the user experience.
[0298] The following describes the specific implementation process of the motion control solution provided by this application in a cycling sports scenario in conjunction with another embodiment 2.
[0299] Example 2
[0300] FIG13 shows a schematic diagram of a cycling sports scene according to an embodiment of the present application.
[0301] As shown in FIG13 , the scene may include a mobile phone 10, a watch 20, and a spinning bike 40, which are in communication with each other. The spinning bike 40 is a resistance-type exercise machine. In other embodiments, the exercise machine in the scene shown in FIG13 may also be other speed-type exercise machines, such as an elliptical machine, without limitation.
[0302] Figure 14 shows a schematic diagram of another implementation process of a motion control method according to an embodiment of the present application, wherein the implementation process is an interactive process implemented by the mobile phone 10, the watch 20 and the spinning bike 40 as the execution entities of each step.
[0303] 1401: The mobile phone 10 establishes a cycling ability model of the user based on the user's historical exercise records.
[0304] For example, the process of establishing the ability model based on the user's historical exercise records by the mobile phone 10 can refer to the description of step 601 in the above embodiment 1. The difference from the execution of step 601 in the above embodiment 1 is that the ability model established in the embodiment of the present application is a cycling ability model.
[0305] The specific process of establishing the cycling ability model can refer to the process shown in Figure 9 and the related description in the above embodiment 1, and will not be repeated here. The cycling ability model Q established based on the user's historical exercise records can, to a certain extent, reflect the corresponding relationship between the user's cycling ability and exercise time / calorie consumption value / distance, as well as power, real-time heart rate, etc. As an example, the running ability calculation formula corresponding to the above cycling ability model can refer to the following formula (15): Q = A*(Time / Cal / Dis)+B*(Power)+C*(Incline)+D*HR+P (15)
[0306] Q represents the user's cycling ability; Time / Cal / Dis represent exercise duration / calorie consumption / distance, respectively, and are typically the corresponding parameter values entered by the user to achieve their training goals; Power represents power; Incline represents incline; and HR represents the user's real-time heart rate. A, B, C, and D are the coefficients of the corresponding physiological parameters, and P is the cycling ability correction value.
[0307] When the amount of data corresponding to the above historical exercise data is insufficient to construct a cycling ability model, the mobile phone 10 can also calculate the user's exercise capacity based on the maximum oxygen uptake data in the user's historical physiological data. In the embodiment of the present application, the exercise capacity is the user's cycling capacity. The specific calculation formula for calculating the user's cycling capacity based on the maximum oxygen uptake can refer to the following formula (16): Q = Vo2max*Weight*q(coefficient) (16)
[0308] Vo2Max represents the user's maximum oxygen uptake, which can be the average, mode, or maximum value of the user's historical physiological data. Weight represents the user's weight, and q represents the weight coefficient.
[0309] When the amount of historical exercise data corresponding to the above is insufficient and the maximum oxygen uptake data is also missing, the user's cycling ability Q can be taken as a constant, which is a constant determined by experimental data statistics, such as Q=1.1, etc. There is no limitation here.
[0310] 1402: The mobile phone 10 receives the training goal set by the user.
[0311] For example, the user can set a training goal on the relevant motion control interface displayed on the mobile phone 10. Unlike the execution of step 602 in the above embodiment 1, in this embodiment of the application, the training goal set by the user can be a distance goal, a time goal, a calorie consumption goal, etc. The specific interface and operation method for setting the training goal can refer to the relevant description of step 602 in the above embodiment 1 and the relevant interface examples, and will not be repeated here.
[0312] 1403: The mobile phone 10 obtains cycling ability related parameters provided by the cycling ability model.
[0313] Unlike step 603 in the first embodiment, mobile phone 10 in this embodiment obtains cycling ability-related parameters provided by the user's cycling ability model. In some embodiments, the user's running ability model and cycling ability model can also be unified into a comprehensive athletic ability model, which is not a limitation here.
[0314] For the specific process of the mobile phone 10 acquiring the cycling ability related parameters provided by the cycling ability model, reference may be made to the description of the process of acquiring the running ability related parameters in step 603 of the above embodiment 1, which will not be elaborated here.
[0315] 1404: The mobile phone 10 generates a training plan that matches the user's cycling ability.
[0316] For example, the mobile phone 10 can generate a training plan that matches the user's cycling ability based on the user's set training goals and the cycling ability-related parameters provided by the user's cycling ability model. The training plan can include motion control parameters for multiple stages, where the motion control parameters for each stage are parameters that match the user's cycling ability.
[0317] As an example, referring to Table 3 below, the above training plan may include training goals / training courses, action stages 1-N, and motion control parameters corresponding to each stage.
[0318] Table 3
[0319] In the above Table 3, the calculation formula for the minimum heart rate HR0 can refer to the above formula (6), and the calculation formula for the above maximum heart rate HR1 can refer to the above formula (7).
[0320] In addition, the target power (TP) calculation formula in Table 3 can refer to the following formula (17): TP = b + w1 * (HR_pct) 2 +w2*x+w3*(Vdot) 2 +…*(Vdot) 2 +wN*(HR_pct) 2 *Vdot (17)
[0321] Among them, w1, w2, w3…wN are specific gravity coefficients.
[0322] The calculation formula for the minimum power value (TP0) in [TP0, TP1] corresponding to the above power range (target power scope) can refer to the following formula (18): TP0 = b + w1 * (HR_pct – L) 2 +w2*x+w3*(Vdot) 2 +…*(Vdot) 2 +wN*(HR_pct–L) 2 *Vdot (18)
[0323] The calculation formula of the maximum power (TP1) can refer to the following formula (19): TP1 = b + w1 * (HR_pct + w) 2 +w2*x+w3*(Vdot) 2 +…*(Vdot) 2 +wN*(HR_pct+w) 2 *Vdot (19)
[0324] In other embodiments, the target heart rate and fluctuation range, target power and fluctuation range and other related parameters corresponding to each stage in Table 3 above can also be calculated using other calculation methods, and this application does not limit this.
[0325] 1405 : The mobile phone 10 sends the motion control parameters of each stage of the training plan to the spinning bike 40 .
[0326] What is different from the content executed in step 605 of the above-mentioned embodiment 1 is that in the embodiment of the present application, the motion control parameters of each stage in the training plan sent by the mobile phone 10 are cycling ability-related parameters and are sent to the spinning bike 40.
[0327] For the specific process of the mobile phone 10 sending the motion control parameters of each stage to the spinning bike 40, reference may be made to the description of the process of sending the motion control parameters of each stage to the treadmill 30 in step 605 of the above embodiment 1, which will not be repeated here.
[0328] 1406: The spinning bike 40 sets a load according to the received motion control parameters.
[0329] The difference from step 606 in the first embodiment is that the exercise device for setting the load in the present embodiment is a spinning bike 40. Therefore, the load set for the spinning bike 40 can be the power of the bike, hereinafter referred to as power.
[0330] The power of the spinning bike is P = RPM (user's riding speed) * R (resistance gear) * n (fixed coefficient of the bike's resistance system). In other embodiments, the power of the bike can also be calculated by other methods, which are not limited here.
[0331] The specific process of the spinning bike 40 setting the load according to the received motion control parameters can refer to the description of the process of the treadmill 30 setting the load in step 606 of the above embodiment 1, which will not be repeated here.
[0332] 1407: The watch 20 collects real-time physiological data and real-time exercise data of the user during exercise.
[0333] 1408 : The watch 20 sends the collected real-time physiological data and real-time motion data to the mobile phone 10 .
[0334] The execution contents of the above steps 1407 to 1408 are the same as those of steps 607 to 608 in the above embodiment 1. For details, please refer to the relevant descriptions of steps 607 to 608 in the above embodiment 1, which will not be repeated here.
[0335] 1409: The mobile phone 10 determines that the absolute value of the difference between the real-time motion data and the corresponding interval of the motion control parameter of the current stage is greater than a fourth threshold.
[0336] 1410: The mobile phone 10 determines whether the absolute value of the difference between the real-time motion data and the corresponding interval of the motion control parameter of the current stage is greater than a fifth threshold, wherein the fifth threshold is greater than the fourth threshold.
[0337] 1411: The mobile phone 10 adjusts the motion control parameters of the next stage of the training plan according to the real-time physiological data.
[0338] 1412 : The mobile phone 10 sends the adjusted motion control parameters for the next stage to the spinning bike 40 .
[0339] 1413: The spinning bike 40 adjusts the load for the next stage according to the adjusted motion control parameters.
[0340] 1414: The mobile phone 10 adjusts the motion control parameters of the current stage and the next stage according to the real-time physiological data.
[0341] 1415 : The mobile phone 10 sends the adjusted motion control parameters to the spinning bike 40 .
[0342] 1416: The spinning bike 40 adjusts the loads of the current stage and the next stage according to the adjusted motion control parameters.
[0343] Different from the content executed in steps 609 to 616 of the above-mentioned embodiment 1, the object sports equipment for adjusting the load in the embodiment of the present application is the exercise bike 40, and before determining whether the load needs to be adjusted according to real-time physiological data in the embodiment of the present application, it is possible to first determine whether the absolute value of the difference between the current power of the exercise bike 40 and the target power is greater than the corresponding threshold, such as the above-mentioned fourth threshold, fifth threshold, etc.
[0344] The process of the mobile phone 10 adjusting the load of the spinning bike 40 according to the real-time physiological data can refer to the relevant descriptions of steps 611 to 616 in the above embodiment 1, as well as the steps and related descriptions of the process shown in Figure 11 in the above embodiment 1, and will not be repeated here.
[0345] Because spinning bikes are typically unpowered, the actual pedaling experience is generally affected by changes in resistance. Since active pedaling generates power, spinning bikes can tolerate large changes in resistance. Based on the equation: Spinning bike power P = RPM (user's riding speed) * R (resistance level) * n (fixed coefficient of the bike's resistance system), these changes in resistance can be converted into the bike's power load.
[0346] The following describes in detail the implementation process of adjusting the load of the spinning bike according to the collected real-time motion data in an embodiment of the present application with reference to FIG15 .
[0347] FIG15 is a schematic diagram showing an implementation process of adjusting the load of a spinning bike based on collected real-time motion data according to an embodiment of the present application.
[0348] It will be appreciated that in the embodiment of the present application, each step of the adjustment process shown in FIG15 can be performed by the mobile phone 10. That is, the mobile phone 10 can adjust the load of the spinning bike 40 based on the collected real-time motion data. The following description of each step of the adjustment process shown in FIG15 will be based on the example of adjusting the load to be power.
[0349] Specifically, the process includes the following steps:
[0350] 1501: Determine the current power of the spinning bike and the target power for the next phase of the current training plan.
[0351] 1502: Determine whether the current power is equal to the target power.
[0352] If so, it indicates that the current power is equal to the target power. At this time, the following step 1505 can be executed. The load of the spinning bike does not need to be adjusted. Neither the power load of the current stage nor the power load of the next stage can be adjusted. There is no restriction here.
[0353] If not, it indicates that the current power is not equal to the target power, and the following steps 1503 to 1504 may be executed to adjust the power load.
[0354] 1503: Calculate the power difference between the target power and the current power and take the absolute value.
[0355] 1504: Determine a comparison result between the absolute value of the power difference and a preset power difference range, and determine an adjustment strategy for the current power according to the comparison result.
[0356] For example, the preset power difference interval may be [i, j], where i is the lower limit of the preset power interval and j is the upper limit of the preset power interval. Furthermore, the comparison result of the absolute value of the power difference with the preset power difference interval and the adjustment strategy determined based on the comparison result may include the following scenarios:
[0357] (a) When the absolute value of the power difference is less than i, the current power can be maintained for a first preset time period.
[0358] (b) When i≤absolute value of power difference<j, the current power may be maintained for a second preset time period, wherein the second preset time period may be greater than the first preset time period.
[0359] (c) When the absolute value of the power difference is ≥ j, a segmented adjustment strategy for the load of the corresponding exercise equipment can be determined by determining whether the collected real-time heart rate is within the heart rate range of the corresponding stage. For example, a dynamic speed adjustment algorithm can be used to adjust the power of a spinning bike. In some embodiments, when the absolute value of the power difference is ≥ j, the current power can also be maintained for a third predetermined duration.
[0360] As an example, the lower limit value i of the preset power difference interval may correspond to the fourth threshold value in step 1409, for example, it may be preset to a power difference value such as 20 Hz. The first preset duration may be, for example, 30 seconds. The upper limit value j of the preset power difference interval may correspond to the fifth threshold value in step 1410, for example, it may be preset to a power difference value such as 35 Hz. The second preset duration may be, for example, 45 seconds, and the third preset duration may be, for example, 60 seconds.
[0361] The following further describes the execution process of the dynamic speed regulation algorithm executed according to the collected real-time heart rate in conjunction with FIG16 .
[0362] FIG16 shows a schematic diagram of an implementation process of adjusting the load of a spinning bike according to real-time heart rate according to an embodiment of the present application.
[0363] It will be appreciated that in the embodiment of the present application, each step of the adjustment process shown in FIG16 can be performed by the mobile phone 10. Specifically, the mobile phone 10 can adjust the load of the spinning bike 40 based on the collected real-time motion and physiological data. The following description of each step of the adjustment process shown in FIG16 will use the example of the power of the spinning bike as the load to be adjusted.
[0364] Specifically, the process includes the following steps:
[0365] 1601: Obtain the real-time heart rate data collected at each sampling moment in the current stage.
[0366] 1602: Determine whether the proportion of invalid data in the collected real-time heart rate data is greater than a preset abnormal proportion.
[0367] If the judgment result is yes, it indicates that there is a lot of invalid data in the collected real-time heart rate data, and the following step 1606 can be executed without adjusting the training plan.
[0368] If the result of the judgment is no, it indicates that the collected real-time heart rate data is sufficient to be used for adjusting the load. At this time, the following step 1603 can be continued to further determine whether the collected real-time heart rate is within the target heart rate range.
[0369] 1603: Determine whether the real-time heart rate average value of the current stage is within the target heart rate range.
[0370] If the judgment result is yes, it indicates that the user's real-time heart rate can adapt to the load of the current stage and the current training plan can also match the user's current athletic ability. At this time, the following step 1606 can be executed without adjusting the training plan.
[0371] If the judgment result is no, it indicates that the user's real-time heart rate may not be able to adapt to the load of the current stage, and it is necessary to execute the following steps 1604 to 1605 to adjust the load of the corresponding sports equipment.
[0372] The execution content of the above steps 1601 to 1603 is the same as the execution content of steps 1101 to 1103 in the above embodiment 1. The specific execution process can refer to the relevant description in the above steps 1101 to 1103, which will not be repeated here.
[0373] 1604: Determine whether the real-time heart rate average value is less than a lower limit of the target heart rate range, and calculate the target load for the next stage based on the difference between the lower limit and the real-time heart rate average value.
[0374] For example, for the above example, if the real-time heart rate average value of the current stage calculated above falls outside the target heart rate range and HR is less than 70 beats / minute, the target load of the next stage can be calculated based on the difference calculated by 70-HR. In the embodiment of the present application, the target load can be the target power and the power maintenance duration. At this time, it can be determined that the user's heart rate is low. In the embodiment of the present application, in order to increase the user's heart rate, it can be adjusted by increasing the load, such as increasing the power and / or extending the corresponding power duration.
[0375] As an example, the change in target power in the next stage can be calculated by the following formula (20): changePower0=min(50, diffHR*Q) (20)
[0376] Wherein, changePower0 represents the change in target power; diffHR represents the difference between the lower limit of the target heart rate range and the real-time heart rate average value, for example, (70-HR); Q represents the user's cycling ability, which can be calculated using the above formula (15) or (16). Therefore, the above formula (20) represents the minimum value selected from the product of the preset minimum power constant (for example, 50 or other values), the heart rate difference, and the cycling ability, as the change in target power increase for the next stage, that is, the target power for the next stage is adjusted by adding the above changePower0 as the adjusted target power.
[0377] 1605: Determine whether the real-time heart rate average value is greater than the upper limit of the target heart rate range, and calculate the target load for the next stage based on the difference between the real-time heart rate average value and the upper limit.
[0378] For example, for the aforementioned example, if the real-time heart rate average value of the current stage calculated above falls outside the target heart rate range and HR>210 beats / minute, the target load for the next stage can be calculated based on the difference calculated from HR-210. In the embodiment of the present application, the target load can be the target power and the duration of power maintenance. At this time, it can be determined that the user's heart rate is high. In the embodiment of the present application, in order to increase the user's heart rate, adjustments can be made by reducing the load, for example, reducing the power and / or shortening the duration of the corresponding power maintenance.
[0379] As an example, the specific calculation of the change in target power in the next stage can be calculated by the following formula (21): changePower1 = max(100, diffHR*Q) (21)
[0380] Wherein, changePower1 represents the change in target power; diffHR represents the difference between the real-time heart rate average and the upper limit of the target heart rate range, for example, (HR-210); and Q represents the user's cycling ability, which can be calculated using the above formulas (15) or (16). Therefore, the above formula (21) represents the maximum value selected from the product of the preset maximum power constant (for example, 100 or other values), the heart rate difference, and the cycling ability, as the change in target power reduction for the next stage, that is, the target power for the next stage is adjusted to be reduced by the above changePower1 as the adjusted target power.
[0381] It is understandable that in other embodiments, the way of adjusting the load of the spinning bike according to real-time physiological data such as real-time heart rate may also be other ways, which are not limited here.
[0382] 1606: No need to adjust training plan.
[0383] In addition, in the embodiment of the present application, the resistance level of the spinning bike can be determined by combining the user's riding revolutions per minute (RPM) and power to achieve precise resistance adjustment for the spinning bike. In this way, RPM information needs to be obtained when the resistance adjustment is triggered.
[0384] Furthermore, when entering the first movement phase of a training plan, the RPM may be too low due to the user not pedaling or starting pedaling slowly, etc. In this case, the default setting of RPM=60 may be used.
[0385] For other movement phases, after calculating the power for the corresponding phase, the RPM value can be transferred using the real-time RPM value reported by the spinning bike 40. However, considering that RPM is determined by the user's pedaling, when the RPM is low, the power remains unchanged, but the resistance level is high, which will correspondingly make the user's pedaling more difficult. Therefore, effective RPM guidance is required, such as presetting a recommended RPM range that matches the corresponding movement phase and adjusting the resistance within this range.
[0386] In other embodiments, the control can also be performed by setting a minimum cadence value, and then when the user's real-time cadence is less than the minimum cadence value, the user can be reminded.
[0387] The minimum cadence value can be set to, for example, lower_limit_RPM = 50 rpm. If the user's cadence is lower than the minimum cadence value during the corresponding exercise phase, the user can be reminded that "your cadence value is too low. To achieve a better exercise effect, please keep it above 50 rpm" or other content.
[0388] Accordingly, the limit power corresponding to the cadence value (referred to as cadence limit power) can be calculated as follows:
[0389] The first method is to calculate the cadence correlation coefficient r value according to whether there is a maximum oxygen uptake parameter.
[0390] Specifically, when Vo2Max is present, r = min(32,15*user.vo2max*user.weight / (45*65))
[0391] When there is no Vo2Max, r=16.
[0392] The second method is to directly calculate the cadence limit power based on the preset r value. The corresponding algorithm can refer to the following formula (22): RPM_limit_power=max(20,round(-2.69171183*r+0.16503129*current_RPM-0.00830111 *r**2+0.00525906*current_RPM**2+0.19709128*r*current_RPM+1.65261776753669,0)) (22)
[0393] Wherein, RPM_limit_power represents the cadence-limited power, and the above formula (22) represents taking the maximum value between 20 and the result of the function round.
[0394] It is understandable that in other embodiments, the method for calculating the above-mentioned cadence-limited power may also be other methods, which are not limited here.
[0395] FIG17 shows a block diagram of a software system structure of an electronic device 100 according to an embodiment of the present application.
[0396] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The present embodiment uses the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100. In the present embodiment, the electronic device 100 can be an electronic device such as the mobile phone described above. In other embodiments, the electronic device 100 can also be a wearable device such as a watch, etc., without limitation.
[0397] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0398] As shown in Figure 17, the application layer may include a series of application packages, which may include applications such as sports health, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
[0399] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions. As shown in Figure 17, the application framework layer may include a window manager, content provider, view system, telephony manager, resource manager, notification manager, etc.
[0400] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.
[0401] Content providers are used to store and retrieve data and make it accessible to applications. This data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0402] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0403] The phone manager is used to provide the communication function of the electronic device 100 .
[0404] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0405] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.
[0406] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
[0407] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0408] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0409] The system library can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing library (for example: openGL ES), 2D graphics engine (for example: SGL), etc. The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing. The 2D graphics engine is a drawing engine for 2D drawing.
[0410] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0411] References in the specification to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one exemplary implementation or technique disclosed according to the embodiment of the present application. The appearances of the phrase "in one embodiment" in various places in the specification do not necessarily all refer to the same embodiment.
[0412] The disclosure of the embodiments of the present application also relates to an operating device for executing the text. The device can be constructed specifically for the required purpose or it can include a general-purpose computer that is selectively activated or reconfigured by a computer program stored in the computer. Such a computer program can be stored in a computer-readable medium, such as, but not limited to, any type of disk, including a floppy disk, an optical disk, a CD-ROM, a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), an EPROM, an EEPROM, a magnetic or optical card, an application-specific integrated circuit (ASIC) or any type of medium suitable for storing electronic instructions, and each can be coupled to a computer system bus. In addition, the computer mentioned in the specification can include a single processor or can be an architecture involving multiple processors for increased computing power.
[0413] In addition, the language used in this specification has been primarily selected for readability and instructional purposes and may not be selected to describe or limit the disclosed subject matter. Therefore, the present disclosure of embodiments is intended to illustrate, not to limit, the scope of the concepts discussed herein.
Claims
1. A motion control method, characterized in that: Applied to a first electronic device, and the method includes: Obtain the user's exercise target parameters for the exercise equipment; Determining a first training plan for the user according to the exercise target parameter and the user's historical exercise ability parameter, wherein the historical exercise ability parameter includes a body function parameter generated during the user's exercise using the exercise device; Based on the first training plan, a first set of control instructions is sent to the exercise equipment.
2. The method according to claim 1, characterized in that The first training plan includes at least one action phase, wherein the motion control parameters corresponding to each action phase match the historical motion ability parameters of the user.
3. The method according to claim 2, characterized in that The motion control parameters corresponding to each action stage in the first training plan include load parameters related to the sports equipment, and The sending a first control instruction to the sports equipment based on the first training plan includes: Based on a first load parameter corresponding to a first motion stage, a first control instruction for the first motion stage is sent to the sports equipment, wherein the first control instruction includes the first load parameter, and the first set of control instructions includes the first control instruction.
4. The method according to claim 1, characterized in that: The method further comprises: Acquiring real-time physiological data currently collected by the second electronic device; and, detecting that the real-time physiological data meets a first trigger condition for adjusting the training plan, adjusting the first training plan to a second training plan, wherein at least one motion control parameter in the first training plan is different from that in the second training plan; Based on the second training plan, a second set of control instructions is sent to the exercise equipment.
5. The method according to claim 4, characterized in that The real-time physiological data includes a real-time heart rate, and the detecting that the real-time physiological data meets a first trigger condition for adjusting the training plan includes: It is detected that the real-time heart rate is less than the lower limit of the target heart rate interval, or, It is detected that the real-time heart rate is greater than an upper limit value of the target heart rate interval.
6. The method according to claim 5, characterized in that The adjusting the first training plan to a second training plan includes: detecting that the real-time heart rate is less than a lower limit of the target heart rate interval, calculating a load parameter increase value corresponding to a next stage of the first training plan according to the lower limit, and sending the load parameter increase value to the exercise device through a second control instruction, wherein the second set of control instructions includes the second control instruction; It is detected that the real-time heart rate is greater than the upper limit of the target heart rate range, and a load parameter reduction value corresponding to the next stage in the first training plan is calculated according to the upper limit, and the load parameter reduction value is sent to the sports equipment through a third control instruction, wherein the second set of control instructions includes the third control instruction.
7. The method according to claim 4, characterized in that Before acquiring the real-time physiological data currently collected by the second electronic device, the method further includes: Obtaining current operating parameters of the sports equipment; adjusting the first training plan to a third training plan according to a comparison result between the current operating parameter and a target load parameter of the next stage in the first training plan, wherein at least one motion control parameter in the first training plan is different from that in the third training plan; Based on the third training plan, a third set of control instructions is sent to the exercise equipment.
8. The method according to claim 7, characterized in that The sports equipment is a speed-type equipment, the current operating parameter is the current speed, the target load parameter is the target speed, and the comparison result between the current operating parameter and the target load parameter of the next stage in the first training plan includes: The current speed is less than the target speed, or, The current speed is greater than the target speed.
9. The method according to claim 8, characterized in that When the current speed is less than the target speed, adjusting the first training plan to a third training plan includes any one of the following: detecting that the difference between the target speed and the current speed is less than a first difference threshold, sending the target speed to the sports device through a fourth control instruction to control the pace of the sports device to increase from the current speed to the target speed, wherein the third set of control instructions includes the fourth control instruction; detecting that the difference between the target speed and the current speed is greater than or equal to the first difference threshold and less than a second difference threshold, sending the difference between the target speed and a preset constant to the sports device through a fifth control instruction to control the pace of the sports device to increase from the current speed to the difference between the target speed and the preset constant, wherein the second difference threshold is greater than the first difference threshold, and the third set of control instructions includes the fifth control instruction; It is detected that the difference between the target speed and the current speed is greater than a second difference threshold, real-time physiological data currently collected by the second electronic device is acquired, and the first training plan is adjusted according to the real-time physiological data.
10. The method according to claim 8, characterized in that When the current speed is greater than the target speed, adjusting the first training plan to a third training plan includes any one of the following: detecting that the difference between the current speed and the target speed is less than or equal to a third difference threshold, sending the target speed to the sports device via a sixth control instruction to control the pace of the sports device to decrease from the current speed to the target speed, wherein the third set of control instructions includes the sixth control instruction; It is detected that the difference between the current speed and the target speed is greater than a third difference threshold, real-time physiological data currently collected by the second electronic device is acquired, and the first training plan is adjusted according to the real-time physiological data.
11. The method according to claim 7, characterized in that The sports equipment is a resistance type equipment, the current operating parameter is the current power, the target load parameter is the target power, and the comparison result between the current operating parameter and the target load parameter of the next stage in the first training plan includes: The current power is not equal to the target power.
12. The method according to claim 11, characterized in that When the current power is not equal to the target power, adjusting the first training plan to a third training plan includes any one of the following: detecting that the absolute value of the difference between the current power and the target power is less than a fourth difference threshold, sending a seventh control instruction to the sports equipment instructing to maintain the current power for a first preset time period; Detecting that the absolute value of the difference between the current power and the target power is greater than or equal to the fourth difference threshold and less than the fifth difference threshold, sending an eighth control instruction to the sports equipment to instruct to maintain the current power for a second preset time period, wherein the fifth difference threshold is greater than the fourth difference threshold; Detecting that the absolute value of the difference between the current power and the target power is greater than the fifth difference threshold, sending an eighth control instruction to the sports equipment to instruct to maintain the current power for a third preset time, or obtaining the real-time physiological data currently collected by the second electronic device and adjusting the first training plan according to the real-time physiological data; wherein, The first preset time length is shorter than the second preset time length, and the second preset time length is shorter than the third preset time length.
13. A motion control method, characterized in that: Applied to a first electronic device, and the method includes: Detecting a user input operation of a sports target parameter for a sports device; In response to the exercise target parameter input operation, controlling the exercise equipment to run according to the first training plan; It is detected that the user's exercise state meets a preset condition, and the exercise period is controlled to run corresponding to the second training plan, wherein at least one operating parameter of the exercise equipment is different corresponding to the first training plan and the second training plan.
14. An electronic device, characterized in that: include: one or more processors; One or more memories; the one or more memories store one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device executes the motion control method described in any one of claims 1 to 13.
15. A computer readable medium, characterized in that include: The readable medium stores instructions, which, when executed on a computer, enable the computer to execute the motion control method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Motion control method, electronic equipment and computer readable medium
CN118718362A
Athletic performance tracking system and method
CN103007493A
Exercise training data processing method and device
CN106709235A
Training determining method, device, system, storage medium and processor
CN109300521A
Recommendation method and device and terminal equipment
CN113948183A
Cited By
Sports speed setting recommendation method suitable for sports bracelet
CN119132510A
Real-time motion data integration monitoring system and method
CN119153136A
Personalized control system and method for intelligent exercise equipment
CN120299606A
Method for processing multi-source heterogeneous exercise load information
CN121148590A
