Training plan making method and related equipment

By obtaining users' running goals and score information, obtaining the training plan framework from the cloud server, and generating a personalized training plan, it solves the problem that existing fitness software is difficult to formulate accurate training plans for different users, and realizes the generation of personalized training plans.

CN120278501AActive Publication Date: 2025-07-08HONOR DEVICE CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202311866243.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-08
Estimated Expiration
2043-12-29

AI Technical Summary

Technical Problem

It is difficult for existing fitness software to accurately formulate personalized training plans based on the physical conditions and training needs of different users.

Method used

By obtaining the training information entered by the user, including the first-level running goals, the second-level running goals and the initial running scores, the training plan framework is obtained from the cloud server, and a personalized training plan is generated based on this information.

Benefits of technology

It has achieved accurate formulation of personalized training plans based on the needs of different users to meet the training goals and needs of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120278501A_ABST
    Figure CN120278501A_ABST
Patent Text Reader

Abstract

The invention discloses a training plan making method and related equipment, the method comprises the steps that training information input by a user is acquired, the training information comprises a first-level running target, a second-level running target under the first-level running target and an initial running score, and the second-level running target is used for indicating a running distance reached after the user expects that training is completed; based on the initial running score, the first-level running target and the second-level running target, obtaining a training plan framework from a cloud server; a training plan is generated based on the training plan framework. By adopting the method, plans can be accurately made for different users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and particularly to a method for formulating a training plan and related devices. Background Art

[0002] As people pay more and more attention to health, various software for formulating fitness plans for users has been developed. Users can exercise according to the training plans given by the fitness software. However, due to the different physical conditions and training needs of different users, for example, the physical fitness, running ability, and expected goals of different users are different. How to accurately formulate plans for different users is a problem to be solved. Summary of the Invention

[0003] This application provides a method for formulating a training plan and related devices, which can accurately formulate plans for different users.

[0004] In a first aspect, some embodiments of this application provide a method for formulating a training plan. The method for formulating a training plan includes: obtaining training information input by a user, where the training information includes a primary running goal, a secondary running goal under the primary running goal, and an initial running score, and the secondary running goal is used to indicate the running distance that the user expects to reach after the training is completed; obtaining a training plan framework from a cloud server based on the initial running score, the primary running goal, and the secondary running goal; and generating a training plan based on the training plan framework.

[0005] In the above manner, by obtaining the training plan framework from the cloud server through the primary running goal, the secondary running goal, and the initial running score input by the user, different training plans can be determined according to the purposes of different users, and accurate plans can be formulated for different users.

[0006] In a possible implementation, the training information further includes a target running score; obtaining a training plan framework from a cloud server based on the initial running score, the primary running goal, and the secondary running goal is specifically: determining the number of training weeks based on the initial running score, the secondary running goal, and the target running score; and obtaining a training plan framework from the cloud server based on the number of training weeks, the primary running goal, and the secondary running goal.

[0007] In the above manner, according to the needs of different users, different numbers of training weeks are determined, and the training plan framework is accurately obtained from the cloud server, and the purposes of the users are achieved through the training plan.

[0008] In a possible implementation, the number of training weeks is determined based on the initial running performance, the secondary running goal, and the target running performance. Specifically: Based on the initial running performance and the preset mapping relationship between the performance and the running power value, the first running power value corresponding to the initial running performance is obtained; based on the first running power value, the preset running power value step, and the mapping relationship, at least one running performance interval is obtained; based on the running performance interval to which the target running performance belongs, the number of training weeks is obtained.

[0009] In the above manner, through the preset mapping relationship between the performance and the running power value, the corresponding relationship between the running performance and the number of weeks is obtained. Based on the running performance interval to which the target running performance belongs, the electronic device automatically and accurately determines the training weekend. When the gap between the initial running performance and the target running performance is larger, the number of training weeks is more; conversely, when the gap between the initial running performance and the target running performance is smaller, the number of training weeks is less.

[0010] In a possible implementation, determining the number of training weeks based on the initial running performance, the secondary running goal, and the target running performance includes: determining the range of the number of training weeks based on the initial running performance, the secondary running goal, and the target running performance; displaying the range of the number of training weeks; obtaining the number of training weeks, where the number of training weeks is selected by the user and is within the range of the number of training weeks.

[0011] In the above manner, the range of the number of training weeks that the user can select is determined and displayed to the user, enabling the user to select an appropriate number of training weeks within the range of the number of training weeks based on their own situation.

[0012] In a possible implementation, the training plan framework is obtained from the cloud server based on the number of training weeks, the primary running goal, and the secondary running goal. Specifically: determining the number of training days per week; obtaining the training plan framework from the cloud server based on the number of training weeks, the number of training days per week, the primary running goal, and the secondary running goal.

[0013] In the above manner, according to the needs of different users, different numbers of training weeks are determined, and the training plan framework is accurately obtained from the cloud server to achieve the user's purpose through the training plan.

[0014] In a possible implementation, determining the number of training days per week includes: determining the range of the number of training days per week based on the primary running goal; displaying the range of the number of training days per week; obtaining the number of training days per week, where the number of training days per week is selected by the user and is within the range of the number of training days per week.

[0015] In the above manner, the range of the number of training days per week that the user can select is determined and displayed to the user, enabling the user to select an appropriate number of training days per week within the range of the number of training days per week based on their own situation.

[0016] In a possible implementation, the training plan framework includes course types, and the training information includes course objectives, training parts, training equipment, and strength quality grading. Generating a training plan based on the training plan framework includes: obtaining a course identifier from a cloud server based on the course type, course objective, training part, training equipment, and strength quality grading; and determining the training plan based on the course identifier and the training plan framework.

[0017] In the above manner, different courses are obtained from the cloud based on the different needs, strength quality grading, course objectives, and training equipment of different users, and the training plan is accurately determined based on the course and the training plan framework.

[0018] In a possible implementation, if at least two of the multiple course identifiers belong to the same training part, then the at least two course identifiers belonging to the same training part are scheduled in a cross-scheduling manner to determine the training plan; wherein, the adjacent two course identifiers belonging to the same training part are different.

