Motion control method, electronic equipment and computer readable medium

By obtaining the user's sports goals and historical ability parameters, and combining with real-time physiological data to dynamically adjust the load of sports equipment, the problem of load mismatch in the existing technology is solved, and the safety and effect of exercise are improved.

CN118718362APending Publication Date: 2024-10-01HUAWEI TECH CO LTD

Patent Information

Application Number
CN202310377258.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The control scheme of existing sports equipment cannot effectively match the user's actual sports ability, resulting in discomfort in the load adjustment amplitude and frequency, affecting the sports experience and safety.

Method used

By obtaining the user's sports target parameters and historical sports ability parameters, a personalized training plan is generated, and the training plan is dynamically adjusted based on real-time physiological data to ensure that the load of the sports equipment matches the user's sports ability.

Benefits of technology

It improves the safety and effect of exercise, provides a better exercise experience, avoids discomfort caused by too frequent or large load adjustments, and enhances users' exercise satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118718362A_ABST
    Figure CN118718362A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of terminals, in particular to a motion control method, electronic equipment and a computer readable medium. The method comprises the following steps: acquiring a sports target parameter of a user for sports equipment; according to the exercise target parameters and historical exercise ability parameters of the user, a first training plan of the user is determined, and the historical exercise ability parameters comprise body function parameters generated in the process that the user uses the exercise equipment to exercise; and sending a first set of control instructions to the sports equipment based on the first training plan. In this way, the training plan conforming to the training target can be generated by combining the actual exercise ability determined by the historical exercise records of the user, and the actual exercise effect and exercise safety of the user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of terminal technology, and in particular to a motion control method, an electronic device and a computer-readable medium. Background Art

[0002] As users' health awareness gradually increases, the consumer market size of sports equipment is gradually expanding. Consumers are more inclined to choose more professional sports venues and use more professional sports equipment, such as treadmills, spinning bikes, elliptical machines, etc., to help exercise. At the same time, the intelligence level of these sports equipment is also constantly improving. Some sports equipment can connect to the user's mobile device or wearable device to monitor the exercise process. Users can not only set exercise goals on sports equipment, such as distance goals, time goals, calorie consumption goals, etc., but also intuitively see their heart rate changes during exercise. In this way, users can complete the set goals in a planned manner, thereby achieving the desired training purpose.

[0003] Therefore, in the process of existing sports equipment-assisted exercise, in order to improve the safety of exercise, some methods have emerged to guide users to achieve their training goals more safely and efficiently by monitoring 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 users. It can be understood that the above-mentioned user's physiological data can characterize the user's current exercise intensity to a certain extent, and combined with the user's cardiopulmonary tolerance range, the user's exercise intensity can be controlled within a safe range. For example, in the process of users exercising with sports equipment, the load of the corresponding sports equipment can be adjusted to a degree that matches the user's cardiopulmonary tolerance based on the monitored real-time heart rate of the user.

[0004] However, the current motion control scheme can only adjust the load of the sports equipment according to the equipment parameters set by the user, such as the initial speed set by the user on the treadmill, combined with the user's real-time heart rate. The equipment parameters set by the user may not match the user's actual athletic ability. At this time, if the initial speed or resistance intensity of the sports equipment is high or low, the scheme for adjusting the load according to the user's heart rate cannot control the adjustment amplitude and frequency. Frequent or large-scale load adjustments of sports equipment can also easily cause discomfort to the user, resulting in a poor exercise experience for the user. Summary of the invention

[0005] The present application provides a motion control method, an electronic device and a computer-readable medium, which are conducive to improving the actual motion effect and motion safety, and can also dynamically adjust the generated training plan according to the user's actual motion state during the user's exercise, thereby better ensuring the user's safety during exercise and bringing the user a better exercise experience.

[0006] In a first aspect, the present application provides a motion control method, which is applied to a first electronic device, and the method includes:

[0007] Obtain the user's exercise target parameters for the sports equipment; determine the user's first training plan based on the exercise target parameters and the user's historical exercise ability parameters, wherein the historical exercise ability parameters include the body function parameters generated during the user's exercise using the sports equipment; based on the first training plan, send a first set of control instructions to the sports equipment.

[0008] For example, the first training plan is a training plan generated based on the training goal and actual athletic ability input by the user. The training goal input by the user includes the above-mentioned sports target parameters for sports equipment, such as distance goals, time goals, calorie consumption goals, etc. The above-mentioned user's historical athletic ability parameters can be parameters that can indicate the user's actual athletic ability based on historical sports record training or statistics, 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.

[0009] 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 sports device. Each control instruction may correspond to each action phase in the first training plan, and is used to instruct the sports device to adjust the load corresponding to each action phase according to the corresponding training plan.

[0010] 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 beneficial to improving the user's actual exercise effect and exercise safety.

[0011] In a possible implementation of the first aspect above, the first training plan includes at least one action stage, wherein the motion control parameters corresponding to each action stage match the historical motion ability parameters of the user.

[0012] In a possible implementation of the first aspect, the motion control parameters corresponding to each action stage in the first training plan include load parameters related to the sports equipment, and sending a first control instruction to the sports equipment based on the first training plan includes:

[0013] Based on a 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.

[0014] For example, the above-mentioned load parameters related to sports equipment may be speed parameters and slope parameters corresponding to sports equipment such as treadmills, or power parameters corresponding to sports equipment such as spinning bikes, etc., and no limitation is made here.

[0015] In a possible implementation of the first aspect above, the method further includes: acquiring real-time physiological data currently collected by the second electronic device; and, upon detecting that the real-time physiological data satisfies 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.

[0016] The second set of control instructions mentioned above may be one or more control instructions sent by the first electronic device to the sports equipment for each action stage in the second training plan.

[0017] 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.

[0018] In a possible implementation of the first aspect, adjusting the first training plan to the second training plan includes:

[0019] 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 the 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 a second control instruction;

[0020] 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 according to the upper limit, and the load parameter reduction value is sent to the sports equipment through the third control instruction, wherein the second set of control instructions includes the third control instruction.

[0021] In a possible implementation of the first aspect, before acquiring the real-time physiological data currently collected by the second electronic device, the method further includes: acquiring current operating parameters of the exercise equipment;

[0022] adjusting the first training plan to a third training plan according to 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 in the first training plan is different from that in the third training plan;

[0023] Based on the third training plan, a third set of control instructions is sent to the exercise equipment.

[0024] 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.

[0025] In a possible implementation of the first aspect, when the current speed is less than the target speed, adjusting the first training plan to the third training plan includes any one of the following:

[0026] 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;

[0027] detecting that the 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 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;

[0028] 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.

[0029] 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 control instruction and the fifth control instruction may be, for example, acceleration control instructions for the treadmill.

[0030] 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:

[0031] 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;

[0032] 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.

[0033] For example, the third difference threshold may correspond to a preset third threshold k of the speed difference. The sixth control instruction may be, for example, a speed reduction or deceleration control instruction for the treadmill.

[0034] 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.

[0035] 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 the third training plan includes any one of the following:

[0036] When 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 to instruct the current power to be maintained for a first preset time period;

[0037] When it is detected 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, an eighth control instruction is sent to the sports device to instruct the current power to be maintained for a second preset time period, wherein the fifth difference threshold is greater than the fourth difference threshold;

[0038] 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 sports equipment to instruct the current power to be maintained 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,

[0039] 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.

[0040] For example, the fourth difference threshold may be a lower limit value i of the preset power difference interval [i, j], and the fourth difference threshold may be an upper limit value j of the preset power difference interval [i, j].

[0041] In a second aspect, the present application provides a motion control method, which is applied to a first electronic device, and the method includes:

[0042] Detecting a user input operation of a sports target parameter for a sports device;

[0043] In response to the exercise target parameter input operation, controlling the exercise equipment to run according to the first training plan;

[0044] 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.

[0045] 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.

[0046] In a fourth aspect, the present application provides a computer-readable medium, comprising: instructions are stored on the readable medium, and when the instructions are executed on a computer, the computer executes the motion control method provided in the first aspect, the second aspect, and various possible implementations of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 Shown is a schematic diagram of an application scenario provided in an embodiment of the present application.

[0048] Figure 2 A schematic diagram of a current sports interface for adjusting the load of sports equipment according to heart rate is shown.

[0049] Figure 3 The figure is a schematic diagram of the implementation principle of a motion control method provided in an embodiment of the present application.

