CN111202955A - Motion data processing method and electronic equipment - Google Patents

Motion data processing method and electronic equipment Download PDF

Info

Publication number
CN111202955A
CN111202955A CN201911266346.5A CN201911266346A CN111202955A CN 111202955 A CN111202955 A CN 111202955A CN 201911266346 A CN201911266346 A CN 201911266346A CN 111202955 A CN111202955 A CN 111202955A
Authority
CN
China
Prior art keywords
motion
user
parameter
recommended
target
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
CN201911266346.5A
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 CN201911266346.5A priority Critical patent/CN111202955A/en
Publication of CN111202955A publication Critical patent/CN111202955A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0062Monitoring athletic performances, e.g. for determining the work of a user on an exercise apparatus, the completed jogging or cycling distance
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0062Monitoring athletic performances, e.g. for determining the work of a user on an exercise apparatus, the completed jogging or cycling distance
    • A63B2024/0065Evaluating the fitness, e.g. fitness level or fitness index
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2230/00Measuring physiological parameters of the user
    • A63B2230/04Measuring physiological parameters of the user heartbeat characteristics, e.g. ECG, blood pressure modulations
    • A63B2230/06Measuring physiological parameters of the user heartbeat characteristics, e.g. ECG, blood pressure modulations heartbeat rate only

Abstract

The embodiment of the application provides a motion data processing method and electronic equipment. Wherein, the method comprises the following steps: the method comprises the steps that first user operation for selecting target exercise intensity is received by electronic equipment, the electronic equipment comprises multiple exercise intensities, different exercise intensities correspond to different heart rate ranges, the larger the heart rate range is, the stronger the corresponding exercise intensity is, and the corresponding heart rate ranges are different when users of different ages select the same exercise intensity; in response to a first user operation, determining a recommendation parameter according to the historical motion record; the recommended parameters include at least one of: target pace, target stride frequency, target slope, target heart rate range. According to the embodiment of the application, the proper motion parameters can be recommended to the user by combining the body state of the user and the motion intensity selected by the user.

Description