[0019] In the above manner, the scheduling is bifurcated to more scientifically determine the training plan.

[0020] In a second aspect, the present application provides an electronic device, including one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code. The computer program code includes computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the training plan formulation method in any possible implementation manner of the first aspect above.

[0021] In a third aspect, the present application provides a training plan formulation device. The device can be an electronic device, or a device in the electronic device, or a device that can be used in matching with the electronic device; wherein, the training plan formulation device can also be a chip system, and the training plan formulation device can execute the method executed by the electronic device in the first aspect. The function of the training plan formulation device can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions. The unit can be software and / or hardware. The operations and beneficial effects executed by the training plan formulation device can refer to the method and beneficial effects described in the first aspect above, and the repeated parts will not be elaborated.

[0022] In a fourth aspect, the present application provides a chip, which includes a processor and an interface, and the processor is coupled to the interface; the interface is used to receive or output signals, and the processor is used to execute code instructions to execute the training plan formulation method in any possible implementation manner of the first aspect above.

[0023] Fifth aspect, the present application provides a computer program product. When the computer program product runs on a computer, it causes the computer to execute the training plan formulation method in any possible implementation manner of the above first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a schematic diagram of a system architecture provided by an embodiment of the present application;

[0025] Figure 2 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application;

[0026] Figure 3 It is a schematic diagram of the software structure of an electronic device provided by an embodiment of the present application;

[0027] Figure 4 It is a schematic diagram of the flowchart of a training plan formulation method provided by an embodiment of the present application;

[0028] Figure 5a It is a schematic diagram of the flowchart of a training plan framework screening logic provided by an embodiment of the present application;

[0029] Figure 5b It is a schematic diagram of the flowchart of a course screening logic provided by an embodiment of the present application;

[0030] Figure 6 It is a schematic diagram of the flowchart of another training plan formulation method provided by an embodiment of the present application;

[0031] Figure 7 It is a schematic diagram of the mapping relationship when determining the number of training weeks provided by an embodiment of the present application;

[0032] Figure 8 It is a schematic diagram of the structure of a training plan formulation device provided by an embodiment of the present application;

[0033] Figure 9 It is a schematic diagram of the structure of a chip provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0034] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may represent A or B; "and / or" in the text is only a description of the association relationship of the associated object, indicating that there can be three relationships. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality of" means two or more than two.

[0035] It should be understood that the terms "first", "second", etc. in the description, claims and drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally further include steps or units not listed, or may optionally further include other steps or units inherent to these processes, methods, products or devices.

[0036] Referring to "embodiments" in this application means that the specific features, structures or characteristics described in connection with the embodiments may be included in at least one embodiment of this application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described in this application may be combined with other embodiments.

[0037] The system architecture diagram related to the embodiments of this application is introduced below:

[0038] The embodiments of this application can be applied to communication systems evolved after 5G such as long term evolution (LTE) systems, 5th generation mobile communication (5G) systems, 6th generation mobile communication (6G) systems, satellite communications and short-range wireless communication systems. Among them, the wireless communication systems mentioned in the embodiments of this application include but are not limited to: the three major application scenarios of 5G / 6G mobile communication systems: enhanced mobile broadband (eMBB), ultra reliable low latency communication (URLLC), and massive machine type of communication (mMTC), long range (LoRa) systems or vehicle-to-everything (V2X) systems.

[0039] Figure 1 A possible and non-limiting system schematic diagram is shown. As Figure 1 shown, the system includes an electronic device 101 and a cloud server 102. Figure 1Taking a system including an electronic device 101 and a cloud server 102 as an example, the system may further include a greater number of electronic devices 101 and cloud servers 102, which are not limited in the embodiments of the present application.

[0040] I. Electronic device 101

[0041] The electronic device 101 may also be referred to as a terminal, a user equipment (UE), a mobile station, a mobile terminal, an electronic device, etc. The electronic device 101 can be widely applied to various scenarios, such as device-to-device (D2D), vehicle to everything (V2X) communication, machine-type communication (MTC), Internet of Things (IoT), virtual reality, augmented reality, industrial control, autonomous driving, telemedicine, smart grid, smart furniture, smart office, smart wearables, smart transportation, smart city, etc. The terminal device 101 can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a wearable device, a vehicle, a drone, a helicopter, an airplane, a ship, a robot, a robotic arm, a smart home device, etc.

[0042] II. Cloud server 102

[0043] The cloud server 102 can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (CDN), as well as big data and artificial intelligence platforms. It can also be an independent physical server, or a server cluster or distributed system composed of multiple physical servers.

[0044] Among them, a plurality of training plan frameworks are pre-set in the cloud server 102. After the cloud server 102 receives the initial running results, primary running goals, and secondary running goals sent by the electronic device 101, it determines a training plan framework that matches the data sent by the electronic device 101 from the pre-set plurality of training plan frameworks, and sends the training plan framework to the electronic device 101.

[0045] Furthermore, a plurality of courses are also pre-selected in the cloud server 102. After the cloud server 102 receives the course type, course goals, training parts, training equipment, and strength quality grading sent by the electronic device 101, it determines a course that matches the data sent by the electronic device 101 from the pre-set plurality of courses, and sends the course identification of the course to the electronic device 101.

[0046] Further, after the electronic device 101 generates a training plan, when the user trains according to the training plan, the electronic device 101 sends a course identifier to the cloud server 102, and the cloud server 102 sends the corresponding course to the electronic device 101 based on the course identifier. The electronic device 101 displays the course, enabling the user to watch the course and train according to the course.

[0047] The following introduces the hardware structure of the electronic device 101. Please refer to Figure 2 , Figure 2 which is a schematic diagram of the hardware structure of the electronic device 101 provided by an embodiment of the present application.

[0048] The electronic device 101 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, a headphone interface 170D, a sensor module 180, a key 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, a barometric 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.

[0049] It can be understood that the structure schematically shown in the embodiments of the present invention does not constitute a specific limitation on the electronic device 101. In other embodiments of the present application, the electronic device 101 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0050] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0051] Among them, the controller may be the nerve center and command center of the electronic device 101. The controller may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.

[0052] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory may save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system. The processor 110 calls the instructions or data stored in the memory to cause the electronic device 101 to execute the shooting method performed by the electronic device in the following method embodiments.

[0053] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0054] The charging management module 140 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger.

[0055] 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 inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160, etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110.

[0056] The wireless communication function of the electronic device 101 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.

[0057] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 101 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed 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.

[0058] The mobile communication module 150 may provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 101. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and then transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be provided in the same device.

[0059] The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor.

[0060] The wireless communication module 160 may provide solutions for wireless communications including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth (BT), BLE broadcast, global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc., applied to the electronic device 101. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves through the antenna 2, performs frequency modulation and filtering on the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 may also receive the signal to be transmitted from the processor 110, perform frequency modulation and amplification on it, and convert it into electromagnetic waves through the antenna 2 for radiation.

[0061] In some embodiments, the antenna 1 of the electronic device 101 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 101 can communicate with the network and other devices through wireless communication technologies.

[0062] The electronic device 101 realizes the display function through the GPU, the display screen 194, the application processor, etc. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to execute mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0063] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the electronic device 101 may include 1 or N display screens 194, where N is a positive integer greater than 1. Among them, the display screen 194 may be an outward-foldable screen, that is, a display screen that folds outward.

[0064] The electronic device 101 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, etc. The ISP is used to process the data fed back by the camera 193. The camera 193 is used to capture static images or videos. The camera 193 may include a front camera and a rear camera. The front camera is located in the display area of the screen, and the rear camera is located in the back area of the screen. 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 101 can support one or more video codecs.

[0065] The NPU is a neural-network (NN) computing processor. By learning from the biological neural network structure, for example, learning from the transmission mode between human brain neurons, it can quickly process input information and can also continuously self-learn.

[0066] 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 101. The external memory card communicates with the processor 110 through the external memory interface 120 to achieve the data storage function.

[0067] The internal memory 121 can be used to store computer-executable program codes, and the executable program codes include instructions. The processor 110 executes various functional applications and data processing of the electronic device 101 by running the instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store the operating system, application programs required for at least one function (such as the sound playback function), etc. The storage data area can store the data created during the use of the electronic device 101 (such as audio data), 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 a flash device, etc.

[0068] The electronic device 101 can implement audio functions through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor, etc. For example, music playback, recording, etc.

[0069] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some functional modules of the audio module 170 can be disposed in the processor 110.

[0070] The speaker 170A, also known as the "loudspeaker", is used to convert an audio electrical signal into a sound signal. The receiver 170B, also known as the "earpiece", is used to convert an audio electrical signal into a sound signal. The microphone 170C, also known as the "microphone", "transmitter", is used to convert a sound signal into an electrical signal. The headphone jack 170D is used to connect a wired headphone. The pressure sensor 180A is used to sense a pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194. The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 101. The barometric pressure sensor 180C is used to measure barometric pressure. The magnetic sensor 180D includes a Hall sensor. The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 101 in various directions (generally three axes). The distance sensor 180F is used to measure distance. The proximity light sensor 180G can include, for example, a light-emitting diode (LED) and a light detector. The ambient light sensor 180L is used to sense the ambient light brightness. The fingerprint sensor 180H is used to collect fingerprints. The temperature sensor 180J is used to detect temperature. The touch sensor 180K, also known as the "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also known as the "touch control screen". The touch sensor 180K is used to detect a touch operation acting thereon or nearby. The bone conduction sensor 180M can acquire a vibration signal. The keys 190 include a power-on key, volume keys, etc. The motor 191 can generate a vibration prompt. The indicator 192 can be an indicator light, which can be used to indicate the charging state, power change, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect a SIM card.

[0071] In addition, an operating system runs on the above components. For example, operating systems such as iOS and Android. The operating system of the electronic device 101 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of the present application, the Android system with a layered architecture is taken as an example to exemplarily illustrate the software structure of the electronic device 101. It should be noted that although the embodiments of the present application take the Android system as an example for illustration, the basic principles thereof are equally applicable to electronic devices with other operating systems.

[0072] Figure 3 This is a schematic diagram of the software structure of an electronic device 101 provided by the embodiments of the present application.

[0073] The layered architecture divides the software into several layers, and each layer has a clear role 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, namely the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0074] The application layer may include a series of application packages. As Figure 3 shown, the application packages may include applications such as a camera, a gallery, a calendar, a call, a map, a navigation, a WLAN, a Bluetooth, music, a short message, a health application, etc.

[0075] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions. As Figure 3 shown, the application framework layer may include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, etc.

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

[0077] The content provider is used to store and obtain data, and enable these data to be accessed by applications. The data may include videos, images, audio, dialed and answered calls, browsing history and bookmarks, a phone book, etc.

[0078] The view system includes visible controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a short message notification icon may include a view for displaying text and a view for displaying pictures.

[0079] The Telephony Manager is used to provide the communication functions of the electronic device 101. For example, the management of call states (including answering, hanging up, etc.).

[0080] The Resource Manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, etc.

[0081] The Notification Manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages, which can automatically disappear after a short stay without user interaction. For example, the Notification Manager is used to notify that the download is completed, 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 the notification of a background-running application, or a notification that appears on the screen in the form of a dialogue window. For example, it prompts text information in the status bar, emits a prompt tone, the user terminal vibrates, the indicator light flashes, etc.

[0082] The Android Runtime includes core libraries and a virtual machine. The Android Runtime is responsible for the scheduling and management of the Android system.

[0083] The core libraries contain two parts: one part is the functional functions that the Java language needs to call, and the other part is the core libraries of Android.

[0084] The Application Layer and the Application Framework Layer run in the 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 the management of object life cycles, stack management, thread management, security and exception management, and garbage collection.

[0085] The System Libraries can include multiple functional modules. For example: Surface Manager, Media Libraries, 3D Graphics Processing Library (e.g., OpenGL ES), 2D Graphics Engine (e.g., SGL), etc.

[0086] The Surface Manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.

[0087] The Media Libraries support the playback and recording of multiple common audio and video formats, as well as static image files, etc. The Media Libraries can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0088] The 3D Graphics Processing Library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.

[0089] The 2D Graphics Engine is a drawing engine for 2D drawing.

[0090] The kernel layer is the layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.

[0091] In a possible embodiment, the above-mentioned health application includes two modules: an interaction module and a processing module. The interaction module is used to interact with the user, obtain the data input by the user, and display the corresponding data for the user to view. The processing module is used to process the data input by the user, send the processed data to the cloud server after processing, and receive the data sent by the cloud server to generate a training plan.

[0092] Based on the above software structure and system architecture, the embodiment of the present application provides a schematic flowchart of a method for formulating a training plan. As Figure 4 shown, the method for formulating a training plan includes the following steps 401 to 412. Among them:

[0093] 401. The interaction module obtains user information.

[0094] Among them, the user information can be input by the user through a questionnaire. The user information includes the following multiple pieces of information: running goal, personal information, running ability, whether preparing for a competition, number of training weeks, number of training days per week, expected target score, available training equipment, training days, and strength test results. Among them, the running ability in the above user information can be determined by the electronic device based on the historical training situation of the user and is pre-stored in the electronic device. That is to say, the running ability may not be input by the user. The personal information may include the user's age, height, weight, etc.

[0095] Among them, the running goal includes a primary running goal, or the running goal includes a primary running goal and a secondary running goal. The first running goal is used to indicate the effect that the user wants to achieve through training. For example, the first running goal can be: improving running performance, novice entry, and maintaining health, etc. The secondary running goal is used to indicate the running distance that the user expects to reach after the training is completed. For example, 3 kilometers, 5 kilometers, 10 kilometers, half marathon (about 21 kilometers), full marathon (about 42 kilometers).

[0096] Exemplarily, the running goal input by the user in the questionnaire is: running 10 kilometers within 40 minutes. The primary running goal included in the running goal is: improving running performance, and the secondary running goal included in the running goal is: 10 kilometers.

[0097] Optionally, if the primary running goal included in the running goal is maintaining health, then the running goal does not include a secondary running goal. That is, when the primary running goal is maintaining health, the running goal only has a primary running goal.

[0098] Among them, the number of training weeks includes two acquisition methods. One is that after the electronic device determines the range of the number of training weeks based on other user information, the user determines the number of training weeks from within the range of the number of training weeks. For example, if the electronic device determines that the range of the number of training weeks is 6 weeks to 12 weeks, and the user selects 10 weeks (within the range of 6 weeks to 12 weeks), the number of training weeks is 10 weeks. The other is that the electronic device directly determines the number of training weeks based on other user information.

[0099] Among them, the number of training days per week includes the following acquisition method. After the electronic device determines the range of the number of training days per week based on other user information, the user determines the number of training days per week from within the range of the number of training days per week. For example, if the electronic device determines that the range of the number of training days per week is 3 days to 6 days, and the user selects 5 days (within the range of 3 days to 6 days), the number of training days per week is 5 days, that is, out of the seven days in a week, the user needs to train for 5 days.

[0100] Among them, the expected target result is the time it takes for the user to run a certain number of kilometers. For example, within 42 minutes for running 10 kilometers.

[0101] Among them, the training equipment is the training equipment that the user can use, such as dumbbells, foam rollers, etc.

[0102] Among them, the training days are the days of the week when the user can train, such as Monday, Tuesday, Wednesday, Thursday, and Friday of each week.

[0103] Among them, the strength test results include proprioception, lower limb muscle endurance, and lower limb relative strength, etc. Specifically, it can be the test results obtained by the user according to the given test actions.

[0104] 402. The interaction module sends user information to the processing module.

[0105] Among them, for the user information, reference can be made to the introduction in 401 above, and this application will not elaborate here.

[0106] 403. The processing module processes the user information to obtain training information, and the training information includes first training information and second training information.

[0107] Among them, the first training information is used to determine the training plan framework from the cloud server, and the second training information is used to determine the course identifier from the cloud server. The training information is the information obtained after the processing module processes the user information according to the preset processing logic. The first training information includes: running goal, runner ability classification, number of training days per week, and training cycle. The second training information includes: strength quality classification, training equipment, training parts, course goals, and course categories.

[0108] Among them, the running goal can be seen in the introduction in step 401 above, and this application will not elaborate here. The processing module splits the running goal input by the user into a primary running goal and a secondary running goal. The runner ability classification can include the following classifications: elite level, general level, and below general level. This runner ability classification can also include more classifications, and this application does not limit this. The number of training days per week and the training cycle can be seen in the introduction in step 401 above, and this application will not elaborate here.

[0109] In a possible embodiment, the parameter name, value type, and value range corresponding to the training information can be as shown in Table 1 below:

[0110]

[0111] Table 1

[0112] As shown in Table 1 above, among them, if the value corresponding to goalLevelOne is 1, the primary running goal is to improve running ability. The same applies to the secondary running goal and the runner ability classification. If the value corresponding to weeks is 5, the number of training weeks is 5 weeks. If the value corresponding to days is 4, the number of training days per week is 4 days. It should be noted that if the primary running goal is to improve running performance, the value range corresponding to the number of training days per week is 3 - 6; if the primary running goal is not to improve running performance, the value range corresponding to the number of training days per week is 2 - 5.

[0113] 404. The processing module sends the first training information to the cloud server.

[0114] Among them, the first training information can be seen in the introduction in step 403 above, and this application will not elaborate here. The processing module can send the first training information to the cloud server automatically after determining the first training information, or can send the first training information to the cloud server after receiving the user's operation instruction. For example, after the user clicks the button to generate a training plan, the first training information is sent to the cloud server.

[0115] 405. The cloud server filters out the training plan framework corresponding to the first training information from a plurality of preset training plan frameworks.

[0116] Among them, the plurality of training plan frameworks are preset and stored in the cloud server. The training plan framework includes the number of weeks of user training, the day of the week for user training, and the identifier of the running course.