[0050] Figure 4 Shown is a schematic structural diagram of an electronic device provided in an embodiment of the present application.

[0051] Figure 5 Shown is a schematic diagram of the hardware structure of a sports device provided in an embodiment of the present application.

[0052] Figure 6 The figure is a schematic diagram of the implementation process of a motion control method provided in Example 1 of the present application.

[0053] Figure 7a The figure shows a schematic diagram of a health interface when a sports health APP is opened provided in Example 1 of the present application.

[0054] Figure 7b Shown is a schematic diagram of a motion control interface provided in Example 1 of the present application.

[0055] Figure 8aShown is a schematic diagram of a training course list interface provided in Example 1 of the present application.

[0056] Figure 8b Shown is a schematic diagram of a training plan interface provided in Example 1 of the present application.

[0057] Fig. 9 The figure is a schematic diagram of the implementation process of a running ability model for training a user provided in Example 1 of the present application.

[0058] Fig.10 The figure shows a schematic diagram of an implementation process of adjusting a treadmill load according to collected real-time motion data provided in Example 1 of the present application.

[0059] Fig.11 The figure is a schematic diagram of an implementation process of adjusting the treadmill load according to the real-time heart rate provided in Example 1 of the present application.

[0060] Fig.12 The figure shows a schematic diagram of a sports interface displayed during a user's exercise process provided in Example 1 of the present application.

[0061] Fig.13 Shown is a schematic diagram of a cycling sports scene provided in Example 2 of the present application.

[0062] Fig.14 Shown is a schematic diagram of the implementation process of another motion control method provided in Example 2 of the present application.

[0063] Fig.15 The figure shows a schematic diagram of an implementation process of adjusting the load of a spinning bike according to collected real-time motion data provided in Example 2 of the present application.

[0064] Fig.16 The figure is a schematic diagram of an implementation process of adjusting the load of a spinning bike according to real-time heart rate provided in Example 2 of the present application.

[0065] Fig.17 The figure shows a software system structure block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0066] 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 in conjunction with the accompanying drawings and specific implementation methods.

[0067] Figure 1 According to an embodiment of the present application, a schematic diagram of an application scenario is shown.

[0068] like Figure 1As shown, 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 record functions. Figure 1 The scene shown may also include other wearable devices different from the watch 20, such as a wristband, headphones, etc. The treadmill 30 is a speed-type device. Figure 1 The sports equipment in the scene shown may also be other speed-type sports equipment, such as a stair climbing machine, etc., which is not limited here.

[0069] refer to Figure 1 As shown, the exercise record 102 may display the user's most recent exercise-related record, such as the user performing "aerobic endurance running", "time 30'02", and "consumed 248 kcal". Among them, "aerobic endurance running" may be a training course selected by the user, and the course may be preset on the sports health APP. In other embodiments, the user may also select other training courses that match the training purpose to exercise, such as "fat burning running", "plot running", etc.

[0070] Continue to refer Figure 1 The watch 20 connected to the mobile phone 10 can collect real-time physiological data and sports data such as the number of steps of the user during exercise. The physiological data may include but is not limited to heart rate, maximum oxygen uptake (maximaloxygen uptake, Vo2Max), blood oxygen saturation and other data. The physiological data and sports data such as the number of steps collected by the watch 20 can be synchronized to the mobile phone 10 to update the display content on the health interface 101 or the related interface provided by the sports health APP.

[0071] The treadmill 30 connected to the mobile phone 10 can collect the speed, incline, distance target, time target and other equipment parameters set by the user and send them to the mobile phone 10. Therefore, when the user is exercising on the treadmill 30, the mobile phone 10 can directly control the increase of the load of the treadmill 30, such as increasing the pace or incline of the treadmill 30, based on whether the heart rate data collected by the watch 20 is within a preset range. For example, when the mobile phone 10 detects that the user's current heart rate is lower than the preset normal heart rate range, it does not consider whether the user's actual exercise ability can withstand the increased load.

[0072] Figure 2 A schematic diagram of a current sports interface for adjusting the load of sports equipment according to heart rate is shown.

[0073] like Figure 2 As shown, the exercise interface 210 may display the user's selected training course "aerobic endurance running" with a time target of 40 minutes. In addition, the exercise interface 210 may also display currently connected devices, such as "watch X20 connected" and "treadmill X30 connected".

[0074] When starting to exercise, the user is in the warm-up stage and the initial speed of the treadmill 30 may be low, for example, "4.0 km / h". At this time, the user's heart rate will increase as the exercise time increases. For example, after the user walks slowly at a speed of "4.0 km / h" for 4 minutes, the heart rate may increase from 95 to 110. However, this heart rate may be lower than the target heart rate range expected to be achieved in the warm-up stage of "aerobic endurance running". At this time, it is displayed Figure 2 The mobile phone 10 of the motion interface 210 shown may directly send a speed adjustment instruction or a slope adjustment instruction to the treadmill 30 to control the treadmill 30 to increase the load. For example, the mobile phone 10 may control the speed of the treadmill 30 to increase directly from 4km / h to 5km / h, and the mobile phone 10 may also control the slope of the treadmill 30 to increase directly from 5% to 10%. At this time, the load increase of the treadmill 30 may be relatively large, which is not conducive to the user's body function to adapt to such an adjustment. Moreover, the adjusted treadmill speed and / or slope may not match the user's actual athletic ability, resulting in some sports safety issues.

[0075] In addition, if the user's heart rate does not reach the lower limit of the target heart rate range during the warm-up phase, the mobile phone 10 may increase the user's current heart rate by controlling the treadmill 30 to continuously increase the load. For example, the mobile phone 10 may continuously send speed adjustment instructions to the treadmill 30 to increase the pace, or send slope adjustment instructions to increase the slope. This frequent adjustment of the speed and slope of the treadmill will also lead to a poor exercise experience for the user.

[0076] In order to solve the above problems, the present application provides a motion control method, which is applied to electronic equipment. Figure 3As shown, when the user's exercise needs are detected, the electronic device can generate a training plan that matches the user's athletic 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 athletic ability-related parameters determined according to the user's historical exercise records, such as the user's load bearing 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, for example, but are not limited to, the target distance, target duration, target heart rate and target heart rate interval, pace and speed change interval, matching slope, and matching resistance value parameters to be achieved in each stage. In this way, the training goals input by the user and the user's actual athletic 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 sports safety.

[0077] For example, user A has a strong running ability, while user B has a weak running ability. When user A and user B input the same training goal, the treadmill pace in the fast walking phase of the training plan generated for user A may be relatively high, while the treadmill pace in the slow walking phase of the training plan generated for user B may be relatively low.

[0078] Further, continue to refer to Figure 3 As shown, when 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 according to the real-time physiological data collected, such as the user's heart rate, the 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 sports equipment, etc. At the same time, during the user's exercise, when the electronic device detects that the real-time collected user heart rate is significantly different from the target heart rate matched to the stage, or the heart rate value deviates greatly from the target heart rate interval, it can also trigger the timely adjustment of the exercise control parameters configured for the current stage.

[0079] It can be understood that the training plan generated above can control the configuration parameters such as load and time of the corresponding sports equipment, and in the process of the user using the sports equipment, the real-time physiological data collected by the user can be compared with the parameters related to the user's athletic ability, and the training plan can be further optimized and adjusted. For example, in the training plan initially generated according to the user's athletic ability, the pace of the fast walking stage is 5km / h. However, in the process of the user exercising according to the training plan, it is detected that the real-time heart rate of the user in the slow walking stage before the fast walking stage is already high, indicating that the user's current physiological state may be slightly weaker than usual. At this time, the pace of the fast walking stage that is about to begin in the training plan can be adjusted to 4.5km / h. In this way, the motion control scheme provided by the present application can adaptively adjust the training plan that matches the user's athletic ability according to the changes in the user's athletic ability, and can dynamically adjust the training plan according to the user's actual physiological state during the user's exercise. Thereby, it is possible to control the safety of exercise according to the user's actual physiological state during the exercise process, and it is conducive to achieving better exercise effects.

[0080] In addition, the motion control method provided in the present 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 user experience is poor due to excessive adjustment or excessive adjustment amplitude.

[0081] Continue to refer to the above Figure 3 As shown, the above-mentioned sports ability related parameters can be provided by a trained ability model, and the ability model can be trained based on historical data such as physiological data and sports data in the user's historical sports records.

[0082] Each stage in the training plan generated above can also be marked with different training types for distinction. For example, different stages can be marked as "slow walking", "fast walking", "fast running" and other training types according to the corresponding pace and speed change interval. In other embodiments, each stage can also be marked as "low resistance", "medium resistance", "high resistance" and other training types according to the resistance parameters of the matching sports equipment, which is not limited here.

[0083] It can be understood that the motion control method provided in the embodiments of the present application can be applicable to electronic devices including but not limited to mobile phones, tablet computers, desktops, laptops, handheld computers, netbooks, and augmented reality (AR) and virtual reality (VR) devices, smart TVs, smart watches and other wearable devices, servers, mobile email devices, car equipment, 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.

[0084] For example, the wearable device in the embodiments of the present application may be a wired headset, a wireless headset (e.g., a TWS Bluetooth headset, a neck-hanging 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.

[0085] Figure 4 According to an embodiment of the present application, a structural schematic diagram of an electronic device 100 is shown.

[0086] 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.

[0087] It is to be understood that the structure illustrated in the embodiment 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 in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0088] 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 processor (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), etc. Different processing units may be independent devices or integrated into one or more processors.

[0089] 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.

[0090] In the embodiment of the present application, the processor 110 can generate an operation control signal through the controller to complete the above Figure 1 In the illustrated scenario, electronic devices such as mobile phone 10, watch 20 or treadmill 30 execute corresponding steps for implementing the motion control method provided in the present application. The specific implementation process can be referred to the detailed description in the following embodiments 1 and 2, which will not be described in detail here.

[0091] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0092] In some embodiments, the processor 110 may include one or more interfaces. The interface 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, etc.

[0093] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0094] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic 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 in the above embodiments, or a combination of multiple interface connection methods.

[0095] The charging management module 140 is used to receive charging input from the charger. The power management module 141 is used 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 screen 194, the camera 193, and the wireless communication module 160.

[0096] 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.

[0097] 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 the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0098] The mobile communication module 150 can provide wireless communication solutions including 2G / 3G / 4G / 5G etc. applied on the electronic device 100 .

[0099] The wireless communication module 160 can provide wireless communication solutions for application in 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.

[0100] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The above wireless communication technology 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, etc. The above-mentioned GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0101] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0102] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel.

[0103] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor. ISP is used to process the data fed back by camera 193. Camera 193 is used to capture static 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.

[0104] 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 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0105] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may 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 may 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.

[0106] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0107] 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 arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0108] The speaker 170A, also called a "horn", is used to convert audio electrical signals into sound signals.

[0109] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals.

[0110] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals.

[0111] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0112] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. 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 parallel plate including at least two conductive materials. When a 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 touch position 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.

[0113] 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., x, y, and z axes) can be determined by the gyroscope sensor 180B. In the embodiment of the present application, based on the judgment 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, such as recognizing whether the user is running, riding, etc.

[0114] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0115] The touch sensor 180K is also called a "touch device". The touch sensor 180K can be arranged on the display screen 194, and 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 pass 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 by the display screen 194. In other embodiments, the touch sensor 180K can also be arranged on the surface of the electronic device 100, which is different from the position of 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 the user's input operation 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 the user's operation on the sports function interface to start or end the exercise, as well as related operations on the functional interface such as heart rate detection based on the touch sensor 180K.

[0116] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0117] 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.

[0118] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0119] 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 the SIM card interface 195 or removing the SIM card from the SIM card interface 195 .

[0120] It can be understood that in the embodiment of the present application, the electronic device 100 may be, for example, the Figure 1 The scene shown is an electronic device such as a mobile phone 10 or a watch.

[0121] Figure 5 According to an embodiment of the present application, a schematic diagram of the hardware structure of a sports device is shown.

[0122] It is understood that the sports equipment can be a kind of intelligent sports equipment. The embodiment of the present application does not impose any restrictions on the specific type of sports equipment. The sports equipment can be the above-mentioned treadmill 30 or an elliptical machine, a spinning bike, a rowing machine, a climbing machine, etc. It is understood that when the sports equipment corresponds to different types of sports equipment, some hardware structures can be added or reduced.

[0123] like Figure 5 As shown, 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, and the like.

[0124] 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, which will not be repeated here.

[0125] The motor 204 can convert electric power 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.

[0126] The transmission device 205 is used to directly assist the user in exercising. For example, for a treadmill, the transmission device 205 may include a roller and a running belt. The roller may transmit the power of the motor to the running belt, which continuously transmits the power, and the user may run on the running belt. The user may adjust the transmission speed of the running belt, and thus adjust the running speed.

[0127] The following will be based on Figure 1 The scenes shown and Figure 4-5 The structure shown is combined with specific embodiments to introduce in detail the implementation process of the motion control solution provided by the embodiments of the present application in different motion scenarios.

[0128] The following first introduces the specific implementation process of the motion control solution provided by the present application in the running sports scene in conjunction with Example 1.

[0129] Example 1

[0130] The scenario described in the embodiment of this application is the above Figure 1 The running scene shown. It can be understood that referring to the above Figure 1 As shown, the running sports scene may include a mobile phone 10 , a watch 20 and a treadmill 30 .

[0131] Based on the above Figure 1 The scene shown, Figure 6 According to an embodiment of the present application, a schematic diagram of an implementation process of a motion control method is shown, wherein the implementation process is an interactive process implemented by the mobile phone 10, the watch 20 and the treadmill 30 as the execution subjects of each step.

[0132] 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 an order between the steps, the text description shall prevail.

[0133] like Figure 6 Specifically, the process includes the following steps:

[0134] 601: The mobile phone 10 establishes a running ability model of the user based on the historical exercise records of the user.

[0135] 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 the 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 by different types of sports in which the user participates and physiological data during the corresponding sports. In the 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.

[0136] It is understood that the physiological data included in the user's historical exercise records may include but are not limited to the user's gender, age (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 are not limited to distance, exercise duration, heart rate curve related data, heart rate fluctuation range, speed in each time period, calories consumed, movement frequency, and resistance change curve, etc.

[0137] It can be understood that the ability model constructed based on the above-mentioned historical exercise records may, for example, include the maximum value of the sports equipment load 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.

[0138] The specific process of constructing the user's running ability model based on the user's historical exercise records will be described in detail below and will not be elaborated here.

[0139] 602: The mobile phone 10 receives the training target set by the user.

[0140] For example, the user can set the training goal for this exercise, or select a training course of interest, etc., on the exercise control interface displayed on the mobile phone 10. The training course displayed on the mobile phone 10 may be a user-selectable training plan that is pre-installed in an application such as a sports health APP and has set corresponding training goals.

[0141] If the user selects an existing training course, the mobile phone 10 can obtain the default motion control parameters of each stage in 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.

[0142] As an example, Figure 7a to Figure 7b A schematic diagram of the process of opening a motion control interface and setting a training goal is shown.

[0143] in, Figure 7a A schematic diagram of a health interface when a sports health APP is opened is shown.

[0144] like Figure 7a As shown, after the mobile phone 10 runs the sports health APP in response to the user's operation, the health interface 710 may be displayed. The sports record card 711 on the health interface 710 may display the most recent sports record, for example, the recorded training course is "heart rate controlled running", and the recorded "time 30:02" indicates that the exercise duration is 30'02". The sports record may also include the calories consumed by the user to complete the corresponding sports course, for example Figure 7a "Consumption of 550 kcal" is shown.

[0145] The lower end of the health interface 710 also displays an interface switching control, such as Figure 7a When the mobile phone 10 detects that the user clicks the motion control 712, it can display Figure 7b Motion control interface 720 is shown.

[0146] refer to Figure 7b As shown, the user can set the 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 the distance goal, time goal, 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 the setting of the above-mentioned distance goals or time goals.

[0147] After completing the setting of the goal, the user can click the start control 723. The mobile phone 10 can then continue to execute the following steps 603 to 604 to generate a training course that is suitable for the set goal based on the training goal set by the user. Before the training starts, 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 that he wants to listen to during exercise.

[0148] Continue to refer Figure 7b As shown, the user can also select a training course displayed on the motion control interface 720, such as Figure 7b At this time, the mobile phone 10 can obtain the motion control parameters of each stage in one or more preset training plans corresponding to the course 726 as initial parameters, and complete the adjustment of the initial parameters after executing the following steps 603 to 604. The one or more preset training plans corresponding to the "heart rate controlled speed running" course 726 will be introduced in the corresponding steps below in conjunction with the accompanying drawings, and will not be repeated here.

[0149] It is understood that in other embodiments, the interface for the mobile phone 10 to receive the training goal set by the user may also be different from the above-mentioned interface. Figure 7a and Figure 7b As shown in other interfaces, the mobile phone 10 may also receive the training goals set by the user in other ways, such as receiving the training goals input by the user through the watch 20, etc. This application does not limit this.

[0150] 603: The mobile phone 10 obtains running ability related parameters provided by the running ability model.

[0151] Exemplarily, 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 that are 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 has opened the sports health APP, and there is no limitation here.

[0152] 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, which is not limited here.

[0153] 604: The mobile phone 10 generates a training plan that matches the user's running ability.

[0154] For example, the mobile phone 10 can generate a training plan that matches the running ability of the user according to the training goal set by the user and the running ability related parameters provided by the running ability model of the user. The training plan can include motion control parameters of multiple stages.

[0155] As an example, referring to Table 1 below, the above training plan may include training objectives / training courses, action stages 1-N, and motion control parameters corresponding to each stage, etc.

[0156] Table 1

[0157]

[0158] In the embodiment of the present application, the training control parameters of 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, target slope, etc. The values ​​of the above parameters can refer to the specific examples in Table 1. Among them, the target heart rate fluctuation range can also be described as a target heart rate interval in other embodiments, and the target speed fluctuation range can also be described as a speed change interval in other embodiments.

[0159] In the training plan generated above, the method of determining the motion control parameters of each stage based on the training goals set by the user and the parameters related to the user's running ability will be described in detail below and will not be elaborated here.

[0160] It is understandable that the target speed and fluctuation range and the 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 the following step 605, so as to set the treadmill load.

[0161] Figure 8a to Figure 8b According to the embodiments of the present application, schematic diagrams of interfaces corresponding to some training plans are shown.

[0162] in, Figure 8a A training course list interface 810 is shown. Figure 8a As shown, the course list interface 810 displays multiple courses related to "heart rate controlled running", including a "basic introduction" course 811, a "fat burning" course 812, and a "endurance improvement" course 813. It can be understood that these courses can be named according to different training goals, and other naming methods can also be used in other embodiments.

[0163] refer to Figure 8a The “operation ①” shown in the figure, 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 Figure 8b Training plan interface 820 is shown.

[0164] refer to Figure 8b As shown, 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".

[0165] It is understandable that the above Figure 8b The multiple action phases and motion control parameters of each phase of the training plan shown can be matched with the actual athletic ability of the user. For different users, the action phases included in the corresponding training plan may be different, and the motion control parameters of each phase may also be different. In other embodiments, the interface for displaying the above training courses and training plans may also adopt the same interface as the above Figure 8a , Figure 8b There are no restrictions on different interface styles.

[0166] 605 : The mobile phone 10 sends the motion control parameters of each stage in the training plan to the treadmill 30 .

[0167] Exemplarily, based on the generated training plan, the mobile phone 10 can send the motion control parameters corresponding to each action stage included in the training plan to the treadmill 30. It can be 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 range of variation, target slope and other parameters, and can also include target time or target distance of the corresponding stage.

[0168] 606: The treadmill 30 sets the load according to the received motion control parameters.

[0169] Exemplarily, the treadmill 30 sets the corresponding load according to the received motion control parameters. For example, the treadmill 30 can set the pace according to the received target speed and variation range, and set the slope according to the received target slope.

[0170] It is understandable that for different types of sports equipment, the loads set based on the corresponding sports control parameters will also be different. For example, for a spinning bike, parameters such as riding resistance value can be set. For details, please refer to the relevant description in the following embodiment 2, which will not be repeated here.

[0171] 607: The watch 20 collects real-time physiological data and real-time exercise data of the user during exercise.

[0172] For example, when the user exercises according to the above training plan, the watch 20 or other wearable device worn by the user can collect the user's real-time physiological data. The real-time physiological data can be, for example, real-time heart rate. In other embodiments, the real-time physiological data can also be parameters such as maximum oxygen uptake during the corresponding exercise, which is not limited here.

[0173] It is understood that the watch 20 can receive a trigger signal of the user starting to exercise 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 the user's operation such as clicking to start exercise on the watch interface.

[0174] 608 : The watch 20 sends the collected real-time physiological data and real-time motion data to the mobile phone 10 .

[0175] For example, the real-time physiological data collected by the watch 20 can be sent to the mobile phone 10 in real time based on the communication connection established between the watch 20 and the mobile phone 10. Then, the mobile phone 10 can perform the adjustment process of the following steps 609 to 616 based on the received real-time physiological data and real-time motion data. For details, please refer to the relevant descriptions in the corresponding steps below, which will not be repeated here.

[0176] 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 the first threshold.

[0177] Exemplarily, 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, the real-time motion data is the real-time speed of the user. 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.

[0178] Then, the mobile phone 10 can compare the absolute value of the difference calculated above with the corresponding preset difference threshold to determine whether the user's real-time speed has a large deviation. In this step 609, the mobile phone 10 can compare the absolute value of the difference calculated above 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 perform the following step 610 to determine whether the difference between the real-time speed and the target speed interval of the corresponding stage is large, and then make corresponding adjustments to the training plan.

[0179] 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.

[0180] 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 following adjustment process of steps 614 to 616;

[0181] 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.

[0182] Exemplarily, the mobile phone 10 may compare the absolute value of the difference calculated in step 609 with a preset larger second threshold.

[0183] 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.

[0184] Exemplarily, when the mobile phone 10 performs the above steps 609 to 610 to determine that the difference between the real-time physiological data and the corresponding interval of the motion control parameters of the current stage is small, it can only adjust the motion control parameters of the next stage in the current training plan.

[0185] 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 elaborated here.

[0186] 612 : The mobile phone 10 sends the adjusted motion control parameters for the next stage to the treadmill 30 .

[0187] Exemplarily, 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 .

[0188] 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.

[0189] 613: The treadmill 30 adjusts the load of the next stage according to the adjusted motion control parameters.

[0190] 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.

[0191] 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.

[0192] Exemplarily, 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.

[0193] 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 elaborated here.

[0194] 615 : The mobile phone 10 sends the adjusted motion control parameters to the treadmill 30 .

[0195] Exemplarily, the treadmill 30 can adjust the corresponding load according to the parameters related to the load in the received motion control parameters. Among them, the motion control parameters received by the treadmill 30 at this time include the adjusted motion control parameters of the current stage and the next stage. It can be understood that in the current stage of the user's exercise, only when the user's real-time heart rate and other physiological parameters seriously deviate from the safe heart rate range corresponding to the target heart rate interval, timely adjustment is required to ensure the user's exercise safety.

[0196] 616: The treadmill 30 adjusts the loads of the current stage and the next stage according to the adjusted motion control parameters.

[0197] Exemplarily, 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.

[0198] It can be understood that in the above steps 613 and 616, the process of the treadmill 30 adjusting the corresponding load according to the adjusted corresponding stage motion control parameters can also be adjusted 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 can be avoided that the user's discomfort caused by large or frequent load adjustments during the user's exercise can be avoided.

[0199] The following will take the exercise performed by the user on the treadmill 30 as an example to specifically introduce the detailed process of constructing the user's ability model according to the user's historical exercise record involved in the execution of the above step 601. In the embodiment of the present application, the user's ability model can be, for example, a running ability model for measuring the user's running ability.

[0200] Fig. 9 According to an embodiment of the present application, a schematic diagram of an implementation process of training a user's running ability model is shown. It can be understood that Fig. 9 The execution subject of each step of the process shown can be a mobile terminal device installed with a sports health APP or other application, such as the mobile phone 10 of the embodiment of the present application. When introducing the content of each step below, the execution subject of each step will not be repeated.

[0201] 901: Extracting historical physiological data of the user according to the historical exercise records of the user.

[0202] 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.

[0203] It is understandable that the user's historical physiological data will usually remain stable for a certain period of time and will not change significantly. However, as the user ages and whether the user's exercise habits can be maintained, some changes will occur, and these changes can often reflect changes in the user's physical fitness. Therefore, the historical exercise records based on which the historical physiological data is extracted can be within the past six months, the past three months, or the past month, and the extraction results are usually more accurate.

[0204] 902: Extracting historical exercise data of the user according to the historical exercise record of the user.

[0205] Exemplarily, 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.

[0206] In some embodiments, the historical motion data extracted based on 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 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, so as to improve the matching degree between the running ability model finally constructed and the user's current actual running ability.

[0207] 903: Construct a running ability model of the user according to the historical physiological data and / or historical motion data of the user.

[0208] 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 duration / 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):

[0209] V=A*(Time / Cal / Dis)+B*(Speed)+C*(Incline)+D*HR+P (1)

[0210] Among them, V represents the user's running ability; Time / Cal / Dis represent exercise duration / calorie consumption / distance respectively, which are usually the corresponding parameter values ​​entered by the user to achieve the purpose of exercise; Speed ​​represents speed; Incline represents slope; HR represents the user's real-time heart rate. Among them, 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 athletic ability based on the maximum oxygen uptake data in the user's historical physiological data. The athletic ability is the user's running ability in the embodiment of the present application. The specific calculation formula for calculating the user's running ability through the maximum oxygen uptake can refer to the following formula (2):

[0212] V=Vo2Max–Z (2)

[0213] Wherein, Vo2Max represents the maximum oxygen uptake of the user, which can be the average value, mode value or maximum value of the maximum oxygen uptake in the user's historical physiological data, etc., and is not limited here. Z is a constant, which represents the difference between the maximum oxygen uptake and the running ability value.

[0214] 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 through the user's body mass index (BMI). The specific calculation formula for calculating the user's running ability through the body mass index can refer to the following formula (3):

[0215] V=BMI+Q (3)

[0216] 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.

[0217] 904: Determine a maximum speed range that the user can withstand according to the user's running ability model.

[0218] For example, based on the running ability model constructed in step 903 and the corresponding training running ability value, with reference to formula (1), it is possible to deduce 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.

[0219] Furthermore, based on the inferred speed distribution range and slope distribution range, the corresponding maximum speed range can be calculated.

[0220] The maximum speed range can be calculated and determined by the following formula (4):

[0221] Speed_max_pct=Speed / Speed_max (4)

[0222] The speed interval end value that matches the user's running ability can be calculated and determined by the following formula (5):

[0223] Speed_pct=(Speedmax_pct-G) / H (5)

[0224] Among them, Speed ​​max_pct represents the maximum speed range; G and H are constants measured experimentally.

[0225] 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 parameters related to the user's running ability involved in the content executed in the above step 604.

[0226] Table 2

[0227]

[0228] In the above Table 2, the calculation formula of the minimum heart rate HR0 can refer to the following formula (6):

[0229] HR0=rest_HR+(max_HR-rest_HR)*HR_pct_scope_low (6)

[0230] Among them, rest_HR represents the resting heart rate; max_HR represents the maximum heart rate; HR_pct_scope_low represents the minimum value in the corresponding heart rate difference ratio interval. The heart rate difference ratio interval represented by HR_pct_scope is an experimental value or training experience value. For example, when HR_pct_scope is [0.8,0.85], HR_pct_scope_low is 0.8.

[0231] The calculation formula of the maximum heart rate HR1 can refer to the following formula (7):

[0232] HR1=rest_HR+(max_HR-rest_HR)*HR_pct_scope_high (7)

[0233] Among them, HR_pct_scope_high represents the maximum value in the corresponding heart rate difference ratio interval.

[0234] It can be understood that the target heart rate range (Target HR Scope) can usually be [HR0, HR1].

[0235] If HR1-HR0>K (corresponding to a heart rate fluctuation range that is too large) or HR1-HR0<L (corresponding to a fluctuation range that is too small), the target heart rate range (Target HR Scope) can be: [(HR0+HR1) / 2–10, (HR0+HR1) / 2+10].

[0236] In addition, in the above Table 2, the calculation formula of the target speed (TS) can refer to the following formula (8):

[0237] TS=b+w1*(HR_pct) 2 +w2*x+w3*(Vdot) 2 +…*(Vdot) 2 +wN*(HR_pct) 2 *Vdot (8)

[0238] Among them, w1, w2, w3…wN are specific gravity coefficients.

[0239] The calculation formula of the minimum speed value (TS0) in [TS0, TS1] corresponding to the above speed range (Target speed scope) can refer to the following formula (9):

[0240] TS0=b+w1*(HR_pct–L) 2 +w2*x+w3*(Vdot) 2 +…*(Vdot)2 +wN*(HR_pct–L) 2 *Vdot(9)

[0241] The calculation formula of the maximum speed (TS1) can refer to the following formula (10):

[0242] TS1=b+w1*(HR_pct+w) 2 +w2*x+w3*(Vdot) 2 +…*(Vdot) 2 +wN*(HR_pct+w) 2 *Vdot(10)

[0243] 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.

[0244] The target incline can be determined by referring to the relevant calculation method in the prior art, which will not be elaborated here.

[0245] The specific process of adjusting the motion control parameters of the corresponding stages in the training plan according to the real-time physiological parameters involved in the above steps 609 to 616 will be described in detail below.

[0246] 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 usually at the following two places:

[0247] The first adjustment opportunity: when switching between adjacent action phases in the training plan.

[0248] The second adjustment opportunity: During the same action phase, when the user's heart rate zone is significantly different from the target heart rate zone, the training load needs to be adjusted in real time.

[0249] Therefore, when the mobile phone 10 detects that the user's real-time heart rate deviates from the target heart rate interval 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.

[0250] It can be understood that when the exercise stage is about to be switched, if the current speed is greatly different from the target speed of the next stage, in order to avoid the user discomfort caused by a large adjustment of the speed, the current speed can be controlled to 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 of the preset segmented adjustment of the current load (such as the current speed) to the target load (such as the target speed) is 20%, and the total time of the segmented load adjustment can be controlled not to exceed 20% of the total time of the corresponding action stage.

[0251] 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 controlled to be smaller than the adjustment amplitude during reduced load.

[0252] Fig.10 According to an embodiment of the present application, a schematic diagram of an implementation process of adjusting a treadmill load according to collected real-time motion data is shown.

[0253] It can be understood that in the embodiments of the present application, Fig.10 The execution subject of each step of the adjustment process shown can be the mobile phone 10. That is, the mobile phone 10 can adjust the load of the treadmill 30 according to the collected real-time motion data. Fig.10 When explaining each step of the adjustment process, the load to be adjusted is speed as an example.

[0254] Specifically, the process includes the following steps:

[0255] 1001: Determine the current speed of the treadmill and the target speed for the next phase of the current training program.

[0256] 1002: Determine whether the current speed is less than the target speed.

[0257] 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;

[0258] 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.

[0259] 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 is maintained at the current speed or the target speed.

[0260] 1003: Calculate a first speed difference between the target speed and the current speed.

[0261] 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.