Motion data processing method and electronic equipment
Technical Field
The present application relates to the field of mobile terminals, and in particular, to a motion data processing method and an electronic device.
Background
When a user runs, the user usually uses sports software installed on a mobile phone, such as Huawei sports Application (APP), to perform real-time exercise guidance. In the prior art, generally, during the motion of a user, a wearable device or a terminal detects the real-time pace frequency of the user. And when the step frequency of the user does not reach the recommended value or exceeds the recommended value, prompting the user to increase the step frequency or decrease the step frequency through the wearable equipment or the terminal voice. This recommended value is typically the athlete's stride frequency based on big data statistics and is not applicable to all users.
Disclosure of Invention
The embodiment of the application provides a motion data processing method and electronic equipment, which can recommend proper motion parameters to a user in the motion process of the user.
In a first aspect, an embodiment of the present application provides a motion data processing method, including: the electronic equipment receives a first user operation for selecting the target motion intensity; the electronic equipment provides options corresponding to various exercise intensities, different exercise intensities correspond to different heart rate ranges, the larger the heart rate range is, the stronger the corresponding exercise intensity is, and the different heart rate ranges are different when users of different ages select the same exercise intensity; responding to the first user operation, and determining recommendation parameters according to the historical motion record; the recommended parameters include at least one of: target pace, target stride frequency, target slope, target heart rate range.
According to the exercise parameter recommendation method and device, before the user exercises, the exercise parameters can be recommended to the user according to the exercise intensity selected by the user, and the heart rate ranges corresponding to different exercise intensities are determined according to the age of the user, so that the exercise parameters finally recommended to the user are suitable for the user, the exercise quality of the user is improved, and the exercise experience of the user is improved.
In a possible implementation manner, after determining the recommended parameter according to a historical movement record in response to the first user operation, the method further includes: receiving a second user operation for starting a motion; responding to the second user operation, and detecting whether the motion parameters accord with the recommended parameters in the motion process; and under the condition that the motion parameters do not accord with the recommended parameters, prompting a user to adjust the motion parameters so as to enable the motion parameters to accord with the recommended parameters.
According to the embodiment of the application, the appropriate motion parameters can be recommended for the user before the user moves, the motion parameters can be monitored in real time in the user moving process, the user is timely reminded of adjusting when the motion parameters are not consistent with the recommended parameters, the motion effect of the user is guaranteed to the maximum extent, and the motion experience of the user is improved.
In a possible implementation manner, the determining, in response to the first user operation, a recommended parameter according to a historical motion record includes: responding to the first user operation, and searching whether a motion parameter corresponding to the target motion intensity exists in a historical motion record; if yes, determining the recommended parameters according to the motion parameters corresponding to the target motion intensity in the historical motion record; if not, determining the recommended parameters according to the parameters corresponding to the exercise intensity closest to the target exercise intensity in the historical exercise record.
The recommendation parameters in the embodiment of the application can be determined according to the motion record of the user, so that the finally obtained recommendation parameters are suitable for the user, and the motion effect of the user is ensured.
In one possible implementation manner, the determining the recommended parameter according to the motion parameter corresponding to the target motion intensity in the historical motion record includes: counting the motion parameters corresponding to the N same motion intensities; the motion parameters comprise at least one of pace matching, stride and stride frequency; respectively calculating the average value and the standard deviation of the same motion parameters corresponding to the N target motion intensities; obtaining a recommended interval of the motion parameters according to the average value and the standard deviation of each motion parameter; the recommended interval is [ mean-standard deviation, mean + standard deviation ].
The embodiment of the application provides a method for calculating the recommended parameters according to the historical movement records, the recommended interval of the movement parameters is obtained through the average value and the standard deviation of a plurality of historical movement parameters, the finally obtained recommended parameters are ensured to be suitable for the user, and the movement effect of the user is ensured.
In a possible implementation manner, the detecting whether the motion parameter conforms to the recommended parameter during the motion process includes: detecting whether the motion parameters belong to a recommended interval corresponding to the motion parameters in the motion process; the prompting the user to adjust the motion parameter under the condition that the motion parameter does not accord with the recommended parameter so as to enable the motion parameter to accord with the motion parameter comprises the following steps: prompting a user to promote the motion parameter under the condition that the motion parameter is smaller than the minimum value of the recommended interval of the motion parameter; and prompting the user to reduce the motion parameter under the condition that the motion parameter is larger than the maximum value of the recommended interval of the motion parameter.
The embodiment of the application introduces details of how to prompt the user to adjust the motion parameters when the detected motion parameters do not accord with the recommended interval so as to ensure that the motion parameters accord with the recommended interval and ensure the motion effect of the user.
In a possible implementation mode, the matching speeds corresponding to different movement strengths are different, and the matching speed corresponding to the target movement strength is the target matching speed; the determining the recommended parameter according to the motion parameter corresponding to the target motion intensity in the historical motion record includes: fitting a curve of the stride and the heart rate according to a plurality of strides and heart rates corresponding to the target pace in the historical movement record; determining the optimal stride corresponding to the target speed matching according to the curve; calculating to obtain the optimal pace frequency corresponding to the pace speed according to the optimal pace speed and the target pace speed; the recommended parameters include the target pace, the optimal stride and the optimal stride frequency.
The embodiment of the application provides another mode of calculating recommended parameters according to historical exercise records, and the stride and the heart rate corresponding to a plurality of same pace speeds are fitted to obtain a fitted curve of the stride and the heart rate. And determining the optimal stride and the optimal stride frequency according to the fitting curve, so that the finally obtained recommended parameters are suitable for the user, and the exercise effect of the user is ensured.
In a possible implementation manner, the detecting whether the motion parameter conforms to the recommended parameter during the motion process includes: detecting whether the absolute value of the difference value of the motion parameter and the recommended parameter exceeds a threshold value in the motion process; the prompting the user to adjust the motion parameter under the condition that the motion parameter does not accord with the recommended parameter so as to enable the motion parameter to accord with the recommended parameter comprises the following steps: prompting the user to promote the motion parameter under the condition that the motion parameter is smaller than the difference between the recommended parameter and the threshold; and prompting the user to reduce the motion parameter under the condition that the motion parameter is larger than the sum of the recommended parameter and the threshold value.
The embodiment of the application introduces details of how to prompt a user to adjust the motion parameters when the detected motion parameters do not accord with the recommended parameters so as to ensure that the motion parameters accord with the recommended interval and ensure the motion effect of the user.
In a possible implementation manner, the recommended parameter includes a target pace; the determining the recommended parameter according to the parameter corresponding to the exercise intensity closest to the target exercise intensity in the historical exercise record includes: determining the motion intensity closest to the target motion intensity in the historical motion record; and determining the matching speed corresponding to the closest movement intensity as the target matching speed.
The embodiment of the application provides the recommendation of parameters for the user when the user selects a new exercise intensity. Specifically, the exercise parameter corresponding to the closest exercise intensity in the history record is taken as a reference, and the recommended exercise parameter is recommended to the user as far as possible to ensure that the recommended exercise parameter is suitable for the user, so that the exercise effect is ensured.
In another possible implementation manner, the recommended parameter further includes a target heart rate range; the detecting whether the motion parameter meets the recommended parameter in the motion process includes: detecting whether the heart rate is within the target heart rate range or not in the exercise process; the prompting the user to adjust the motion parameter under the condition that the motion parameter does not accord with the recommended parameter so as to enable the motion parameter to accord with the recommended parameter comprises the following steps: when the heart rate is smaller than the minimum value of the target heart rate range, prompting a user to increase the pace; and when the heart rate is larger than the maximum value of the target heart rate range, prompting the user to reduce the pace.
According to the exercise effect monitoring method and device, when the user selects a new exercise intensity, whether the exercise effect of the user reaches the selected exercise intensity or not can be monitored through the heart rate range, and the user is prompted when the heart rate range does not reach the standard, so that the exercise effect is guaranteed.
In another possible implementation, the heart rate range may be measured by a heart rate sensor or calculated by a percentage of maximum oxygen uptake.
In another possible implementation manner, the method further includes: and recording the motion parameters of the current motion process, and updating the recommended parameters of the target motion intensity according to the motion parameters of the current motion process.
According to the embodiment of the application, the recommended parameters corresponding to the exercise intensity can be updated according to the exercise parameters of the user in the exercise process, so that the recommended parameters more accord with the physical condition of the user within a period of time, the appropriate exercise parameters are provided for the user to the greatest extent, and the exercise effect is ensured.
In a second aspect, an embodiment of the present application provides an electronic device, including: one or more processors, memory, and a display screen; the memory and the display screen are coupled to the one or more processors, the memory configured to store computer program code, the computer program code comprising computer instructions, which when executed by the one or more processors, cause the electronic device to perform: receiving a first user operation for selecting the target motion intensity; the electronic equipment provides options corresponding to various exercise intensities, different exercise intensities correspond to different heart rate ranges, the larger the heart rate range is, the stronger the corresponding exercise intensity is, and the different heart rate ranges are different when users of different ages select the same exercise intensity; responding to the first user operation, and determining recommendation parameters according to the historical motion record; the recommended parameters include at least one of: target pace, target stride frequency, target slope, target heart rate range.
In a possible implementation manner, after the electronic device performs, in response to the first user operation, determining the recommended parameter according to a historical motion record, the electronic device is further configured to perform: receiving a second user operation for starting a motion; responding to the second user operation, and detecting whether the motion parameters accord with the recommended parameters in the motion process; and under the condition that the motion parameters do not accord with the recommended parameters, prompting a user to adjust the motion parameters so as to enable the motion parameters to accord with the recommended parameters.
In a possible implementation manner, when the electronic device determines, in response to the first user operation and according to a historical motion record, a recommended parameter, specifically: responding to the first user operation, and searching whether a motion parameter corresponding to the target motion intensity exists in a historical motion record; if yes, determining the recommended parameters according to the motion parameters corresponding to the target motion intensity in the historical motion record; if not, determining the recommended parameters according to the parameters corresponding to the exercise intensity closest to the target exercise intensity in the historical exercise record.
In a possible implementation manner, when the electronic device determines the recommended parameter according to the motion parameter corresponding to the target motion intensity in the historical motion record, the electronic device specifically performs: counting motion parameters corresponding to the N target motion intensities; the motion parameters comprise at least one of pace matching, stride and stride frequency; respectively calculating the average value and the standard deviation of the same motion parameters corresponding to the N target motion intensities; obtaining a recommended interval of the motion parameters according to the average value and the standard deviation of each motion parameter; the recommended interval is [ mean-standard deviation, mean + standard deviation ].
In a possible implementation manner, when the electronic device detects whether the motion parameter meets the recommended parameter during the motion process, the following steps are specifically performed: detecting whether the motion parameters belong to the recommended interval of the motion parameters in the motion process; the electronic equipment prompts a user to adjust the motion parameter under the condition that the motion parameter does not accord with the recommended parameter so as to specifically execute the following steps when the motion parameter accords with the recommended parameter: prompting a user to promote the motion parameter under the condition that the motion parameter is smaller than the minimum value of the recommended interval of the motion parameter; and prompting the user to reduce the motion parameter under the condition that the motion parameter is larger than the maximum value of the recommended interval of the motion parameter.
In a possible implementation manner, the matching speeds corresponding to different exercise intensities are different, and the matching speed corresponding to the target exercise intensity is the target matching speed; when the electronic device determines the recommended parameter according to the motion parameter corresponding to the target motion intensity in the historical motion record, the electronic device specifically performs: fitting a curve of the stride and the heart rate according to a plurality of strides and heart rates corresponding to the target pace in the historical movement record; determining the optimal stride corresponding to the target speed matching according to the curve; calculating to obtain an optimal pace frequency corresponding to the target pace according to the optimal pace and the target pace; the recommended parameters include the target pace, the optimal stride and the optimal stride frequency.
In a possible implementation manner, when the electronic device detects whether the motion parameter meets the recommended parameter during the motion process, the following steps are specifically performed: detecting whether the absolute value of the difference value of the motion parameter and the recommended parameter exceeds a threshold value in the motion process; the electronic equipment prompts a user to adjust the motion parameter under the condition that the motion parameter does not accord with the recommended parameter so as to specifically execute the following steps when the motion parameter accords with the recommended parameter: prompting the user to promote the motion parameter under the condition that the motion parameter is smaller than the difference between the recommended parameter and the threshold; and prompting the user to reduce the motion parameter under the condition that the motion parameter is larger than the sum of the recommended parameter and the threshold value.
In a possible implementation manner, the recommended parameter includes a target pace; when the electronic device determines the recommended parameter according to a parameter corresponding to the exercise intensity closest to the target exercise intensity in the historical exercise record, the electronic device specifically performs: determining the motion intensity closest to the target motion intensity in the historical motion record; and determining the matching speed corresponding to the closest movement intensity as the target matching speed.
In a possible implementation manner, the recommended parameter further includes a target heart rate range; when the electronic equipment detects whether the motion parameters accord with the recommended parameters in the motion process, the following steps are specifically executed: detecting whether the heart rate is within the heart rate range or not in the exercise process; the electronic equipment prompts a user to adjust the motion parameter under the condition that the motion parameter does not accord with the recommended parameter so as to specifically execute the following steps when the motion parameter accords with the recommended parameter: when the heart rate is smaller than the minimum value of the target heart rate range, prompting a user to increase the pace; and when the heart rate is larger than the maximum value of the target heart rate range, prompting the user to reduce the pace.
In another possible implementation, the heart rate range may be measured by a heart rate sensor or calculated by a percentage of maximum oxygen uptake.
In another possible implementation manner, the electronic device further performs: and recording the motion parameters of the current motion process, and updating the recommended parameters of the target motion intensity according to the motion parameters of the current motion process.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on an electronic device, the electronic device is caused to perform the method provided by the first aspect or any one implementation manner of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer program product, which, when run on an electronic device, causes the electronic device to perform the method provided in the first aspect or any one of the implementation manners of the first aspect.
It is to be understood that the electronic device provided by the second aspect, the computer storage medium provided by the third aspect, or the computer program product provided by the fourth aspect are all configured to perform the method provided by the first aspect. Therefore, the beneficial effects achieved by the method can refer to the beneficial effects in the corresponding method, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the embodiments will be briefly described below.
Fig. 1 is a schematic diagram of a first application scenario in an embodiment of the present application;
fig. 2A is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 2B is a block diagram of a software structure of a terminal device according to an embodiment of the present disclosure;
3-7 are some schematic user interface diagrams at the moment of the application scenario provided by the embodiment of the present application;
fig. 8 is a schematic diagram of a second application scenario provided in the embodiment of the present application;
9-12 are some schematic user interface diagrams under a second application scenario provided by an embodiment of the present application;
fig. 13 is a flowchart illustrating a motion data processing method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In the present application, the user may select the exercise intensity before exercising. The electronic equipment can recommend proper motion parameters such as stride, step frequency, pace, gradient and heart rate range to the user when the user starts to exercise by combining the historical motion data of the user and the exercise intensity selected by the user, monitors the motion parameters in real time in the exercise process and guides the user to adjust the motion parameters in time.
Fig. 1 schematically illustrates a first application scenario of an embodiment of the present application. As shown in fig. 1, the user may be exercising outdoors and wear the terminal device 10 and the wearable device 20 during the exercise. Wherein, the terminal device 10 and the wearable device 20 can be connected in a wireless manner, such as bluetooth. The user can select the exercise intensity by the terminal device 10 before the exercise. The terminal device 10 may broadcast parameters such as the target stride, the stride frequency, the pace and the heart rate range of the exercise in voice. Wearable device 20 may monitor parameters such as stride, stride frequency, pace, and heart rate of the user during exercise. The wearable device 20 may transmit the monitored various parameters to the terminal device 10, so that the terminal device 10 may record the motion data of the user each time, and instruct the user to adjust parameters such as stride length and stride frequency in real time.
Possibly, in the above application scenario one, the user may only wear the wearable device 20 during outdoor sports. The user may select the exercise intensity by the wearable device 20 before exercising. Wearable device 20 may voice-report parameters such as target stride, stride frequency, pace and heart rate range for this exercise. The wearable device 20 may also monitor parameters of the user such as stride length, stride frequency, pace, heart rate, etc. during exercise, and instruct the user to adjust parameters of the stride length, stride frequency, etc. in real time.
The terminal device 10 and the wearable device 20 referred to in the embodiments of the present application may be collectively referred to as an electronic device 100. The terminal device 10 in the embodiment of the present application may be a mobile phone, a tablet computer, a netbook, a Personal Digital Assistant (PDA), a virtual reality device, or the like. The wearable device 20 may be a smart watch, smart bracelet, smart glasses, smart helmet, smart glove, smart running shoe, and the like.
Fig. 2A shows a schematic structural diagram of the electronic device 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 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, a heart rate sensor 180N, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention 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 Processor (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors. In this embodiment, the processor 110 may be configured to determine whether the current parameters of the user, such as the stride length, the stride frequency, and the pace, meet recommended values. If the recommended value is not met, the speaker 170A may be caused to voice prompt the user to make an adjustment.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete 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 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 bi-directional synchronous serial bus that includes 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, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality 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 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via 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 audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a 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 with 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 screen 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, an I2S interface, a UART interface, a 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 connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to 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 some other embodiments, the power management module 141 may also 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 disposed 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 the embodiment of the present application, the terminal device 10 may perform data transmission with the wearable device 20 through the wireless communication module 160. In other embodiments, terminal device 10 or wearable device 20 may also communicate data with the treadmill using wireless communication module 160.
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 (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), 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 be 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), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1. In the embodiment of the present application, the display screen 194 may be used for displaying a display interface of an Application (APP). The user may select the intensity of the motion through the display interface. The electronic device 100 may display the recommended value of the motion parameter and the actual monitored value of the motion parameter during the motion through the display interface.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
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 light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is 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, the 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 that processes input information quickly by using a biological neural network structure, for example, by using 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 an 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, etc.) 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. In the embodiment of the present application, the internal memory 121 may be used to store the exercise intensity and parameters of each exercise of the user, such as the stride length, the step frequency, the pace rate, the heart rate range, and the like.
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 an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call. In this embodiment of the application, the electronic device 100 may broadcast the recommended parameters of the current exercise through the speaker 170A, and prompt the user to adjust the exercise parameters through voice in the exercise process.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic 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 transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. 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, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. 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 converting 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 apparatus 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 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 phone, 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. In the embodiment of the present application, the acceleration sensor 180E may be combined with the gyroscope sensor 180B to monitor the stride length, the stride frequency, the pace speed, and the like of the user during the exercise.
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 device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects 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 may 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 the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting 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 applied thereto 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 through 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 may 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 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 as to realize the heart rate detection function.
The heart rate sensor 180N may be used to acquire heart rate. In some embodiments, the heart rate sensor 180N may be a photosensor, which may include a transmitter, receiver, or the like. Wherein the transmitter may be a light emitting diode, an infrared emitting diode, etc., and the receiver may include a phototransistor, etc. There is some attenuation of the illumination emitted by the transmitter as it passes through the skin tissue and then reflects back to the receiver. The change of the volume pulse blood flow can be realized through the change of the illumination. The photoelectric sensor is used for detecting the difference of the reflected light intensity after the reflected light is absorbed by the blood and the tissue of the human body, so that the change of the blood flow in the heartbeat period can be obtained, and the heart rate can be calculated from the obtained pulse waveform. In other embodiments, the heart rate sensor 180N may also be a capacitive sensor, a piezoresistive sensor, a piezoelectric sensor, or the like, which is not limited in this application.
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 for 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 brought into and out of contact with the electronic apparatus 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 may be the same or different. The SIM card interface 195 may also be 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 invention uses an Android system with a layered architecture as an example to exemplarily illustrate a software structure of the electronic device 100.
Fig. 2B is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present invention.
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. 2B, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2B, 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.
The content provider is 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 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. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. 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 fusion of 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, and the like.
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 describes exemplary workflow of the software and hardware of the electronic device 100 in connection with capturing a photo scene.
When the touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video through the camera 193.
The following describes user interfaces involved in an application scenario of an embodiment of the present application. The following embodiment takes the electronic device 100 as a mobile phone as an example, that is, the following user interface takes a user interface on the mobile phone as an example.
Fig. 3 illustrates a user interface for presenting motion information. The user interface can be an interface displayed after the user opens the Huawei sports health APP. The user can start the Huawei sports health APP by clicking an icon of the Huawei sports health APP displayed on the main interface of the electronic device 100.
As shown in fig. 3, the user interface 30 for presenting the motion information may include: a status bar 301, a menu bar 302, a current day motion information display area 303, an accumulated motion information display area 304, a start motion control 305, and a navigation bar 306. Wherein:
status bar 301 may include: an operator indicator (e.g., the operator's name "china mobile"), one or more signal strength indicators for wireless fidelity (Wi-Fi) signals, a bluetooth indicator, one or more signal strength indicators for mobile communication signals (which may also be referred to as cellular signals), a time indicator, and a battery status indicator.
Menu bar 302 may include four menu controls (home, found, preferred, My) that may be displayed differently by electronic device 100 when different menus are selected. The currently selected menu category shown in fig. 3 is the home page. That is, the content displayed by the electronic device 100 is the content displayed after the home menu is selected.
The current day exercise information display area 303 may be used to display the user's current day exercise information, which may include a target amount of exercise (number of steps, 10000), a completed amount of exercise (3279 steps), an amount of calories consumed (80 kcal), and a completed distance (2.66 km). The number of steps displayed in the current-day movement information display area 303 can be obtained by detecting the movement posture of the electronic device 100 by the gyro sensor 180B and the acceleration sensor 180E.
The accumulated exercise information display area 304 may be used to display information of the accumulated exercise of the user, and may include a distance of the accumulated exercise (88.65 km), a number of the accumulated exercise (13), and the like. The distance of the accumulated exercise displayed in the accumulated exercise information display area 304 can be obtained by the GPS data acquired by the GPS chip 230.
The start motion control 305 may be used to select a type of motion. Electronic device 100 may detect a touch operation (e.g., a click operation on start motion control 305) acting on start motion control 305, in response to which electronic device 100 may display user interface 40 shown in fig. 4.
The navigation bar 306 may include: a return button 3061, a Home screen button 3062, an outgoing call task history button 3063, and other system navigation keys. The main interface is displayed by the electronic device 100 after any user interface detects a user operation on the main interface key 3062. When detecting that the user clicks the return button 3061, the electronic device 100 may display the last user interface of the current user interface. When the user is detected to click the primary interface button 3062, the electronic device 100 may display the primary interface. When detecting that the user clicks the outgoing task history button 3063, the electronic device 100 may display the task that the user recently opened. The names of the navigation keys can be other keys, for example, 3061 can be called Back Button, 3062 can be called Home Button, 3063 can be called Menu Button, and the application is not limited to this. The navigation keys in the navigation bar 306 are not limited to virtual keys, but may be implemented as physical keys.
Fig. 4 illustrates a user interface 40 for selecting a type of motion. As shown in fig. 4, the user interface 40 may include: a status bar, a return control 401, a sport type option bar 402, a map display area 403, and a navigation bar. Wherein:
the status bar corresponds to the status bar 301 in the user interface 30 and will not be described in detail here.
The return control 401 can be used to return to the last user interface. Electronic device 100 may detect a touch operation (e.g., a click operation on return control 401) acting on return control 401, and in response to the operation, electronic device 100 may display a user interface, i.e., user interface 30.
The type of sport option bar 402 may include four options (an outdoor run option 4021, an indoor run option 4022, and a walk option 4023), and different content may be displayed by the electronic device 100 when different options are selected. The current option shown in fig. 4 is an outdoor run 4021. That is, the content displayed by the electronic device 100 (i.e., the map display area 403) is the content displayed after the outdoor run option 4021 is selected.
The display area 403 is used to display content matching the selected motion type. The display area 403 shown in fig. 4 is a map near the location where the electronic device 100 is currently located and a current location indicator 4031.
The navigation bar is identical to the navigation bar 306 in the user interface 40 and will not be described in detail here.
Fig. 5 illustrates a user interface 40 for selecting a movement intensity. After electronic device 100 detects a user operation (e.g., a click operation) on control 4021, electronic device 100 may display list 404 and determination control 405 in user interface 40 in response to the user operation. The determination control 405 may be configured to determine that the exercise intensity corresponding to the to-be-determined option selected in the list 404 by the user is the exercise intensity of the user's exercise.
The list 404 includes a plurality of options corresponding to different exercise intensities. Such as a warm-up option 4041, a fat-burning option 4042, an aerobic endurance option 4043, an anaerobic endurance option, a limit option, and a free run option, among others. Electronic device 100 may detect a user operation (e.g., a click operation) on an option (e.g., aerobic endurance option 4043), and in response to the user operation, electronic device 100 determines that the option to be determined is aerobic endurance option 4043.
It can be known that different exercise intensities have different corresponding relationships with the heart rate range (maximum heart rate percentage), the metabolic substances and the exercise effect. The correspondence shown in table 1 can be seen in detail.
TABLE 1 Table of the correspondence between exercise intensity and heart rate range, metabolic substances and exercise effect
Figure BDA0002312953220000151
It is known that the maximum heart rate is related to the age of the user, and the maximum heart rate is 220 as a difference from the age. For example, a user aged 30 years has a maximum heart rate of 190. Different exercise intensities correspond to different heart rate ranges. Wherein the heart rate range is determined by the percentage of the maximum heart rate. For example, a warm-up corresponds to a heart rate range of 50% -60%, i.e., a warm-up corresponds to a heart rate range of 50% -60% of the maximum heart rate. The same applies to the heart rate ranges corresponding to other exercise intensities. Under different exercise intensities, the metabolic substances are different, and the exercise effects are also different. The correspondence listed in table 1 above is merely an exemplary illustration and should not be construed as a limitation of the present application.
Therefore, when users of different ages select the same exercise intensity, the corresponding heart rate ranges are different.
Assuming that user a is 20 years old, user a has a maximum heart rate of 220-20 to 200. User B is 40 years old and has a maximum heart rate of 220-40-180.
Table 2 below lists the correspondence between different exercise intensities and heart rate ranges for user a, and table 3 lists the correspondence between different exercise intensities and heart rate ranges for user B.
TABLE 2 corresponding relationship table of different exercise intensity and heart rate range for user A
Intensity of exercise Heart rate range
Warming-up device 100-120
Burning fat 120-140
Aerobic endurance 140-160
Anaerobic endurance 160-180
Extreme limit 180-200
TABLE 3 Table of correspondence between different exercise intensities and ranges of heart rate for user B
Figure BDA0002312953220000152
Figure BDA0002312953220000161
Comparing table 2 and table 3, it can be seen that when users of different ages select the same exercise intensity, the corresponding heart rate ranges are different.
Electronic device 100 may detect a user operation (e.g., a click operation) acting on determination control 405, in response to which electronic device 100 may display user interface 50. User interface 50 may include an information display area 501, a list of athletic parameters 502, and a start control 503. Wherein:
the information display 501 may be used to show the exercise intensity (e.g., oxygen endurance) currently selected by the user and the heart rate range (132-. It will be appreciated that the heart rate range is calculated based on the age of the user.
The exercise parameter list 502 may be used to display exercise parameters suitable for the current exercise intensity, including pace 5021(7km/h), stride 5022(70cm), and stride frequency 5023 (160/min).
A start control 503 may be used to start monitoring the motion parameter. Electronic device 100 may detect a user operation (e.g., a click operation) on start control 503, in response to which electronic device 100 may start detecting a motion parameter of the user's motion.
Fig. 7 illustrates a user interface 60 for displaying the movement parameters. User interface 60 may include a display area 601, a display area 602, and a display area 603. The display area 601 may be used to display the target pace and the real-time pace, the target stride and the real-time stride, and the target stride frequency and the real-time stride frequency of the current exercise. The display area 602 may be used to display a target heart rate range and a real-time heart rate. It will be appreciated that the target pace, target stride and target stride frequency may be determined based on the user selected exercise intensity. The target heart rate range may be determined based on the age of the user and the exercise intensity selected by the user. The display area 603 may be used to display the exercise duration (5min), the exercise distance (1 km), and the calories consumed (40 kcal) for the exercise.
Tables 1-3 above describe how the heart rate range is determined based on the age of the user and the exercise intensity selected by the user. Next, how to determine the target pace, the target stride, and the target stride frequency according to the exercise intensity will be described. There are two cases: firstly, the historical movement record contains the movement intensity; secondly, the historical exercise record does not contain the exercise intensity.
When the exercise intensity is included in the historical exercise record, the electronic device 100 may recommend the pace, stride and stride frequency corresponding to the exercise intensity to the user. The pace, stride and stride frequency corresponding to the exercise intensity can be calculated according to historical exercise data of the same exercise intensity for multiple times.
Specifically, the most recent history records of N same exercise intensities in the exercise data may be selected, the stride, the step frequency, and the pace under the exercise intensity may be counted, and the average value and the standard deviation of the data such as the stride, the step frequency, and the pace obtained through the statistics may be calculated. Respectively calculating the recommended intervals of data such as stride, stride frequency, pace matching and the like: [ mean-standard deviation, mean + standard deviation ]. Wherein, N can be, but is not limited to, 3, 5, 10, etc. At this time, the parameter recommended to the user may be an interval, not a specific numerical value.
When the electronic device 100 detects that the motion parameter is smaller than the minimum value of the recommended interval in the user motion process, prompting the user to promote the motion parameter. When the electronic device 100 detects that the motion parameter is larger than the maximum value of the recommended interval in the motion process of the user, the user is prompted to reduce the motion parameter. The prompting mode can be one or more of the following modes: voice prompt, vibration prompt and light flicker prompt.
Possibly, different exercise intensities correspond to different pace. After the user selects the target movement intensity, the electronic device 100 may determine that the pace corresponding to the target movement intensity is the target pace.
The electronic device 100 may count the stride and heart rate data at the same pace for a plurality of times in the historical movement record, and fit a stride and heart rate curve:
Figure BDA0002312953220000171
where HR is heart rate, SL is stride, an-k+1Is the polynomial coefficient, and n is the order of the polynomial. And calculating the optimal stride according to the fitted curve, calculating the optimal stride frequency according to the speed and the stride, and recommending the optimal stride frequency to the user. Wherein the value of n may be less than 4. In particular, the ordinate of the fitted curve may be the heart rate and the abscissa may be the step. The lowest point of the ordinate (heart rate) of the curve, the corresponding abscissa (stride) is the optimal stride. It is known that speed is stride × stride frequency. The optimal stride frequency is the ratio of the speed to the optimal stride length. At this time, the parameter recommended to the user is a specific numerical value.
After the recommended interval and the optimal stride of the stride are determined, the optimal stride can be recommended to the user when the user selects the exercise intensity next time, and the user is prompted to adjust the stride when the user detects that the stride of the user is not in the recommended interval in the exercise process of the user. Specifically, the user may be prompted to adjust the stride by voice. And if the stride of the user is detected to be smaller than the minimum value of the recommended interval, prompting the user to increase the stride. And if the stride of the user is detected to be larger than the maximum value of the recommended interval, prompting the user to reduce the stride.
After the recommended interval of the step frequency and the optimal step frequency are determined, the optimal step frequency can be recommended to the user when the user selects the exercise intensity next time, and whether the absolute value of the difference value between the exercise parameter and the recommended parameter exceeds a threshold value or not is detected in the exercise process of the user. When the electronic device 100 detects that the motion parameter is smaller than the difference between the recommended parameter and the threshold value in the motion process of the user, the user is prompted to increase the motion parameter. When the electronic device 100 detects that the motion parameter is larger than the sum of the recommended parameter and the threshold value in the motion process of the user, the user is prompted to reduce the motion parameter. The prompting mode can be one or more of the following modes: voice prompt, vibration prompt and light flicker prompt.
Possibly, the optimal stride or the optimal stride frequency can be used as a recommended parameter, and the recommended interval [ mean-standard deviation, mean + standard deviation ] is used as a standard for judging whether the exercise parameter meets the recommended parameter. That is, the optimal stride or the optimal stride frequency is recommended for the user in the user interface shown in fig. 6, and it is determined whether the exercise parameter is not within the recommended interval during the exercise of the user. If yes, the user is prompted by voice to adjust the motion parameters.
Possibly, the electronic device 100 may recommend the recommended interval of stride or the recommended interval of stride frequency for the user directly when the user selects the exercise intensity next time.
After each exercise, the electronic device 100 may combine the exercise parameters recorded in the current exercise with the exercise parameters of the same exercise intensity in the history record to update each exercise parameter of the exercise intensity.
For a single movement, the electronic device 100 may detect parameters such as pace, stride frequency, pace, etc. at a certain frequency during the movement, such as, but not limited to, once per second, etc. The average value of the pace detected during the exercise can be used as the pace of the exercise, the average value of the pace frequency detected during the exercise can be used as the pace frequency of the exercise, and the average value of the pace speed detected during the exercise can be used as the pace speed of the exercise.
It is known that there is a positive correlation between heart rate and maximum oxygen uptake. Therefore, the maximum oxygen uptake may be used in place of the heart rate in the calculation of the optimal stride length and optimal stride frequency. The embodiments of the present application do not limit this.
When the exercise intensity is not included in the historical exercise record, an exercise parameter of the exercise intensity closest to the exercise intensity may be selected from the historical exercise record as the recommended parameter. The recommended parameter at this time may be the pace of the exercise intensity closest to the historical exercise intensity, and the heart rate range of the exercise intensity currently selected by the user is recommended to the user. And no recommendations may be made for stride frequency and stride length.
If the closest exercise intensity in the historical exercise record is lower than the exercise intensity, the electronic device 100 may prompt the user through voice that the pace of the exercise should be higher than the recommended pace, and the heart rate should be within the recommended interval. If the closest exercise intensity in the historical exercise record is higher than the exercise intensity, the electronic device 100 may prompt the user through a voice that the pace of the exercise should be lower than the recommended pace, and the heart rate should be within the recommended interval.
And in the exercise process, monitoring whether the heart rate of the user is in the heart rate range corresponding to the exercise intensity in real time. If the heart rate range is exceeded, the user is prompted to reduce the pace. If the heart rate range is not reached, prompting the user to increase the pace.
In addition, during the exercise, the electronic device 100 may detect parameters such as pace, stride frequency, pace, etc. at a certain frequency, such as, but not limited to, once per second, etc. The average value of the pace detected during the exercise can be used as the pace of the exercise, the average value of the pace frequency detected during the exercise can be used as the pace frequency of the exercise, and the average value of the pace speed detected during the exercise can be used as the pace speed of the exercise. When the user selects the exercise intensity next time, the electronic device 100 may use the recorded pace, stride frequency, and pace as recommended parameters.
Next, an application scenario two provided by the embodiment of the present application is described with reference to fig. 8. As shown in fig. 8, the user may move indoors, i.e., the user may move on the treadmill. The user can wear the terminal device 10 and the wearable device 20 during exercise and run on the treadmill 30. Wherein, the terminal device 10 and the wearable device 20 can be connected by wireless means such as bluetooth, and the terminal device 10 can also be connected by wireless means such as bluetooth with the treadmill 30. The user can select the exercise intensity by the terminal device 10 before the exercise. The terminal device 10 can broadcast parameters such as the target stride, the step frequency, the pace, the gradient and the heart rate range of the movement in voice. Wearable device 20 may monitor parameters such as stride, stride frequency, pace, grade, and heart rate of the user during the exercise. The wearable device 20 may transmit the monitored various parameters to the terminal device 10, so that the terminal device 10 may record the motion data of the user each time, and instruct the user to adjust parameters such as stride length, stride frequency, and gradient in real time.
Possibly, in the above application scenario two, the user may only wear the wearable device 20 during indoor exercise, and the wearable device 20 may be connected to the treadmill 30 through a wireless manner, such as bluetooth. The user may select the exercise intensity by the wearable device 20 before exercising. Wearable device 20 may voice-report parameters such as target stride, stride frequency, pace, grade, and heart rate range for this exercise. Wearable device 20 may also monitor parameters such as the user's stride, stride frequency, pace, grade, and heart rate during the exercise, and instruct the user to adjust parameters such as stride, stride frequency, grade in real time.
Next, a user interface related to the embodiment of the present application in application scenario two is described. The following embodiment takes the electronic device 100 as a mobile phone as an example, that is, the following user interface takes a user interface on the mobile phone as an example.
Fig. 9 shows the display interface 40 after the sport type option is an indoor run option 4022. When the exercise type is indoor running, a prompt message such as "suggest to fix the mobile phone to the arm" is displayed in the display area 403, which can improve the accuracy of data ", and the display area 403 can also display data of accumulated running.
The electronic device 100 may detect a user operation (e.g., a click operation) acting on the indoor running option 4022, and in response to the user operation, the electronic device 100 may display the list 404 and the determination control 405 shown in fig. 10. The description of the list 404 and the determination control 405 can refer to the description of fig. 5, and the description thereof is omitted here.
Electronic device 100 may detect a user operation (e.g., a click operation) on an option (e.g., aerobic endurance option 4043), and in response to the user operation, electronic device 100 determines that the option to be determined is aerobic endurance option 4043.
It can be known that different exercise intensities have different corresponding relationships with the heart rate range (maximum heart rate percentage), the metabolic substances and the exercise effect. The correspondence shown in table 1 can be seen in detail. And are not described in detail herein.
Electronic device 100 may detect a user operation (e.g., a click operation) acting on determination control 405, in response to which electronic device 100 may display user interface 50 shown in fig. 11. The difference between the user interface 50 shown in fig. 11 and the user interface 50 shown in fig. 6 is that one more parameter, i.e., the gradient 5024, in the exercise parameter list 502 in the user interface 50 shown in fig. 11 is used to indicate the gradient corresponding to the exercise intensity this time. Other contents of the user interface 50 can refer to the related description in fig. 6, and are not described herein.
Fig. 12 shows a user interface 60 for displaying the movement parameters. The user interface 60 shown in fig. 12 differs from the user interface 60 shown in fig. 7 in that one more parameter, the target grade and the real-time grade, are displayed in a display area 601 in the user interface 60 shown in fig. 12. Other contents of the user interface 60 can refer to the related description in fig. 7, and are not described herein.
In the foregoing application scenario one, how to determine the heart rate range according to the age of the user and the exercise intensity selected by the user, and how to determine the target pace, the target stride and the target stride frequency according to the exercise intensity are described. Next, how to determine the target gradient according to the exercise intensity will be described. There are also two cases: firstly, the historical movement record contains the movement intensity; secondly, the historical exercise record does not contain the exercise intensity.
When the exercise intensity is included in the historical exercise record, the electronic device 100 may recommend the slope corresponding to the exercise intensity to the user. The slope corresponding to the exercise intensity can be obtained by calculating according to historical slopes of the same exercise intensity for multiple times.
Specifically, a history of the most recent M identical exercise intensities in the exercise data may be selected. In the history of the M same exercise intensities, the gradient that appears most frequently may be used as the recommended gradient of the exercise intensity.
For a single exercise, electronic device 100 may detect the slope of the treadmill at a frequency during the exercise. The user may change or adjust the grade during the exercise. The slope with the longest selected duration may be used as the slope for the exercise throughout the exercise.
When the exercise intensity is not included in the historical exercise record, the electronic apparatus 100 may select a gradient of the exercise intensity closest to the exercise intensity from the historical exercise record as the recommended gradient. The recommended gradient at this time may be the gradient of the exercise intensity closest in the historical exercise intensities. Alternatively, when the closest exercise intensity is lower than the exercise intensity, the recommended gradient may be slightly higher than the gradient of the closest exercise intensity. When the closest exercise intensity is higher than the exercise intensity, the recommended grade may be slightly lower than the grade of the closest exercise intensity.
Further, during this movement, the electronic apparatus 100 may detect the gradient at a certain frequency. The slope detected during this movement and having the longest selected duration is taken as the slope of this movement. When the user selects the exercise intensity next time, the electronic apparatus 100 may use the slope recorded this time as the recommended slope.
The motion data processing method provided by the embodiment of the present application is described next with reference to fig. 1 to 12.
Fig. 13 is a schematic flowchart illustrating a motion data processing method according to an embodiment of the present application. As shown in fig. 13, the method may include the following steps:
s1301: a first user action to select a target motion strength is received.
S1302: in response to a first user action, a recommendation parameter is determined from the historical motion record.
In particular, the recommendation parameters may relate to a motion scene of the user. The sports scene of the user may be an outdoor sports scene shown in fig. 1, or an indoor sports scene shown in fig. 8. The application scenario may be specifically determined by whether the electronic device is connected to the treadmill. If the electronic equipment is connected with the treadmill, the current motion scene can be determined to be an indoor motion scene.
When the sport scene is an outdoor sport scene, the recommended parameters may include at least one of: target pace, target stride frequency, target heart rate range. When the sport scene is an indoor sport scene, the recommended parameters may include a target gradient, which is a gradient of the treadmill, in addition to the recommended parameters listed above in the outdoor sport scene.
Specifically, the first user action may be the user clicking on any one of the options in the list 404 of fig. 5. Or the user selects any one of the options in the list 404 and clicks on the determination control 405 to be the first user operation.
Illustratively, the target exercise intensity is aerobic endurance, the target heart rate range may be, for example, 132-.
It is appreciated that the electronic device may provide the user with a variety of exercise intensity options, as shown in fig. 5, which may include "warm up", "fat burning", "aerobic endurance", "anaerobic endurance", "extreme", and the like. Different exercise intensities may correspond to different heart rate ranges, the larger the heart rate range, the stronger the corresponding exercise intensity. When users of different ages select the same exercise intensity, the corresponding heart rate ranges may be different.
Specifically, the corresponding relationship between the heart rate range and the exercise intensity may refer to the related descriptions in tables 1 to 3, which are not described herein again. Therefore, the target heart rate range can be calculated according to the age of the user and the target exercise intensity.
In addition, the list 404 shown in FIG. 5 also includes a "free run" option. When the user selects "free run", it may be determined that the user has not set the exercise intensity for this exercise process, and no recommendation may be made.
In some possible embodiments, after S1302, the method may further include the following steps:
s1303: a second user operation to begin movement is received.
S1304: and responding to a second user operation, and detecting whether the motion parameters accord with the recommended parameters in the motion process.
S1305: and under the condition that the motion parameters do not accord with the recommended parameters, prompting the user to adjust the motion parameters so as to enable the motion parameters to accord with the recommended parameters.
Specifically, the second user operation may be, for example, clicking on the start control 503 in fig. 6. In response to the second operation, the electronic device 100 starts recording the motion parameters and detects whether the motion parameters meet the recommended parameters in real time.
In some possible embodiments, the above-mentioned determining the recommendation parameter according to the historical motion record may include two cases: firstly, the historical movement record contains the movement intensity of the target; secondly, the historical motion record does not contain the motion intensity of the target.
When the historical movement record includes the target movement intensity, the electronic device 100 may recommend the pace, the stride and the stride frequency corresponding to the target movement intensity to the user. The pace, stride and step frequency corresponding to the target movement intensity can be calculated according to historical movement data of the same movement intensity for multiple times.
Possibly, the electronic device 100 may select a history of the latest N target motion intensities in the motion data, count the stride, the step frequency, and the pace under the target motion intensities, and calculate the average value and the standard deviation of the counted data of the stride, the step frequency, the pace, and the like. Respectively calculating the recommended intervals of data such as stride, stride frequency, pace matching and the like: [ mean-standard deviation, mean + standard deviation ]. In this case, the target stride length, the target stride frequency, and the target pace may be an interval, not a specific value.
When the electronic device 100 detects that the motion parameter is smaller than the minimum value of the recommended interval in the user motion process, prompting the user to promote the motion parameter. When the electronic device 100 detects that the motion parameter is larger than the maximum value of the recommended interval in the motion process of the user, the user is prompted to reduce the motion parameter. The prompting mode can be one or more of the following modes: voice prompt, vibration prompt and light flicker prompt.
For example, if the recommended interval for the target stride is [65cm, 75cm ]. When the electronic device 100 detects that the stride of the user in the exercise process is 60cm and is smaller than the minimum value 65cm of the recommended interval, the user is prompted to increase the stride by voice. When the electronic device 100 detects that the stride of the user in the exercise process is 80cm and is greater than the maximum value of the recommended interval of 75cm, the voice prompts the user to reduce the stride.
The recommended interval of the target stride is exemplified, and the embodiment of the present application is not limited in the specific implementation.
Possibly, different exercise intensities correspond to different pace. After the user selects the target movement intensity, the electronic device 100 may determine that the pace corresponding to the target movement intensity is the target pace.
The electronic device 100 may count the stride and heart rate data of the target under the pace corresponding to the multiple target exercise intensities in the historical exercise record, and fit a stride and heart rate curve:
Figure BDA0002312953220000211
where HR is heart rate, SL is stride, an-k+1Is the polynomial coefficient, and n is the order of the polynomial. And calculating the optimal stride according to the fitted curve, calculating the optimal stride frequency according to the speed and the stride, and recommending the optimal stride frequency to the user. Wherein the value of n may be less than 4. In particular, the ordinate of the fitted curve may be the heart rate and the abscissa may be the step. The lowest point of the ordinate (heart rate) of the curve, the corresponding abscissa (stride) is the optimal stride. It is known that speed is stride × stride frequency. The optimal stride frequency is the ratio of the speed to the optimal stride length. This is achieved byThe target stride and the target stride frequency are specific values.
The electronic device 100 detecting whether the motion parameter conforms to the recommended parameter during the motion process may include: detecting whether the absolute value of the difference value of the motion parameter and the recommended parameter exceeds a threshold value during the motion process.
When the electronic device 100 detects that the motion parameter is smaller than the difference between the recommended parameter and the threshold value in the motion process of the user, the user is prompted to increase the motion parameter. When the electronic device 100 detects that the motion parameter is larger than the sum of the recommended parameter and the threshold value in the motion process of the user, the user is prompted to reduce the motion parameter. The prompting mode can be one or more of the following modes: voice prompt, vibration prompt and light flicker prompt.
For example, if the recommended parameter for the target stride is 70cm, the threshold is 5 cm. The difference between the recommended parameter and the threshold is 65cm, and the sum of the recommended parameter and the threshold is 75 cm. When the electronic device 100 detects that the stride of the user in the exercise process is 60cm and is smaller than the difference between the recommended parameter and the threshold, the user is prompted to increase the stride by voice. When the electronic device 100 detects that the stride of the user in the exercise process is 80cm and is greater than the sum of the recommended parameter and the threshold, the voice prompts the user to reduce the stride.
The threshold value, the recommended parameter of the target stride and the like listed above are all exemplary illustrations, and the embodiment of the present application is not limited to this in specific implementations.
Possibly, the optimal stride or the optimal stride frequency can be used as a recommended parameter, and the recommended interval [ mean-standard deviation, mean + standard deviation ] is used as a standard for judging whether the exercise parameter meets the recommended parameter. That is, the optimal stride or the optimal stride frequency is recommended for the user in the user interface shown in fig. 6, and it is determined whether the exercise parameter is not within the recommended interval during the exercise of the user. If yes, the user is prompted by voice to adjust the motion parameters.
When the exercise intensity is not included in the historical exercise record, the recommended parameters may include a target pace. The electronic apparatus 100 may select, as the recommended parameter, the motion parameter of the motion intensity closest to the motion intensity from the historical motion records. The recommended parameter at this time may be the pace of the closest exercise intensity among the historical exercise intensities. And no recommendations may be made for stride frequency and stride length. In addition, when the target exercise intensity is selected, the electronic device 100 may determine a heart rate range corresponding to the exercise intensity. Thus, the recommended parameters may also include a target heart rate range.
If the closest exercise intensity in the historical exercise record is lower than the target exercise intensity, the electronic device 100 may prompt the user through voice that the pace of the exercise should be higher than the recommended pace, and the heart rate should be within the recommended interval. If the closest exercise intensity in the historical exercise record is higher than the target exercise intensity, the electronic device 100 may prompt the user through a voice that the pace of the exercise should be lower than the recommended pace, and the heart rate should be within the recommended interval.
And in the exercise process, monitoring whether the heart rate of the user is in a target heart rate range corresponding to the target exercise intensity in real time. And if the target heart rate range is exceeded, prompting the user to reduce the pace. And if the target heart rate range is not reached, prompting the user to increase the pace.
In addition, during the exercise, the electronic device 100 may detect parameters such as pace, stride frequency, pace, etc. at a certain frequency, such as, but not limited to, once per second, etc. The average value of the pace detected during the exercise can be used as the pace of the exercise, the average value of the pace frequency detected during the exercise can be used as the pace frequency of the exercise, and the average value of the pace speed detected during the exercise can be used as the pace speed of the exercise. When the user selects the exercise intensity next time, the electronic device 100 may use the recorded pace, stride frequency, and pace as recommended parameters.
In some possible embodiments, after S1305 above, the method may further include: and recording the motion parameters of the current motion process, and updating the recommended parameters of the target motion intensity according to the motion parameters of the current motion process. Therefore, the recommended parameters can better accord with the physical condition of the user within a period of time, the proper motion parameters are provided for the user to the maximum extent, and the motion effect is ensured.
According to the exercise parameter recommending method and device, before the user exercises, the exercise parameters can be recommended to the user according to exercise intensity selected by the user, the heart rate ranges corresponding to different exercise intensities are determined according to the age of the user, the exercise parameters finally recommended to the user are suitable for the user, whether the exercise parameters accord with the recommended parameters or not is detected in real time in the exercise process of the user, the user is reminded of making adjustments in time when the exercise parameters do not accord with the recommended parameters, the exercise quality of the user is improved, and the exercise experience of the user is improved.
It will be understood by those skilled in the art that all or part of the processes of 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 when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The modules in the device can be merged, divided and deleted according to actual needs.
The above 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; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (13)

1. A motion data processing method, comprising:
the electronic equipment receives a first user operation for selecting the target motion intensity; the electronic equipment provides options corresponding to various exercise intensities, different exercise intensities correspond to different heart rate ranges, the larger the heart rate range is, the stronger the corresponding exercise intensity is, and the different heart rate ranges are different when users of different ages select the same exercise intensity;
in response to the first user operation, determining recommendation parameters according to a historical motion record; the recommended parameters include at least one of: target pace, target stride frequency, target slope, target heart rate range.
2. The method of claim 1, wherein after determining recommendation parameters from a historical motion record in response to the first user action, the method further comprises:
receiving a second user operation for starting a motion;
responding to the second user operation, and detecting whether the motion parameters accord with the recommended parameters or not in the motion process;
and prompting a user to adjust the motion parameters under the condition that the motion parameters do not accord with the recommended parameters so as to enable the motion parameters to accord with the recommended parameters.
3. The method of claim 2, wherein determining recommendation parameters from a historical motion record in response to the first user action comprises:
responding to the first user operation, and searching whether a motion parameter corresponding to the target motion intensity exists in a historical motion record;
if yes, determining the recommended parameters according to the motion parameters corresponding to the target motion intensity in the historical motion record;
if not, determining the recommended parameters according to the parameters corresponding to the motion intensity closest to the target motion intensity in the historical motion record.
4. The method of claim 3, wherein the determining the recommended parameter according to the motion parameter corresponding to the target motion intensity in the historical motion record comprises:
counting motion parameters corresponding to the N target motion intensities; the motion parameters comprise at least one of pace matching, stride and stride frequency;
respectively calculating the average value and the standard deviation of the same motion parameters corresponding to the N target motion intensities;
obtaining a recommended interval of the motion parameters according to the average value and the standard deviation of each motion parameter; the recommended interval is [ mean-standard deviation, mean + standard deviation ].
5. The method of claim 4, wherein detecting whether the motion parameter meets the recommended parameter during the motion comprises: detecting whether the motion parameters belong to the recommended intervals of the motion parameters in the motion process;
the prompting the user to adjust the motion parameter under the condition that the motion parameter does not accord with the recommended parameter so as to enable the motion parameter to accord with the recommended parameter comprises the following steps:
prompting a user to promote the motion parameter under the condition that the motion parameter is smaller than the minimum value of the recommendation interval of the motion parameter;
and prompting the user to reduce the motion parameter under the condition that the motion parameter is larger than the maximum value of the recommended interval of the motion parameter.
6. The method of claim 3, wherein the pace corresponding to different exercise intensities is different, and the pace corresponding to the target exercise intensity is the target pace;
the determining the recommended parameter according to the motion parameter corresponding to the target motion intensity in the historical motion record includes:
fitting a curve of the pace and the heart rate according to a plurality of pace and heart rates corresponding to the target pace in the historical movement record;
determining the optimal stride corresponding to the target speed matching according to the curve;
calculating to obtain an optimal step frequency corresponding to the target speed matching according to the optimal step and the speed matching; the recommended parameters include the target pace, the optimal stride and the optimal stride frequency.
7. The method of claim 6, wherein detecting whether a motion parameter meets the recommended parameter during the motion comprises: detecting whether the absolute value of the difference value of the motion parameter and the recommended parameter exceeds a threshold value in the motion process;
the prompting the user to adjust the motion parameter under the condition that the motion parameter does not accord with the recommended parameter so as to enable the motion parameter to accord with the recommended parameter comprises the following steps:
prompting a user to promote the motion parameter when the motion parameter is smaller than the difference between the recommended parameter and the threshold;
and prompting the user to reduce the motion parameter under the condition that the motion parameter is larger than the sum of the recommended parameter and the threshold value.
8. The method of claim 3, wherein the recommended parameters include a target pace;
the determining the recommended parameter according to the parameter corresponding to the exercise intensity closest to the target exercise intensity in the historical exercise record includes:
determining the motion intensity closest to the target motion intensity in the historical motion record;
and determining the matching speed corresponding to the closest motion intensity as a target matching speed.
9. The method of claim 8, wherein the recommended parameters further include a target heart rate range;
the detecting whether the motion parameter accords with the recommended parameter in the motion process includes: detecting whether the heart rate belongs to the target heart rate range or not during the exercise;
the prompting the user to adjust the motion parameter under the condition that the motion parameter does not accord with the recommended parameter so as to enable the motion parameter to accord with the recommended parameter comprises the following steps:
when the heart rate is smaller than the minimum value of the target heart rate range, prompting a user to increase the pace;
and when the heart rate is larger than the maximum value of the target heart rate range, prompting the user to reduce the pace.
10. The method of any one of claims 1 to 9, wherein the heart rate range is measured by a heart rate sensor or calculated as a percentage of maximum oxygen uptake.
11. An electronic device, comprising: one or more processors, memory, and a display screen;
the memory and the display screen are coupled to the one or more processors, the memory for storing computer program code, the computer program code comprising computer instructions, which when executed by the one or more processors, cause the electronic device to perform the method of any of claims 1-10.
12. A computer-readable storage medium having stored therein instructions, which when run on a computer or processor, cause the computer or processor to perform the method of any one of claims 1-10.
13. A computer program product comprising instructions which, when run on a computer or processor, cause the computer or processor to perform the method of any one of claims 1-10.
CN201911266346.5A 2019-12-11 2019-12-11 Motion data processing method and electronic equipment Pending CN111202955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911266346.5A CN111202955A (en) 2019-12-11 2019-12-11 Motion data processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911266346.5A CN111202955A (en) 2019-12-11 2019-12-11 Motion data processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111202955A true CN111202955A (en) 2020-05-29

Family

ID=70780437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911266346.5A Pending CN111202955A (en) 2019-12-11 2019-12-11 Motion data processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111202955A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112349379A (en) * 2020-10-28 2021-02-09 浙江骏炜健电子科技有限责任公司 Aerobic exercise internet leading method based on mobile terminal
CN112842308A (en) * 2020-12-29 2021-05-28 广东湾区智能终端工业设计研究院有限公司 Motion recommendation display method, wearable device, computing device and storage medium
CN113171591A (en) * 2021-05-13 2021-07-27 河南职业技术学院 Aerobics exercises strength training device
CN114080258A (en) * 2020-06-17 2022-02-22 华为技术有限公司 Motion model generation method and related equipment
CN114176573A (en) * 2021-11-23 2022-03-15 深圳市爱都科技有限公司 Intelligent exercise recommendation method and device and electronic equipment
CN114534201A (en) * 2020-11-26 2022-05-27 广州源动智慧体育科技有限公司 Stride monitoring method and device based on treadmill, storage medium and intelligent equipment
WO2023115436A1 (en) * 2021-12-23 2023-06-29 广东高驰运动科技股份有限公司 Method and apparatus for estimating equivalent level pace for cross-country running, and device and medium
WO2023185105A1 (en) * 2022-03-31 2023-10-05 Oppo广东移动通信有限公司 Exercise guidance method and apparatus, terminal device, and storage medium
WO2023207726A1 (en) * 2022-04-24 2023-11-02 华为技术有限公司 Exercise guidance method and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321938A (en) * 2000-05-02 2001-11-14 株式会社世宇*** Method for controlling body-building equipment using internet and body-building system thereby
EP2014226A1 (en) * 2007-07-12 2009-01-14 Polar Electro Oy Portable apparatus
CN101954171A (en) * 2009-07-16 2011-01-26 英业达股份有限公司 Body-building program real-time adjusting system and method thereof
CN107330242A (en) * 2017-05-26 2017-11-07 北京卡路里信息技术有限公司 Moving target method to set up, device, storage medium and processor
CN108133739A (en) * 2017-12-14 2018-06-08 咪咕互动娱乐有限公司 A kind of method for pushing of motion path, device and storage medium
CN110025928A (en) * 2019-05-21 2019-07-19 上海懒猫智能科技有限公司 A kind of detection of body heart rate data and smart motion treadmill and its control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321938A (en) * 2000-05-02 2001-11-14 株式会社世宇*** Method for controlling body-building equipment using internet and body-building system thereby
EP2014226A1 (en) * 2007-07-12 2009-01-14 Polar Electro Oy Portable apparatus
CN101954171A (en) * 2009-07-16 2011-01-26 英业达股份有限公司 Body-building program real-time adjusting system and method thereof
CN107330242A (en) * 2017-05-26 2017-11-07 北京卡路里信息技术有限公司 Moving target method to set up, device, storage medium and processor
CN108133739A (en) * 2017-12-14 2018-06-08 咪咕互动娱乐有限公司 A kind of method for pushing of motion path, device and storage medium
CN110025928A (en) * 2019-05-21 2019-07-19 上海懒猫智能科技有限公司 A kind of detection of body heart rate data and smart motion treadmill and its control method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114080258A (en) * 2020-06-17 2022-02-22 华为技术有限公司 Motion model generation method and related equipment
CN114080258B (en) * 2020-06-17 2022-08-09 华为技术有限公司 Motion model generation method and related equipment
CN112349379A (en) * 2020-10-28 2021-02-09 浙江骏炜健电子科技有限责任公司 Aerobic exercise internet leading method based on mobile terminal
CN114534201A (en) * 2020-11-26 2022-05-27 广州源动智慧体育科技有限公司 Stride monitoring method and device based on treadmill, storage medium and intelligent equipment
CN114534201B (en) * 2020-11-26 2023-05-30 广州源动智慧体育科技有限公司 Stride monitoring method and device based on running machine, storage medium and intelligent equipment
CN112842308A (en) * 2020-12-29 2021-05-28 广东湾区智能终端工业设计研究院有限公司 Motion recommendation display method, wearable device, computing device and storage medium
CN112842308B (en) * 2020-12-29 2023-03-10 广东湾区智能终端工业设计研究院有限公司 Motion recommendation display method, wearable device, computing device and storage medium
CN113171591A (en) * 2021-05-13 2021-07-27 河南职业技术学院 Aerobics exercises strength training device
CN114176573A (en) * 2021-11-23 2022-03-15 深圳市爱都科技有限公司 Intelligent exercise recommendation method and device and electronic equipment
WO2023115436A1 (en) * 2021-12-23 2023-06-29 广东高驰运动科技股份有限公司 Method and apparatus for estimating equivalent level pace for cross-country running, and device and medium
WO2023185105A1 (en) * 2022-03-31 2023-10-05 Oppo广东移动通信有限公司 Exercise guidance method and apparatus, terminal device, and storage medium
WO2023207726A1 (en) * 2022-04-24 2023-11-02 华为技术有限公司 Exercise guidance method and electronic device

Similar Documents

Publication Publication Date Title
EP3893129A1 (en) Recommendation method based on user exercise state, and electronic device
CN111202955A (en) Motion data processing method and electronic equipment
EP4020491A1 (en) Fitness-assisted method and electronic apparatus
CN114115512B (en) Information display method, terminal device, and computer-readable storage medium
CN110727380A (en) Message reminding method and electronic equipment
CN113542580B (en) Method and device for removing light spots of glasses and electronic equipment
CN113395382B (en) Method for data interaction between devices and related devices
CN113778641B (en) Method for controlling camera, electronic device and computer readable storage medium
CN113744874A (en) Risk early warning method, risk behavior information acquisition method and electronic equipment
CN111031492B (en) Call demand response method and device and electronic equipment
CN115525372A (en) Method and device for displaying interface
CN113467735A (en) Image adjusting method, electronic device and storage medium
CN113542574A (en) Shooting preview method under zooming, terminal, storage medium and electronic equipment
CN113438366A (en) Information notification interaction method, electronic device and storage medium
CN114995715B (en) Control method of floating ball and related device
US20230402150A1 (en) Adaptive Action Evaluation Method, Electronic Device, and Storage Medium
CN113996046B (en) Warming-up judgment method and device and electronic equipment
CN115022807B (en) Express information reminding method and electronic equipment
CN113407300B (en) Application false killing evaluation method and related equipment
CN114362878B (en) Data processing method and electronic equipment
WO2023093570A1 (en) Prompting method and apparatus, electronic device, and computer-readable storage medium
CN116450026B (en) Method and system for identifying touch operation
CN114006976B (en) Interface display method and terminal equipment
CN115033094A (en) Method for evaluating motion state of user and related equipment
CN113496766A (en) User health management method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200529

RJ01 Rejection of invention patent application after publication