[0117] In a possible embodiment, the cloud server filters out the training plan framework corresponding to the first training information from a plurality of preset training plan frameworks, which can be according to Figure 5afiltered according to the logical process shown. Among them, the Figure 5a sequence of the logical process shown is only for example. The first-level running goal, the second-level running goal, and the runner ability classification need to be judged in sequence. The application does not limit the sequence of the training weeks and the number of training days per week. That is to say, the training weeks can be determined first and then the number of training days per week can be determined.

[0118] 406. The cloud server sends a training plan framework to the processing module.

[0119] Among them, the training plan framework can refer to the introduction in step 405 above, and the application will not elaborate here.

[0120] 407. The processing module sends second training information to the cloud server.

[0121] Among them, the processing module can send the second training information automatically to the cloud server after determining the second training information, or can send the second training information to the cloud server after receiving the user's operation instruction. For example, after the user clicks the button to generate a training plan, the second training information is sent to the cloud server. The second training information may include: strength quality classification, training equipment, training parts, course objectives, and course types.

[0122] Among them, the strength quality classification includes four levels: H1-H4. H1 is the lowest in the strength quality classification, and H4 is the highest in the strength quality classification. The strength quality classification can be obtained by the user's self-assessment after testing according to the test actions given by the electronic device. For example, if the user can complete about 5 single-leg squats on the left and right, the corresponding theoretical quality classification of the user's lower limb interest is H4.

[0123] Among them, the training equipment can refer to the description in step 401 above, and the application will not elaborate here. Among them, the course objectives include: warm-up stretching, stretching, sports ability improvement, weight loss and fat burning. Among them, the body parts include: waist and abdomen, preset mode, whole body, and the preset mode is a plurality of preset body parts.

[0124] 408. The cloud server filters out the course identifier corresponding to the second training information from a plurality of preset courses based on the second training information.

[0125] Among them, the plurality of courses are pre-set and stored in the cloud server. The course can be stored in the cloud server in the form of a video or in the form of a picture.

[0126] Optionally, based on the second training information and the training plan framework, the cloud server filters out the course identifier of the course corresponding to the second training information from a plurality of preset courses. The training plan framework may be sent to the cloud server together with the second training information.

[0127] In a possible embodiment, the cloud server filters out the course identifier of the course corresponding to the second training information from a plurality of preset courses, which may be filtered according to the logical process as Figure 5b shown. Among them, the Figure 5b logical process shown is only an example, and the logical process may further include more course types.

[0128] 409. The cloud server sends the course identifier to the processing module.

[0129] Among them, the course identifier is the unique identifier corresponding to the course, and different courses correspond to different course identifiers.

[0130] 410. The processing module generates a training plan based on the course identifier and the training plan framework.

[0131] Among them, the training plan framework further includes different course types. For example, the training plan framework is: {Monday - warm-up class, Tuesday - core training, Wednesday - specific strength training, Thursday - stretching}. Fill the course identifier (1000A) of the course with the course type of warm-up queried into the training plan framework. Similarly, fill the course identifiers of other course types queried into the corresponding training plan framework. The obtained training plan is: {Monday - 1000A, Tuesday - 10010B, Wednesday - 10020C, Thursday - 20001D}.

[0132] Optionally, the training for one day may include multiple courses. For example, Monday - warm-up class + core training.

[0133] 411. The processing module sends the training plan to the interaction module.

[0134] Among them, the training plan can be referred to the description in step 410 above, and the present application will not elaborate here.

[0135] 412. The interaction module displays the training plan.

[0136] Among them, the user can interact with the training plan through the interaction module, such as viewing the training plan for each day and changing the training plan, etc. The present application will not elaborate here.

[0137] Based on the above, another method for formulating a training plan provided by the embodiments of the present application will be further described in detail below. As Figure 6As shown in the figure, the method for formulating a training plan includes steps 601 to 603. Figure 6 The execution subject of the method shown can be the above-mentioned electronic device. Or, Figure 6 The execution subject of the method shown can be a chip in the electronic device, which is not limited in the embodiments of the present application. Figure 6 Taking the electronic device as the execution subject of the method as an example for illustration. Among them:

[0138] 601. The electronic device obtains the training information input by the user. The training information includes a primary running goal, a secondary running goal under the primary running goal, and an initial running performance. The secondary running goal is used to indicate the running distance that the user expects to reach after the training is completed.

[0139] Among them, the secondary running goal is the running goal under the primary running goal. The primary running goal and the secondary running goal can be referred to the description in step 401 above, and the present application will not elaborate here. The initial running performance is input by the user, and the initial running performance is the distance that the user currently runs and the time consumed for running this distance. For example, the initial running performance is: running 10 kilometers in 50 minutes.

[0140] It should be noted that the training information also includes other information, not limited to the above-mentioned primary running goal, secondary running goal under the primary running goal, and initial running performance, and the present application does not limit this.

[0141] 602. The electronic device obtains a training plan framework from the cloud server based on the initial running performance, the primary running goal, and the secondary running goal.

[0142] Among them, the training plan framework can be referred to the introduction in step 405 above, and the present application will not elaborate here.

[0143] In a possible embodiment, the training information further includes a target running performance. The electronic device obtains a training plan framework from the cloud server based on the initial running performance, the primary running goal, and the secondary running goal, including: the electronic device determines the number of training weeks based on the initial running performance, the secondary running goal, and the target running performance; and obtains a training plan framework from the cloud server based on the number of training weeks, the primary running goal, and the secondary running goal.

[0144] Among them, the number of training weeks is the duration of the training plan framework. For example, if the number of training weeks of the training plan framework is 5 weeks, then a training plan is arranged for the user within these five weeks, and the user needs to carry out a 5-week training according to this training plan. Specifically, the number of training weeks can be referred to the introduction in 403 above, and the present application will not elaborate here.

[0145] There are two ways to determine the number of training weeks. One is that the electronic device automatically generates the number of training weeks based on the user's situation, and the other is the number of training weeks selected by the user independently. The following is an introduction to these two methods respectively:

[0146] Method 1: The electronic device automatically generates the number of training weeks based on the user's situation.

[0147] In a possible embodiment, the electronic device determines the number of training weeks based on the initial running result, the secondary running target, and the target running result, including: The electronic device obtains the first running power value corresponding to the initial running result based on the initial running result and the preset mapping relationship between the result and the running power value; The electronic device obtains at least one running result interval based on the first running power value, the preset running power value step size, and the mapping relationship; Based on the running result interval to which the target running result belongs, the number of training weeks is obtained.

[0148] Among them, the mapping relationship between the result and the running power value can be the "Result and Running Power Comparison Table", and this "Result and Running Power Comparison Table" is a general comparison table, as shown in Table 2 below:

[0149]

[0150] Table 2

[0151] Among them, if the time taken to run 3 kilometers is close to 23:20 (23 minutes and 20 seconds), the corresponding running power value is 20, and if the time taken to run a full marathon is close to 6:44:00 (6 hours, 44 minutes, and 0 seconds), the corresponding running power value is 20. The higher the running power value, the less time it takes to run the same distance. For example, when the running power value is 20, it takes 23:20 to run 3 kilometers; when the running power value is 27, it takes 19:27 to run 3 kilometers.

[0152] It should be noted that the above table does not list all the running power values, and the running power value also includes more running power values other than the above table.

[0153] The above introduces the running power value. The preset running power value step size is 1. That is to say, if the first running power value is 20, adding the preset running power value step size to the first running power value, the obtained running power value is 20 + 1 = 21.

[0154] The following combines Figure 7 to further illustrate the method of determining the number of training weeks in Method 1. Based on the initial running result, obtain Figure 7 the value corresponding to the prediction of the running result interval in Figure 7As shown, the running power value corresponding to this prediction is running power value a. Based on running power value a - 1, a simply corresponding value of the running performance range is obtained. Similarly, based on running power value a + 1, a default corresponding value of the running performance range is obtained, and based on running power value a + 3, a difficult corresponding value of the running performance range is obtained. Since the respective range of each running performance range is obtained, the range to which the target running performance belongs can be obtained, and thus, based on the corresponding relationship between the running performance and the number of training weeks, the number of training weeks can be obtained.

[0155] Exemplarily, if the initial running performance is 3 kilometers in 21:37, then the Figure 7 simply corresponding value of the running performance range for this running performance is 21:37. The running power value a is 23. The running power value a - 1 is 22, the running power value a + 1 is 24, the running power value a + 2 is 25, and the running power value a + 3 is 26. As shown in Table 2 above, the time taken for 3 kilometers corresponding to the running power value a - 1 of 22 is 22:11, the time taken for 3 kilometers corresponding to the running power value a + 1 of 24 is 21:04, and the time taken for 3 kilometers corresponding to the running power value a + 3 of 26 is 19:59. Therefore, the simply corresponding value of the running performance range is 22:11, the predicted corresponding value of the running performance range is 21:37, the default corresponding value of the running performance range is 21:04, and the difficult corresponding value of the running performance range is 19:59.

[0156] The obtained running performance ranges are the following ranges: [22:11, 21:37], [21:37, 21:04], [21:04, 19:59]. The target running performance is 21:30 for running 3 kilometers. The running performance range to which this target running performance belongs is the predicted - default range, and the corresponding number of training weeks can be Figure 7 as shown, 5 weeks.

[0157] In a possible embodiment, the corresponding relationship between the running performance range (represented by X) and the number of training weeks (represented by Y) can be:

[0158] If the simply corresponding value ≤ X ≤ the predicted corresponding value, then Y = 4; if the predicted corresponding value < X ≤ the predicted corresponding value + (the default corresponding value - the predicted corresponding value) / 2, then Y = 5; the predicted corresponding value + (the default corresponding value - the predicted corresponding value) / 2 < X ≤ the default corresponding value, Y = 6; the default corresponding value < X ≤ the default corresponding value + (the difficult corresponding value - the default corresponding value) / 6, Y = 7; the default corresponding value + (the difficult corresponding value - the default corresponding value) / 6 < X ≤ the default corresponding value + (the difficult corresponding value - the default corresponding value) / 3, Y = 8; the default corresponding value + (the difficult corresponding value - the default corresponding value) / 3 < X ≤ the default corresponding value + (the difficult corresponding value - the default corresponding value) / 2, Y = 9; the default corresponding value + (the difficult corresponding value - the default corresponding value) / 2 < X ≤ the default corresponding value + (the difficult corresponding value - the default corresponding value)*2 / 3, Y = 10; the default corresponding value + (the difficult corresponding value - the default corresponding value)*2 / 3 < X ≤ the default corresponding value + (the difficult corresponding value - the default corresponding value)*5 / 6, Y = 11; the default corresponding value + (the difficult corresponding value - the default corresponding value)*5 / 6 < X ≤ the difficult corresponding value, Y = 12.

[0159] Optionally, the greater the difference between the initial running performance and the target running performance, the more running weeks are determined. Conversely, the smaller the difference between the initial running performance and the target running performance, the fewer running weeks are determined.

[0160] It should be noted that in the above example, the running distances of the initial running performance and the target running performance are the same, both being 3 kilometers. The running distances of the initial running performance and the target running performance may not be the same. For example, the initial running performance is 3 kilometers and the target running performance is 5 kilometers. This application does not limit this. If the initial running performance and the target running performance are different, the running power value interval to which the running power value corresponding to the target running performance belongs can be determined, and the training weeks can be determined. This application does not limit whether the running distances of the initial running performance and the target running performance are the same.

[0161] Method 2: The number of training weeks selected by the user independently.

[0162] In a possible embodiment, the electronic device determines the number of training weeks based on the initial running performance, the secondary running target, and the target running performance, including: the electronic device determines the range of the number of training weeks based on the initial running performance, the secondary running target, and the target running performance; displays the range of the number of training weeks; obtains the number of training weeks, where the number of training weeks is selected by the user and is within the range of the number of training weeks.