[0262] Exemplarily, the preset speed difference interval may be, for example, [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 according to the comparison result may include the following situations:

[0263] (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.

[0264] (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.

[0265] (c) When the first speed difference is ≥ n, the segmented adjustment strategy for the load of the corresponding sports equipment can be determined by judging whether the real-time heart rate collected is within the heart rate range of the corresponding stage, for example, the dynamic speed adjustment algorithm is used to adjust the speed of the treadmill. The dynamic speed adjustment algorithm executed according to the real-time heart rate collected will be described in detail below and will not be described here.

[0266] 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.

[0267] 1005: Calculate a second speed difference between the current speed and the target speed.

[0268] 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.

[0269] 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. At this time, a preset larger speed difference threshold, such as the third threshold, can be used to control whether to perform segmented adjustment. The specific adjustment process may include the following situations:

[0270] ① When the second speed difference ≤ k, reduce the current speed to the target speed, that is, reduce the load to the target load.

[0271] ② When the second speed difference is greater than k, the segmented adjustment strategy for the corresponding sports equipment load can be determined by judging whether the real-time heart rate collected is within the target heart rate range of the corresponding stage, such as using a dynamic speed adjustment algorithm to adjust the speed of the treadmill. The dynamic speed adjustment algorithm executed according to the real-time heart rate collected will be described in detail below and will not be elaborated here.

[0272] As an example, the preset third threshold k can be preset to a speed difference of 3 km / h or the like, which is not limited here. It can be understood that in some embodiments, the third threshold can be greater than the second threshold. In other embodiments, the third threshold can also be equal to the second threshold, which is not limited here.

[0273] The following is a detailed introduction to the specific implementation process of the dynamic speed regulation algorithm executed according to the collected real-time heart rate.

[0274] As described above, during the user's exercise, if the target speed of the next action stage that the user is about to perform is significantly higher than the current speed, such as the case (c) where the first speed difference is greater than 2.5 in the above step 1004, or the case ② where the second speed difference is greater than 3 in the above step 1006, in order to avoid discomfort to the user due to a large adjustment at one time, the load can be adjusted in sections. For example, the load of the sports equipment can be dynamically adjusted by monitoring the user's real-time heart rate. It can be understood that the above current speed is the pace currently used by the user on the treadmill 30, and is also the running speed of the user in the current action stage.

[0275] 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 interval corresponding to the corresponding action stage. As an example, the strategy may include the following two:

[0276] Strategy ①: Dynamic heart rate adjustment strategy, that is, judging 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. In addition, this strategy ① can also determine the load size that needs to be increased or decreased based on the difference between the upper and lower limits of the real-time heart rate.

[0277] 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 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 the first preset proportion threshold (or called the normal proportion), or by judging whether the proportion of invalid data is less than the second preset proportion threshold (or called the abnormal proportion). There is no restriction here.

[0278] As an example, Fig.11 According to an embodiment of the present application, a schematic diagram of an implementation process of adjusting a treadmill load according to real-time heart rate is shown.

[0279] It can be understood that in the embodiments of the present application, Fig.11 The execution subject of each step of the adjustment process shown can be the mobile phone 10. That is, the mobile phone 10 can adjust the load of the treadmill 30 according to the collected real-time motion data and physiological data. Fig.11 When illustrating the steps of the adjustment process, the corresponding load to be adjusted is speed / slope as an example.

[0280] like Fig.11 As shown, the process includes the following steps:

[0281] 1101: Obtain the real-time heart rate data collected at each sampling time in the current stage.

[0282] 1102: Determine whether the proportion of invalid data in the collected real-time heart rate data is greater than a preset abnormal proportion.

[0283] If the judgment result is yes, it indicates that there are many invalid data in the real-time heart rate data collected, and it cannot be used to determine whether to adjust the load. At this time, the following step 1106 can be executed without adjusting the training plan. At the same time, a prompt message can also be displayed on the corresponding interface of the mobile phone 10, such as a message such as "Your valid heart rate cannot be collected at present, please confirm whether the wearable device is worn normally".

[0284] If the result of the judgment is no, it indicates that the effective data of the real-time heart rate data collected is sufficient to adjust the load. At this time, the following step 1103 can be continued to further judge whether the real-time heart rate collected is within the target heart rate range.

[0285] 1103: Determine whether the real-time heart rate average value of the current stage is within the target heart rate range.

[0286] 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, there is no need to adjust the control parameters of the corresponding sports equipment load in the training plan, and the following step 1106 can be executed.

[0287] 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 at 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 with the upper and lower limits of the target heart rate range.

[0288] Exemplarily, the target heart rate interval may be a recommended heart rate range corresponding to the current stage. As an example, the target heart rate interval may be, for example, [70, 210), that is, 70≤HRavg (real-time heart rate average)<210. Then, when the calculated real-time heart rate average is within [70, 210), the judgment result is yes; otherwise, the judgment result is no.

[0289] 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.

[0290] As an example, Fig.12 According to an embodiment of the present application, a schematic diagram of a sports interface corresponding to the display during the user's exercise process is shown.

[0291] like Fig.12 As shown, the sports interface 1201 displayed by the mobile phone 10 may display information such as 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. Among them, the recommended heart rate is, for example, the target heart rate interval corresponding to the current stage. The sports interface 1201 may also display a curve 1205 of the user's real-time heart rate changing over time, which may be referred to as a heart rate curve in the embodiment of the present application.

[0292] Therefore, the real-time heart rate average value in the current stage to be calculated can be obtained by calculating the average value of the real-time heart rate data collected during the exercise time that the user has performed in the current stage, for example Fig.12 The heart rate curve 1205 shown is an average value of the real-time heart rate data collected at each time within 3 minutes. Fig.12 The exercise interface shown can also display the real-time heart rate average value calculated in real time, which is not limited here.

[0293] 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 according to the lower limit.

[0294] Exemplarily, for the aforementioned example, if the real-time heart rate average value of the current stage calculated above falls outside the target heart rate interval and HR < 70 beats / minute, the target load for the next stage can be calculated according to the target heart rate = 70 beats / minute. The target load in the embodiment of the present application 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 according to the upper limit value of the target heart rate interval may be higher than the target load originally designed for this stage, which is not limited here.

[0295] It can be understood that during the acceleration process, the calculation method of the target speed and speed duration of the next stage can be realized by the following relations (11) and (12):

[0296] The target speed of the next stage TS = the larger integer (constant 5*current speed+constant 6*target speed+constant 7,1) (11)

[0297] 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)

[0298] 1105: Determine whether the real-time heart rate average value is greater than an upper limit of the target heart rate range, and calculate the target load for the next stage according to the upper limit.

[0299] Exemplarily, for the aforementioned example, if the real-time heart rate average value of the current stage calculated above falls outside the target heart rate interval and HR>210 beats / minute, the target load of the next stage can be calculated according to the target heart rate = 210. The target load in the embodiment of the present application 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 deceleration. In some embodiments, the target load calculated according to the lower limit value of the target heart rate interval may be lower than the target load originally designed for this stage, and there is no limitation here.

[0300] It can be understood that during the deceleration process, the calculation method of the target speed and speed duration of the next stage can be realized by the following relations (13) and (14):

[0301] The target speed of the next stage TS = the larger integer (constant 8 * current speed + constant 9 * target speed + constant 10), 1) (13)

[0303] Duration = minimum rounding (constant 11 * current speed + constant 12 * target speed + constant 13 * current speed squared + constant 14 * target speed squared + constant, 0) (14)

[0304] 1106: No need to adjust training plan.

[0305] 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.

[0306] 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.

[0307] Strategy ②: Static heart rate adjustment strategy, that is, adjusting 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 elaborated here.

[0308] The advantage of this strategy ② is that it does not require the user to wear a watch throughout the entire process, as the user's running ability model has been established. In addition, the load increase and decrease is more certain, and the user experience will not be affected by the frequent increase and decrease of load in segments.

[0309] In conjunction with another embodiment 2, the specific implementation process of the motion control solution provided by the present application in a cycling sports scene is introduced below.

[0310] Example 2

[0311] Fig.13 According to an embodiment of the present application, a schematic diagram of a cycling sports scene is shown.

[0312] like Fig.13 As shown, the scene may include a mobile phone 10, a watch 20 and a spinning bike 40, which are connected to each other in communication. The spinning bike 40 is a resistance type exercise device. In other embodiments, Fig.13 The sports equipment in the scene shown may also be other speed-type sports equipment, such as an elliptical machine, etc., which is not limited here.

[0313] Fig.14 According to an embodiment of the present application, another implementation flow diagram of a motion control method is shown, wherein the implementation flow is an interactive flow implemented by the mobile phone 10, the watch 20 and the spinning bike 40 as the execution subjects of each step.

[0314] 1401: The mobile phone 10 establishes a cycling ability model of the user based on the historical exercise records of the user.

[0315] Exemplarily, the process of establishing the ability model based on the user's historical exercise records by the mobile phone 10 can refer to the relevant description in step 601 in the above embodiment 1. Different from the execution content of step 601 in the above embodiment 1, the ability model established in the embodiment of the present application is a cycling ability model.

[0316] The specific process of establishing the cycling ability model can refer to the above embodiment 1. Fig. 9 The process and related descriptions shown are not 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 duration / 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):

[0317] Q=A*(Time / Cal / Dis)+B*(Power)+C*(Incline)+D*HR+P (15)

[0318] Among them, Q represents the user's cycling ability; Time / Cal / Dis represent exercise time / calorie consumption / distance respectively, which are usually the corresponding parameter values ​​entered by the user to achieve the purpose of exercise; Power represents power; Incline represents slope; HR represents the user's real-time heart rate. Among them, A, B, C, and D are the coefficients of the corresponding physiological parameters, and P is the cycling ability correction value.

[0319] 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 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 cycling ability. The specific calculation formula for calculating the user's cycling ability through the maximum oxygen uptake can refer to the following formula (16):

