CN115731605A - Fitness guidance method, electronic device and computer-readable storage medium - Google Patents

Fitness guidance method, electronic device and computer-readable storage medium Download PDF

Info

Publication number
CN115731605A
CN115731605A CN202111000376.9A CN202111000376A CN115731605A CN 115731605 A CN115731605 A CN 115731605A CN 202111000376 A CN202111000376 A CN 202111000376A CN 115731605 A CN115731605 A CN 115731605A
Authority
CN
China
Prior art keywords
motion
user
exercise
fitness
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111000376.9A
Other languages
Chinese (zh)
Inventor
马春晖
黄洁静
陈霄汉
黄磊
赵杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202111000376.9A priority Critical patent/CN115731605A/en
Publication of CN115731605A publication Critical patent/CN115731605A/en
Pending legal-status Critical Current

Links

Images

Abstract

The method can acquire motion data of a user acquired by at least one piece of electronic equipment, and determine the current motion part of the user and the amount of motion of the motion part according to the motion data, thereby outputting body-building guidance information according to the amount of motion of the motion part to guide the user to build the body. The method can accurately determine the amount of exercise of each exercise part of the user according to the exercise data acquired by each electronic device so as to accurately evaluate the current fitness condition of each exercise part of the user, and therefore, the fitness plan is intelligently recommended or the preset fitness plan is adjusted according to the current fitness condition of each exercise part so as to effectively guide the user to build the body, so that the fitness of the user is more fit with the fitness target of the user, the guidance effect is improved, and the user experience is improved.

Description