[0163] For example, if the determined range of the number of training weeks is 5 weeks to 12 weeks, then options from 5 weeks to 12 weeks are displayed for the user to select. Obtain the number of training weeks selected by the user.

[0164] In a possible embodiment, the electronic device determines a range of training weeks based on the initial running performance, the secondary running goal, and the target running performance, including: the electronic device determines the difference between the initial running performance and the target running performance, and the electronic device determines the range of training weeks based on the difference between the initial running performance and the target running performance and the secondary running goal.

[0165] Among them, if the difference between the initial running performance and the target running performance is greater, the determined number of running weeks is more; conversely, if the difference between the initial running performance and the target running performance is smaller, the determined number of running weeks is less.

[0166] In a possible embodiment, the electronic device obtains a training plan framework from the cloud server based on the number of training weeks, the primary running goal, and the secondary running goal, including: the electronic device determines the number of training days per week; based on the number of training weeks, the number of training days per week, the primary running goal, and the secondary running goal, the electronic device obtains a training plan framework from the cloud server.

[0167] Among them, the number of training days per week can refer to the introduction in step 403 above, and this application will not elaborate here.

[0168] In a possible embodiment, the electronic device determines the number of training days per week, including: the electronic device determines a range of the number of training days per week based on the primary running goal; the electronic device displays the range of the number of training days per week; the electronic device obtains the number of training days per week, and the number of training days per week is selected by the user and is within the range of the number of training days per week.

[0169] For example, if the determined range of the number of training weeks is 3 days to 6 days, options of 3 days to 6 days are displayed for the user to select. The electronic device obtains the number of training days per week selected by the user.

[0170] Optionally, if the primary running goal is to improve running performance, the determined range of the number of training weeks is 3 days to 6 days; if the primary running goal is for novice entry, the determined range of the number of training weeks is 2 days to 5 days; if the primary running goal is to maintain health through running, the determined range of the number of training weeks is 2 days to 5 days.

[0171] 603. The electronic device generates a training plan based on the training plan framework.

[0172] In a possible embodiment, the training plan framework in the electronic device includes course types, and the training information includes course goals, training parts, training equipment, and strength quality grading. Generating a training plan based on the training plan framework includes: the electronic device obtains a course identifier from the cloud server based on the course type, course goal, training part, training equipment, and strength quality grading; based on the course identifier and the training plan framework, the electronic device determines the training plan.

[0173] Among them, the course objectives, training parts, training equipment, and strength quality grading can refer to the introduction in the above step 407, and will not be elaborated in this application.

[0174] In a possible embodiment, the electronic device determines a training plan based on the course identifier and the training plan framework, including: if at least two of the multiple course identifiers belong to the same training part, the electronic device schedules the at least two course identifiers belonging to the same training part in a cross-course scheduling manner to determine the training plan; wherein, two adjacent course identifiers belonging to the same training part are different.

[0175] Exemplarily, the courses with the training part of glutes and legs include the following three courses: Course A, Course B, and Course C. When scheduling courses, there are five courses with glutes and legs planned in the training plan framework, and the scheduling of these five courses with glutes and legs is: Course A - Course B - Course C - Course A - Course B. That is to say, the above three courses are all courses for training glutes and legs. To avoid boredom caused by the user training the same course, cross-course scheduling is performed, that is, each course for training glutes and legs is different from the previous one.

[0176] Optionally, the courses with the training part of glutes and legs include the following five courses: Course A, Course B, Course C, Course D, and Course E. When scheduling courses, there are three courses with glutes and legs planned in the training plan framework, and the scheduling of these three courses with glutes and legs is: Course A - Course B - Course C. That is to say, if the number of times of planned glutes and legs training is less than the determined courses for training glutes and legs, the first three courses are selected, or three courses are randomly selected.

[0177] Please refer to Figure 8 , Figure 8 which is a schematic structural diagram of a training plan formulation device 800 provided by an embodiment of this application. Figure 8 The shown training plan formulation device can be an electronic device, or a device in the electronic device, or a device that can be used in conjunction with the electronic device. Figure 8 The shown training plan formulation device can include a processing unit 801 and a communication unit 802.

[0178] Among them:

[0179] The processing unit 801 is configured to obtain training information input by the user, where the training information includes a primary running target, a secondary running target under the primary running target, and an initial running result, and the secondary running target is used to indicate the running distance that the user expects to reach after the training is completed;

[0180] The communication unit 802 is configured to obtain a training plan framework from the cloud server based on the initial running result, the primary running target, and the secondary running target.

[0181] The processing unit 801 is further configured to generate a training plan based on the training plan framework.

[0182] In a possible implementation, the processing unit 801 is further configured to determine the number of training weeks based on the initial running performance, the secondary running goal, and the target running performance;

[0183] The processing unit 801 is further configured to obtain a training plan framework from the cloud server based on the number of training weeks, the primary running goal, and the secondary running goal.

[0184] In a possible implementation, the processing unit 801 is further configured to obtain a first running power value corresponding to the initial running performance based on the initial running performance and the mapping relationship between the performance and the running power value preset;

[0185] The processing unit 801 is further configured to obtain at least one running performance interval based on the first running power value, the preset running power value step size, and the mapping relationship;

[0186] The processing unit 801 is further configured to obtain the number of training weeks based on the running performance interval to which the target running performance belongs.

[0187] In a possible implementation, the processing unit 801 is further configured to determine the range of the number of training weeks based on the initial running performance, the secondary running goal, and the target running performance;

[0188] The processing unit 801 is further configured to display the range of the number of training weeks;

[0189] The processing unit 801 is further configured to obtain the number of training weeks, where the number of training weeks is selected by the user and is within the range of the number of training weeks.

[0190] In a possible implementation, the processing unit 801 is further configured to determine the number of training days per week; obtain a training plan framework from the cloud server based on the number of training weeks, the number of training days per week, the primary running goal, and the secondary running goal.

[0191] In a possible implementation, the processing unit 801 is further configured to determine the range of the number of training days per week based on the primary running goal; display the range of the number of training days per week; obtain the number of training days per week, where the number of training days per week is selected by the user and is within the range of the number of training days per week.