[0320] Q=Vo2max*Weight*q(coefficient) (16)

[0321] Among them, Vo2Max represents the maximum oxygen uptake of the user, which can be the average value, mode value or maximum value of the maximum oxygen uptake in the user's historical physiological data, etc., and is not limited here. Weight represents the user's weight; q represents the weight coefficient.

[0322] When the amount of data corresponding to the above historical exercise data is insufficient and the maximum oxygen uptake data is also missing, the user's cycling ability Q can take a constant, which is a constant determined by experimental data statistics, such as Q=1.1, etc. No limitation is made here.

[0323] 1402: The mobile phone 10 receives the training goal set by the user.

[0324] For example, the user can set a training goal on the relevant motion control interface displayed on the mobile phone 10. Different from the content executed in step 602 of the above embodiment 1, in the embodiment of the present application, the training goal set by the user can be a distance goal, a time goal, a calorie consumption goal, etc. For the specific interface and operation method of setting the training goal, please refer to the relevant description in step 602 of the above embodiment 1 and the relevant interface example, which will not be repeated here.

[0325] 1403: The mobile phone 10 obtains cycling ability related parameters provided by the cycling ability model.

[0326] Different from the content executed in step 603 of the above embodiment 1, in the embodiment of the present application, the mobile phone 10 obtains the 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 the user's comprehensive sports ability model, which is not limited here.

[0327] 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.

[0328] 1404: The mobile phone 10 generates a training plan that matches the user's cycling ability.

[0329] For example, the mobile phone 10 can generate a training plan that matches the user's cycling ability based on the training goal set by the user and the cycling ability related parameters provided by the cycling ability model of the user. The training plan may include motion control parameters of multiple stages, wherein the motion control parameters of each stage are related parameters that match the user's cycling ability.

[0330] As an example, referring to Table 3 below, the above training plan may include training objectives / training courses, action stages 1-N, and motion control parameters corresponding to each stage, etc.

[0331] Table 3

[0332]

[0333] 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 maximum heart rate HR1 can refer to the above formula (7).

[0334] In addition, in the above Table 3, the calculation formula of the target power (TP) can refer to the following formula (17):

[0335] TP=b+w1*(HR_pct) 2 +w2*x+w3*(Vdot) 2 +…*(Vdot) 2 +wN*(HR_pct) 2 *Vdot (17)

[0336] Among them, w1, w2, w3…wN are specific gravity coefficients.

[0337] The calculation formula of the minimum power value (TP0) in [TP0, TP1] corresponding to the above power range (target power scope) can refer to the following formula (18):

[0338] TP0=b+w1*(HR_pct–L) 2 +w2*x+w3*(Vdot) 2 +…*(Vdot) 2 +wN*(HR_pct–L) 2 *Vdot (18)

[0340] The calculation formula of the maximum power (TP1) can refer to the following formula (19):

[0341] TP1=b+w1*(HR_pct+w) 2 +w2*x+w3*(Vdot) 2 +…*(Vdot) 2 +wN*(HR_pct+w) 2 *Vdot (19)

[0343] In other embodiments, the target heart rate and fluctuation range, target power and fluctuation range and other related parameters corresponding to each stage in the above Table 3 can also be calculated using other calculation methods, and this application does not limit this.

[0344] 1405 : The mobile phone 10 sends the motion control parameters of each stage in the training plan to the spinning bike 40 .

[0345] 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 riding ability-related parameters and are sent to the spinning bike 40 .

[0346] 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 elaborated here.

[0347] 1406: The spinning bike 40 sets the load according to the received motion control parameters.

[0348] What is different from the content executed in step 606 of the above embodiment 1 is that the sports equipment for setting the load in the embodiment of the present application 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.

