Health plan making method, health plan making device and electronic equipment
By obtaining the user's target weight loss rate share and current weight, determining the weight loss fat content and calculating the calorie gap, the problem of insufficient accuracy in formulating health plans in the existing technology is solved, and a more accurate healthy fat loss plan is achieved.
Patent Information
- Application Number
- CN202311168990.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-11
- Publication Date
- 2025-03-11
AI Technical Summary
When formulating health plans, existing electronic devices are insufficient in accuracy, which affects the rate of improvement of users' physical fitness.
By obtaining the user's target weight loss rate share and current weight, determine the corresponding weight loss fat content, and calculate the user's calorie gap within the second unit time based on this, thereby formulating a more accurate healthy fat loss plan.
Improve the accuracy of healthy fat loss plans and help users achieve weight loss goals more effectively.
Smart Images

Figure CN119601167A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of electronic devices, and more specifically, to a health plan formulation method, a health plan formulation device, and an electronic device. Background Art
[0002] The electronic device can obtain relevant information of the user and specify a health plan for the user based on the relevant information for the user's reference, so as to improve the user's physical fitness.
[0003] However, the health plans currently specified by electronic devices are not accurate enough, which affects the rate at which users' physical fitness improves. Summary of the invention
[0004] The embodiments of the present application provide a health plan formulation method, a health plan formulation device and an electronic device, which can provide an accurate health plan for a user.
[0005] In a first aspect, a health plan formulation method is provided, which is applied to an electronic device, comprising: obtaining a user's target weight loss rate ratio and the user's current weight, the target weight loss rate ratio being the user's expected weight loss rate ratio, the weight loss rate ratio being the ratio of weight lost in a first unit time period to the current weight; determining a weight loss fat content corresponding to the target weight loss rate ratio, the weight loss fat content being the ratio of fat in the reduced weight to the reduced weight; determining the user's calorie gap in a second unit time period based on the weight loss fat content corresponding to the target weight loss rate ratio, the target weight loss rate ratio, the user's current weight, fat calories per unit weight, and lean body calories per unit weight.
[0006] In this method, the corresponding weight loss fat content is determined according to the user's target weight loss rate ratio, and the calorie gap is determined based on the weight loss fat content. A more accurate calorie gap can be obtained, which can help improve the accuracy of the healthy fat loss plan formulated by the user based on the calorie gap.
[0007] In some possible implementations, obtaining the target weight loss rate ratio of the user includes: obtaining the target weight loss rate of the user and the current weight of the user, the target weight loss rate being the weight loss rate expected by the user, and the weight loss rate being the weight lost within the first unit time period; determining the target weight loss rate ratio based on the target weight loss rate of the user and the current weight of the user.
[0008] In some possible implementations, determining the weight loss fat content corresponding to the target weight loss rate ratio includes: determining the population category to which the user belongs; determining a first mapping relationship from a plurality of mapping relationships according to the population category to which the user belongs, the first mapping relationship being a mapping relationship corresponding to the population category to which the user belongs among the plurality of mapping relationships, the plurality of mapping relationships corresponding one-to-one to a plurality of population categories, and each mapping relationship in the plurality of mapping relationships being used to indicate a mapping relationship between the fat ratio in the weight loss of users of the corresponding population category and the weight loss ratio of users of the corresponding population category reduced within the first unit time period. The weight loss fat content corresponding to the target weight loss rate ratio is determined according to the first mapping relationship.
[0009] In some possible implementations, determining the population category to which the user belongs includes: obtaining user information, where the user information includes at least one of the following information of the user: maximum oxygen uptake, body fat percentage, age, gender, current weight, and body mass index; and determining the population category to which the user belongs based on the user information.
[0010] In some possible implementations, the weight loss fat content corresponding to the target weight loss rate ratio, the target weight loss rate ratio, the user's current weight, fat calories per unit weight, lean body calories per unit weight, and the user's calorie deficit in the second unit time satisfy the following relationship:
[0011] g=(w*v*p*k1+w*v*(1-p)*k2) / t
[0012] Among them, g represents the calorie gap, w represents the current weight of the user, v represents the target weight loss rate ratio, p represents the weight loss fat content corresponding to the target weight loss rate ratio, k1 represents the fat calories per unit weight, k2 represents the lean body calories per unit weight, and t represents the ratio of the first unit time to the second unit time.
[0013] In some possible implementations, a diet plan and an exercise plan for the user in the second unit time are determined based on the calorie deficit and the basal metabolic calories of the user in the second unit time.
[0014] In a second aspect, an electronic device or a cloud server is provided, the method comprising: obtaining a first basal metabolic condition, a first fat reduction duration, and a first exercise capacity, wherein the first basal metabolic condition is the basal metabolic condition of a user for whom a health plan is to be formulated, the first exercise capacity is the exercise capacity of the user for whom a health plan is to be formulated, and the first fat reduction duration is the fat reduction duration expected by the user for whom a health plan is to be formulated; determining a first target exercise plan according to the first basal metabolic condition, the first fat reduction duration, and the first exercise capacity, wherein the first target exercise plan comprises a plurality of target stages, a plurality of target durations, a plurality of target exercise item sets, and a plurality of exercise duration ratios, the plurality of target durations corresponding one-to-one to the plurality of target stages, each of the plurality of target durations being a duration included in the first fat reduction duration of the corresponding target stage, the plurality of target exercise item sets corresponding one-to-one to the plurality of target stages, each of the plurality of target exercise item sets comprising exercise items within the corresponding target stage, the plurality of exercise duration ratios corresponding one-to-one to the plurality of target exercise item sets, and each of the plurality of exercise duration ratios being an exercise duration ratio between exercise items within the corresponding target exercise item set.
[0015] In this method, a personalized fat-loss exercise plan is specified based on the user's basic information, athletic ability, and fat-loss goals, which flexibly and accurately adapts to weight-loss training requirements in various scenarios.
[0016] In some possible implementations, a first target exercise plan is determined according to the first basal metabolic condition, the first fat loss duration and the first exercise capacity, including: determining the multiple target stages, the multiple target durations, the multiple target exercise type sets and the multiple exercise duration ratios according to the first basal metabolic condition and the first fat loss duration, the multiple target exercise type sets corresponding to the multiple target stages one-to-one, each target exercise type set in the multiple target exercise type sets containing the exercise type of the corresponding target stage; determining the target exercise item set of the corresponding target stage according to the first exercise capacity and each target exercise type set.
[0017] In some possible implementations, the multiple target stages, the multiple target durations, the multiple target exercise type sets and the multiple exercise duration ratios are determined according to the first basal metabolic condition and the first fat loss duration, including: determining the multiple target stages and the multiple target durations according to the first basal metabolic condition and the first fat loss duration; determining a target exercise type set for each target stage in the multiple target stages, and obtaining a multiple target exercise type set that corresponds one-to-one to the multiple target stages; determining an exercise duration ratio of multiple exercise types in each target exercise type set in the multiple target exercise type sets, and obtaining a multiple target duration ratio that corresponds one-to-one to the multiple target exercise type sets.
[0018] In some possible implementations, determining a target sports item set corresponding to a target stage according to the first sports ability and each target sports type set includes: obtaining a first score according to the first sports ability, the first score being the score of the first sports ability; determining a first sports difficulty according to a mapping relationship between the sports ability score and the sports difficulty, the first sports difficulty being the sports difficulty associated with the first score; determining a target sports item set corresponding to a target stage according to each target sports type set and the first sports difficulty, the target sports item set corresponding to the target stage of each target sports type set including sports items of each sports type in each target sports type set and having a sports difficulty of the first sports difficulty.
[0019] In some possible implementations, the second target motion plan is determined by obtaining the degree of completion of the first target motion plan and / or user feedback on the first target motion plan.
[0020] In some possible implementations, obtaining the degree of completion of the first target exercise plan includes: obtaining the actual completion time of each exercise item in each target exercise item set in the multiple target exercise item sets; determining the planned duration of each exercise item in each target exercise item set according to the ratio of the multiple target durations to the multiple exercise durations; determining the degree of completion of the same type of exercise items in each target exercise item set according to the actual completion time and the planned duration of the same type of exercise items in each target exercise item set; determining the degree of exercise completion of the target stage corresponding to each target exercise item set according to the completion degree of the same type of exercise items in each target exercise item set.
[0021] In a third aspect, the present application provides a device. The device may include a module corresponding to the method / operation / step / action described in the first aspect or the second aspect, and the module may be a hardware circuit, or software, or a combination of a hardware circuit and software.
[0022] In one design, the device may include a processing module and a communication module. The communication module is used to perform the actions involving information acquisition in the method described in the second aspect above, and the processing module is used to perform the actions involving processing in the method described in the first aspect or the second aspect above.
[0023] In one design, the device may be an electronic device, or a device, module, circuit or chip configured in an electronic device, or a device that can be used in conjunction with an electronic device.
[0024] According to a fourth aspect, a device is provided, comprising a processor and a storage medium, wherein the storage medium stores instructions, and when the instructions are executed by the processor, the method in the first aspect or any possible implementation manner of the first aspect is implemented.
[0025] In a fifth aspect, a device is provided, comprising a processor, wherein the processor is used to process data and / or information so that a method as in the first aspect or any possible implementation of the first aspect is implemented, or a method as in the second aspect or any possible implementation of the second aspect is implemented.
[0026] In one design, the device may be an electronic device, or a device, module, circuit or chip configured in an electronic device, or a device that can be used in conjunction with an electronic device.
[0027] Optionally, the device may also include a memory, the memory being used to store programs or instructions, and the processor being used to run the programs or instructions so that the method in the first aspect or any possible implementation of the first aspect is implemented, or the method in the second aspect or any possible implementation of the second aspect is implemented.
[0028] Optionally, the device may further include the transceiver circuit, or an input / output interface.
[0029] In a sixth aspect, a chip is provided, comprising a processor, wherein the processor is used to run a program or instruction so that a method as in the first aspect or any possible implementation of the first aspect is implemented, or a method as in the second aspect or any possible implementation of the second aspect is implemented.
[0030] Optionally, the chip may further include a memory for storing programs or instructions. Optionally, the chip may further include the transceiver circuit, or an input / output interface.
[0031] In the seventh aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes instructions, which, when executed by a processor, enables the method in the first aspect or any possible implementation of the first aspect to be implemented, or enables the method in the second aspect or any possible implementation of the second aspect to be implemented.
[0032] In an eighth aspect, a computer program product is provided, the computer program product comprising computer program code or instructions, which, when executed, enables the method in the first aspect or any possible implementation of the first aspect to be implemented, or enables the method in the second aspect or any possible implementation of the second aspect to be implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a schematic diagram of the structure of an electronic device;
[0034] Figure 2 is a software structure block diagram of the electronic device provided in the embodiment of the present application;
[0035] Figure 3 is a schematic flow chart of a health plan formulation method according to an embodiment of the present application;
[0036] Figure 4 This is a schematic diagram of an embodiment of the present application for determining a fat percentage model based on the category of the population to which the user belongs;
[0037] Figure 5 is an example diagram of a user interface of an embodiment of the present application;
[0038] Figure 6 is a schematic flow chart of a health plan formulation method according to another embodiment of the present application;
[0039] Figure 7 This is an example diagram of determining a user's metabolic status according to an embodiment of the present application;
[0040] Figure 8 It is a schematic diagram of the structure of a device provided by an embodiment of the present application;
[0041] Fig. 9 This is a schematic diagram of the device structure provided by yet another embodiment of the present application. DETAILED DESCRIPTION
[0042] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0043] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0044] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0045] The electronic device in the embodiments of the present application may be a mobile phone, a tablet computer, a wearable electronic device with wireless communication function (such as a smart watch), a laptop computer, etc. It should also be understood that in some embodiments, the electronic device may not be the aforementioned portable electronic device, but a desktop computer.
[0046] For example, Figure 11 shows a schematic diagram of the structure of the electronic device 100. 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.
[0047] It is to be understood that the structure illustrated in the embodiment of the present application 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 split 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.
[0048] 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 memory, 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.
[0049] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0050] 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.
[0051] 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.
[0052] 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.
[0053] 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.
[0054] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0055] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0056] The wireless communication module 160 can provide wireless communication solutions 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 (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0057] 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 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. The 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).
[0058] 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.
[0059] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0060] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0061] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0062] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0063] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0064] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0065] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[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 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.
[0067] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. 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.
[0068] 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.
[0069] 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.
[0070] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0071] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0072] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
[0073] 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. The 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 touch operation intensity according to 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. For example, when a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the alarm application icon, an instruction to create a new alarm is executed.
[0074] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc. For example, when the mobile phone detects a user's touch operation on the lock screen interface, the mobile phone can collect the user's fingerprint information through the fingerprint sensor 180H, and match the collected fingerprint information with the fingerprint information preset in the mobile phone. If the match is successful, the mobile phone can enter the non-lock screen interface from the lock screen interface.
[0075] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set 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 through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0076] Figure 2 1 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the software system of the electronic device is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the runtime and system library, and the kernel layer. The application layer can include a series of application packages.
[0077] like Figure 2 As shown, the application layer may include camera, settings, skin module, user interface (UI), third-party applications, etc. Among them, the third-party applications may include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0078] 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 may include some predefined functions.
[0079] like Figure 2 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.
[0080] 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. The content provider is used to store and obtain data and make the data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0081] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc., such as the indication information for prompting a virtual shutter key in the embodiment of the present application. 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 text message notification icon can include a view for displaying text and a view for displaying pictures.
[0082] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
[0083] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0084] 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.
[0085] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the software system.
[0086] The core library consists of two parts: one is the function that the programming language needs to call, and the other is the system core library.
[0087] 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.
[0088] 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.
[0089] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0090] 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.
[0091] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0092] A 2D graphics engine is a drawing engine for 2D drawings.
[0093] In addition, the system library may also include status monitoring service modules, such as a physical status recognition module for analyzing and identifying user gestures; a sensor service module for monitoring sensor data uploaded by various sensors at the hardware layer to determine the physical status of the electronic device 100.
[0094] 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.
[0095] The hardware layer can include various types of sensors, such as Figure 1 The various types of sensors introduced in the present application include acceleration sensors, gyroscope sensors, touch sensors, etc.
[0096] Figure 3 This is a schematic flow chart of a health plan formulation method according to an embodiment of the present application. Figure 3 As shown, the method includes S310, S320 and S330. The method can be performed by an electronic device. The electronic device can be a terminal device, such as a mobile phone, a tablet computer, etc., or a wearable device, or a cloud server. The exemplary structure of the electronic device is as follows Figure 1 and / or Figure 2 shown.
[0097] S310, obtaining the user's target weight loss rate ratio and the user's current weight, wherein the target weight loss rate ratio is the user's expected weight loss rate ratio, and the weight loss rate ratio is the ratio of the weight lost within the first unit time period to the current weight.
[0098] As an example, the first unit time period may be a day, a week, a month, a year, or the like.
[0099] As an example, the weight loss rate ratio is the percentage of the weight lost in the first unit time period to the current weight. For example, the weight loss rate may be 1% per week.
[0100] As an example, when a user desires to lose 1% of the current weight in a week, the first unit time is a week, and the user's target weight loss rate is 1%.
[0101] S320, determining the weight loss fat content corresponding to the target weight loss rate ratio, where the weight loss fat content is the ratio of the amount of fat in the reduced body weight to the reduced body weight.
[0102] As an example, the weight loss fat content is the percentage of fat in the reduced weight. For example, if the weight loss is 1 kilogram (kg) and the reduced fat content is 0.5 kg, the weight loss fat content is the percentage of 0.5 kg to 1 kg, that is, 50%.
[0103] Generally speaking, there is a mapping relationship between the weight loss rate ratio and the weight loss fat content. For example, the greater the weight loss rate ratio, the smaller the weight loss fat ratio, that is, the weight loss fat ratio and the weight loss rate ratio are inversely proportional.
[0104] In this step, as an example, the weight loss fat content corresponding to the target weight loss rate ratio can be determined based on the mapping relationship between the weight loss rate ratio and the weight loss fat content.
[0105] S330, determining the user's calorie deficit within the second unit time based on the weight loss fat content corresponding to the target weight loss rate ratio, the target weight loss rate ratio, the user's current weight, fat calories per unit weight, and lean body calories per unit weight.
[0106] In this step, lean body can be understood as a general term for the collection of other components in the human body except fat.
[0107] As an example, the second unit time period may be a day, a week, a month, or a year.
[0108] As an example, the unit weight may be gram (g), kg, jin or kilogram, etc.
[0109] As an example, the following relationship is satisfied between the weight loss fat content corresponding to the target weight loss rate ratio, the target weight loss rate ratio, the user's current weight, the fat calories per unit weight, the lean body calories per unit weight, and the user's calorie deficit in the second unit time:
[0110] g=(w*v*p*k1+w*v*(1-p)*k2) / t
[0111] Among them, g represents the calorie gap of the second unit time, w represents the user's current weight, v represents the target weight loss rate ratio, p represents the weight loss fat content corresponding to the target weight loss rate ratio, k1 represents the fat calories per unit weight, k2 represents the lean body calories per unit weight, and t represents the ratio of the first unit time to the second unit time.
[0112] It can be understood that the above relationship is only an exemplary relationship for calculating the calorie gap based on the weight loss fat content corresponding to the target weight loss rate ratio, the target weight loss rate ratio, the user's current weight, fat calories per unit weight and lean body calories per unit weight. Any relationship obtained by deforming the above relationship should be included in the scope of this step.
[0113] It can be understood that one principle of this step is as follows: the target weight loss can be obtained based on the current weight and the target weight loss rate ratio within the first unit time, and the target weight loss is the weight the user expects to lose in the first unit time; the fat weight in the target weight loss can be obtained based on the target weight loss and the target weight loss rate ratio corresponding to the fat content, that is, the fat weight included in the weight the user expects to lose in the first unit time; the fat calories that need to be lost in the first unit time can be obtained based on the fat weight in the target weight loss and the fat calories per unit weight; the weight loss lean body content corresponding to the target weight loss rate ratio can be obtained based on the weight loss fat content corresponding to the target weight loss rate ratio, and the weight loss lean body content is the weight lost in the first unit time. the proportion of lean body in the weight lost; the lean body content of weight loss corresponding to the target weight loss and the target weight loss rate ratio can be used to know the lean body weight in the target weight loss, that is, the lean body weight included in the weight that the user expects to lose within the first unit time; the lean body calories that need to be lost in the first unit time can be known based on the lean body weight in the target weight loss and the lean body calories per unit weight; the total calories that need to be lost in the first unit time can be known based on the lean body calories that need to be lost in the first unit time and the lean body calories that need to be lost in the first unit time; the calories that need to be lost in the second unit time can be known based on the total calories that need to be lost in the first unit time and the ratio of the first unit time to the second unit time, that is, the calorie gap in the second unit time.
[0114] It can be understood that any method that uses the above principles or related principles that can be undoubtedly derived from the above principles and determines the calorie deficit based on the weight loss fat content corresponding to the target weight loss rate ratio, the target weight loss rate ratio, the user's current weight, fat calories per unit weight, and lean body calories per unit weight should be included in the scope of this step.
[0115] In this embodiment, as an example, the first unit duration may be a default, such as a default of one week or one month.
[0116] As an example, the first unit duration may be input by a user, such as input through a user interface.
[0117] As an example, the weight loss duration can be calculated based on the user's desired target weight, current weight, and weight loss rate. For example, the difference between the target weight and the current weight divided by the weight loss rate can be used as the weight loss duration. Optionally, the weight loss rate can also be calculated based on the weight loss rate ratio.
[0118] As an example, the user's target weight may be obtained through user input, for example, the target weight input by the user through a user interface may be obtained.
[0119] As an example, the user interface may include a text input control in which the user may enter a target weight.
[0120] As an example, the user interface may include a selection control, which may provide a plurality of weight options for the user, and the user may select a target weight through the selection control.
[0121] In this embodiment, as an example, the second unit duration may be a default, such as a default of one week or one month.
[0122] As an example, the second unit duration may be input by a user, such as input through a user interface.
[0123] In this embodiment, as an example, obtaining the user's target weight loss rate ratio may include: obtaining the user's target weight loss rate and the user's current weight; determining the target weight loss rate ratio based on the user's target weight loss rate and the user's current weight.
[0124] As an example, determining the target weight loss rate ratio according to the user's target weight loss rate and the user's current weight may include: obtaining the ratio of the user's target weight loss rate and the user's current weight to obtain the target weight loss rate ratio.
[0125] As an example, obtaining the user's target weight loss rate may include: obtaining the target weight loss rate input by the user. For example, obtaining the target weight loss rate input by the user through a control in a user interface.
[0126] As an example, the user interface may include a text input control in which the user may enter a target weight loss rate.
[0127] As an example, the user interface may include a selection control that provides the user with a variety of weight loss rate options, through which the user can select a weight loss rate, wherein the weight loss rate selected by the user can serve as the target weight loss rate input by the user.
[0128] As an example, obtaining a user's target weight loss rate may include: obtaining a user's desired weight loss mode, and determining the user's target weight loss rate based on a mapping relationship between the user's weight loss mode and the weight loss rate, wherein different weight loss modes correspond to different weight loss rates. The user's desired weight loss mode may be referred to as a target weight loss mode.
[0129] The weight loss mode may include at least one of the following modes: a recommended mode, a fast mode or an aggressive mode, and the three weight loss rates corresponding to the three modes may increase in sequence.
[0130] As an example, the weight reduction rate corresponding to the fast mode may be between 1.1% and 1.5%.
[0131] As an example, obtaining a user's weight loss mode may include: obtaining a target weight loss mode input by the user through a control in a user interface.
[0132] As an example, the user interface may include a text input control in which the user may enter a target weight loss mode.
[0133] As an example, the user interface may include a selection control that may provide the user with a variety of weight loss mode options, through which the user may select a weight loss mode, wherein the weight loss mode selected by the user may serve as the target weight loss mode input by the user.
[0134] Optionally, in a scenario where the user interface includes a selection control for selecting a weight loss mode, the user interface may also include a weight loss rate corresponding to each selectable weight loss mode for the user to use as a reference when selecting a weight loss mode.
[0135] As an example, obtaining the target weight loss rate ratio of the user may include: obtaining the target weight loss rate ratio input by the user. For example, obtaining the target weight loss rate ratio input by the user through a user interface.
[0136] As an example, the user interface may include a text input control in which the user may enter a target weight loss rate percentage.
[0137] As an example, the user interface may include a selection control that may provide the user with a variety of weight loss rate ratio options, through which the user may select a weight loss rate ratio, wherein the weight loss mode selected by the user may serve as the target weight loss rate ratio input by the user.
[0138] Optionally, in a scenario where the user interface includes a selection control for selecting a weight loss rate, the user interface may also include weight loss rates and / or weight loss modes corresponding to each selectable weight loss rate ratio, for the user to select the weight loss rate ratio as a reference.
[0139] As an example, obtaining the current weight of the user may include: obtaining the current weight input by the user through a control in the user interface.
[0140] As an example, a user interface may include a text input control in which a user may enter their current weight.
[0141] As an example, the user interface may include a selection control, which may provide the user with a variety of weight options, and the user may select a weight through the selection control, wherein the weight selected by the user may be used as the current weight input by the user.
[0142] As an example, obtaining the current weight of the user may include: receiving the weight of the user measured by a weight detection device. An example of a weight detection device is a body fat scale.
[0143] For example, a connection is established between the electronic device and the weight detection device, and then the user's weight currently measured in real time by the weight detection device is received from the weight detection device, or the user's weight most recently measured using the weight detection device is received from the weight detection device, and the received weight value is used as the user's current weight.
[0144] As an example, determining the weight loss fat content corresponding to the target weight loss rate ratio includes: determining the population category to which the user belongs; determining a first mapping relationship from multiple mapping relationships based on the population category to which the user belongs, the first mapping relationship being a mapping relationship among the multiple mapping relationships that corresponds to the population category to which the user belongs, the multiple mapping relationships corresponding one-to-one to the multiple population categories, each mapping relationship in the multiple mapping relationships being used to indicate a mapping relationship between the fat ratio in the weight loss of users of the corresponding population category and the weight loss ratio of users of the corresponding population category within a first unit time period; determining the weight loss fat content corresponding to the target weight loss rate ratio based on the first mapping relationship.
[0145] In this embodiment, the mapping relationship between the fat percentage in the weight loss of users of the corresponding population category and the weight loss percentage of users of the corresponding population category within the first unit time period can be called a weight loss fat percentage model.
[0146] As an example, the population category may include at least one of the following categories: obese people, fitness people, and thin people.
[0147] In this step, at least one of the following information of users of different population categories is different: maximum oxygen uptake, body fat percentage, age, gender, current weight, or body mass index (BMI).
[0148] As an example, the crowd category may be characterized by a name of the crowd category. Examples of the name of the crowd category include "obese people", "fitness people" or "thin people".
[0149] As an example, a crowd category can be characterized by feature information of users in the crowd category. For example, high body fat percentage, high BMI and male can represent obese people; and low body fat percentage, high BMI and male can represent fitness people.
[0150] As an example, a crowd category can be characterized by the range of characteristic information values of users in the crowd category. For example, a body fat percentage of a1%-b1%, a BMI of c1%-d1% and males can be characterized as obese people; another example is a body fat percentage of a2%-b2%, a BMI of c2%-d2% and males can be characterized as fitness people.
[0151] As an example, determining the category of the crowd to which the user belongs may include: obtaining information input by the user that can characterize the category of the crowd, and determining the category of the crowd to which the user belongs based on the information.
[0152] As an example, the user interface may include a text input control in which a user may characterize information about a population category.
[0153] As an example, the user interface may include a selection control that may provide the user with information options representing different categories of people. The user may select information representing different categories of people through the selection control, wherein the information selected by the user may serve as the information representing different categories of people input by the user.
[0154] As an example, when the name of the population category to which the user belongs is obtained and the mapping relationship between the fat weight loss rate ratio and the weight loss fat content is associated with the name of the population category, the first mapping relationship can be determined based on the name of the population category to which the user belongs.
[0155] As an example, when the user's characteristic information is obtained and the mapping relationship between the fat weight loss rate ratio and the weight loss fat content is associated with the name of a population category, it is necessary to first determine the name of the population category to which the user belongs based on the mapping relationship between the user's characteristic information and the population category, and then determine the first mapping relationship based on the name of the population category to which the user belongs.
[0156] As an example, when the acquired information is characteristic information of the user, and the mapping relationship between the fat weight loss rate ratio and the weight loss fat content is associated with the user characteristics, the first mapping relationship can be determined based on the characteristic information of the user.
[0157] As an example, when the user's characteristic information is obtained and the mapping relationship between the fat weight loss rate ratio and the weight loss fat content is associated with the range of characteristic values, the range of the user's characteristic values can be determined based on the mapping relationship between the user's characteristic information and the range of characteristic values, and then the first mapping relationship can be determined based on the range of the user's characteristic values.
[0158] As an example, when the user's characteristic information is obtained and the mapping relationship between the fat weight loss rate ratio and the weight loss fat content is associated with the name of a population category, the range of the user's characteristic value can be determined based on the mapping relationship between the user's characteristic information and the range of the characteristic value, and then the name of the population category to which the user belongs can be determined based on the mapping relationship between the range of the user's characteristic value and the population category, and finally the first mapping relationship is determined based on the name of the population category to which the user belongs.
[0159] Figure 4 A schematic diagram of a model for determining fat percentage based on the user's demographic category. Figure 4 As shown, body fat percentage can be divided into several ranges such as a1%-b1%, a2%-b2%, BMI can be divided into several ranges such as c1-d1, c2-d2, age can be divided into several ranges such as e1-f1, e2-f2, and gender can be divided into male and female.
[0160] Among them, body fat percentage a1%-b1%, BMI c1-d1, age e1-f1 and male gender are associated with one fat percentage model, and body fat percentage a2%-b2%, BMI c2-d2, age e2-f2 and male gender are associated with another weight loss fat percentage model.
[0161] Understandably, Figure 4 In the figure, the information representing the population category "body fat percentage a1%-b1%, BMI c1-d1, age e1-f1 and gender male" can be replaced by the name of the corresponding population category "obese people", and the information representing the population category "body fat percentage a2%-b2%, BMI c2-d2, age e2-f2 and gender male" can be replaced by the name of the corresponding population category "fitness people".
[0162] Understandably, Figure 4 In the example, the information characterizing the population category "body fat percentage a1%-b1%, BMI c1-d1, age e1-f1, and gender male" can be replaced by the information characterizing the population category "high body fat percentage, high BMI, old age, and male", and the information characterizing the population category "body fat percentage a2%-b2%, BMI c1-d1, age e2-f2, and gender male" can be replaced by the information characterizing the population category "low body fat percentage, high BMI, young, and male".
[0163] Depend on Figure 4As shown, when the acquired user information is "body fat percentage a, BMI c, age e and gender male" and a is between a1 and b1, c is between c1 and d1, and e is between e1 and f1, the first mapping relationship can be determined based on the user information as Figure 4 The upper weight loss as fat percentage model of the two weight loss as fat percentage models shown.
[0164] In this embodiment, optionally, the target weight loss rate ratio may be a weight loss rate ratio range, and the weight loss rate ratio range is also referred to as a weight loss rate ratio interval.
[0165] In this scenario, the calorie gap corresponding to each endpoint value can be obtained according to the above method based on the two endpoint values of the weight loss rate ratio range, and the calorie gap corresponding to the target weight loss rate is a range with the two calorie gaps corresponding to the two endpoint values as the upper and lower limits of the interval. The larger of the two calorie gaps is the upper limit of the interval, and the smaller is the lower limit of the interval.
[0166] In this embodiment, after obtaining the calorie deficit of the user within the second unit time, the calorie deficit can be output. For example, the calorie deficit can be output through a user interface.
[0167] Optionally, when the calorie gap is output through the user interface, all or part of the information for obtaining the calorie gap may also be output.
[0168] In this embodiment, optionally, the following step may be further included: determining a diet plan and an exercise plan of the user in the second unit time according to the calorie gap and the basal metabolic calories of the user in the second unit time.
[0169] As an example, the basal metabolic heat of the user in the second unit time period may be directly input by the user, or may be calculated based on other information of the user.
[0170] As an example, the user's diet plan within the second unit time may include the following: the total calories that can be consumed in the second unit time is recorded as the first calories; the total calories that should be consumed within the second unit time is recorded as the second calories; wherein the difference between the first calories and the second calories is equal to the calorie gap.
[0171] It can be understood that if the calorie gap is a range, the first calorie and the second calorie in the diet plan can also be a range respectively.
[0172] As an example, the user's diet plan within the second unit time may also include the following content: the number of meals per day, and the calories that can be consumed per meal. It can be understood that if the calorie gap is a range, the calories that can be consumed per meal may also be a range.
[0173] As an example, a sports program may include sports types, sports items included in each sports type, and duration information of sports items of each sports type. The duration information may be an absolute duration, such as one hour, or a relative duration, such as a ratio of durations of sports items of different sports types.
[0174] Figure 5 This is an example diagram of a user interface of an embodiment of the present application. Figure 5 As shown in the content to the left of the middle dotted line, the user information input user interface can output multiple height values for the user to choose from, can output multiple weight values for the user to choose from, can provide multiple weight loss rates for the user to choose from, can provide multiple weight loss rate ratios for the user to choose from, can provide multiple weight loss modes for the user to choose from, and can provide multiple target weights for the user to choose from.
[0175] like Figure 5 As shown on the right side of the middle dotted line, the calorie gap user interface can include the following three parts: weight loss goal, diet plan, and exercise plan.
[0176] The weight loss goal section can include the following: daily calorie deficit, weekly weight loss rate, weight loss duration, and target weight.
[0177] The diet plan section can include the following: total daily calorie intake, calories for breakfast, calories for lunch, calories for dinner, and calories for snacks.
[0178] The exercise program section may include the following content: the calories that can be consumed by the recommended activities, and the recommended exercise type determined based on the calories that can be consumed by the recommended activities. For example, when the calories that can be consumed by the recommended activities are 550 kcal, the recommended corresponding exercise type is: 70% aerobic exercise is recommended, such as walking, running, cycling, etc. and / or 30% strength training is recommended, such as core strengthening, upper limb strength training, etc.
[0179] In some other embodiments of the present application, if Figure 3 The method shown is executed by a cloud server, and the terminal device, such as a mobile phone, obtains relevant user information and sends the relevant user information to the cloud server, and the cloud server executes Figure 3 After the method in the illustrated embodiment obtains the calorie gap or even other information that can be output to the user, the cloud server sends the calorie gap and related information to the terminal device, and the terminal device then outputs the calorie gap and related information through the user interface.
[0180] Optionally, the terminal device can also send the calorie gap and related information to the wearable device, and display the calorie gap and related information to the user through the wearable device, thereby further improving the convenience of the user browsing the calorie gap and related information.
[0181] Figure 6 This is a schematic flow chart of a health plan formulation method according to another embodiment of the present application. Figure 6 As shown, the method may include S610 and S620.
[0182] S610, obtaining a first basal metabolic condition, a first fat reduction time, and a first exercise capacity, wherein the first basal metabolic condition is the basal metabolic condition of the user for whom a health plan is to be formulated, the first exercise capacity is the exercise capacity of the user for whom a health plan is to be formulated, and the first fat reduction time is the fat reduction time expected by the user for whom a health plan is to be formulated.
[0183] As an example, the basal metabolic status is used to indicate the speed of basal metabolism, and different basal metabolic statuses indicate different degrees of basal metabolic speed.
[0184] As an example, the basal metabolic conditions may include: high metabolism, standard metabolism and low metabolism, and the basal metabolic speeds corresponding to these three basal metabolic conditions decrease in sequence.
[0185] As an example, obtaining the first basal metabolic condition may include: obtaining the first basal metabolic condition input by a user. For example, obtaining the first basal metabolic condition input by a user through a control in a user interface.
[0186] As an example, the user interface may include a text input control, and the user may input the first basal metabolic condition in the text input control.
[0187] As an example, the user interface may include a selection control that may provide the user with a variety of basal metabolic condition options, through which the user may select a basal metabolic condition, wherein the basal metabolic condition selected by the user may be used as the first basal metabolic condition input by the user.
[0188] As an example, the user interface may display the basal metabolic value range corresponding to each basal metabolic condition, so that the user can determine within which basal metabolic value range the user is located based on his or her own basal metabolic value, thereby accurately selecting his or her own basal metabolic condition.
[0189] As an example, obtaining the first basal metabolic condition may include: obtaining a basal metabolic value input by a user, and determining the first basal metabolic condition of the user based on the basal metabolic value. For example, determining to which basal metabolic value range the basal metabolic value input by the user belongs, and determining the basal metabolic condition corresponding to the basal metabolic value range as the first basal metabolic condition. For the sake of description, the basal metabolic value input by the user is referred to as the first basal metabolic value.
[0190] As an example, obtaining the first basal metabolic value input by the user may include: obtaining the first basal metabolic value input by the user through a control in a user interface.
[0191] As an example, the user interface may include a text input control in which the user may input the first basal metabolic value.
[0192] As an example, the user interface may include a selection control, which may provide the user with a variety of basal metabolic value options, through which the user may select a basal metabolic value, wherein the basal metabolic value selected by the user may be used as the first basal metabolic value input by the user.
[0193] As an example, obtaining the first basal metabolic condition input by the user may include: obtaining at least one piece of information among the user's BMI, gender, and age and body fat percentage, and determining the first basal metabolic condition based on the at least one piece of information and the body fat percentage.
[0194] Among them, the method of obtaining the user's BMI, gender and age can refer to Figure 3 The relevant contents in the illustrated embodiment will not be repeated here.
[0195] As an example, determining the first basal metabolic condition based on at least one of BMI, gender, and age and body fat percentage may include: obtaining at least one of the user's BMI, gender, and age and the user's body fat percentage; determining the normal body fat percentage range associated with the at least one information based on the correspondence between the at least one information and the normal body fat percentage; judging the relationship between the user's body fat percentage and the normal body fat percentage range; if it is higher than the normal body fat percentage range, the first basal metabolic condition may be considered as high metabolism; if it is within the normal body fat percentage range, the first basal metabolic condition may be considered as standard basal metabolism; if it is lower than the normal body fat percentage range, the first basal metabolic condition may be considered as low metabolism.
[0196] Figure 7 The present invention is a flow chart for determining a first basic metabolic condition based on body fat percentage and at least one of BMI, gender and age. Figure 7 The method shown includes S701 to S707.
[0197] S701, obtaining the user's BMI, gender, age, and body fat percentage.
[0198] S702: Determine a normal body fat percentage range associated with at least one information based on the correspondence between the user's BMI, gender, age and normal body fat percentage.
[0199] S703, determining whether the user's body fat percentage is greater than the maximum value of the normal body fat percentage range. If it is greater than the maximum value of the normal body fat percentage range, S704 may be executed, otherwise S705 may be executed.
[0200] S704, determining that the first basal metabolic condition is high metabolism.
[0201] S705: Determine whether the user's body fat percentage is lower than the minimum value of the normal body fat percentage range. If yes, execute S706; otherwise, execute S707.
[0202] S706, determining that the first basal metabolic condition is low metabolism.
[0203] S707, determining the first basal metabolic condition as the standard metabolism.
[0204] Or, conversely, first determine whether the user's body fat percentage is lower than the minimum value of the normal body fat percentage range. If it is lower than the minimum value of the normal body fat percentage range, execute S706, otherwise determine whether the user's body fat percentage is greater than the maximum value of the normal body fat percentage range, if so, execute S705, otherwise execute S707.
[0205] The following describes a method for obtaining the first exercise capacity and the first fat loss duration in S610.
[0206] As an example, the method for obtaining the first weight loss duration in this embodiment can refer to Figure 3 The relevant contents of obtaining the weight loss duration in the illustrated embodiment will not be repeated here.
[0207] As an example, the level of a user's athletic ability can be characterized by a score. Therefore, obtaining the first athletic ability of the first user can also be understood as determining the user's athletic ability score. The athletic ability score can be called a first athletic ability score.
[0208] As an example, obtaining a first athletic ability score of a user may include: obtaining a first athletic ability score input by the user.
[0209] As an example, obtaining the first athletic ability score input by the user may include: obtaining the first athletic ability score input by the user through a control in a user interface.
[0210] As an example, the user interface may include a text input control in which the user may enter the first athletic ability score.
[0211] As an example, the user interface may include a selection control that may provide the user with a plurality of athletic ability score options, through which the user may select an athletic ability score, wherein the athletic ability score selected by the user may serve as the first athletic ability score input by the user.
[0212] As an example, obtaining a user's first athletic ability score may include: obtaining the user's athletic scores for sports of multiple sports types and / or athletic scores for each of at least one body part, and determining the first athletic ability score based on these athletic scores.
[0213] As an example, the sports scores for sports items of multiple sports types may include: an aerobic sports capacity score and a strength sports capacity score.
[0214] For example, the user's upper limb motor ability score is w, and its weight is a; the lower limb motor ability score is x, and its weight is b; the core motor ability score is y, and its weight is c; the aerobic motor ability score is z, and its weight is d, then the first motor ability score can satisfy the following relationship: s=a*w+b*x+c*y+d*z, where s represents the first motor ability score, and a, b, c and d can be preset parameter values.
[0215] As an example, obtaining the athletic ability score for each sport type of sport may include: obtaining the athletic ability score for each sport type of sport input by the user.
[0216] The time slot method for obtaining the sports ability score of each sports event of the sports type input by the user can refer to the relevant content of obtaining the first sports ability score in the aforementioned content, which will not be repeated here.
[0217] As an example, obtaining an athletic ability score for sports events of each sport type may include: obtaining at least one of the following information about the user: the number of times the sport is performed within a certain period of time, obtaining the time required for the user to complete the sport once, or obtaining the user's physical characteristic parameter values within the period of time, such as heart rate, blood pressure, blood sample, or maximum oxygen uptake; and calculating the athletic ability score based on the at least one information.
[0218] As an example, the number of times the sport is performed within a certain period of time, the time required for the user to complete the sport once is obtained, or one or more of the user's physical characteristic parameter values within the period of time are obtained. The values may be values directly input by the user, such as values input by the user based on historical records; or the values may be values obtained by the electronic device measuring the user in real time.
[0219] S620, determining a first target exercise plan according to the first basal metabolic condition, the first fat loss duration and the first exercise capacity, wherein the first target exercise plan includes multiple target stages, multiple target durations, multiple target exercise item sets and multiple exercise duration ratios, the multiple target durations correspond one-to-one to the multiple target stages, each of the multiple target durations is the duration of the corresponding target stage included in the first fat loss duration, the multiple target exercise item sets correspond one-to-one to the multiple target stages, each of the multiple target exercise item sets includes exercise items within the corresponding target stage, the multiple exercise duration ratios correspond one-to-one to the multiple target exercise item sets, and each of the multiple exercise duration ratios is the exercise duration ratio between exercise items within the corresponding target exercise item set.
[0220] As an example, the multiple target stages included in the first target exercise program may include at least one of the following stages: fat loss adaptation stage, metabolism enhancement stage, efficient fat burning stage, and achievement consolidation stage. It is understood that at least one of the following contents of these stages is different: duration, exercise type of exercise items in the stage, different exercise items of the same exercise type, different exercise duration of the same exercise type, or different exercise duration of the same exercise item.
[0221] As an example, the fat loss adaptation period is to allow the body to gradually adapt to the rhythm of fat loss through exercise with lower intensity; the metabolism enhancement period is mainly strength training, mainly to enhance metabolism, and the weight may not change significantly, but the body will become firmer and the body shape will become thinner; the efficient fat burning period is mainly aerobic training and high-intensity interval training (HIIT) training. The frequency of training increases, the overall calorie consumption increases, and fat can be lost quickly; the result consolidation period is a balanced aerobic and strength training to maintain muscle mass and stabilize metabolism, while reducing body fat percentage and consolidating the results of the rapid fat loss period.
[0222] As an example, determining the first target exercise plan based on the first basal metabolic condition, the first fat loss duration and the first exercise capacity may include: determining multiple target stages, multiple target durations, multiple target exercise type sets and multiple exercise duration ratios based on the first basal metabolic condition and the first fat loss duration, the multiple target exercise type sets corresponding one-to-one to the multiple target stages, each target exercise type set in the multiple target exercise type sets containing the exercise type of the corresponding target stage; determining a set of target exercise items for the corresponding target stage based on the first exercise capacity and each target exercise type set.
[0223] As an example, multiple target stages, multiple target durations, multiple target exercise type sets, and multiple exercise duration ratios are determined according to a first basal metabolic condition and a first fat loss duration, including: determining multiple target stages and multiple target durations according to the first basal metabolic condition and the first fat loss duration; determining a target exercise type set for each target stage in the multiple target stages, and obtaining multiple target exercise type sets that correspond one-to-one to the multiple target stages; determining an exercise duration ratio for multiple exercise types in each target exercise type set in the multiple target exercise type sets, and obtaining multiple target duration ratios that correspond one-to-one to the multiple target exercise type sets.
[0224] As an example, the multiple target stages can be specifically divided according to a first fat loss duration and a first basal metabolic condition.
[0225] For example, if the first fat reduction period of the user's plan is X weeks and the first basal metabolic condition is low metabolism, then the first fat reduction period can be divided into: fat reduction adaptation period, week A; metabolism enhancement period, week B; efficient fat burning period, week C; and result consolidation period, week D.
[0226] For example, if the first fat loss period of the user's plan is Y weeks and the first basal metabolic condition is high metabolism, then the first fat loss period can be divided into: fat loss adaptation period, week A; efficient fat burning period, week E; and result consolidation period, week F.
[0227] It can be understood that the multiple target stages in the first target exercise plan correspond to multiple target durations, wherein the sum of the multiple target durations is the first fat reduction duration.
[0228] As an example, the exercise type corresponding to each target stage is determined based on the first exercise capacity and the first basal metabolic condition.
[0229] As an example, each of the multiple target stages corresponds to a corresponding set of target exercise items, as shown in Table 1, which are the target exercise item sets corresponding to the fat loss adaptation period, metabolism enhancement period, efficient fat burning period and achievement consolidation period.
[0230] Table 1
[0231] Target Phase Target Sports Fat loss adaptation period Aerobic, strength and endurance Highly effective fat burning period Aerobic, strength endurance, HIIT Metabolic boost period Aerobic, strength endurance, HIIT Achievement consolidation period Aerobic, strength endurance, HIIT
[0232] As an example, the exercise duration of each target exercise type in the target exercise items corresponding to each target stage in the multiple target stages may be determined according to the weekly training frequency.
[0233] It can be understood that each target exercise program set includes multiple exercise types, such as aerobics, strength endurance, and HIIT. Each exercise type corresponds to a different exercise duration, which is determined by the weekly training frequency.
[0234] For example, if the user is in the metabolic enhancement period and the weekly training frequency is K, then in this stage, M aerobic training classes, N strength training classes, and P HIIT training classes are arranged.
[0235] As an example, determining a target sports item set for a corresponding target stage based on a first sports ability and each target sports type set may include: determining the first sports difficulty based on a mapping relationship between the first sports ability score and the sports difficulty, the first sports difficulty being the sports difficulty associated with the first sports ability score; determining a target sports item set for a corresponding target stage for each target sports type set based on each target sports type set and the first sports difficulty, the target sports item set for the target stage for each target sports type set including sports items of each sports type in each target sports type set and having a sports difficulty of the first sports difficulty.
[0236] As an example, the first exercise difficulty includes a strength course difficulty and an aerobic course difficulty, wherein the strength course difficulty and the aerobic course difficulty can be determined by the user's strength score, aerobic score, user gender and weight. Tables 2 and 3 are the strength course difficulties corresponding to the strength score and aerobic score, respectively.
[0237] Table 2
[0238]
[0239]
[0240] Table 3
[0241] Aerobic score Aerobic Class Difficulty [0,d) X2 [d,e) Y2 ≥e Z2
[0242] As an example, if the user's strength test score is a, and the course difficulty corresponding to this athletic ability score is Y1, then according to the aforementioned course type and course ratio, strength training with a difficulty of Y1 is randomly selected and arranged into the target exercise type. The same applies to aerobic training.
[0243] In this embodiment, it can be understood that if the electronic device is a terminal device such as a mobile phone, tablet or wearable device, the step of obtaining various information input by the user can be implemented by the electronic device itself, or can be received from other terminal devices that establish a communication connection with the electronic device.
[0244] In this embodiment, it can be understood that if the electronic device is a cloud server, the step of obtaining various information input by the user can be implemented by the terminal device and received from the terminal device.
[0245] In this embodiment, after the first target motion plan is obtained, the first target motion plan may be displayed to the user.
[0246] For example, if the electronic device is a mobile phone or a tablet computer, the first target exercise plan may be displayed to the user through the user interface of the electronic device.
[0247] Optionally, in a scenario where the electronic device displays the first target exercise plan to the user, the electronic device may also send the first target exercise plan to the wearable device, and display the first target exercise plan to the user through the wearable device.
[0248] For another example, if the electronic device is a cloud server, the electronic device can send the first target exercise plan to various terminal devices such as mobile phones, tablet computers, wearable devices, etc., and display the first target exercise plan to the user through the user interface of the electronic device.
[0249] As an example, the method of this embodiment may also include: obtaining the completion degree of the first target motion plan and / or the user's feedback on the first target motion plan, and determining the second target motion plan based on the completion degree of the first target motion plan and / or the user's feedback on the first target motion plan.
[0250] In the steps of this embodiment, the second target exercise program may be a program adjusted after the first target exercise program is completed, taking into account the training completion degree and / or the user's feedback on the first target exercise program.
[0251] As an example, the degree of completion of the first target exercise program may be calculated based on actual exercise conditions and planned conditions after multiple target stage trainings are completed.
[0252] As an example, the user's feedback on the first target exercise program may be the user's subjective perceived level after each training session.
[0253] As an example, the perception level can be divided into four levels: easy, just right, strenuous, and challenging.
[0254] As an example, feedback on the first target motion plan may be obtained in a user interface.
[0255] As an example, obtaining the completion degree of the first target exercise plan includes: obtaining the actual completion time of each exercise item in each target exercise item set in the multiple target exercise item sets; determining the planned duration of each exercise item in each target exercise item set according to the ratio of the multiple target durations to the multiple exercise durations; determining the completion degree of the exercise items of the same type in each target exercise item set according to the actual completion time and the planned duration of the exercise items of the same type in each target exercise item set; determining the exercise completion degree of the target stage corresponding to each target exercise item set according to the completion degree of the exercise items of the same type in each target exercise item set.
[0256] As an example, the actual exercise situation can be determined by counting the actual number of completed sets and actual number of completed times of different exercise types, the planned situation can be determined by the planned number of sets and planned number of times, and the completion degree of the first target exercise plan can be calculated by the weighted values of the completion degrees of different types of exercise.
[0257] As an example, the value obtained by multiplying the ratio of the actual number of sets to the planned number of sets of strength training by the ratio of the actual number of times to the planned number of times is the completion degree of strength training in the first target exercise plan; the value obtained by multiplying the ratio of the actual number of sets to the planned number of sets of aerobic training by the ratio of the actual number of times to the planned number of times is the completion degree of aerobic training in the first target exercise plan; the value obtained by multiplying the ratio of the actual number of sets to the planned number of sets of HIIT training by the ratio of the actual number of times to the planned number of times is the completion degree of HIIT training in the first target exercise plan.
[0258] It can be understood that in this embodiment, the following steps can be repeatedly performed: obtaining the degree of completion of the second target motion plan and / or the user's subjective feedback, and adjusting the second target motion plan based on this information to obtain a new second target motion plan.
[0259] Figure 8 This is a schematic diagram of the device structure provided by an embodiment of the present application. Figure 8 As shown, the apparatus 800 may include a processing module 801 and a communication module 802 .
[0260] As a first example, the apparatus 800 may be used to implement Figures 3 to 7 For example, the processing module 801 is used to implement Figures 3 to 7 In any of the embodiments described in the method, the communication module 802 is used to implement the steps of the processing action. Figures 3 to 7 Any one of the illustrated embodiments describes the relevant steps of the method involving the action of obtaining information.
[0261] Fig. 9 This is a schematic diagram of a device structure provided in another embodiment of the present application. Fig. 9 As shown, the device 900 includes a processor 901 and a communication circuit 902. The processor 901 and the communication circuit 902 are coupled to each other. It is understood that the communication circuit 902 can be a transceiver or an input-output interface. Optionally, the device 900 may also include a memory 903 for storing instructions executed by the processor 901 or storing input data required by the processor 901 to run the instructions or storing data generated after the processor 901 runs the instructions. It is understood that the memory 903 may be located outside the processor 901, or inside the processor 901.
[0262] As an example, the processor 901 is used to implement the functions of the processing module 801 , and the communication circuit 902 is used to implement the functions of the communication module 802 .
[0263] The device 900 may be an electronic device, or a device, module, circuit, chip, etc. configured and arranged in an electronic device, or a device that can be used in conjunction with an electronic device.
[0264] The embodiment of the present application provides a computer program product, when the computer program product is run on an electronic device, the electronic device executes the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above method-related embodiments, and will not be repeated here.
[0265] The embodiment of the present application provides a readable storage medium, the readable storage medium contains instructions, when the instructions are executed in an electronic device, the electronic device executes the technical solution of the above embodiment. The implementation principle and technical effect are similar, and will not be repeated here.
[0266] The embodiment of the present application provides a chip, the chip is used to execute instructions, when the chip is running, the technical solution in the above embodiment is executed. The implementation principle and technical effect are similar, and will not be repeated here.
[0267] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
[0268] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0269] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0270] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0271] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0272] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0273] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the embodiment of the present application, which should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.
Claims
1. A method for formulating a health plan, characterized in that: The method is applied to an electronic device, comprising: Obtaining a target weight loss rate ratio of a user and a current weight of the user, wherein the target weight loss rate ratio is a weight loss rate ratio expected by the user, and the weight loss rate ratio is a ratio of the weight lost within a first unit time period to the current weight; Determine the weight loss fat content corresponding to the target weight loss rate ratio, wherein the weight loss fat content is the ratio of fat in the reduced body weight to the reduced body weight; The calorie deficit of the user in the second unit time period is determined based on the weight loss fat content corresponding to the target weight loss rate ratio, the target weight loss rate ratio, the user's current weight, fat calories per unit weight, and lean body calories per unit weight.
2. The method according to claim 1, characterized in that The obtaining of the user's target weight loss rate ratio includes: Obtaining a target weight loss rate of the user and a current weight of the user, wherein the target weight loss rate is a weight loss rate expected by the user, and the weight loss rate is a weight loss within the first unit time period; The target weight loss rate ratio is determined according to the target weight loss rate of the user and the current weight of the user.
3. The method according to claim 1 or 2, characterized in that: Determining the weight loss fat content corresponding to the target weight loss rate ratio includes: Determining the population category to which the user belongs; Determining a first mapping relationship from a plurality of mapping relationships according to the population category to which the user belongs, the first mapping relationship being a mapping relationship corresponding to the population category to which the user belongs among the plurality of mapping relationships, the plurality of mapping relationships corresponding one-to-one to the plurality of population categories, and each mapping relationship among the plurality of mapping relationships being used to indicate a mapping relationship between a fat percentage in a weight loss of a user of a corresponding population category and a weight loss percentage of the user of the corresponding population category within the first unit time period; The weight loss fat content corresponding to the target weight loss rate ratio is determined according to the first mapping relationship.
4. The method according to claim 3, characterized in that The determining the group category to which the user belongs includes: Acquire user information, wherein the user information includes at least one of the following information of the user: maximum oxygen uptake, body fat percentage, age, gender, current weight, and body mass index; The group category to which the user belongs is determined according to the user information.
5. The method according to any one of claims 1 to 4, characterized in that The following relationship is satisfied between the weight loss fat content corresponding to the target weight loss rate ratio, the target weight loss rate ratio, the user's current weight, fat calories per unit weight, lean body calories per unit weight, and the user's calorie deficit in the second unit time: g=(w*v*p*k1+w*v*(1-p)*k2) / t Among them, g represents the calorie gap, w represents the current weight of the user, v represents the target weight loss rate ratio, p represents the weight loss fat content corresponding to the target weight loss rate ratio, k1 represents the fat calories per unit weight, k2 represents the lean body calories per unit weight, and t represents the ratio of the first unit time to the second unit time.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: A diet plan and an exercise plan for the user in the second unit time are determined according to the calorie deficit and the basal metabolic calories of the user in the second unit time.
7. A method for formulating a health plan, characterized in that: Applied to an electronic device or a cloud server, the method comprises: Acquire a first basal metabolic condition, a first fat reduction duration, and a first exercise capacity, wherein the first basal metabolic condition is the basal metabolic condition of the user for whom a health plan is to be formulated, the first exercise capacity is the exercise capacity of the user for whom a health plan is to be formulated, and the first fat reduction duration is the fat reduction duration expected by the user for whom a health plan is to be formulated; A first target exercise plan is determined according to the first basal metabolic condition, the first fat loss duration and the first exercise capacity, wherein the first target exercise plan includes multiple target stages, multiple target durations, multiple target exercise item sets and multiple exercise duration ratios, the multiple target durations correspond one-to-one to the multiple target stages, each of the multiple target durations is the duration of the corresponding target stage included in the first fat loss duration, the multiple target exercise item sets correspond one-to-one to the multiple target stages, each of the multiple target exercise item sets includes exercise items within the corresponding target stage, the multiple exercise duration ratios correspond one-to-one to the multiple target exercise item sets, and each of the multiple exercise duration ratios is the exercise duration ratio between exercise items within the corresponding target exercise item set.
8. The method according to claim 7, characterized in that The determining of the first target exercise program according to the first basal metabolic condition, the first fat reduction duration, and the first exercise capacity includes: Determine the multiple target stages, the multiple target durations, the multiple target exercise type sets, and the multiple exercise duration ratios according to the first basal metabolic condition and the first fat loss duration, wherein the multiple target exercise type sets correspond to the multiple target stages one by one, and each target exercise type set in the multiple target exercise type sets includes an exercise type corresponding to the target stage; A target sports item set corresponding to the target stage is determined according to the first sports ability and each target sports type set.
9. The method according to claim 8, characterized in that The determining, according to the first basal metabolic condition and the first fat loss duration, the multiple target stages, the multiple target durations, the multiple target exercise type sets, and the multiple exercise duration ratios includes: Determining the multiple target stages and the multiple target durations according to the first basal metabolic condition and the first fat loss duration; Determine a target motion type set for each target stage in the multiple target stages to obtain multiple target motion type sets corresponding to the multiple target stages one by one; The motion duration ratios of the multiple motion types in each target motion type set in the multiple target motion type sets are determined to obtain a plurality of target duration ratios of the multiple target motion type sets in one-to-one correspondence.
10. The method according to claim 8 or 9, characterized in that: The step of determining a target sports item set corresponding to a target stage according to the first sports ability and each target sports type set includes: Obtaining a first score according to the first athletic ability, where the first score is a score of the first athletic ability; Determine a first exercise difficulty according to a mapping relationship between the exercise ability score and the exercise difficulty, wherein the first exercise difficulty is the exercise difficulty associated with the first score; Determine a target sports item set corresponding to a target stage for each target sports type set according to each target sports type set and the first sports difficulty level, wherein the target sports item set corresponding to the target stage for each target sports type set includes sports items of each sports type in each target sports type set and whose sports difficulty level is the first sports difficulty level.
11. The method according to any one of claims 9 to 10, characterized in that The method further comprises: The second target exercise plan is determined by obtaining the degree of completion of the first target exercise plan and / or the user's feedback on the first target exercise plan.
12. The method according to claim 11, characterized in that The obtaining the degree of completion of the first target motion scheme includes: Obtaining the actual completion time of each sports item in each target sports item set in the plurality of target sports item sets; Determine the planned duration of each sport item in each target sport item set according to the ratios of the multiple target durations to the multiple sport durations; Determine the degree of completion of the same type of sports items in each target sports item set according to the actual completion time and the planned time of the same type of sports items in each target sports item set; The exercise completion degree of the target stage corresponding to each target sports item set is determined according to the completion degree of the sports items of the same type in each target sports item set.
13. An electronic device, characterized in that: include: one or more processors; one or more memories; The one or more memories store one or more computer programs, and the one or more computer programs include instructions, which, when executed by the one or more processors, enable the electronic device to perform the method as claimed in any one of claims 1 to 12.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises a computer program or instructions, and when the computer program or instructions are run on a computer, the method according to any one of claims 1 to 12 is executed.
15. A computer program product, characterized in that The computer program product comprises a computer program or instructions, and when the computer program or instructions are run on a computer, the method as described in any one of 1 to 12 is executed.
Citation Information
Cited By
Health plan formulation method, health plan formulation apparatus, and electronic device
EP4745979A1
Health plan formulation method, health plan formulation apparatus, and electronic device
WO2025055578A1