[0192] In a possible implementation, the communication unit 802 is further configured to obtain a course identifier from the cloud server based on the course type, the course goal, the training part, the training equipment, and the strength quality grading;

[0193] The processing unit 801 is further configured to determine a training plan based on the course identifier and the training plan framework.

[0194] In a possible implementation manner, the processing unit 801 is further configured to, if at least two of the multiple course identifiers belong to the same training part, schedule the at least two course identifiers belonging to the same training part in a cross-course scheduling manner to determine a training plan; wherein, two adjacent course identifiers belonging to the same training part are different.

[0195] For the case where the training plan formulation device can be a chip or a chip system, reference can be made to Figure 9 the structural schematic diagram of the chip shown. Figure 9 The chip 900 shown includes a processor 901 and an interface 902. Optionally, a memory 903 may further be included. Among them, the number of processors 901 may be one or more, and the number of interfaces 902 may be multiple.

[0196] For the case where the chip is used to implement the electronic device in the embodiments of the present application:

[0197] The interface 902 is configured to receive or output signals;

[0198] The processor 901 is configured to perform data processing operations of the electronic device.

[0199] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

[0200] It can be understood that some optional features in the embodiments of the present application can, in some scenarios, be independent of other features, such as the current scheme they are based on, and can be implemented independently to solve the corresponding technical problems and achieve the corresponding effects. In some scenarios, they can also be combined with other features according to requirements. Correspondingly, the training plan formulation device given in the embodiments of the present application can also implement these features or functions accordingly, which will not be elaborated herein.

[0201] It should be understood that the processor in the embodiments of the present application may be an integrated circuit chip with the ability to process signals. In the implementation process, each step of the above method embodiments may be completed by the integrated logic circuit in the hardware of the processor or instructions in the form of software. The above processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0202] It can be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.

[0203] The present application also provides a computer-readable storage medium, in which a computer program is stored. The computer program includes program instructions, and when the program instructions run on an electronic device, the functions of any of the above method embodiments are implemented.

[0204] The present application also provides a computer program product. When the computer program product runs on a computer, it enables the computer to implement the functions of any of the above method embodiments.

[0205] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from a website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a high-density digital video disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)).

[0206] As mentioned above, the above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method for formulating a training plan, characterized in that, The method includes: Obtaining training information input by the user, where the training information includes a primary running goal, secondary running goals under the primary running goal, and an initial running performance, and the secondary running goals are used to indicate the running distances that the user expects to achieve after training is completed; Obtaining a training plan framework from a cloud server based on the initial running performance, the primary running goal, and the secondary running goals; Generating a training plan based on the training plan framework.

2. The method according to claim 1, wherein The training information further includes a target running performance; The obtaining a training plan framework from a cloud server based on the initial running performance, the primary running goal, and the secondary running goals includes: Determining the number of training weeks based on the initial running performance, the secondary running goals, and the target running performance; Obtaining a training plan framework from a cloud server based on the number of training weeks, the primary running goal, and the secondary running goals.

3. The method according to claim 2, characterized in that, The determining the number of training weeks based on the initial running performance, the secondary running goals, and the target running performance includes: Obtaining a first running ability value corresponding to the initial running performance based on the initial running performance and a preset mapping relationship between performance and running ability value; Obtaining at least one running performance interval based on the first running ability value, a preset running ability value step size, and the mapping relationship; Obtaining the number of training weeks based on the running performance interval to which the target running performance belongs.

4. The method according to claim 2, wherein The determining the number of training weeks based on the initial running performance, the secondary running goals, and the target running performance includes: Determining a range of the number of training weeks based on the initial running performance, the secondary running goals, and the target running performance; Displaying the range of the number of training weeks; Obtaining the number of training weeks, where the number of training weeks is selected by the user and is within the range of the number of training weeks.

5. The method according to any one of claims 2 to 4, characterized in that The obtaining a training plan framework from a cloud server based on the number of training weeks, the primary running goal, and the secondary running goals includes: Determining the number of training days per week; Obtaining a training plan framework from a cloud server based on the number of training weeks, the number of training days per week, the primary running goal, and the secondary running goals.

6. The method according to claim 5, wherein The determining the number of training days per week includes: Determining a range of the number of training days per week based on the primary running goal; Displaying the range of the number of training days per week; Obtaining the number of training days per week, where the number of training days per week is selected by the user and is within the range of the number of training days per week.

7. The method according to any one of claims 1-6, characterized in that, The training plan framework includes course types, and the training information includes course goals, training parts, training equipment, and strength quality grading. The generating a training plan based on the training plan framework includes: Obtaining a course identifier from a cloud server based on the course type, the course goals, the training parts, the training equipment, and the strength quality grading; Determining a training plan based on the course identifier and the training plan framework.

8. The method according to claim 7, wherein The determining a training plan based on the course identifier and the training plan framework includes: If at least two of the multiple course identifiers belong to the same training part, then the at least two course identifiers belonging to the same training part are scheduled according to the cross-course scheduling method to determine the training plan; wherein, two adjacent course identifiers belonging to the same training part are different.

9. An electronic device, comprising one or more memories and one or more processors, characterized in that, The memory is used to store a computer program; the processor is used to call the computer program so that the electronic device executes the method according to any one of claims 1-8.

10. A chip system, applied to an electronic device, characterized in that, The chip system includes at least one processor and an interface. The interface is used to receive instructions and transmit them to the at least one processor; the at least one processor runs the instructions so that the electronic device executes the method according to any one of claims 1-8.

11. A computer storage medium, characterized in that, Comprising: Computer instructions; when the computer instructions run on an electronic device, the electronic device is caused to execute the method according to any one of claims 1-8.

Citation Information

Patent Citations

  • Algorithm and system for generating self-adaptive training plan

    CN108404382A

  • Training determining method, device, system, storage medium and processor

    CN109300521A

  • Expert system for fitness

    CN109817302A

  • Training plan generating method, device, equipment and storage medium

    CN109935299A

  • Exercise training method and device, equipment and storage medium

    CN115068920A