[0349] The power of the spinning bike P=RPM (user's riding speed)*R (resistance gear)*n (fixed coefficient of the bike resistance system). In other embodiments, the power of the bike can also be calculated by other methods, which are not limited here.

[0350] The specific process of the spinning bike 40 setting the load according to the received motion control parameters can refer to the relevant description of the process of the treadmill 30 setting the load in step 606 of the above embodiment 1, which will not be described in detail here.

[0351] 1407: The watch 20 collects real-time physiological data and real-time exercise data of the user during exercise.

[0352] 1408 : The watch 20 sends the collected real-time physiological data and real-time motion data to the mobile phone 10 .

[0353] 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 in steps 607 to 608 in the above embodiment 1, which will not be repeated here.

[0354] 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.

[0355] 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.

[0356] 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.

[0357] 1412: The mobile phone 10 sends the adjusted motion control parameters for the next stage to the spinning bike 40.

[0358] 1413: The spinning bike 40 adjusts the load of the next stage according to the adjusted motion control parameters.

[0359] 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.

[0360] 1415 : The mobile phone 10 sends the adjusted motion control parameters to the spinning bike 40 .

[0361] 1416: The spinning bike 40 adjusts the loads of the current stage and the next stage according to the adjusted motion control parameters.

[0362] What is different from the contents executed in steps 609 to 616 of the above-mentioned embodiment 1 is that in the embodiment of the present application, the object sports equipment for adjusting the load is the spinning bike 40, and before determining whether it is necessary to adjust the load according to the 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 spinning bike 40 and the target power is greater than the corresponding threshold, such as the above-mentioned fourth threshold, fifth threshold, etc.

[0363] 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 description of steps 611 to 616 in the above embodiment 1 and the above embodiment 1. Fig.11 The steps and related descriptions of the process shown will not be repeated here.

[0364] Since spinning bikes are usually not powered, the actual pedaling experience is generally affected by changes in resistance. Active pedaling generates power, and spinning bikes can accept larger changes in resistance. Based on the above relationship: the power of a spinning bike P = RPM (user riding speed) * R (resistance gear) * n (fixed coefficient of the bike's resistance system), the above resistance changes can be converted into the power load of a spinning bike.

[0365] Combine the following Fig.15 The implementation process of adjusting the load of a spinning bike according to the collected real-time motion data in the embodiment of the present application is specifically introduced.

[0366] Fig.15 According to an embodiment of the present application, a schematic diagram of an implementation process of adjusting the load of a spinning bike according to collected real-time motion data is shown.

[0367] It can be understood that in the embodiments of the present application, Fig.15 The execution subject of each step of the adjustment process shown can be the mobile phone 10. That is, the mobile phone 10 can adjust the load of the spinning bike 40 according to the collected real-time motion data. Fig.15 When illustrating each step of the adjustment process, the corresponding load to be adjusted is power as an example.

[0368] Specifically, the process includes the following steps:

[0369] 1501: Determine the current power of the spinning bike and the target power for the next phase of the current training plan.

[0370] 1502: Determine whether the current power is equal to the target power.

[0371] If yes, it indicates that the current power is equal to the target power. At this time, the following step 1505 may be executed. The load of the spinning bike may not be adjusted. Neither the power load of the current stage nor the power load of the next stage may be adjusted. No restriction is made here.

[0372] 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.

[0373] 1503: Calculate the power difference between the target power and the current power and take the absolute value.

[0374] 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.

[0375] Exemplarily, the preset power difference interval may be, for example, [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 between the absolute value of the power difference and the preset power difference interval and the adjustment strategy determined according to the comparison result may include the following situations:

[0376] (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.

[0377] (b) When i≤absolute value of power difference<j, the current power can be maintained for a second preset time period, wherein the second preset time period can be greater than the first preset time period.

[0378] (c) When the absolute value of the power difference is ≥ j, the segmented adjustment strategy for the load of the corresponding sports equipment can be determined by judging whether the real-time heart rate collected is within the heart rate interval of the corresponding stage, for example, the power of the spinning bike is adjusted by using a dynamic speed adjustment algorithm. In some embodiments, when the absolute value of the power difference is ≥ j, the current power can also be maintained for a third preset time.

[0379] As an example, the lower limit value i of the above-mentioned preset power difference interval may correspond to the fourth threshold value in the above-mentioned step 1409, for example, it may be preset to a power difference value such as 20 Hz. The above-mentioned first preset duration may be, for example, a duration of 30 s. The upper limit value j of the above-mentioned preset power difference interval may correspond to the fifth threshold value in the above-mentioned step 1410, for example, it may be preset to a power difference value such as 35 Hz. The above-mentioned second preset duration may be, for example, a duration of 45 s, and the above-mentioned third preset duration may be, for example, a duration of 60 s.

[0380] Combine the following Fig.16The execution process of the above-mentioned dynamic speed regulation algorithm executed according to the collected real-time heart rate is further introduced.

[0381] Fig.16 According to an embodiment of the present application, a schematic diagram of an implementation process of adjusting the load of a spinning bike according to real-time heart rate is shown.

[0382] It can be understood that in the embodiments of the present application, Fig.16 The execution subject of each step of the adjustment process shown can be the mobile phone 10. That is, the mobile phone 10 can adjust the load of the spinning bike 40 according to the collected real-time motion data and physiological data. Fig.16 When illustrating the steps of the adjustment process, the load to be adjusted is the power of a spinning bike as an example.

[0383] Specifically, the process includes the following steps:

[0384] 1601: Obtain the real-time heart rate data collected at each sampling time in the current stage.

[0385] 1602: Determine whether the proportion of invalid data in the collected real-time heart rate data is greater than a preset abnormal proportion.

[0386] If the judgment result is yes, it indicates that there are many invalid data in the collected real-time heart rate data, and the following step 1606 can be executed without adjusting the training plan.

[0387] If the result of the judgment is no, it indicates that the effective data of the real-time heart rate data collected is sufficient to adjust the load. At this time, the following step 1603 can be continued to be performed to further judge whether the real-time heart rate collected is within the target heart rate range.

[0388] 1603: Determine whether the real-time heart rate average value of the current stage is within the target heart rate range.

[0389] 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.

[0390] 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 at the current stage, and it is necessary to execute the following steps 1604 to 1605 to adjust the load of the corresponding sports equipment.

[0391] The execution contents of the above steps 1601 to 1603 are the same as the execution contents of steps 1101 to 1103 in the above embodiment 1. The specific execution process can refer to the relevant descriptions in the above steps 1101 to 1103, which will not be repeated here.

[0392] 1604: Determine that 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 according to the difference between the lower limit and the real-time heart rate average value.

[0393] Exemplarily, 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 < 70 beats / minute, the target load of the next stage can be calculated based on the difference calculated by 70-HR. The target load in the embodiment of the present application 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.

[0394] As an example, the specific calculation of the change in target power in the next stage can be calculated by the following formula (20):

[0395] changePower0=min(50,diffHR*Q) (20)

[0396] Among them, changePower0 represents the change in target power; diffHR represents the difference between the lower limit of the target heart rate interval and the real-time heart rate average value, such as (70-HR); Q represents the user's cycling ability, which can be calculated by 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 (such as 50 or other values), the heart rate difference and the cycling ability as the change in the target power increase for the next stage, that is, the target power for the next stage is adjusted to increase by the above changePower0 as the adjusted target power.

[0397] 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 according to the difference between the real-time heart rate average value and the upper limit.

[0398] Exemplarily, 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>210 beats / minute, the target load of the next stage can be calculated based on the difference calculated by HR-210. The target load in the embodiment of the present application can be the target power and the power maintenance duration. 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 reducing the power and / or shortening the corresponding power duration.

[0399] As an example, the specific calculation of the change in target power in the next stage can be calculated by the following formula (21):

[0400] changePower1=max(100,diffHR*Q) (21)

[0401] Among them, changePower1 represents the change in target power; diffHR represents the difference between the real-time heart rate average value and the upper limit of the target heart rate range, such as (HR-210); Q represents the user's cycling ability, which can be calculated by the above formula (15) or (16). Therefore, the above formula (21) represents the maximum value selected from the product of the preset maximum power constant (such as 100 or other values), the heart rate difference and the cycling ability as the change in the target power reduction of the next stage, that is, the target power of the next stage is adjusted to be reduced by the above changePower1 as the adjusted target power.

[0402] It is understandable that in other embodiments, the way of adjusting the spinning bike load according to real-time physiological data such as real-time heart rate may also be other ways, which are not limited here.

[0403] 1606: No need to adjust training plan.

[0404] In addition, in the embodiment of the present application, the precise resistance adjustment of the spinning bike can be achieved by combining the user's riding revolutions per minute (RPM) and power to determine the resistance level of the bike. In this way, when the resistance adjustment is triggered, the RPM information needs to be obtained.

[0405] Furthermore, when entering the first action phase of the training plan, the RPM may be too low due to the user not pedaling or starting pedaling slowly, etc. In this case, the RPM may be set to 60 by default.

[0406] For other action stages, after calculating the power of the corresponding stage, the RPM value can be selected from the real-time RPM value reported by the spinning bike 40 for parameter transmission. However, considering that the RPM is formed based on the user's pedaling, when the RPM is low, the power remains unchanged, and the resistance level is high at this time, and the user's pedaling will be correspondingly more difficult. Therefore, it is necessary to effectively guide the RPM, for example, presetting a recommended RPM range that matches the corresponding action stage, and adjusting the resistance within this range.

[0407] In other embodiments, the regulation 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.

[0408] The minimum cadence value may be set to, for example, lower_limit_RPM=50 rpm. At this time, if the user's cadence is lower than the minimum cadence value during the corresponding action phase, the user may be reminded that "your cadence value is too low, please keep it above 50 rpm for better exercise effect" or other content.

[0409] Accordingly, the limit power corresponding to the cadence value (referred to as cadence limit power) can be calculated as follows:

[0410] The first method is to calculate the cadence correlation coefficient r value according to whether there is a maximum oxygen uptake parameter.

[0411] Specifically, when there is Vo2Max, r = min(32,15*user.vo2max*user.weight / (45*65))

[0412] When there is no Vo2Max, r=16.

[0413] The second method is to directly calculate the pedaling frequency limit power according to the preset r value. The corresponding algorithm can refer to the following formula (22):

[0414] 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)

[0415] Wherein, RPM_limit_power represents the cadence limit power, and the above formula (22) represents taking the maximum value between 20 and the calculation result of the function round.

[0416] It can be understood that in other embodiments, the method for calculating the above-mentioned cadence limiting power may also be other methods, which are not limited here.

[0417] Fig.17 According to an embodiment of the present application, a software system structure block diagram of an electronic device 100 is shown.

[0418] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a microservice architecture, or a cloud architecture. The embodiment of the present invention takes the Android system of the layered architecture as an example to illustrate the software structure of the electronic device 100. The electronic device 100 in the embodiment of the present application can be an electronic device such as the above-mentioned mobile phone. In other embodiments, the electronic device 100 can also be a wearable device such as a watch, etc., which is not limited here.

[0419] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0420] like Fig.17 As shown, the application layer may include a series of application packages, which may include sports health, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0421] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0422] like Fig.17 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0423] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0424] Content providers are used to store and retrieve data and make it accessible to applications. This data can include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0425] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0426] The phone manager is used to provide the communication function of the electronic device 100 .

[0427] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0428] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0429] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0430] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0431] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0432] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as openGL ES), 2D graphics engine (such as SGL), etc.

[0433] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0434] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0435] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0436] A 2D graphics engine is a drawing engine for 2D drawings.

[0437] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0438] References to "one embodiment" or "an embodiment" in the specification mean that the specific features, structures, or characteristics described in conjunction with the embodiment are included in at least one exemplary implementation or technology disclosed according to the embodiment of the present application. The appearance of the phrase "in one embodiment" in various places in the specification does not necessarily all refer to the same embodiment.

[0439] The disclosure of the embodiment of the present application also relates to an operating device for executing the text. The device can be specially constructed for the required purpose or it can include a general-purpose computer 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 may include a single processor or may be an architecture involving multiple processors for increased computing power.

[0440] 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 application embodiment disclosure is intended to illustrate rather than 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

  • Composite treadmill based on plateau environment

    CN106267703A

  • Data interaction body-building system

    CN107158661A

  • Reflective video display apparatus for interactive training and demonstration and methods of using same

    CN113633956A

  • Method for controlling treadmill, electronic equipment and system

    CN113813568A

  • Intelligent exercise recommendation method and device and electronic equipment

    CN114176573A

Cited By

  • Training parameter determination method and device, electronic equipment and storage medium

    CN119499623A

  • Vehicle domain controller updating method and device and vehicle

    CN119759395A

  • Virtual reality interaction method and system for treadmill

    CN122219753A

  • Exercise control method, electronic device, and computer readable medium

    EP4620538A1

  • Exercise control method, electronic device, and computer readable medium

    WO2024198664A1