Fitness guidance method, electronic device and computer-readable storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a fitness guidance method based on an Artificial Intelligence (AI) technology, an electronic device, and a computer-readable storage medium.
Background
With the improvement of living standard, people pay more attention to body health, and the number of people who take exercises is continuously increased. At present, a large screen carrying an intelligent chip and a camera can be used for body-building guidance of a user. Specifically, the large screen can acquire image data of the user for body building through the camera, recognize the image data by utilizing technologies such as a human skeleton node recognition algorithm and the like to obtain human postures, and perform action matching on the human postures through an action matching algorithm to evaluate and guide the completion degree, accuracy and the like of the user for body building. Namely, the existing body-building guidance is to guide the user on the completion degree and accuracy of real-time body-building actions, has limited guidance effect and cannot meet the body-building requirements of the user.
Disclosure of Invention
The embodiment of the application provides a fitness guidance method, electronic equipment and a computer readable storage medium, and can solve the problems that the existing fitness guidance is used for guiding the completion degree and accuracy of real-time fitness actions of a user, the guidance effect is limited, and the fitness requirements of the user cannot be met.
In a first aspect, embodiments of the present application provide a fitness guidance method, including: the method comprises the steps of obtaining motion data of a user, wherein the motion data are collected by at least one piece of electronic equipment; determining the current motion part of the user and the second motion quantity of each motion part according to the motion data; and outputting body-building guide information according to the second exercise amount of each exercise part, wherein the body-building guide information is used for guiding the user to build a body.
By the fitness guidance method, the amount of exercise of each exercise part of the user can be accurately determined according to the exercise data acquired by each electronic device, so that the current fitness condition of each exercise part of the user can be accurately evaluated, a fitness scheme can be intelligently recommended according to the current fitness condition of each exercise part or a preset fitness plan can be intelligently adjusted, the user is effectively guided to exercise, the fitness exercise of the user is more fit with the fitness target of the user, the fitness guidance effect is improved, the fitness requirement of the user is met, the user experience is improved, and the fitness guidance method has high usability and practicability.
Illustratively, the determining the current motion part of the user and the second motion quantity of each motion part according to the motion data includes: determining a motion type corresponding to the motion data; determining motion parts corresponding to the motion data according to the motion types, and determining weights corresponding to the motion parts; determining a first motion amount corresponding to the motion data; and determining the second motion amount of each motion part according to the first motion amount corresponding to the motion data and the weight corresponding to each motion part.
Specifically, when the motion data includes a plurality of motion portions, the determining, according to a first motion amount corresponding to the motion data and a weight corresponding to each of the motion portions, a second motion amount of each of the motion portions includes:
for each piece of motion data, determining a motion component of each motion part according to a first motion amount corresponding to the motion data and a weight corresponding to each motion part; and determining a second movement amount of each movement part according to the movement component of each movement part.
In the fitness guidance method provided in this implementation manner, when a plurality of exercise portions are exercised in the same fitness exercise, the weight corresponding to each exercise portion in the fitness exercise may be determined according to the exercise intensity of the fitness exercise for each exercise portion. When the body-building guidance is carried out, the motion components of the motion parts in the body-building exercise can be determined according to the motion amount corresponding to the motion data and the weights corresponding to the motion parts, so that the motion amount of each motion part of a user can be determined according to the motion components of each motion part in each body-building exercise, the weights corresponding to the motion parts are determined according to the exercise intensity, the motion components of each motion part in each body-building exercise can be accurately determined, and the accuracy of the body-building guidance is improved.
In one possible implementation manner, the outputting of the exercise guidance information according to the second amount of motion of each of the motion portions includes: acquiring a motion amount threshold corresponding to each motion part; and outputting the fitness guidance information according to the second exercise amount and the exercise amount threshold of each exercise part, wherein the fitness guidance information comprises recommended fitness courses.
In the body-building guidance method provided by the implementation mode, the body-building courses can be recommended according to the daily exercise condition of the user to accurately guide the daily body-building of the user and improve the body-building effect.
In another possible implementation manner, the outputting exercise guidance information according to the second amount of motion of each of the motion portions includes: acquiring a fitness plan of the user, and determining target motion quantity corresponding to a target motion part according to the fitness plan; and outputting the fitness guidance information according to the target exercise amount corresponding to the target exercise part and the second exercise amount of the exercise part, wherein the fitness guidance information comprises information for instructing adjustment of the fitness plan.
In the fitness guidance method provided by the implementation mode, the fitness plan of the user can be intelligently adjusted according to the exercise condition of the user, so that the fitness plan of the user is more fit with the fitness target of the user, the fitness guidance effect is improved, and the user experience is improved.
Illustratively, the obtaining the fitness plan of the user includes: and acquiring a first feature parameter of the user, and generating a fitness plan of the user according to the first feature parameter.
Specifically, the generating of the fitness plan of the user according to the first characterization parameter includes: obtaining a second body characteristic parameter, wherein the second body characteristic parameter is a body characteristic parameter expected to be achieved through the fitness plan; and generating a fitness plan of the user according to the first body characteristic parameter and the second body characteristic parameter.
In the fitness guidance method provided by the implementation mode, the fitness plan of the user can be intelligently generated according to the current physical sign parameters of the user and the physical sign parameters expected to be reached finally, so that the generated fitness plan meets the fitness requirements of the user, and the user experience is improved.
In a possible implementation manner, the acquiring a first feature parameter of the user includes: acquiring a plurality of images of the user; determining peeling multi-person linear SMPL parameters according to the multiple images; and constructing a human body three-dimensional model of the user according to the SMPL parameters, and acquiring first feature parameters of the user according to the human body three-dimensional model.
In the fitness guidance method provided by the implementation mode, the human body three-dimensional model can be reconstructed according to a plurality of images of the user, the current physical sign parameters of the user can be intelligently determined according to the reconstructed human body three-dimensional model, and the measurement and input of the physical sign parameters of the user are reduced.
Optionally, the method further includes: determining the exercise preference of the user according to the exercise data, and adjusting the fitness plan according to the exercise preference of the user and the first characterization parameter.
In the fitness guidance method provided by the implementation mode, the exercise preference of the user can be determined according to the exercise data of the user, and the fitness plan of the user is intelligently adjusted according to the current physical sign parameters and the exercise preference of the user, so that the fitness plan of the user meets the exercise preference of the user on the basis of meeting the fitness requirements of the user, the interest of the user in fitness is improved, and the fitness effect of the user is improved.
Optionally, the method further includes: determining the exercise effect of each motion part according to the motion data; and updating the first body characteristic parameters according to the exercise effect of each motion part, and adjusting the fitness plan according to the updated first body characteristic parameters.
In the fitness guidance method provided by the implementation mode, the exercise effect of the user can be evaluated in real time according to the motion data, and the fitness plan is adjusted in real time according to the exercise effect of the user, so that the fitness plan is more suitable for the actual situation and fitness target of the user, and the user experience is improved.
In a second aspect, embodiments of the present application provide a fitness guidance device, comprising:
the motion data acquisition module is used for acquiring motion data of a user, wherein the motion data is motion data acquired by at least one piece of electronic equipment;
the movement part determining module is used for determining the current movement part of the user and the second movement amount of each movement part according to the movement data;
and the body-building guidance module is used for outputting body-building guidance information according to the second exercise amount of each exercise part, and the body-building guidance information is used for guiding the user to build a body.
Illustratively, the motion location determining module includes:
the motion type determining unit is used for determining a motion type corresponding to the motion data;
the weight determining unit is used for determining the motion parts corresponding to the motion data according to the motion types and determining the weight corresponding to each motion part; determining a first motion amount corresponding to the motion data;
and a motion amount determining unit configured to determine a second motion amount of each of the motion portions based on a first motion amount corresponding to the motion data and a weight corresponding to each of the motion portions.
Specifically, when the motion data includes a plurality of pieces of motion data, the motion amount determination unit is specifically configured to determine, for each piece of motion data, a motion component of each of the motion portions according to a first motion amount corresponding to the motion data and a weight corresponding to each of the motion portions, and determine a second motion amount of each of the motion portions according to the motion component of each of the motion portions.
In one possible implementation, the fitness guidance module includes:
the first fitness guidance unit is used for acquiring a motion amount threshold corresponding to each motion part; and outputting the fitness guidance information according to the second exercise amount and the exercise amount threshold of each exercise part, wherein the fitness guidance information comprises recommended fitness courses.
In another possible implementation, the fitness guidance module includes:
the fitness plan acquisition unit is used for acquiring a fitness plan of the user and determining target motion quantity corresponding to a target motion part according to the fitness plan;
and the second fitness guidance unit is used for outputting the fitness guidance information according to the target exercise amount corresponding to the target exercise part and the second exercise amount of the exercise part, and the fitness guidance information comprises information for indicating and adjusting the fitness plan.
Illustratively, the exercise plan obtaining unit is further configured to obtain a first personality parameter of the user, and generate the exercise plan of the user according to the first personality parameter.
Specifically, the exercise plan obtaining unit is further configured to obtain a second physical sign parameter, where the second physical sign parameter is a physical sign parameter expected to be achieved through the exercise plan; and generating a fitness plan of the user according to the first body characteristic parameters and the second body characteristic parameters.
In a possible implementation manner, the fitness plan obtaining unit is further configured to obtain a plurality of images of the user; determining peeling multi-person linear SMPL parameters according to the multiple images; and constructing a human body three-dimensional model of the user according to the SMPL parameters, and acquiring first feature parameters of the user according to the human body three-dimensional model.
Optionally, the apparatus further comprises:
and the first plan adjusting unit is used for determining the exercise preference of the user according to the exercise data and the first feature parameters and adjusting the fitness plan according to the exercise preference of the user.
Optionally, the apparatus further comprises:
the second plan adjusting unit is used for determining the exercise effect of each motion part according to the motion data; and updating the first body characteristic parameters according to the exercise effect of each motion part, and adjusting the fitness plan according to the updated first body characteristic parameters.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the electronic device is caused to implement the fitness guidance method according to any one of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the computer program causes the computer to implement the fitness guidance method according to any one of the first aspect.
In a fifth aspect, the present application provides a computer program product, which when run on an electronic device, causes the electronic device to perform the fitness guidance method according to any one of the above first aspects.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device to which a fitness guidance method provided in an embodiment of the present application is applied;
FIG. 2 is a schematic diagram of a software architecture for a method for exercise instruction provided by an embodiment of the present application;
FIG. 3 is a schematic view of an application scenario of the fitness guidance method provided in an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating another application scenario of the fitness guidance method according to an embodiment of the present application;
FIG. 5 is a schematic flow chart diagram of a method of fitness guidance provided in an embodiment of the present application;
FIG. 6 is an exemplary diagram of a three-dimensional model of a human body provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of an application scenario for outputting workout instruction information according to an embodiment of the present application;
FIG. 8 is a schematic diagram of another application scenario for outputting workout guidance information according to an embodiment of the present application;
fig. 9 and fig. 10 are schematic diagrams of still another application scenario of outputting fitness guidance information according to an embodiment of the present application.
Detailed Description
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing a relative importance or importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless otherwise specifically stated.
In addition, the references to "a plurality" in the embodiments of the present application should be interpreted as two or more.
The steps involved in the fitness guidance methods provided in the embodiments of the present application are merely examples, and not all steps are necessarily performed, or the content of each message or message is not essential, and may be increased or decreased as necessary during use. The same steps or messages with the same functions in the embodiments of the present application may be referred to with each other between different embodiments.
The service scenario described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not form a limitation on the technical solution provided in the embodiment of the present application, and it can be known by a person of ordinary skill in the art that the technical solution provided in the embodiment of the present application is also applicable to similar technical problems with the evolution of a network architecture and the occurrence of a new service scenario.
With the improvement of living standard, people pay more attention to body health, people who do body building are continuously expanding, and the body building requirements are not limited to professional body building places. At present, a large screen carrying an intelligent chip and a camera is utilized to carry out intelligent fitness guidance on a user, and the intelligent fitness guidance becomes a good family fitness scheme. Specifically, the large screen can acquire image data of the user for body building through the camera, recognize the image data by utilizing technologies such as a human skeleton node recognition algorithm and the like to obtain human postures, and perform action matching on the human postures through an action matching algorithm to evaluate and guide the completion degree, accuracy and the like of the user for body building. Namely, the existing body-building guidance is to guide the user on the completion degree and accuracy of real-time body-building actions, has limited guidance effect and cannot meet the body-building requirements of the user.
In order to solve the above problem, an embodiment of the present application provides a fitness guidance method, in which an electronic device may obtain motion data of a user, where the motion data is motion data collected by at least one electronic device. And then the electronic equipment can determine the current movement part of the user and the amount of movement of the movement part according to the movement data, so that the body-building guide information can be output according to the amount of movement of the movement part to guide the user to build the body. The method can accurately determine the amount of exercise of each exercise part of the user according to the exercise data acquired by each electronic device so as to accurately evaluate the current fitness condition of each exercise part of the user, and can intelligently recommend a fitness scheme or intelligently adjust a preset fitness plan according to the current fitness condition of each exercise part so as to effectively guide the user to exercise, so that the fitness of the user is more fit with the fitness target of the user, the fitness guidance effect is improved, the fitness requirement of the user is met, the user experience is improved, and the method has strong usability and practicability.
The fitness guidance method provided in the embodiment of the present application may be applied to an electronic device, where the electronic device may be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, a fitness device (such as a treadmill, a dancing machine, a fitness apparatus, etc.), an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, a super-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), a desktop computer, and the like.
The following first describes an electronic apparatus according to an embodiment of the present application. Referring to fig. 1, fig. 1 shows a schematic structural diagram of an electronic device 100.
As shown in fig. 1, 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, a Subscriber Identification Module (SIM) card interface 195, and the like. 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, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (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.
The I2C interface is a bidirectional synchronous serial bus including a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, a charger, a flash, a camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 through an I2S bus, enabling communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through the I2S interface, so as to implement a function of receiving a call through a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit the audio signal to the wireless communication module 160 through the PCM interface, so as to implement the function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In other embodiments, the power management module 141 may be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication 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), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), general Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou satellite navigation system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an 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 alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may 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 transmits the electrical signal to the ISP to be converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor, which processes input information quickly by referring to a biological neural network structure, for example, by referring to a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability 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. For example, files such as music, video, etc. are saved in the external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into a sound signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into a sound signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or sending voice information, the user can input a voice signal to the microphone 170C by uttering a voice signal close to the microphone 170C through the mouth of the user. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and perform directional recording.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but have different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic apparatus 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from a nearby object using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also called a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation acting thereon or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided via the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M can acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human body pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so that the heart rate detection function is realized.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects in response to touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be attached to and detached from the electronic device 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards can be the same or different. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of the electronic device 100.
Fig. 2 is a block diagram of a software structure of the electronic device 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 2, the application packages may include camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, smart fitness, etc. applications.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
And the window manager is also used for determining window parameters according to the fitness guidance information acquired by the application program and sending the window parameters to the view system.
Content providers are used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The view system can also draw a window according to the body-building guidance information sent by the application program and the window parameters sent by the window manager, and display the drawn window in the display interface.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application layer and the application framework layer as binary files. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide a fusion of the 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following detailed description will be given for the body-building guidance method provided by the embodiments of the present application with reference to the accompanying drawings and specific application scenarios.
Referring to fig. 3, fig. 3 is a schematic view illustrating an application scenario of the fitness guidance method according to the embodiment of the present application. As shown in fig. 3, a plurality of electronic devices 100 (three are exemplarily illustrated in fig. 3) may be included in the application scenario. The electronic devices 100 are interconnected and intercommunicated through a communication network. Each electronic device 100 may be used to collect motion data in a user's fitness activity. Here, any electronic device 100 of the plurality of electronic devices 100 may acquire the motion data collected by the other electronic devices 100 through the communication network, and may output the fitness guidance information according to the motion data collected by itself and the motion data collected by the other electronic devices 100, so as to guide the user in fitness.
Referring to fig. 4, fig. 4 is a schematic view illustrating another application scenario of the fitness guidance method according to the embodiment of the present application. As shown in fig. 4, the application scenario may include a cloud 400 and a plurality of electronic devices 100 (three are also exemplarily illustrated in fig. 4). Each electronic device 100 is connected to the cloud 400 through a communication network. Each electronic device 100 may be configured to collect exercise data of the user in the fitness exercise, and send the collected exercise data to the cloud 400. The cloud 400 may output the fitness guidance information to at least one electronic device 100 of the plurality of electronic devices 100 according to each exercise data of the user, so as to guide the user in fitness. Alternatively, any electronic device 100 in the plurality of electronic devices 100 may acquire the motion data of the user (including the motion data acquired by the electronic device 100 and the motion data acquired by other electronic devices 100) from the cloud 400, and may output the fitness guidance information according to the motion data of the user, so as to guide the user in fitness. Or, any electronic device 100 in the plurality of electronic devices 100 may acquire the motion data acquired by the other electronic devices 100 from the cloud 400, and may output the fitness guidance information according to the motion data acquired by the electronic device 100 itself and each motion data acquired by the other electronic devices 100, so as to guide the user in fitness.
The above-mentioned output of the fitness guidance information through the cloud 400 or any electronic device 100 in the plurality of electronic devices 100 is only schematically explained, and should not be construed as a limitation to the embodiment of the present application, in the embodiment of the present application, the exercise data of the user may be obtained from the cloud 400 or each electronic device 100 through another electronic device communicatively connected to the cloud 400 or another electronic device communicatively connected to each electronic device 100, respectively, and the fitness guidance information is output according to the exercise data of the user. The other electronic device is an electronic device other than the plurality of electronic devices 100, that is, the other electronic device is not any of the plurality of electronic devices 100. That is to say, in the embodiment of the present application, the exercise guidance information may also be output by an electronic device that does not collect the exercise data of the user.
It should be noted that the motion data may be data such as step number, duration, speed, distance, and amount of motion, or may also be data such as acceleration and angular velocity, and the specific type of the motion data is not limited in this embodiment, and may be specifically determined by the acquired electronic device. For example, in the daily walking process of the user, data such as the number of steps of walking of the user can be collected through a mobile phone and/or an intelligent bracelet and the like carried by the user. For example, in the process of swimming, data such as the swimming duration, speed, distance and amount of exercise of the user can be acquired through a smart watch and/or smart glasses carried by the user. For example, during the running process of the user on the treadmill, the running duration, running speed, running amount and other data of the user can be collected through the treadmill and/or the intelligent earphone and the like. For example, in the process of a user playing football, data such as acceleration and angular velocity of the arm of the user can be collected through an intelligent bracelet and the like carried by the user, and/or data such as acceleration and angular velocity of the leg of the user can be collected through an intelligent foot ring and the like carried by the user. The exercise part refers to a body part to be exercised by the exercise, such as abdomen, waist, thigh, calf, chest, back, biceps brachii, triceps brachii, shoulder, deltoid, and the like. The exercise amount refers to the amount of heat consumed by the exercise.
The communication network may be a local area network such as bluetooth, wiFi, zigBee (ZigBee), or NFC, or may also be a wide area network such as 2G, 3G, 4G, 5G, public Land Mobile Network (PLMN) for future evolution, or the internet.
In the application scenario shown in fig. 4, when the electronic device 100 collects the motion data, the collected motion data may be sent to the cloud 400 in real time, that is, in the exercise of the user, the electronic device 100 may send the motion data to the cloud 400 as soon as the motion data is collected. Alternatively, the electronic device 100 may also send the finally collected exercise data to the cloud 400 when the user exercises.
For example, the electronic device 100 may determine whether the user workout is finished based on whether an end button in the electronic device 100 is triggered. That is, the electronic device 100 is provided with an end button, after the user exercises, the end button may be clicked in the electronic device 100, and when the electronic device 100 detects that the end button is triggered, it may be determined that the user exercises. For example, the electronic device 100 may determine whether the user workout is finished based on the collected motion data. For example, when the electronic device 100 does not collect any motion data for a specified length of time, the electronic device 100 may determine that the user workout is finished. For example, when the motion data is acceleration and/or angular velocity, the motion data generated by the user exercise is often periodic, that is, the motion data collected by the electronic device 100 is often periodic, so that when the electronic device 100 finds that the periodicity of the collected motion data is broken, the electronic device 100 may determine that the user exercise is finished; or, the recognition model may be trained in advance according to the sample data, and the trained recognition model is used to determine whether the user exercise is finished according to the exercise data of the user, so that the electronic device 100 may input the acquired exercise data to the recognition model for processing, and obtain a processing result output by the recognition model, so as to determine whether the user exercise is finished.
It should be understood that, in the process of the user's fitness, a plurality of electronic devices may also collect the exercise data of the same fitness exercise of the user at the same time, so that after the cloud 400 acquires the exercise data collected by each electronic device 100, each exercise data may be screened to remove the repeated exercise data in each fitness exercise, and the effectiveness of the exercise data is ensured, so that the fitness guidance information is accurately output, and the fitness guidance effect is improved. Illustratively, the time of acquisition of the electronic devices 100 is the same when acquiring the exercise data of the user in the same exercise. When the electronic devices 100 send the collected motion data to the cloud 400, the electronic devices also send the collection time corresponding to each motion data to the cloud 400. The cloud 400 may perform motion data screening according to the collection time of each motion data to determine the motion data of each user in the exercise. Specifically, the cloud 400 may use any one of a plurality of motion data with the same collection time as the motion data of the user in the fitness exercise, or the cloud 400 may use an average value of a plurality of motion data with the same collection time as the motion data of the user in the fitness exercise, and so on.
For example, in a certain running exercise of 7. After the cloud 400 receives the motion data a and the collection time a collected by the mobile phone and the motion data B and the collection time B collected by the smart band, it is found that the collection time a of the mobile phone is the same as the collection time B of the smart band, which is 7-00, and the cloud 400 can determine that the motion data a collected by the mobile phone and the motion data B collected by the smart band are the motion data of the user in the same fitness exercise, at this time, the cloud 400 can directly determine the motion data a collected by the mobile phone or the motion data B collected by the smart band as the motion data of the user in the running exercise, for example, the cloud 400 can determine the larger one of the motion data a collected by the mobile phone and the motion data B collected by the smart band as the motion data of the user in the running exercise, wherein the size between the motion data a and the motion data B can be measured from at least one of time length, distance, speed, and the like; or the cloud 400 may determine the average value of the motion data a collected by the mobile phone and the motion data B collected by the smart band as the motion data of the user in the running exercise, and so on.
It should be understood that the content of the motion data screening performed by any one of the electronic devices 100 is similar to the content of the motion data screening performed by the cloud 400, and is not described herein again.
It should be noted that the fitness guidance method provided in the embodiment of the present application may also be applied to an application scenario that includes only one electronic device 100. In this application scenario, the electronic device 100 may directly output the fitness guidance information according to the motion data collected by itself, so as to guide the user in fitness.
The following will exemplarily explain the fitness guidance method provided in the embodiment of the present application by taking the application scenario shown in fig. 4 as an example. In the following description, the electronic device 100 (hereinafter, referred to as a first electronic device) is taken as an example of a subject for exercise guidance, and specific content of the electronic device (i.e., the electronic device that does not acquire the motion data of the user) that takes the cloud or other electronic devices as the subject for exercise guidance may refer to content of the electronic device that takes the first electronic device as the subject for exercise guidance.
The fitness guidance method provided by the embodiment of the application may be a system function provided for the first electronic device, or may be an application function provided for an application program in the first electronic device, for example, an application function provided for an intelligent fitness Application (APP) in the first electronic device. The first electronic device may perform daily fitness guidance on the user through the system function or the application function, or perform periodic fitness guidance on the user, that is, the first electronic device may perform fitness guidance on the user at intervals (for example, three days, five days, one month, and the like). The system function or the application function can be started by a user according to actual needs.
Referring to fig. 5, fig. 5 is a schematic flow chart of a method for providing exercise guidance according to an embodiment of the present application. As shown in fig. 5, the method may include:
s501, the first electronic equipment acquires motion data of a user.
As shown in fig. 4, when the user performs the exercise, each electronic device may collect the exercise data of the user in the exercise, and may send the collected exercise data and the identifier (for example, an account number, etc.) corresponding to the user to the cloud, that is, the cloud may store the exercise data of the user in each exercise. Therefore, when the user needs to be guided for body building, the first electronic device can acquire the identifier corresponding to the user, and can acquire the motion data of the user from the cloud according to the identifier corresponding to the user. Specifically, when the user is instructed to exercise every day, the first electronic device obtains all exercise data of the user in the day from the cloud to the current moment. When the user is instructed to exercise in stages, the motion data acquired by the first electronic device from the cloud end is all the motion data of the user in each stage until the current moment. The current moment refers to a moment when the first electronic device acquires the motion data from the cloud. For example, in daily fitness guidance for the user, when the current time is 10. For example, in the step-wise fitness guidance for the user, at 19 a 00 on the second day of the first step, the exercise data acquired by the first electronic device from the cloud end includes the exercise data of the user in each fitness exercise on the first day of the first step and the exercise data in each fitness exercise before 19 a 00 on the second day of the first step.
In the embodiment of the application, when daily fitness guidance is given to a user, the first electronic equipment can acquire the exercise data of the user at a first moment. For example, the first time may be determined by the user according to the exercise time used by the user on the day, so as to reduce the acquisition frequency of the exercise data and reduce the processing power consumption of the first electronic device on the basis of accurately acquiring the exercise data of the user on the day. For example, when the user is accustomed to performing fitness exercises at 7-00-8 a day, the user may customize the first time to 8. For example, the first time may also be set by the first electronic device as a default, that is, the first electronic device may determine the exercise time the user is accustomed to by analyzing the historical exercise data of the user, and may set the first time by the default according to the exercise time the user is accustomed to. For example, when the first electronic device determines that the user is accustomed to performing fitness exercise at 7.
In a possible implementation manner, when the user is subjected to daily fitness guidance, the first electronic device can acquire the exercise data of the user from the cloud every first preset time from the second moment so as to acquire the exercise data of the user on the same day in real time, so that the user is subjected to accurate fitness guidance according to the real-time exercise data of the user on the same day, the fitness guidance effect is improved, and the user experience is improved. The second time and the first preset time may be set by a user in a self-defined manner, or may be set by a default of the first electronic device, which is not specifically limited in the embodiment of the present application. For example, the user may customize the first preset time to two hours, and may set the second time to 6 according to his daily exercise condition, at which time, the first electronic device may obtain exercise data of the user every two hours from 6. For example, the first electronic device may default to the first preset time to be half an hour, and may default to 7 at the second time according to the historical exercise situation of the user, at which time, the first electronic device may obtain the exercise data of the user every half an hour from 7.
Similarly, when the user is instructed to exercise in stages, the first electronic device may also acquire the exercise data of the user in each stage every second preset time from the third time to instruct the user to exercise. Wherein the phases may be determined according to a fitness plan of the user. Similarly, the third time and the second preset time may be set by a user in a customized manner, or may be set by the first electronic device in a default manner. For example, the user may customize the third time to any time of day (e.g., 7:00 obtaining the exercise data of the user to guide the user to build body; or, the first electronic device may default to set the third time to any time (e.g. 19).
It can be understood that the fitness plan of the user may be a fitness plan set by the user in a user-defined manner, or a fitness plan intelligently generated by the first electronic device according to the physical sign parameters of the user. The physical parameters may include height, weight, thigh dimension, shank dimension, arm dimension, body fat rate, waist circumference, chest circumference, body Mass Index (BMI), and the like.
In the embodiment of the application, a user can manually input a current first body characteristic parameter and a desired second body characteristic parameter in first electronic equipment, and the first electronic equipment can intelligently generate a fitness plan of the user according to the first body characteristic parameter and the second body characteristic parameter of the user. Specifically, the first electronic device may determine a dimension change value of each part of the body according to the first and second body characteristic parameters of the user, calculate a daily required exercise amount of each exercise part according to the dimension change value of each part of the body and a preset duration, and recommend a daily exercise course of the user according to the daily required exercise amount of each exercise part, so as to form the exercise plan of the user. The preset duration may be set by the user, or may be set by default by the first electronic device, which is not specifically limited in the embodiment of the present application.
Alternatively, the user may manually enter his current first characterization parameters in the first electronic device. The first electronic device can determine a second personality parameter of the user according to the first personality parameter of the user, and intelligently generate a fitness plan of the user according to the first personality parameter of the user and the second personality parameter. For example, the first electronic device may determine the second physical trait parameter of the user based on a height in the first physical trait parameter of the user. For example, the first electronic device may determine the physical sign parameter of a person of a normal body type corresponding to the height as the second physical sign parameter of the user.
Alternatively, referring to fig. 6, fig. 6 shows an exemplary diagram of a three-dimensional human body model provided in an embodiment of the present application. The first electronic device may acquire a plurality of images of the user and determine a skinned multi-person linear (SMPL) parameter from the plurality of images. As shown in fig. 6, the first electronic device may construct a three-dimensional human body model of the user according to the SMPL parameters, and determine a current first physical characteristic parameter of the user according to the three-dimensional human body model of the user, so as to intelligently generate a fitness plan of the user according to the first physical characteristic parameter and the second physical characteristic parameter of the user. The second physical characteristic parameter may be a desired physical characteristic parameter manually input by the user, or may be a physical characteristic parameter recommended by the first electronic device according to the first physical characteristic parameter of the user, for example, the first electronic device may determine the second physical characteristic parameter of the user according to a height in the first physical characteristic parameter of the user. The method for determining the SMPL parameters from the images and the method for constructing the three-dimensional human body model from the SMPL parameters are not particularly limited in the embodiments of the present application, and can be determined by technicians according to actual needs.
And S502, the first electronic equipment determines the current motion part of the user and the second motion quantity of each motion part according to the motion data.
It will be appreciated that different types of exercises may exercise different parts of the body, i.e. there is a correspondence between the type of exercise and the part of the exercise. For example, running can exercise the thighs and the calves, swimming can exercise the chest, the back, the arms, the thighs, and the calves, and the like, that is, running corresponds to the thighs and the calves, swimming corresponds to the chest, the back, the arms, the thighs, and the calves, and the badminton corresponds to the arms and the calves, and the like. The corresponding relationship between the motion type and the motion part can be determined according to the existing determination mode, and the embodiment of the application does not limit the corresponding relationship.
In the embodiment of the application, after the first electronic device obtains the exercise data of each exercise of the user, the motion type corresponding to each exercise data can be determined, and the current exercise part of the user is determined according to the motion type corresponding to each exercise data and the corresponding relationship between the motion type and the exercise part, that is, the part of the user exercised in each exercise is determined.
In one example, the first electronic device may determine a motion type corresponding to each motion data using a trained motion type recognition model. Specifically, the first electronic device may input each piece of motion data to the motion type identification model for processing, and after the motion type identification model processes each piece of motion data, may output a motion type corresponding to each piece of motion data. It should be noted that, in the embodiment of the present application, a training process of the motion type identification model is not specifically limited, and the training of the motion type identification model may be performed according to an existing training method, for example, the first electronic device may obtain each training data (i.e., motion data corresponding to each fitness exercise) and a motion type corresponding to each training data, and may perform training of the motion type identification model by using each training data and a motion type corresponding to each training data, so as to obtain the trained motion type identification model.
In another example, the user may also enter the type of exercise in each electronic device when performing the workout. When each electronic device collects the motion data in the fitness exercise, the motion data and the corresponding motion type can be sent to the cloud in an associated mode. Therefore, when the first electronic device acquires the motion data from the cloud, the motion type associated with the motion data can be acquired at the same time. For example, when playing football, the user can start the sports mode in the smart bracelet and/or the smart foot ring carried around, and manually input the football, or select the football option in the smart bracelet and/or the smart foot ring. The intelligent bracelet and/or the intelligent foot ring can collect the motion data of the user in the football, and can associate the collected motion data with the motion type (namely football) and send the motion data to the cloud. When the first electronic device obtains the sports data of the football sports of the user from the cloud, the first electronic device can also obtain the sports type (namely football) corresponding to the sports data.
It should be understood that the amount of exercise of the user in each exercise can be directly collected by each electronic device, i.e., the exercise data collected by each electronic device can include the amount of exercise of the user in the exercise. Or, the first electronic device may determine the amount of motion of the user in each exercise according to the information, such as the time length, the speed, the type of motion corresponding to the motion data, and the weight of the user, included in the motion data. For example, the first electronic device may determine the amount of motion of the user in one hour of fitness activity according to table 1 below:
TABLE 1
Type of sport Weighing 160 pounds Weight 200 pounds Body weight 240 pounds
Backpack mountain climbing 510 640 760
Basketball 580 730 870
Leisure riding with speed per hour less than 10 miles 290 260 440
Bowling ball 220 270 330
Rowing boat 250 310 380
Dancing 220 270 330
Golf club 310 390 470
Skating device 510 630 760
Skipping rope 860 1070 1280
Running at 5 miles per hour 600 750 900
Running at 8 miles per hour 860 1070 1280
Cross-country skiing 500 620 740
Skiing 310 390 470
Baseball 360 450 540
Mountaineering machine 650 820 980
Swimming 420 530 630
Volleyball 290 360 430
Walk at 2 miles per hour 200 250 300
3.5 mile per hour 310 390 460
It should be noted that, the determination of the amount of exercise of the user in each exercise according to the table 1 and the information such as the exercise duration, the exercise speed, the exercise type of the exercise, the weight of the user, and the like of the user is only schematically explained, and should not be construed as a limitation to the embodiment of the present application.
For example, when the motion data acquired by each electronic device does not include the amount of motion of the user in the fitness exercise, each electronic device may also determine the amount of motion of the user in the fitness exercise according to information such as the length of time, the speed, the type of motion of the fitness exercise, the weight of the user, and the like of the user in the fitness exercise, and may associate the determined amount of motion with the motion data acquired by the electronic device and send the association to the cloud. Therefore, the first electronic device can acquire the motion data of the user in each fitness exercise from the cloud, acquire the amount of motion corresponding to each motion data, determine the amount of motion in each fitness exercise through each electronic device, improve the determination efficiency of the amount of motion, avoid the determination of the amount of motion, reduce the data processing amount of the first electronic device, improve the processing efficiency of the first electronic device, and improve the user experience.
It should be understood that the amount of exercise of the user in a certain body-building exercise refers to the total amount of exercise generated by the user in the body-building exercise, i.e. the sum of the motion components generated by each motion part in the body-building exercise. Therefore, for each piece of motion data, after determining the amount of motion corresponding to the piece of motion data and each motion part corresponding to the piece of motion data, the first electronic device may determine the motion component of each motion part in the fitness exercise according to the amount of motion corresponding to the piece of motion data, and accumulate the motion components of the same motion part in all pieces of motion data of the user to obtain the amount of motion of each motion part.
In a possible implementation manner, when a plurality of movement portions are exercised in the same exercise, the first electronic device may default that the exercise intensity of the exercise for each movement portion is the same, that is, in the exercise, the first electronic device may consider that the movement components generated by each movement portion are the same, and at this time, the first electronic device may directly and equally allocate the movement amount corresponding to any movement data to each movement portion corresponding to the movement data. For example, when the motion data acquired by the first electronic device includes motion data corresponding to running and motion data corresponding to swimming, and the motion amount corresponding to running is 400 calories, and the motion amount corresponding to swimming is 500 calories, where the motion portions corresponding to running are thighs and calves, and the motion portions corresponding to swimming are chest, back, arms, thighs, and calves, the first electronic device may determine that the motion component of the user's thighs is 200 calories and the motion component of the calves is 200 calories in this running exercise, and in this swimming exercise, the motion component of the user's chest is 100 calories, the motion component of the back is 100 calories, the motion component of the arms is 100 calories, the motion component of the thighs is 100 calories, and the motion component of the calves is 100 calories. Accordingly, the first electronic device may determine that the user has a total amount of exercise of 300 calories for the upper legs, 300 calories for the lower legs, 100 calories for the chest, 100 calories for the back, and 100 calories for the arm, in the fitness exercise that has been currently performed.
In another possible implementation manner, when multiple exercise portions are exercised by the same exercise, the exercise intensity of each exercise portion is often different, that is, the amount of heat consumed by each exercise portion is not the same during the exercise, that is, the motion components generated by each exercise portion are not the same during the exercise. For example, while running can exercise the upper leg and the lower leg simultaneously, running generally has a greater exercise intensity for the lower leg than for the upper leg, i.e., the lower leg generates significantly more motion components than the upper leg. Based on this, when a plurality of exercise portions are exercised in the same exercise, the weight corresponding to each exercise portion in the exercise can be determined according to the exercise intensity of the exercise for each exercise portion. The first electronic equipment can determine the motion component of each motion part in the body-building motion according to the motion amount corresponding to the motion data and the weight corresponding to each motion part, so that the motion amount of each motion part of a user is determined according to the motion component of each motion part in each body-building motion, the weight corresponding to each motion part is determined according to the exercise intensity, the motion component of each motion part in each body-building motion is accurately determined, and the accuracy of body-building guidance is improved.
For example, when the motion data acquired by the first electronic device includes motion data corresponding to running and motion data corresponding to swimming, and the motion amount corresponding to running is 400 calories, and the motion amount corresponding to swimming is 500 calories, where the motion portions corresponding to running are the upper leg and the lower leg, and the weight corresponding to the upper leg is 0.4, the weight corresponding to the lower leg is 0.6, the motion portions corresponding to swimming are the chest, the back, the arm, the upper leg, and the lower leg, and the weight corresponding to the chest is 0.15, the weight corresponding to the back is 0.2, the weight corresponding to the arm is 0.25, the weight corresponding to the upper leg is 0.15, and the weight corresponding to the lower leg is 0.25, the first electronic device may determine that the motion component of the upper leg is 400 × 0.4 calories, the motion component of the lower leg is 400 × 0.6 calories, and the motion component of the chest is 500 × 0.15 calories, the motion component of the back is 500 × 0.2, the motion component of the lower leg is 500 × 0.25 calories, and the motion component of the lower leg is 500 calories. Accordingly, the first electronic device may determine that the user has 235 calories for the amount of exercise of the upper leg, 365 calories for the amount of exercise of the lower leg, 75 calories for the amount of exercise of the chest, 100 calories for the amount of exercise of the back, and 125 calories for the amount of exercise of the arm in the fitness exercise that has been currently performed.
In each exercise, the weight corresponding to each exercise part may be determined according to the existing manner, which is not specifically limited in the embodiment of the present application. The same exercise portion may have the same weight or different weights in different exercises, for example, in running, the weight corresponding to the thigh may be 0.2, and in soccer, the weight corresponding to the thigh may be 0.3.
For example, the cloud may determine the weight corresponding to each exercise part in each exercise according to a body heat map of the user in each exercise. The body heat map may reflect the temperature of each exercise part during the fitness exercise, and the temperature of each exercise part may reflect the amount of heat consumed by each exercise part during the fitness exercise (i.e., may reflect the exercise intensity of each exercise part), and a higher temperature of an exercise part indicates that the amount of heat consumed by the exercise part is also higher. Specifically, the correspondence between the temperature and the consumed heat quantity can be determined according to the existing research, and the embodiment of the present application does not specifically limit this. Therefore, when the first electronic device obtains the motion data of the user in each fitness exercise from the cloud, the weight corresponding to each motion part in each fitness exercise can be obtained from the cloud at the same time.
It can be understood that the cloud end may determine the weight corresponding to each moving part according to a historical body heat map of the user in each fitness exercise, or may determine the weight corresponding to each moving part according to a current body heat map of the user in each fitness exercise. The body heat map of the user in the history of a certain body-building exercise refers to the body heat map generated by the user in the previous body-building exercise. The current body heat map of the user in a certain body-building exercise refers to the body heat map generated in the body-building exercise corresponding to the exercise data currently acquired by the user at the cloud. That is to say, the weight corresponding to each motion part may be determined in advance by the cloud according to the historical motion condition of the user, or may be determined by the cloud in real time according to the current motion condition of the user.
In the embodiment of the application, when the electronic equipment collects the exercise data of the user in each exercise, the temperature of each exercise part in each exercise can be collected through devices such as a temperature sensor, the temperature of each exercise part is represented through a thermal imaging graph, a body thermal diagram in the exercise is obtained, and the body thermal diagram is sent to the cloud end; or, each electronic device may acquire the temperature of each moving part in each exercise through a temperature sensor or other devices, and send the temperature of each moving part in each exercise to the cloud. The cloud can express the temperature of each moving part through a thermal imaging graph to obtain a body heat map in each body building exercise.
It should be understood that the above description of the body heat map based on the temperature collected by the temperature sensor is only schematically explained, and should not be construed as limiting the embodiments of the present application, in which the body heat map may be drawn in other ways.
For example, the first electronic device may also determine the weight corresponding to each motion part in each exercise according to the body heat map of the user in each exercise. The method for determining the weight corresponding to each moving part by the first electronic device is similar to the method for determining the weight corresponding to each moving part by the cloud, and specific contents can refer to the related contents of determining the weight corresponding to each moving part by the cloud, which is not described herein again for the sake of brevity.
And S503, the first electronic equipment outputs fitness guide information according to the second exercise amount of each exercise part, and the fitness guide information is used for guiding the user to perform fitness.
In the embodiment of the application, when the user is instructed to exercise everyday, the exercise instruction information can include the recommended exercise course information, so that the user is accurately instructed to exercise through the recommended exercise course, and the exercise effect is improved. When the user is subjected to the periodic fitness guidance, the fitness guidance information can comprise information such as the completion condition of the fitness plan and/or recommended information for adjusting the fitness plan, so that the fitness plan of the user is adjusted according to the real-time fitness condition of the user, the fitness plan of the user is more fit with the fitness target of the user, and the fitness effect is improved.
In one example, when daily fitness guidance is performed on a user, when it is determined that the amount of motion of a certain motion part is greater than or equal to the threshold amount of motion corresponding to the motion part, the first electronic device may output fitness guidance information, and the fitness guidance information may include a recommended relaxation course to guide the user to relax muscles of the motion part according to the recommended relaxation course, so as to improve the physical activity of the user. For example, when the user runs for 5 kilometers, when it is determined that the exercise amount of the thigh is greater than the exercise amount threshold corresponding to the thigh and the exercise amount of the shank is greater than the exercise amount threshold corresponding to the shank, the first electronic device may output fitness guidance information, and the fitness guidance information may include a recommended static stretching course to guide the user to perform static stretching to relieve fatigue of the thigh and the shank due to running. For example, when it is determined that the amount of chest movement is greater than a threshold amount of chest movement during a bird strike by the user, the first electronic device may output fitness guidance information, which may include recommended chest relaxation lessons, to guide the user through chest relaxation lessons to relieve chest fatigue. When the exercise amount of a certain motion part is determined to be smaller than the exercise amount threshold value corresponding to the motion part, the first electronic device can output fitness guidance information, the fitness guidance information can include recommended training courses, and a user is guided to exercise the motion part according to the training courses recommended by the fitness guidance information, so that the fitness effect is improved.
The motion amount threshold corresponding to each motion part may be the same or different, and the motion amount threshold corresponding to each motion part may be set by a user through customization or by default by the first electronic device. For example, the first electronic device may set a motion amount threshold corresponding to each motion portion according to the motion amount corresponding to each motion portion reaching the muscle fatigue state. That is, when a certain exercise portion of the user reaches a muscle fatigue state, the first electronic device may recommend a relaxation course corresponding to the exercise portion to guide the user to relax muscles of the exercise portion. The determination method of the exercise amount corresponding to the muscle fatigue state in the embodiment of the present application is not particularly limited, and may be determined according to the physical state of an ordinary person or according to the physical state of a user.
For example, the first electronic device may determine, according to a fitness plan of a user, a motion amount corresponding to each motion part in daily fitness exercise, and determine, according to the motion amount corresponding to each motion part, a motion amount threshold corresponding to each motion part. That is to say, when a certain motion part of the user does not reach the amount of motion specified by the fitness plan, the first electronic device may recommend a training course corresponding to the motion part to guide the user to exercise the motion part; when a certain motion part of the user reaches the amount of motion specified by the fitness plan, the first electronic device may recommend a relaxation course corresponding to the motion part to guide the user to relax muscles after exercising the motion part.
The fitness plan of the user can be set by the user in a user-defined mode, and the fitness plan can also be generated intelligently by the first electronic equipment according to the physical sign parameters of the user. Specifically, the content of the intelligent generation of the fitness plan of the user by the first electronic device according to the physical sign parameters of the user may refer to the foregoing description, and is not described herein again.
It should be noted that the exercise guidance information may also include current exercise data of the user, so that the user can know the current exercise condition of the user. Referring to fig. 7, fig. 7 is a schematic view illustrating an application scenario of outputting fitness guidance information according to an embodiment of the present application. In this embodiment, the first electronic device may display the fitness guidance information in the display interface of the first electronic device, and/or may output the fitness guidance information to other electronic devices of the user, so as to display the fitness guidance information through the display interfaces of the other electronic devices of the user. In particular, the first electronic device or other electronic device of the user may pop up a window in the display interface to display the workout guidance information through the pop-up window. As shown in fig. 7 (a), the first electronic device (e.g., a mobile phone) may pop up a window in a lock screen interface of the mobile phone, so as to display, through the popped up window, "run 5 km today, the amount of exercise of the thigh and the amount of exercise of the calf have both reached the threshold of the amount of exercise, please start the static stretching lesson, so as to relieve the fitness guidance information of the thigh and the calf fatigue bar", or as shown in fig. 7 (b), the mobile phone may display, in a main interface of the mobile phone, "run 5 km today, the amount of exercise of the thigh and the amount of exercise of the calf have both reached the threshold of the amount of exercise, please start the static stretching lesson, so as to relieve the fitness guidance information of the thigh and the calf fatigue bar". As shown in fig. 7 (c), the first electronic device may output the fitness guidance information to other electronic devices (e.g., a smart watch), so as to display the fitness guidance information of "run 2 km today, the exercise amount of the thigh and the shank is not up to standard, and please continue to run the 2 km running bar" through a window popped up by the smart watch.
In the embodiment of the application, when the body-building guidance information is output, the user can be reminded in a vibration mode, so that the user can conveniently check the body-building guidance information in time. Namely, when the mobile phone displays the body-building guidance information through the pop-up window, the mobile phone can also vibrate to remind the user to check the body-building guidance information in time. Or when the intelligent watch displays the body-building guidance information through a pop-up window, the intelligent watch can vibrate.
The above-mentioned output of the fitness guidance information by means of the pop-up window is merely an exemplary explanation, and should not be construed as a limitation to the embodiment of the present application, in the embodiment of the present application, the first electronic device may also output the fitness guidance information by other means, for example, the fitness guidance information may be output by means of voice. Specifically, the first electronic device may perform voice output of the fitness guidance information through a voice playing device in the first electronic device, and/or the first electronic device may perform voice output of the fitness guidance information through other electronic devices (e.g., a smart headset), and so on.
The output time of the body-building guidance information is not specifically limited in the embodiment of the application, and can be specifically determined by technicians according to actual needs or set by users in a user-defined manner. For example, the first electronic device may output the fitness guide information at a specified time in time or in a delayed manner, or may output the fitness guide information at a specified time after the user's fitness exercise is determined to be finished, or may output the fitness guide information at a specified time (such as the next shift) customized by the user, and the like.
In another example, when performing a stepwise fitness instruction for a user, when the amount of motion of a certain motion portion in a certain period is greater than or equal to the first target amount of motion corresponding to the motion portion, the first electronic device may determine that the motion target of the motion portion is achieved, and at this time, if it is determined that the achievement time of the motion target is less than the time specified by the fitness plan, the first electronic device may output fitness instruction information, where the fitness instruction information may include information such as whether the motion target of the motion portion is achieved, whether the fitness plan is adjusted to adapt to the current fitness intensity, and the like. When the amount of exercise of a certain motion part is smaller than the second target amount of exercise corresponding to the motion part in a certain stage, the first electronic device may determine that the user does not perform fitness exercise according to the fitness plan currently, that is, it may be considered that the user may consider that the current fitness plan is not suitable for the user, at this time, the first electronic device may output fitness guidance information, and the fitness guidance information may include information such as whether to perform fitness according to the fitness plan currently, whether to adjust the fitness plan, and the like.
The first target amount of motion corresponding to the moving part is the total amount of motion required by the moving part in a certain stage determined according to the fitness plan. The second target amount of motion corresponding to the portion of motion is the amount of motion that the portion of motion needs to achieve by the nth day of the phase determined according to the fitness plan. N is an integer greater than or equal to 1.
In the embodiment of the present application, when the user is subjected to the periodic body-building guidance, the manner and time of outputting the body-building guidance information by the first electronic device may refer to the relevant contents in the daily body-building guidance for the user, and for the sake of brevity, are not described herein again.
Referring to fig. 8, fig. 8 is a schematic view illustrating another application scenario of outputting fitness guidance information according to an embodiment of the present application. In the application scenario, a user performs a fitness and fat-reducing plan for thirteen days, wherein the first day to the fourth day are a first stage of abdomen fat-reducing, a first target motion amount corresponding to the abdomen in the first stage is determined to be A according to the fitness and fat-reducing plan, the second stage of thigh fat-reducing is determined from the fifth day to the ninth day, a first target motion amount corresponding to the thigh in the second stage is determined to be B according to the fitness and fat-reducing plan, the third stage of arm fat-reducing is determined from the tenth day to the thirteenth day, and a first target motion amount corresponding to the arm in the third stage is determined to be C according to the fitness and fat-reducing plan. Therefore, on the nth day of the first stage, the corresponding second target amount of motion of the abdomen may be (a × N/4); on the nth day of the second stage, the second target amount of motion corresponding to the thigh may be (B × N/5); on the second N days of the third phase, the second target amount of arm movement may be (C × N/4).
As shown in fig. 8 (a), when the first electronic device determines that the amount of motion of the abdomen is greater than a according to the motion data acquired on the second day (including the motion data of the first day and the motion data of the second day of the user), the first electronic device (for example, a mobile phone) may pop up in the lock screen interface of the first electronic device to display "abdomen exercise completed goal, whether to adjust the fitness plan", and may also display "yes" and "no" buttons in the window. As shown in fig. 8 (b), when the user clicks the "yes" button, the first electronic device may display at least one recommended exercise program name (e.g., exercise programs AAAA, BBBB, CCCC, and DDDD) in the lock screen interface of the first electronic device, and the user may enter into viewing specific contents of the exercise program by clicking the exercise program name, where the recommended exercise program is an exercise program that is newly generated by the first electronic device according to the exercise motions currently performed by the user. Specifically, the first electronic device may determine a current physical sign parameter of the user according to the exercise performed by the user currently, and may regenerate the exercise plan of the user according to the current physical sign parameter of the user and a target physical sign parameter desired by the user.
As shown in fig. 8 (c), when the first electronic device determines that the amount of exercise of the thigh does not reach the second target amount of exercise (B × 3/5) based on the exercise data (including the exercise data of the fifth day, the exercise data of the sixth day, and the exercise data of the seventh day) acquired on the seventh day (i.e., the third day of the second stage), the first electronic device may output the exercise guidance information to another electronic device (e.g., a smart watch) to display, through a window popped up by the smart watch, "exercise is not currently performed according to the exercise plan, and whether to adjust the exercise plan", and "yes" and "no" buttons may be displayed in the window. Alternatively, as shown in fig. 8 (d), the first electronic device may first display a message "do not exercise according to the exercise program currently and please exercise as soon as possible" through the smart watch popup. When the number of times of displaying the information shown in (d) in fig. 8 by the popup in the smart watch reaches a preset number of times and the first electronic device determines that the exercise amount of the thigh still does not reach the second target exercise amount, the first electronic device may display the exercise guidance information shown in (c) in fig. 8 by the popup in the smart watch. The preset times and the time and interval of the pop-up window of the fitness guidance information shown in fig. 8 (c) may also be specifically determined according to actual situations, which is not specifically limited in this embodiment of the present application.
Referring to fig. 9 and 10, fig. 9 and 10 are schematic diagrams illustrating still another application scenario of outputting fitness guidance information provided by the embodiment of the present application. When the staged exercise guidance is performed, the first electronic device may further determine a current exercise effect of the user according to the amount of motion of each motion part in each stage, and may generate a corresponding effect map according to the exercise effect. The exercise effect can be represented by dimension change of each motion part, the first electronic device can generate an effect graph corresponding to the exercise effect according to the dimension change of each motion part and a human three-dimensional model before fitness of the user, and the effect graph can also be displayed through the human three-dimensional model. As shown in fig. 9, when the first electronic device displays the body-building guidance information of "whether the abdomen exercise is completed and the body-building plan is adjusted" in the screen-locking interface of the first electronic device, the first electronic device may further output an effect diagram corresponding to the exercise effect, so that the user can clearly know the current exercise effect. Or, as shown in fig. 10, when the first electronic device outputs the effect map corresponding to the exercise effect, the three-dimensional human model before the user exercises may be simultaneously output, and the body shape change information of the exercise effect relative to the three-dimensional human model, for example, the body shape change information may include "the body fat percentage is reduced by 2%, the thigh dimension is reduced by 2 cm, and the arm dimension is reduced by 1 cm", so as to clearly show the current exercise effect of the user in a contrasting manner.
In the embodiment of the application, after the current exercise effect of the user is determined according to the motion data in a certain stage, the first electronic device can also output reminding information, and the reminding information is used for reminding the user to measure the physical sign parameters again. At this time, the first electronic device may output fitness guidance information according to the sign parameters re-input by the user, where the fitness guidance information may include information such as whether to adjust the fitness plan, so as to intelligently adjust the fitness plan according to the sign parameters after the user changes, so that the fitness plan of the user is more suitable for the fitness target of the user.
It is understood that, when the user is given a periodic workout guideline, the workout guideline information may also include the user's current exercise data. Wherein the current motion data may be motion data in at least one phase. For example, when the first electronic device outputs the fitness guide information according to the exercise data acquired by the user on the second day of the second phase, the current exercise data of the user may include the exercise data on the first day and the second day of the second phase, or all the data in the first phase and the exercise data on the first day and the second day of the second phase.
In the embodiment of the application, when the user is subjected to the periodic fitness guidance, the first electronic device can also determine the exercise preference of the user according to the exercise data of the user, and can output fitness guidance information according to the exercise preference of the user, and the fitness guidance information can include fitness courses recommended according to the exercise preference of the user, so that the fitness plan is adjusted according to the exercise preference of the user, and the user experience is improved. The exercise preference of the user refers to the fitness exercise and/or the exercise type of the fitness exercise that the user likes.
In the embodiment of the application, the first electronic device may acquire motion data of a user, where the motion data may be motion data acquired by at least one electronic device, and may determine a current motion part of the user and a motion amount of the motion part according to each motion data, so as to output fitness guidance information according to the motion amount corresponding to the motion part to guide the user to perform fitness. The first electronic equipment can accurately determine the amount of exercise of each exercise part according to the exercise data acquired by each piece of electronic equipment so as to accurately evaluate the current fitness condition of each exercise part, and therefore, fitness courses or intelligently adjusted fitness plans can be intelligently recommended according to the current fitness condition of each exercise part so as to effectively guide the user to exercise, the fitness of the user can be more fit with the fitness target of the user, the fitness guidance effect is improved, the fitness requirements of the user are met, and the user experience is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Corresponding to the fitness guidance method described in the above embodiments, the embodiments of the present application further provide a fitness guidance device, and each module of the device can correspondingly implement each step of the fitness guidance method.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The present application further provides an electronic device, where the electronic device includes at least one memory, at least one processor, and a computer program stored in the at least one memory and executable on the at least one processor, and when the computer program is executed by the processor, the electronic device is enabled to implement the steps in any of the above method embodiments. For example, the structure of the electronic device may be as shown in fig. 1.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a computer, the computer is enabled to implement the steps in any of the method embodiments.
Embodiments of the present application provide a computer program product, which, when running on an electronic device, enables the electronic device to implement the steps in any of the above method embodiments.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include at least: any entity or device capable of carrying computer program code to an apparatus/electronic device, recording medium, computer memory, read-only memory (ROM), random Access Memory (RAM), electrical carrier signals, telecommunications signals, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable storage media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and proprietary practices.
In the above embodiments, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other ways. For example, the above-described apparatus/electronic device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (12)

1. A method of fitness coaching, comprising:
the method comprises the steps of obtaining motion data of a user, wherein the motion data are collected by at least one piece of electronic equipment;
determining the current motion part of the user and the second motion quantity of each motion part according to the motion data;
and outputting body-building guide information according to the second exercise amount of each exercise part, wherein the body-building guide information is used for guiding the user to build a body.
2. The method of claim 1, wherein said determining a current motion location of said user and a second amount of motion for each of said motion locations from said motion data comprises:
determining a motion type corresponding to the motion data;
determining motion parts corresponding to the motion data according to the motion types, and determining weights corresponding to the motion parts;
determining a first motion amount corresponding to the motion data;
and determining a second motion amount of each motion part according to the first motion amount corresponding to the motion data and the weight corresponding to each motion part.
3. The method according to claim 2, wherein when the motion data includes a plurality of motion regions, the determining a second motion amount for each of the motion regions based on the first motion amount corresponding to the motion data and the weight corresponding to each of the motion regions includes:
for each piece of motion data, determining a motion component of each motion part according to a first motion amount corresponding to the motion data and a weight corresponding to each motion part;
and determining a second movement amount of each movement part according to the movement component of each movement part.
4. The method of any of claims 1 to 3, wherein outputting the workout guidance information according to the second amount of motion for each of the plurality of motion locations comprises:
acquiring a motion amount threshold corresponding to each motion part;
and outputting the fitness guidance information according to the second exercise amount and the exercise amount threshold of each exercise part, wherein the fitness guidance information comprises recommended fitness courses.
5. The method of any of claims 1 to 3, wherein said outputting workout guidance information according to the second amount of motion for each of said motion locations comprises:
acquiring a fitness plan of the user, and determining target motion quantity corresponding to a target motion part according to the fitness plan;
and outputting the fitness guidance information according to the target exercise amount corresponding to the target exercise part and the second exercise amount of the exercise part, wherein the fitness guidance information comprises information for instructing adjustment of the fitness plan.
6. The method of claim 5, wherein said obtaining a fitness plan for the user comprises:
and acquiring a first body characteristic parameter of the user, and generating a fitness plan of the user according to the first body characteristic parameter.
7. The method of claim 6, wherein said generating a fitness plan for the user according to the first characterization parameter comprises:
acquiring second physical sign parameters, wherein the second physical sign parameters are physical sign parameters expected to be reached through the fitness plan;
and generating a fitness plan of the user according to the first body characteristic parameters and the second body characteristic parameters.
8. The method of claim 6 or 7, wherein said obtaining a first characterization parameter of said user comprises:
acquiring a plurality of images of the user;
determining peeling multi-person linear SMPL parameters according to the multiple images;
and constructing a human body three-dimensional model of the user according to the SMPL parameters, and acquiring first feature parameters of the user according to the human body three-dimensional model.
9. The method according to any one of claims 6 to 8, further comprising:
and determining the exercise preference of the user according to the exercise data, and adjusting the fitness plan according to the exercise preference of the user and the first characteristics parameter.
10. The method according to any one of claims 6 to 9, further comprising:
determining the exercise effect of each motion part according to the motion data;
and updating the first body characteristic parameters according to the exercise effect of each motion part, and adjusting the fitness plan according to the updated first body characteristic parameters.
11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, causes the electronic device to implement the fitness guidance method of any one of claims 1-10.
12. A computer-readable storage medium, storing a computer program, wherein the computer program, when executed by a computer, causes the computer to implement the fitness guidance method of any one of claims 1 to 10.
CN202111000376.9A 2021-08-27 2021-08-27 Fitness guidance method, electronic device and computer-readable storage medium Pending CN115731605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111000376.9A CN115731605A (en) 2021-08-27 2021-08-27 Fitness guidance method, electronic device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111000376.9A CN115731605A (en) 2021-08-27 2021-08-27 Fitness guidance method, electronic device and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN115731605A true CN115731605A (en) 2023-03-03

Family

ID=85290586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111000376.9A Pending CN115731605A (en) 2021-08-27 2021-08-27 Fitness guidance method, electronic device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN115731605A (en)

Similar Documents

Publication Publication Date Title
WO2021036568A1 (en) Fitness-assisted method and electronic apparatus
CN111202955A (en) Motion data processing method and electronic equipment
WO2023025039A1 (en) Training plan generation method and apparatus, electronic device and readable storage medium
CN109994206A (en) A kind of appearance prediction technique and electronic equipment
CN113395382A (en) Method for data interaction between devices and related devices
WO2022213834A1 (en) Method for determining exercise guidance information, electronic device, and exercise guidance system
CN113655935A (en) User determination method, electronic device and computer readable storage medium
CN114079730A (en) Shooting method and shooting system
CN113996046B (en) Warming-up judgment method and device and electronic equipment
WO2022100597A1 (en) Adaptive action evaluation method, electronic device, and storage medium
WO2023001165A1 (en) Exercise guidance method and related apparatus
CN115731605A (en) Fitness guidance method, electronic device and computer-readable storage medium
WO2021036562A1 (en) Prompting method for fitness training, and electronic device
CN114080258B (en) Motion model generation method and related equipment
CN115221250A (en) Map display method and related equipment
CN115249364A (en) Target user determination method, electronic device and computer-readable storage medium
WO2021233018A1 (en) Method and apparatus for measuring muscle fatigue degree after exercise, and electronic device
WO2021254091A1 (en) Method for determining number of motions and terminal
WO2021254092A1 (en) Rowing stroke frequency recommendation method, apparatus and device
CN115445170A (en) Exercise reminding method and related equipment
CN113359120B (en) Method and device for measuring user activity distance and electronic device
CN115426432B (en) Method, system, electronic device and readable medium for evaluating functional body fitness
WO2022062978A1 (en) Data processing method and electronic device
CN117958802A (en) Walking test method and device and electronic equipment
CN115203524A (en) Fitness recommendation method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination