CN113813568B - Method, electronic equipment and system for controlling treadmill - Google Patents

Method, electronic equipment and system for controlling treadmill Download PDF

Info

Publication number
CN113813568B
CN113813568B CN202010566396.1A CN202010566396A CN113813568B CN 113813568 B CN113813568 B CN 113813568B CN 202010566396 A CN202010566396 A CN 202010566396A CN 113813568 B CN113813568 B CN 113813568B
Authority
CN
China
Prior art keywords
treadmill
user
electronic device
running
heart rate
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.)
Active
Application number
CN202010566396.1A
Other languages
Chinese (zh)
Other versions
CN113813568A (en
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 CN202010566396.1A priority Critical patent/CN113813568B/en
Priority to PCT/CN2021/098632 priority patent/WO2021254198A1/en
Publication of CN113813568A publication Critical patent/CN113813568A/en
Application granted granted Critical
Publication of CN113813568B publication Critical patent/CN113813568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0087Electric or electronic controls for exercising apparatus of groups A63B21/00 - A63B23/00, e.g. controlling load
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B22/00Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements
    • A63B22/02Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements with movable endless bands, e.g. treadmills
    • 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B71/00Games or sports accessories not covered in groups A63B1/00 - A63B69/00
    • A63B71/06Indicating or scoring devices for games or players, or for other sports activities
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B71/00Games or sports accessories not covered in groups A63B1/00 - A63B69/00
    • A63B71/06Indicating or scoring devices for games or players, or for other sports activities
    • A63B71/0619Displays, user interfaces and indicating devices, specially adapted for sport equipment, e.g. display mounted on treadmills
    • 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
    • A63B2230/062Measuring physiological parameters of the user heartbeat characteristics, e.g. ECG, blood pressure modulations heartbeat rate only used as a control parameter for the apparatus

Abstract

The present application provides a method, an electronic device and a system for controlling a treadmill, which can be used for an Artificial Intelligence (AI) terminal. The method comprises the following steps: the electronic equipment receives a heart rate value of a user sent by the wearable equipment; the electronic equipment determines the running purpose and running recovery time of the user according to the user information stored in the electronic equipment; the electronic equipment determines a first target heart rate range according to the running purpose, the recovery time and the mapping relation; the electronic device adjusts the pace of the treadmill based on the heart rate value and the first target heart rate range. The embodiment of the application is favorable for improving the intelligent degree of electronic equipment (such as intelligent terminal equipment, such as a mobile phone), and can improve the user experience of a user when the user uses the treadmill.

Description

Method, electronic equipment and system for controlling treadmill
Technical Field
The present application relates to the field of terminals, and more particularly, to a method, an electronic device, and a system for controlling a treadmill.
Background
The sports health of people becomes the top-level national strategy, the health industry flourishes and develops along with the continuous popularization and promotion of fitness equipment, the running machine is used more and more, and people pay attention to how to utilize the running machine to exercise more scientifically and reasonably.
Currently, when a user exercises with a treadmill, the user controls the treadmill through keys on the body of the treadmill. Such as speed control buttons to effect speed adjustment, and start and end buttons to control the distance or time of the run. However, if the user lacks the professional knowledge of running, the running effect can be influenced and even the body can be damaged due to the fact that the treadmill is adjusted to be not suitable for the body condition of the user.
Disclosure of Invention
The application provides a method, electronic equipment and a system for controlling a treadmill, wherein the method can be used for an Artificial Intelligence (AI) terminal, is beneficial to improving the intelligent degree of the electronic equipment (such as intelligent terminal equipment, such as a mobile phone), and can improve the user experience of a user when the user uses the treadmill.
In a first aspect, a system is provided, which includes an electronic device and a wearable device, the electronic device and the wearable device are connected through short-range wireless communication, the electronic device and a treadmill are connected through short-range wireless communication, a mapping relation among a running purpose of a user, a recovery time of the running and a target heart rate range is stored in the electronic device, wherein the wearable device is configured to send a heart rate value of the user to the electronic device; the electronic equipment is used for determining the running purpose and running recovery time of the user according to the user information stored in the electronic equipment; the electronic equipment is further used for determining a first target heart rate range according to the running purpose, the recovery time and the mapping relation; the electronic device is further used for controlling the treadmill according to the heart rate value and the first target heart rate range.
In the embodiment of the application, the electronic device may determine the target heart rate range of the user running this time by combining the user information stored in the electronic device and the mapping relationship. The electronic device compares the heart rate value of the user detected by the wearable device in real time with the target heart rate range, so as to control the treadmill. Therefore, the parameters of the treadmill do not need to be adjusted by a user, and the intelligent degree of the electronic equipment is improved.
Meanwhile, the electronic equipment can enable the parameters of the running machine adjusted by the electronic equipment to be suitable for the user by combining with the user information, the running effect of the user is prevented from being influenced by improper adjustment of the running machine, even the body is prevented from being damaged, and therefore the user experience of the user when the running machine is used is facilitated to be improved.
In some possible implementations, the electronic device controls the treadmill, and the electronic device may be controlled to pace the treadmill.
With reference to the first aspect, in certain implementations of the first aspect, the wearable device is further configured to send a first control command to the electronic device when it is detected that a duration in which the heart rate value is greater than or equal to a preset heart rate value is greater than or equal to a first preset duration, where the first control command is used to instruct the treadmill to slow down or stop; the electronic equipment is also used for sending the first control command to the treadmill.
In this embodiment, when the wearable device detects that the heart rate value of the user is continuously greater than or equal to the preset heart rate value, the wearable device may send a control command to the electronic device, and the control command is forwarded to the treadmill by the electronic device. This helps to avoid the heart rate value too high to cause the damage to user's health to help promoting the user experience when using the treadmill of user.
With reference to the first aspect, in certain implementations of the first aspect, the wearable device is further configured to, upon detecting that the body of the user is tilted or out of balance, send a second control command to the electronic device, the second control command instructing the treadmill to slow down or stop; the electronic device is further used for sending the second control command to the treadmill.
In the embodiment of the application, when the wearable device detects that the body of the user is inclined or unbalanced, the wearable device may send a control command to the electronic device, and the control command is forwarded to the treadmill by the electronic device. This helps avoiding causing the damage to the user's body when the user's body is inclined or unbalanced and the treadmill is too fast, thereby helps improving the user experience of the user when using the treadmill.
With reference to the first aspect, in certain implementations of the first aspect, the electronic device is further configured to, upon detecting that the user operates the electronic device, send a third control command to the treadmill, the third control command being used to instruct the treadmill to slow down or stop.
In the embodiment of the application, when the electronic device detects that the user operates the electronic device, the electronic device may determine that the user is not focused on running, so as to send a control command to the treadmill. The damage to the body of the user caused by the inattention of the user and the over-high speed of the treadmill can be avoided, and therefore the user experience of the user when the treadmill is used can be improved.
With reference to the first aspect, in certain implementations of the first aspect, the electronic device is further configured to send a fourth control command to the treadmill when the falling state is detected, where the fourth control command is used to instruct the treadmill to slow down or stop.
In embodiments of the present application, when the electronic device determines that it is in a fall state (e.g., falling from a storage slot of the treadmill or falling from a pocket of a user), a control command may be sent to the treadmill. This helps avoid damage to the user's body, thereby helping to enhance the user experience when using the treadmill.
With reference to the first aspect, in certain implementations of the first aspect, the electronic device is specifically configured to: when detecting that the duration of the heart rate value is greater than or equal to the maximum value of the first target heart rate range is greater than or equal to a second preset duration, sending a fifth control command to the treadmill, wherein the fifth control command is used for indicating the treadmill to slow down and pace; or when the detected duration that the heart rate value is smaller than or equal to the minimum value of the first target heart rate range is larger than or equal to a third preset duration, sending a sixth control command to the treadmill, wherein the sixth control command is used for instructing the treadmill to adjust the speed.
In this application embodiment, the electronic device sends control command to the treadmill through the real-time heart rate value and the first target heart rate range that wearable device detected. Thus, the intelligent degree of the electronic equipment is improved, the running training effect of the user is improved, and meanwhile, safety accidents can be prevented or secondary damage to the user can be avoided.
In some possible implementations, slowing down the pace may also be understood as slowing down the treadmill; alternatively, it may be understood as increasing the duration of one kilometer of user running.
In some possible implementations, slowing down may also be understood as increasing the speed of the treadmill; alternatively, it may be understood to turn down the duration of one kilometer of user travel.
With reference to the first aspect, in certain implementations of the first aspect, the electronic device is specifically configured to: determining the running purpose according to the BMI of the user and/or the average pace and running distance in the historical running record of the user; and determining the recovery time length according to the average pace and the running distance in the historical running record.
In this embodiment, the electronic device may store a mapping relationship between the average pace, the running distance, and the recovery duration, and then the electronic device may determine the recovery duration corresponding to each running record by combining the average pace and the running distance of each running machine.
In some possible implementations, the electronic device may determine that the running goal of the user is efficient fat reduction when the BMI of the user is greater than or equal to a first preset value.
In some possible implementations, when the user has no running records for a recent period of time (e.g., a week) or the user's recovery duration is greater than or equal to a first preset value, it may be determined that the user's running goal is recovery training.
With reference to the first aspect, in certain implementations of the first aspect, the account number logged in on the electronic device is associated with the account number logged in on the wearable device.
In some possible implementations, the account logged in on the electronic device and the account logged in on the wearable device may be the same account; or the account number logged in on the electronic equipment and the account number logged in on the wearable equipment are account numbers in the same family group; alternatively, the account logged in on the wearable device may be an account authorized by the account logged in on the electronic device.
In a second aspect, a method for controlling a treadmill is provided, where the method is applied to an electronic device, the electronic device and a wearable device are connected through short-range wireless communication, the electronic device and the treadmill are connected through short-range wireless communication, and a mapping relationship among a running purpose of a user, a recovery time of running, and a target heart rate range is stored in the electronic device, and the method includes: the electronic equipment receives the heart rate value of the user sent by the wearable equipment; the electronic equipment determines the running purpose and running recovery time of the user according to the user information stored in the electronic equipment; the electronic equipment determines a first target heart rate range according to the running purpose, the recovery time and the mapping relation; the electronic equipment controls the treadmill according to the heart rate value and the first target heart rate range.
In this application embodiment, the electronic equipment passes through wearable equipment real-time detection's user's heart rate value and target heart rate scope and compares to realize controlling the treadmill. Therefore, the parameters of the treadmill do not need to be adjusted by a user, and the intelligent degree of the electronic equipment is improved. Meanwhile, the electronic equipment can enable the parameters of the running machine adjusted by the electronic equipment to be suitable for the user by combining with the user information, the running effect of the user is prevented from being influenced by improper adjustment of the running machine, even the body is prevented from being damaged, and therefore the user experience of the user when the running machine is used is facilitated to be improved.
In some possible implementations, the electronic device controls the treadmill, and the electronic device may be controlled to pace the treadmill.
With reference to the second aspect, in certain implementations of the second aspect, the method further includes: the electronic equipment receives a first control command sent by the wearable equipment, wherein the first control command is used for indicating the treadmill to slow down or stop; the electronic equipment sends the first control command to the treadmill.
With reference to the second aspect, in certain implementations of the second aspect, the method further includes: the electronic equipment sends a second control command to the treadmill when detecting that the user operates the electronic equipment, wherein the second control command is used for instructing the treadmill to slow down or stop.
With reference to the second aspect, in certain implementations of the second aspect, the method further includes: when the electronic equipment detects that the electronic equipment is in a falling state, the electronic equipment sends a third control command to the treadmill, and the third control command is used for indicating the treadmill to slow down or stop.
With reference to the second aspect, in certain implementations of the second aspect, the electronic device adjusting the pace of the treadmill according to the heart rate value and the first target heart rate range includes: the electronic equipment sends a fifth control command to the treadmill when detecting that the duration of the heart rate value is greater than or equal to the maximum value of the first target heart rate range is greater than or equal to a first preset duration, wherein the fifth control command is used for indicating the treadmill to slow down and pace; or when detecting that the duration of the heart rate value smaller than or equal to the minimum value of the first target heart rate range is greater than or equal to a second preset duration, the electronic device sends a sixth control command to the treadmill, wherein the sixth control command is used for indicating the treadmill to adjust the speed up and match the speed.
With reference to the second aspect, in some implementations of the second aspect, the determining, by the electronic device, the running purpose and the running recovery time of the user according to the user information stored in the electronic device includes: determining the running purpose according to the BMI of the user and/or the average pace and running distance in the historical running record of the user; and determining the recovery time length according to the average pace and the running distance in the historical running record.
With reference to the second aspect, in some implementations of the second aspect, the account logged in on the electronic device is associated with the account logged in on the wearable device.
In a third aspect, an apparatus is provided, where the apparatus is included in an electronic device, and the apparatus has a function of implementing the behavior of the electronic device in the possible implementation manner of the second aspect. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-described functions.
In a fourth aspect, an electronic device is provided, comprising: one or more processors; a memory; and one or more computer programs. Wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions. The instructions, when executed by the electronic device, cause the electronic device to perform the method of controlling a treadmill of any of the possible implementations of the second aspect described above.
In a fifth aspect, the present disclosure provides a computer storage medium including computer instructions, which, when executed on an electronic device, cause the electronic device to perform the method for controlling a treadmill in any possible implementation of the second aspect.
In a sixth aspect, the present disclosure provides a computer program product, which, when run on an electronic device, causes the electronic device to perform the method for controlling a treadmill according to any one of the possible designs of the second aspect.
In a seventh aspect, the present disclosure provides a chip system, where the chip system includes at least one processor, and when program instructions are executed in the at least one processor, the functions of any one of the possible methods in the second aspect on an electronic device are implemented.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Fig. 2 is a schematic diagram of an application scenario provided in an embodiment of the present application.
Fig. 3 is a set of graphical user interfaces of a mobile phone provided in an embodiment of the present application.
Fig. 4 is another set of graphical user interfaces of a handset provided by an embodiment of the present application.
Fig. 5 is another set of graphical user interfaces of a handset provided by an embodiment of the present application.
Fig. 6 is a schematic flow chart of a method of controlling a treadmill provided by an embodiment of the present application.
Fig. 7 is a schematic diagram of a sensor in a cell phone detecting weight loss of the cell phone.
Fig. 8 is a schematic diagram of a PPG sensor.
Fig. 9 is a schematic diagram of the wearable device detecting the inclination of the user's feet and treadmill plane.
Fig. 10 is a schematic diagram of the wearable device detecting the occurrence of a tilt, unbalance, and wrestling of the user's body.
Fig. 11 is a schematic structural diagram of a transmission frame transmitted by a wearable device according to an embodiment of the present application.
Fig. 12 is a schematic structural diagram of a received frame received by a wearable device according to an embodiment of the present application.
Fig. 13 is a schematic block diagram of a wearable device and treadmill connection provided by embodiments of the present application.
Fig. 14 is a schematic diagram of a serial-to-bluetooth gateway for a treadmill according to an embodiment of the present application.
Fig. 15 is a schematic flow chart of a method of controlling a treadmill according to an embodiment of the present application.
Detailed Description
The terminology used in the following examples is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of this application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, such as "one or more", unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" means one, two or more. The term "and/or" is used to describe an association relationship that associates objects, meaning that three relationships may exist; for example, a and/or B, may represent: a alone, both A and B, and B alone, where A, B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Embodiments of an electronic device, a user interface for such an electronic device, and for using such an electronic device are described below. In some embodiments, the electronic device may be a portable electronic device, such as a cell phone, a tablet, a wearable electronic device with wireless communication capabilities (e.g., a smart watch), and the like, that also includes other functionality, such as personal digital assistant and/or music player functionality. Exemplary embodiments of the portable electronic device include, but are not limited to, a mount
Figure BDA0002547977760000051
Figure BDA0002547977760000052
Or other operating system. The portable electronic device may also be other portable electronic devices such as a Laptop computer (Laptop) or the like. It should also be understood that in other embodiments, the electronic device may not be a portable electronic device, but may be a desktop computer.
Fig. 1 shows a schematic structural diagram of an 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 charge 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 compass 190, a motor 191, a pointer 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 101 may also include one or more processors 110. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution. In other embodiments, a memory may also be provided in processor 110 for storing instructions and data. Illustratively, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. This avoids repeated accesses and reduces the latency of the processor 110, thereby increasing the efficiency with which the electronic device 101 processes data or executes instructions.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit 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 SIM card interface, a USB interface, and/or 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 101, and may also be used to transmit data between the electronic device 101 and peripheral devices. The USB interface 130 may also be used to connect to a headset to play audio through the headset.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, 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 wireless communication of 2G/3G/4G/5G, etc. applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), 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 wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth), 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.
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, videos, 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 mini light-emitting diode (mini-light-emitting diode, mini), a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or more display screens 194.
In some embodiments of the present application, the display screen 194 in fig. 1 may be bent when the display panel is made of OLED, AMOLED, FLED, or the like. Here, the display 194 may be bent in such a manner that the display may be bent at any position to any angle and may be held at the angle, for example, the display 194 may be folded right and left from the middle. Or can be folded from the middle part up and down.
The display screen 194 of the electronic device 100 may be a flexible screen, which is currently attracting attention due to its unique characteristics and great potential. Compared with the traditional screen, the flexible screen has the characteristics of strong flexibility and flexibility, can provide a new interaction mode based on the bendable characteristic for a user, and can meet more requirements of the user on electronic equipment. For the electronic equipment provided with the foldable display screen, the foldable display screen on the electronic equipment can be switched between a small screen in a folded state and a large screen in an unfolded state at any time. Therefore, the use of the split screen function by the user on the electronic device equipped with the foldable display screen is more and more frequent.
The electronic device 100 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 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 user takes a picture, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, an optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and converting into an image visible to the naked eye. 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 an image signal in a standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or more cameras 193.
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.
Internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may cause the electronic device 101 to execute the method for controlling the treadmill provided in some embodiments of the present application, and various applications and data processing, etc. by executing the above-mentioned instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage program area may also store one or more applications (e.g., gallery, contacts, etc.), and the like. The storage data area may store data (such as photos, contacts, etc.) created during use of the electronic device 101, and the like. Further, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage components, flash memory components, Universal Flash Storage (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 101 to execute the method for controlling the treadmill provided in the embodiments of the present application, and other applications and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in the memory provided in the processor 110. The electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. Such as music playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a gravity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
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 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., X, Y and the Z axis) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake.
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 identifying the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and the like.
The gravity sensor 180G is used to sense a change in acceleration. For example, when the electronic device is dropped, the gravity sensor 180G and the acceleration sensor 180E may transmit the change data of the detected acceleration to the processor 110. The processor 110 can determine that the electronic device is in a falling state through the variation data of the acceleration.
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 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.
The touch sensor 180K is also referred to as a "touch panel". 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.
Fig. 2 is a schematic diagram of an application scenario provided in an embodiment of the present application, and as shown in fig. 2, the treadmill may establish a wireless connection with a mobile phone, and the mobile phone may establish a wireless connection with a wearable device. The mobile phone may send control instructions to the treadmill to accelerate, decelerate, stop, emergency brake, etc. in conjunction with user information stored in the mobile phone, sensor data in the mobile phone (e.g., gravity sensors, etc.), data from sensors in the wearable device (e.g., accelerometer sensors, gyroscope sensors, photoplethysmography (PPG) sensors, etc.), and real-time data sent by the treadmill to the mobile phone (e.g., running time, running distance, speed, etc.). Thereby realizing the automatic control of the treadmill by the mobile phone.
FIG. 3 shows a set of Graphical User Interfaces (GUIs) of a cell phone.
Referring to the GUI shown in (a) of fig. 3, the GUI is a desktop of a mobile phone. The desktop of the mobile phone comprises a plurality of application programs such as a payment treasure, a task card store, a microblog, an album, a WeChat, a card package, a setting program, exercise health programs and the like. When the cellular phone detects an operation of the user sliding down at a position close above the desktop, the GUI as shown in (b) in fig. 3 is displayed.
Referring to the GUI shown in (b) of fig. 3, the GUI is a display interface of a pull-down menu of a cellular phone. The display interface comprises a function menu bar 301 and an unread text message notification card. The function menu bar 301 includes functions of flight mode, Wi-Fi, bluetooth, screen capture, wireless screen projection, NFC, and the like. When the mobile phone detects that the user clicks the bluetooth control 302 and the NFC control 303, the mobile phone may start bluetooth and NFC functions.
After the user has turned on the bluetooth and NFC functions on the mobile phone, the user may bring the mobile phone close to the NFC sensing area on the treadmill, and the mobile phone will automatically connect to the treadmill and display the GUI as shown in fig. 3 (c).
Referring to the GUI shown in (c) of fig. 3, the GUI is a display interface after the mobile phone is connected to the treadmill. The mobile phone can remind a user of 'placing the mobile phone on the storage tank of the running machine and clicking the starting button of the running machine to start moving' through the display interface.
When the treadmill detects that the user starts the treadmill, the treadmill can send indication information to the mobile phone, and the indication information is used for indicating that the treadmill is started. Meanwhile, the mobile phone can automatically start the exercise health App, and the treadmill can synchronize data of the treadmill with the mobile phone.
In one embodiment, the mobile phone can also control the treadmill to start/pause through the exercise health App, or the mobile phone can also control the acceleration or deceleration through the exercise health App.
See GUI shown in (d) of fig. 3, which displays an interface for running parameters of the exercise health App. The display interface includes running parameters and treadmill control. Running parameters include, among other things, the user's running distance (e.g., 0.02 km), exercise time (e.g., 2 minutes 51 seconds), calories consumed by the user (e.g., 16 kcal), the user's number of steps (e.g., 324 steps), the user's stride frequency (e.g., 120 steps/minute), treadmill speed (e.g., 6.0 km/hour), and the user's heart rate (e.g., 159 times/minute).
It should be understood that in the embodiment of the present application, the mobile phone may also establish a wireless connection (e.g., a bluetooth connection) with the wearable device of the user, and then the heart rate in the running parameter may be a real-time heart rate value of the user detected by the wearable device.
When the cell phone detects a user operation to switch to the treadmill control interface, the cell phone may display a GUI as shown in (e) of fig. 3.
See GUI shown in (e) in fig. 3, which is treadmill control display interface of the exercise health App. The treadmill control display interface may include a plurality of functionality controls including speed up, start/pause, and speed down controls.
For example, when the cell phone detects that the user clicks on the start/pause control, the cell phone may send a control command to the treadmill, the control command instructing the treadmill to stop running.
For another example, when the mobile phone detects that the user clicks the speed-up control, the mobile phone may send a control command to the treadmill, where the control command is used to instruct the treadmill to speed up.
The treadmill control display interface also comprises functions of running purpose, course selection and the like. For example, when the mobile phone detects that the user clicks the running purpose, the mobile phone may prompt the user for the running purpose (e.g., efficient fat reduction, recovery training, cardiopulmonary lift, etc.) in combination with information (e.g., Body Mass Index (BMI) information) of the user. When the mobile phone detects that the user clicks on the selected course, the mobile phone may display a display interface as shown in (f) of fig. 3.
Referring to the GUI shown in (f) of fig. 3, the GUI is a display interface for selecting a course. The mobile phone can generate a running course suitable for the user according to the information of the user, and prompts the user to generate the running course for the user according to the information of the user through the display interface. The user is provided with courses 1-6 on the display interface. The user can select corresponding running courses according to the requirements of the user.
In one embodiment, the running session may be one or more times. If the running course is the exercise, after the user selects course 4, the mobile phone may send the running parameters of the corresponding running course to the running machine (for example, the running distance is 5km and the pace is 6' 00 "), and the running machine may run according to the corresponding running parameters.
If the running course is a plurality of exercises, the user may choose to continue the exercise following the last running course. For example, the course 4 includes a plurality of exercises, and the mobile phone starts the course 4 this time, and the mobile phone can send the running parameters corresponding to the first exercise in the course 4 to the treadmill; the next time the mobile phone displays the selected course display interface, the control corresponding to the course 4 may be "continue moving"; when the mobile phone detects that the user clicks "continue exercise", the mobile phone may send the running parameters corresponding to the second exercise of course 4 to the treadmill.
For example, the user selects a treadmill speed of 2 km/hour when turning on the treadmill (or a treadmill pace of 30'). The user may wish to increase the speed of the treadmill after exercising at this speed for a period of time, but the user does not know how much to adjust the speed appropriately. The user can select a suitable running course among the selection courses at this time. The mobile phone can combine with the information of the user (such as height and weight of the user, previous running records and the like) to generate a running course suitable for the user, so that the conditions that the running efficiency is influenced and the body is damaged due to the fact that the running machine is adjusted to be not suitable for the body condition of the user can be avoided, and the running process experience of the user can be improved.
It should be understood that fig. 3 is illustrated with the example of the mobile phone being connected to the treadmill after the bluetooth and NFC functionality is turned on and near the NFC sensing area of the treadmill. In this embodiment, the connection between the treadmill and the mobile phone may also be: the mobile phone detects that the user clicks and opens the exercise health App on the desktop, and at the moment, the mobile phone can be connected with the treadmill connected last time, so that the mobile phone and the treadmill can establish Bluetooth connection. It should be understood that the mobile phone may store the Media Access Control (MAC) address of the treadmill that was last connected, and when the mobile phone turns on the exercise health App, the mobile phone may connect back to the treadmill using the existing bluetooth connection.
Fig. 4 shows another set of GUIs for a handset.
See GUI shown in (a) of fig. 4, which displays an interface for running parameters of the exercise health App. After the user sets corresponding running parameters on the running machine and starts the running machine, the running machine can send the parameters on the running machine to the mobile phone, the mobile phone can display the parameter information on the running machine, and other information can be displayed on the mobile phone. For example, heart rate information of the user detected by the wearable device can be displayed on the mobile phone, or the inclination angle between the sole and the plane of the treadmill when the user runs can be displayed on the mobile phone, and the like.
The mobile phone can calculate the recommended heart rate range of the user running at this time by combining the user information stored in the mobile phone. The specific calculation process may refer to the description below.
When the cell phone detects that the current heart rate value of the user is greater than or equal to the maximum value of the recommended heart rate range for the current run, the cell phone may send a control command to the treadmill and display a GUI as shown in fig. 4 (b), the control command being used to instruct the treadmill to slow down.
See GUI shown in fig. 4 (b), which is another running parameter display interface for the athletic health App. The mobile phone can prompt the user through a reminding box that the speed of the treadmill is reduced for your when the user detects that the heart rate is too high. For example, the treadmill can reduce the speed of the treadmill from 5 km/h to 4 km/h after receiving the control command.
Or, the mobile phone can prompt the user to "detect that your heart rate is too high and lower pace for your" through the reminding box. For example, the treadmill may increase the pace of the treadmill from 12 '00 "to 15' 00" upon receiving the control command.
It should be understood that pace is a concept used in the training of marathon sports to describe the time it takes to run through a kilometer in marathon sports, typically measured in minutes and seconds by a user. When the speed of the running machine is 5 km/h, the corresponding speed matching of the running machine is 12 '00'; when the speed of the treadmill is 4 km/h, the corresponding treadmill pace is 15' 00 ".
It should also be understood that the mobile phone can prompt the user in a voice prompting manner while prompting the user through the prompting frame; or, the mobile phone can prompt the user in a vibration reminding mode.
In the embodiment of the application, the mobile phone can calculate the recommended heart rate range of the user running at this time by combining the information of the user. Simultaneously, in the process of running, the cell-phone can also acquire the heart rate of the user that wearable equipment detected in real time. The mobile phone can control the treadmill by combining the suggested heart rate range and the real-time heart rate value of the user, so that the influence of the overhigh heart rate value of the user on the body health of the user is avoided, and the experience of the user in the running process is improved.
Fig. 5 shows another set of GUIs for a handset.
See GUI shown in fig. 5 (a), which is a running parameter display interface of the exercise health App. After the user sets corresponding running parameters on the running machine and starts the running machine, the running machine can send the parameters on the running machine to the mobile phone, the mobile phone can display the parameter information on the running machine, and other information can be displayed on the mobile phone. For example, heart rate information of the user detected by the wearable device can be displayed on the mobile phone, or the inclination angle between the sole and the plane of the treadmill when the user runs can be displayed on the mobile phone, and the like.
When the treadmill detects the operation of the user clicking the speed-up control on the treadmill, the treadmill can increase the speed from the original 5 km/h to 6 km/h. Meanwhile, the treadmill can also send own state information to the mobile phone, and the state information comprises the updated speed information of the treadmill. The mobile phone can update the parameter information on the running parameter display interface after receiving the state information. See the GUI shown in (b) in fig. 5.
When the speed of the treadmill increases, the wearable device detects that the heart rate value of the user increases, and then the wearable device can send real-time heart rate information detected by the wearable device to the mobile phone. As shown in fig. 5 (b), after the speed of the treadmill is raised, the heart rate value of the user is also raised to 185 times/min.
See GUI shown in fig. 5 (c), which is another running parameter display interface for the athletic fitness App. When the handset determines that the heart rate value (e.g., 185 beats/minute) is greater than the maximum value of the recommended heart rate range (e.g., the recommended heart rate range [120, 170]), the handset may send a control command to the treadmill instructing the treadmill to decrease in speed. Meanwhile, the mobile phone can prompt the user to detect that the heart rate is too high and reduce the speed of the treadmill for the user through the reminding frame.
It should be understood that the mobile phone can prompt the user in a voice prompting mode while prompting the user through the prompting frame; or the mobile phone can prompt the user in a vibration reminding mode.
In the embodiment of the application, the mobile phone can calculate the recommended heart rate range of the user running at this time by combining the information of the user. Simultaneously, at the running in-process, the cell-phone can also acquire the user's that wearable equipment detected rhythm of the heart in real time. The mobile phone can control the treadmill by combining the suggested heart rate range and the real-time heart rate value of the user, so that the influence of the overhigh heart rate value of the user on the body health of the user is avoided, and the experience of the user in the running process is improved.
Fig. 6 illustrates a schematic flow chart of a method 600 for automatically controlling a treadmill according to an embodiment of the present application. As shown in fig. 6, the method 600 includes:
s601, the treadmill and the mobile phone are in wireless connection, and the mobile phone and the wearable device are in wireless connection.
In one embodiment, the mobile phone and the wearable device can establish a connection through near field communication. Near field communication includes, but is not limited to, Wi-Fi, Bluetooth (BT), Near Field Communication (NFC), device to device (D2D), sidelink connection, and so on.
For example, the cell phone and the wearable device may be devices under the same account. For example, huawei account a is logged in the mobile phone, and huawei account a is also logged in the wearable device. The mobile phone can know the address information of the wearable device in advance, so that interaction can be carried out between the mobile phone and the wearable device.
In one embodiment, the cell phone and treadmill may establish a connection via near field communication.
For example, the user may turn on the bluetooth or NFC functionality of the mobile phone and place the mobile phone in the corresponding sensing area on the treadmill, thereby establishing a bluetooth connection between the mobile phone and the treadmill.
For example, the user may scan a two-dimensional code on the treadmill by using the mobile phone, so as to obtain bluetooth information of the treadmill (for example, address information of the treadmill). The mobile phone can send Bluetooth scanning connection to the treadmill after acquiring the Bluetooth information of the treadmill, so that the mobile phone is connected with the treadmill through Bluetooth.
It should be understood that, in this embodiment of the present application, the manner in which the treadmill establishes the wireless connection with the mobile phone and the wireless connection between the mobile phone and the wearable device may also be another manner, which is not specifically limited in this embodiment of the present application.
S602, the running machine responds to the detection that the user clicks the start button, and first indication information is sent to the mobile phone and used for indicating that the running machine is started.
For example, the user may set the running time, running distance, running speed, etc. before running begins.
In one embodiment, the first indication information may also carry exercise data such as running time, running distance, running speed and the like set by the user.
In one embodiment, after the mobile phone receives the first indication information, the mobile phone may periodically detect whether the mobile phone falls from the storage tank of the treadmill or the user through the gravity sensor. The mobile phone can control the speed matching of the treadmill by detecting whether the mobile phone drops from the storage tank of the treadmill or a user. Therefore, automatic control of the treadmill under certain emergency situations is achieved, safety risks in the running process of the user are reduced, and user experience is improved.
For example, as shown in fig. 7, when the mobile phone is weightless, the acceleration of the Z axis of the mobile phone gravity sensor and the gravity acceleration are offset, and may be 0 in a short time.
In one embodiment, after the mobile phone receives the first indication information, the mobile phone may detect an operation of the user (e.g., answering a call, browsing information, etc.). The mobile phone can know whether the user runs and plays the mobile phone by detecting the operation of the user. If the cell phone determines that the user is running while playing the cell phone, then the cell phone may determine that the user is not paying attention to running, at which time the cell phone may control the pace of the treadmill. Therefore, automatic control of the treadmill under certain emergency situations is achieved, safety risks in the running process of the user are reduced, and user experience is improved.
It should be understood that the mobile phone being aware that the treadmill is started may be the receipt of the first indication sent by the mobile phone. Alternatively, the mobile phone may control the start of the treadmill. For example, as shown in (e) of fig. 3, when the mobile phone and the treadmill are connected and the treadmill is in a stopped state, if the mobile phone detects that the user clicks the start/pause control, the mobile phone may transmit a control command to the treadmill, the control command being used to instruct the treadmill to start. Further, the user can also set running parameters (e.g., running distance, treadmill speed, etc.) of the treadmill through the cell phone. When the mobile phone detects that the user clicks the start/pause control, the mobile phone can also send the running parameters set on the mobile phone by the user to the running machine, and the running machine can run according to the parameters set on the mobile phone by the user after receiving the running parameters.
S603, the mobile phone sends a second indication message to the wearable device, where the second indication message may be used to indicate that the treadmill has been started.
For example, the wearable device may collect data through a sensor on the wearable device after receiving the second indication information.
For example, the wearable device may detect the heart rate of the user through the PPG sensor. The structure of the PPG sensor may be as shown in fig. 8.
The PPG sensor comprises an emitting light component and a receiving light component, and in brief, a method for measuring heart rate can be based on the principle that substances absorb light, a green Light Emitting Diode (LED) lamp in the emitting light component in the PPG sensor of the wearable device is matched with a photosensitive photodiode to irradiate blood, and because different volumes of blood in a blood vessel absorb green light differently, when the heart beats, the flow rate of the blood increases, and the absorption amount of the green light increases accordingly; the blood flow decreases in the beating gap of the heart, and the green light absorption decreases accordingly. Thus, heart rate can be measured from the absorbance of blood.
In particular, when a light beam of a certain wavelength is irradiated onto the skin surface, the light beam will be transmitted through the skin to the receiving optical element, during which the intensity of the light detected by the receiving optical element will be reduced due to attenuation by absorption by the skin muscles and blood. The reflection of the skin, bones, meat, fat, etc. of the human body to light is a fixed value, and the capillary vessels are continuously increased and decreased with the pulse volume under the action of the heart. When the heart contracts, the peripheral blood volume is the largest, the light absorption amount is also the largest, and the light intensity detected by the light receiving component is the smallest; when the heart is in diastole, on the contrary, the detected light intensity is the maximum, so that the light intensity received by the light receiving component is in pulsatile change.
In the embodiment of the application, wearable equipment can real-time supervision user's rhythm of the heart, if the duration that user's rhythm of the heart is greater than the maximum rhythm of the heart is greater than or equal to predetermines the duration, wearable equipment can send the warning to the cell-phone, and the cell-phone can automatic control treadmill after receiving to report an emergency and ask for help or increased vigilance.
Illustratively, the user's maximum heart rate may be determined by equation (1):
maximum heart rate 220-user actual age (1)
For example, the wearable device may issue an alert to the cell phone when the wearable device detects that the user's heart rate continues to be greater than the maximum heart rate for 30 seconds.
As another example, the wearable device may detect an inclination of the user's body and an imbalance condition through an acceleration sensor.
If the wearable device is a wrist-worn wearable device, the manner of detecting the inclination of the body of the user may be as shown in fig. 9. The maximum inclination or swing angle of the human stability Limit (LOS) in the front-rear direction is about 12.5 degrees; the maximum tilt or swing angle in the left-right direction of the LOS is about 16 degrees. When the acceleration sensor of the wearable device detects that the maximum inclination or swing angle in the front-back direction of the LOS is larger than or equal to 12.5 degrees, or when the acceleration sensor of the wearable device detects that the maximum inclination or swing angle in the left-right direction of the LOS is larger than or equal to 16 degrees, the wearable device can send an alarm to the mobile phone, and the mobile phone can automatically control the running machine after receiving the alarm.
If wearable equipment is running shoes wearing formula wearing equipment, wearable equipment can detect the danger that user's sole takes place to incline, unbalance, fall down. The rotation angle between the running shoe and the treadmill is between 5-25 degrees when the user is running normally. If the acceleration sensor and the gyroscope sensor of the wearable device detect that the rotation angle is greater than or equal to 25 degrees, the wearable device can send an alarm to the mobile phone, and the mobile phone can automatically control the treadmill after receiving the alarm. It should be understood that if the acceleration sensor and the gyro sensor of the wearable device detect a rotation angle of less than 5 degrees, this condition is attributed to an abnormal running posture, not to the risk of inclination and unbalance.
If the wearable device is a running shoe wearable device, the wearable device can detect the risk of the user's body leaning, unbalancing, and falling. Normal user bipedal placement should be on either side of the center of gravity line. When the acceleration sensor and the gyroscope sensor of the wearable device exceed the range, the wearable device can send an alarm to the mobile phone, and the mobile phone can automatically control the treadmill after receiving the alarm. Illustratively, as shown in fig. 10, point a is the center of gravity of the user, and a cross is drawn with the center of gravity as the center point, and the user's running foot-landing point should be within the range marked in gray.
In the embodiment of the application, the mobile phone can preset the alarm levels corresponding to the alarm events and the control commands corresponding to each alarm level. Illustratively, table 1 shows a correspondence relationship between an alarm event, an alarm level, and a control command.
TABLE 1
Figure BDA0002547977760000141
For example, for a primary alarm, after the mobile phone sends a deceleration command to the treadmill, the treadmill decelerates by 20% per second, and the treadmill stops running after 5 seconds.
For example, for a secondary warning, after the cell phone sends a deceleration command to the treadmill, the treadmill decelerates 25% per second for 2 seconds, and after 2 seconds the treadmill operates 50% of the initial speed.
For example, for a three-level alarm, after the mobile phone sends an emergency stop instruction to the treadmill, the treadmill stops running immediately.
It should be understood that the correspondence shown in table 1 is merely illustrative, and the control command corresponding to the alarm event is not limited in this embodiment of the application.
For example, table 2 shows field descriptions of control commands sent by the wearable device to the cell phone.
TABLE 2
Figure BDA0002547977760000142
Fig. 11 and 12 show schematic diagrams of a transmission frame structure of a wearable device and a reception frame structure of a handset, respectively.
It should be understood that the transmission frame shown in fig. 11 is a frame transmitted by the wearable device to the handset, where the length of the transmission _ alert _ stop is 3 bytes, where the control command can be carried by 1 byte in the 3 bytes, and the remaining 2 bytes can be extension bytes.
The receiving frame shown in fig. 12 is a frame sent by a wearable device receiving a cell phone, where the length of the treadmill _ alert _ stop is 6 bytes. If the mobile phone successfully receives the received frame, the mobile phone may carry feedback (e.g., ACK) information in 1 byte of the 6 bytes, and the remaining 5 bytes are extension bytes; for another example, if the handset fails to receive the received frame, the handset may carry information indicating the failure in reception in some of the 6 bytes. Since the amount of information for indicating reception failure is large compared to the control command or ACK information, it can be considered that the length of the treadmill _ alert _ stop in the reception frame becomes large.
It should be further understood that the frame structures shown in fig. 11 and fig. 12 and the length of the traffic alert stop are merely illustrative, and the frame structures of the received frame and the transmitted frame may be other frame structures, which are not limited in the embodiment of the present application.
In one embodiment, the method 600 further comprises:
and S604, when the wearable device judges that the user is in a dangerous scene, the wearable device sends a control command of deceleration or stop to the mobile phone.
And S605, after receiving the control command sent by the wearable device, the mobile phone determines that the user is in a dangerous scene, and then sends a control command of deceleration or stop to the treadmill.
It is to be understood that the wearable device, after acquiring data of the sensor (e.g. PPG, acceleration or gyroscope sensor), may determine from these data whether the user is in a dangerous scene.
For example, as shown in table 1, the wearable device may send a deceleration command to the treadmill upon determining that the user's heart rate continues to be greater than a preset value. Or, the wearable device may also send sensor data detected in real time to the mobile phone, and the mobile phone determines whether the user is in a dangerous scene.
For example, the wearable device may send the detected heart rate of the user to a cell phone, which determines the relationship between the heart rate of the user and the maximum heart rate. If the cell phone determines that the user's heart rate continues to be greater than the maximum heart rate, the cell phone may send a deceleration instruction to the treadmill.
And S606, the wearable device sends real-time data, detected by the wearable device, of the running state of the user to the mobile phone.
For example, the real-time data detected by the wearable device during the user's running state may include the data detected by the sensors of the wearable device described above. Such as the user's heart rate value, the manner in which the feet land, the angle of rotation of the sole with respect to the treadmill, etc.
And S607, the running machine sends the real-time data of the running state of the user detected by the running machine to the mobile phone.
For example, a user may make real-time changes to the motion parameters of the treadmill while the user is running. The treadmill will send real-time updated data (e.g., running time, running distance, speed, etc.) from the user to the handset.
And S608, adjusting the pace of the treadmill by the mobile phone based on the heart rate.
In one embodiment, the cell phone may adjust treadmill pacing based on the following process:
(a) running purpose of mobile phone for identifying user
After the wireless connection is established between the mobile phone and the treadmill, the purpose of the user running can be identified through the user information stored in the mobile phone. Table 3 shows one running purpose and judgment method.
TABLE 3
Figure BDA0002547977760000161
It should be understood that table 3 is merely illustrative, and the running purpose of the user may be determined in other ways, and the running purpose is not limited to the above-mentioned fat reduction, rehabilitation training and cardiopulmonary lift, and other running purposes may be provided, and the embodiment of the present application is not limited thereto.
It should also be understood that the way for the mobile phone to obtain the height and weight of the user may be to prompt the user to input the height and weight of the user. Alternatively, the mobile phone may also establish a (e.g., Bluetooth/Wi-Fi) connection with the body fat scale so that the height and weight information of the user can be obtained from the body fat scale. Or, after the user measures the height and the weight through the body fat scale, the body fat scale can upload the height and weight information of the user to the cloud server. The mobile phone can acquire height and weight information of the user from the cloud server.
(b) Mobile phone determining user recovery time
The handset can determine the running records of the user for the last few days (e.g., the last two days), and calculate the recovery time of the user based on the average pace and running distance. In the embodiment of the application, the mobile phone can determine the recovery time of the user through the running record stored in the mobile phone APP.
For example, if the handset determines the recovery time from the last two days of the running record, the recovery time can be determined by equation 2:
max (recovery time of yesterday, recovery time of today, down by one step) (2)
Exemplarily, table 4 shows a corresponding relationship between the average pace of the historical running, the historical running distance and the recovery time, wherein a represents the recovery time of 0-18 h; b represents that the recovery time is 19-35 h; c represents that the recovery time is 36-53 h; d represents that the recovery time is 54-96 h.
TABLE 4
Figure BDA0002547977760000171
For example, the handset may query the user's running records for the last 2 days (e.g., today and yesterday) and determine the profile of the recovery time by the correspondence shown in table 4.
For example, the determination method of today's recovery time may be that the mobile phone queries all running records of today's user, obtains the average pace and running distance of each running record, and obtains the recovery time file corresponding to each running record through the corresponding relationship shown in table 4. The mobile phone can take the file with the longest recovery time as the file with the most recovery time of today. For example, there are 3 running records today, and the recovery time corresponding to the first running record is the a-gear; the recovery time corresponding to the second running record is B gear; and the recovery time corresponding to the third running record is C gear. Since the recovery time of the C gear is the longest, the mobile phone can determine that the recovery time of today is the C gear.
Similarly, the mobile phone can query all the running records of yesterday, take the average pace and running distance of each running record, and obtain the recovery time file corresponding to each running record through the corresponding relation shown in table 4. The handset can take the gear in which the longest recovery time is yesterday's recovery time.
Finally, the mobile phone can compare the file of yesterday recovery time after being reduced by one file with the file of today recovery time, and take the higher file as the final recovery time.
It should be understood that the reason why yesterday recovery time goes down by one is that the user has partly recovered yesterday running power consumption to today, and therefore goes down by one. For example, yesterday when the user runs half-way marathon, yesterday's recovery time is D-gear. By now the user's physical power has partially recovered, yesterday's recovery time is shifted down to C.
It should also be appreciated that if the user has no running record for the last few days (e.g., the last 2 days), the handset may determine that the user's recovery time is profile a.
It should be understood that pace is a concept used in the training of marathon sports to describe the time it takes to run through a kilometer in marathon sports, typically measured in minutes and seconds by a user. For example, the average pace of the last run is 3 '58 ", indicating that the average elapsed time per kilometer run of the user in the last run is 3' 58".
It should also be understood that the process of determining the recovery time shown in table 4 above is also illustrative, and that the recovery time may be determined in other ways. For example, the user's recovery time may also be determined by the last run average pace. For another example, the recovery time may also be determined by the time interval between the end time of the last run yesterday and the start time of the first run today.
(c) The mobile phone determines the intensity required by the running of the user (the intensity can also be the range of the suggested heart rate)
The mobile phone can determine the recommended heart rate range of the running of the user by the running purpose determined in (a) and the recovery time determined in (b).
Illustratively, table 5 shows a correspondence relationship between the intention of running, the recovery time, and the running intensity.
TABLE 5
Figure BDA0002547977760000181
It is understood that maintaining health in table 5 includes restorative training and cardiopulmonary enhancement.
Illustratively, table 6 shows the correspondence between the running intensity and the suggested heart rate range.
TABLE 6
Intensity of running Suggested heart rate range calculation formula
Resume training # (65% maximum heart rate) - (74% reserve heart rate)
Elevation of heart and lung # (60% maximum heart rate) - (75% reserve heart rate)
High-efficiency fat-reducing # (65% maximum heart rate) - (84% reserve heart rate)
Illustratively, the user's maximum heart rate may be determined by equation (3):
storage heart rate-maximal heart rate-resting heart rate (3)
In the present embodiment, the resting heart rate refers to the heart rate of the user in a waking and inactive (quiet) state.
It should be understood that tables 5 and 6 above are merely exemplary, and that in the embodiments of the present application, the suggested heart rate range may be determined in other ways.
It should also be understood that tables 5 and 6 may be combined into one table, and then the electronic device may directly obtain the target heart rate range of the user's current run through the table, the running purpose and the recovery time.
(d) Controlling the treadmill based on the suggested heart rate range and the heart rate detected by the wearable device.
After determining the suggested heart rate range of the user, the mobile phone can adjust the pace of the treadmill based on the heart rate of the user detected by the wearable device in real time. For example, when the wearable device detects a heart rate greater than or equal to the maximum heart rate value of the suggested heart rate range, the cell phone sends a deceleration command to the treadmill; when the heart rate detected by the wearable device is less than or equal to the minimum heart rate value of the suggested heart rate range, the cell phone sends an acceleration command to the treadmill.
Illustratively, table 7 shows a heart rate detection and pacing treadmill mapping.
TABLE 7
Figure BDA0002547977760000191
It should be understood that the pace setting value decreased every minute when the treadmill pace setting is adjusted may be obtained by the mobile phone from the server or set by the user, which is not limited in the embodiment of the present application.
It should also be understood that the reduction in counter-velocity 0' 30 "per minute shown in table 7 is also merely illustrative. The electronic device may sequentially decrease the pacing rate every minute (e.g., a first minute decrease of 0 ' 30 ", a second minute decrease of 1 ' 00", and a third minute decrease of 1 ' 30 "…) in determining that the heart rate detected by the wearable device continues to exceed the maximum heart rate value of the suggested heart rate range.
In one embodiment, the mobile phone may further preset an upper limit of the maximum pacing. Illustratively, tables 8 and 9 show a male and female maximum upper pace-adjusting limit.
TABLE 8
Figure BDA0002547977760000192
TABLE 9
Figure BDA0002547977760000193
It should be understood that the maximum upper limit of the trim adjustment shown in tables 8 and 9 above is only illustrative and is not limited in any way in the embodiments of the present application.
In one embodiment, the cell phone may also automatically generate a user assignment lesson prior to the user using the treadmill. Illustratively, the mobile phone generates a corresponding running session according to the running intensity (suggested heart rate range) and age desired by the user. The mobile phone can also support the user to manually select a running course.
After the mobile phone determines the running course, the mobile phone sends an acceleration, deceleration or stop command to the treadmill according to the user heart rate detected by the wearable device in real time and the suggested heart rate range.
Illustratively, tables 10 and 11 show a correspondence relationship between running intensity and age and running class.
TABLE 10
Figure BDA0002547977760000201
It should be understood that the lessons in the above table 10 may be lessons for one exercise or lessons for multiple exercises. For example, for a lesson M11 corresponding to the age of 20-29, which may be single-motion, the cell phone may display lesson M11 as running distance 3km and pace 6' 00 "to the user.
For another example, lesson M11 for 20-29 years of age may be 3 sports, running distance 3km and pace 8 ' 00 "for the first sport, running distance 3km and pace 7 ' 00" for the second sport, and running distance 3km and pace 6 ' 00 "for the third sport.
After the user selects lesson M11 for the first time, the phone may send running parameters to the treadmill that run for a distance of 3km and pace 8' 00 ". After the next time the mobile phone detects that the user starts the exercise health App again, the mobile phone can prompt the user whether to continue to exercise according to the last course. If the user chooses to continue exercising following the last lesson, the cell phone may send the running parameters for the second exercise to the treadmill. For example, the cell phone may send running parameters to the treadmill that run for a distance of 3km and pace 7' 00 ".
TABLE 11
Figure BDA0002547977760000211
It should be understood that tables 10 and 11 above are merely illustrative and that the principles thereof may be referred to in relation to the pace table of Daniels running equation.
It should be understood that there is no actual order between the above-mentioned S604-S605 and S606-S608.
It should also be appreciated that the treadmill may stop when the treadmill detects the user clicking a stop button, or the cell phone determines that the user's running session is over, and may send a stop command to the treadmill.
The method for automatically controlling the treadmill provided by the embodiment of the application scientifically realizes automatic adjustment of the treadmill by combining the user information (such as gender, age, BMI, training load and the like) stored in the mobile phone and the data of the running purpose (such as fat reduction, rehabilitation training and cardiopulmonary lift) of the user. The method comprehensively utilizes the multi-sensor data acquisition and processing capabilities of the mobile phone and the wearable device, determines the scene where the user is located, is beneficial to realizing the speed of the automatic treadmill, improves the running training effect of the user, and is also beneficial to preventing safety accidents or avoiding secondary injury of the user.
Fig. 13 shows a schematic block diagram of a wearable device and treadmill connection provided by embodiments of the present application. As shown in fig. 13, the treadmill may establish a wireless connection with the wearable device, and the user information (e.g., user gender, age, BMI, or training load, etc.), running intensity, and the corresponding relationship between the age and the running course in the method 600 may be stored in the wearable device. The wearable device can control the target pace and distance of the treadmill according to the user information and the real-time monitored user data (or generate a user running course by combining the running intensity and the corresponding relation between the age and the running course).
When the wearable device determines that the user is in a dangerous scene, the wearable device may send a deceleration or stop command to the treadmill. When the user actively stops the treadmill or the running session ends, the treadmill automatically stops and the wearable device can record the user running report.
The method utilizes the multi-sensor data acquisition and processing capacity of the wearable device to determine the scene where the user is located, automatically controls the speed or braking of the treadmill, improves the training effect of the user in running, and can prevent safety accidents or avoid secondary injury.
The difference from the method 600 is that the participation of the mobile phone in the treadmill automatic control scheme is eliminated, and the system architecture is simpler. The reduction of hardware and software of the mobile phone can save the implementation cost of the scheme. Since a large amount of running record data needs to be stored in the wearable device, in order to avoid increasing the storage cost of the wearable device, the data can be stored in the cloud.
In the embodiment of the application, for a treadmill supporting bluetooth and a fitness equipment service (FTMS) standard protocol, a mobile phone or wearable device may be directly connected to the treadmill in a bluetooth pairing manner.
For the old running machine supporting internet access and fitness equipment communication specification (C-SAFE), after the running machine can be converted into a Bluetooth gateway through a serial port, a mobile phone or wearable equipment is connected with the running machine in a Bluetooth pairing mode. Wherein C-SAFE is a communication protocol developed by FitLinxx company for fitness equipment, and covers 80% of treadmill equipment.
Fig. 14 shows a schematic diagram of a serial-to-bluetooth gateway conversion of a treadmill provided by an embodiment of the present application. Among them, the standard socket (registered jack 45, RJ45) is the information socket (i.e. communication outlet) connector in the wiring system; a recommended standard 232 (RS 232) is a common serial communication interface standard; RX stands for receive (receive); TX denotes transmission.
For the old running machine supporting the internet access and the C-SAFE protocol, a serial port-to-Bluetooth gateway (shown in a dotted line frame in FIG. 14) can be inserted into the running machine. After the running machine runs, serial data is sent through an RJ45 interface of the running machine, and the serial data of the running machine is received through an RS232 interface by the serial-to-Bluetooth gateway. The serial port data is transmitted into the serial port-to-Bluetooth gateway in a format of a C-SAFE protocol.
The serial port-to-Bluetooth gateway inputs the serial port data into a C-SAFE protocol analysis module which is mainly used for analyzing the serial port data; and then, the analyzed data is packaged through an FTMS protocol packaging module, and the FTMS protocol packaging module is mainly used for converting the analyzed data into data of an FTMS protocol and finally sending the data to the mobile phone through a Bluetooth module.
Fig. 15 is a schematic flow chart of a method 1500 of controlling a treadmill provided by an embodiment of the present application. The method 1500 is executed by an electronic device, the electronic device and a wearable device are connected through short-range wireless communication, the electronic device and a treadmill are connected through short-range wireless communication, and a mapping relation among a running purpose, a recovery time of running and a target heart rate range of a user is stored in the electronic device, the method 1500 includes:
s1501, the electronic device receives the heart rate value of the user sent by the wearable device.
For example, real-time data detected by the wearable device in a user running state may include data detected by sensors of the wearable device. Such as the user's heart rate value, the manner in which the user lands on both feet, the angle of rotation of the sole with respect to the treadmill, etc.
S1502, the electronic device determines a running purpose and a running recovery time of the user according to the user information stored in the electronic device.
It should be understood that, in S1502, reference may be made to the processes of step (a) and step (b) in S608, and for brevity, the description is omitted here.
It should also be understood that in the embodiment of the present application, the purpose of running of the user is determined only by the user information shown in table 3, and the embodiment of the present application is not limited thereto. For example, the electronic device may further determine the running purpose of the user according to the user information such as the gender, age, and the like of the user.
It should also be understood that in the embodiment of the present application, the recovery time of the user is determined only by the historical running average pace and the historical running distance shown in table 4, and the embodiment of the present application is not limited thereto. For example, the electronic device can also determine the user's recovery time in conjunction with the time interval between the end time of the last run of yesterday and the start time of the first run today.
S1503, the electronic equipment determines a first target heart rate range according to the running purpose, the recovery time and the mapping relation.
For example, the mapping relationship may be a mapping relationship as shown in tables 5 and 6. After the electronic device determines the running purpose and the recovery time through the user information, the electronic device may determine the target heart rate range of the user during the running through the mapping relationships shown in tables 5 and 6.
S1504, the electronic equipment controls the treadmill according to the heart rate value and the first target heart rate range.
For example, the electronic device may adjust the treadmill pace in the manner shown in Table 7.
In the embodiment of the application, the electronic device may determine the target heart rate range of the user running this time by combining the user information stored in the electronic device and the mapping relationship. The electronic device compares the heart rate value of the user detected by the wearable device in real time with the target heart rate range, so that the treadmill is controlled. Therefore, the parameters of the treadmill do not need to be adjusted by a user, and the intelligent degree of the electronic equipment is improved.
Meanwhile, the electronic equipment can enable the parameters of the running machine adjusted by the electronic equipment to be suitable for the user by combining with the user information, the running effect of the user is prevented from being influenced by improper adjustment of the running machine, even the body is prevented from being damaged, and therefore the user experience of the user when the running machine is used is facilitated to be improved.
Optionally, the method 1500 further comprises:
the electronic equipment receives a first control command sent by the wearable equipment, wherein the first control command is used for indicating the treadmill to slow down or stop; the electronic equipment sends the first control command to the treadmill.
For example, if the wearable device detects that the duration that the heart rate value of the user is greater than or equal to the preset heart rate value is greater than or equal to the first preset duration, the wearable device may send a first control command to the electronic device.
For example, the wearable device may send a first control command to the electronic device upon detecting a tilt or imbalance of the user's body.
In this embodiment, when the wearable device detects that the heart rate value of the user is continuously greater than or equal to the preset heart rate value, the wearable device may send a control command to the electronic device, and the control command is forwarded to the treadmill by the electronic device. This helps to avoid the heart rate value too high to cause the damage to user's health to help promoting the user experience when using the treadmill of user.
When the wearable device detects that the user's body is tilted or out of balance, the wearable device may send control commands to the electronic device and be forwarded by the electronic device to the treadmill. This helps avoiding causing the damage to user's health when user's health takes place to incline or unbalance and treadmill speed is too fast to help promoting user's user experience when using the treadmill.
Optionally, the method 1500 further comprises:
the electronic equipment sends a second control command to the treadmill when detecting that the user operates the electronic equipment, wherein the second control command is used for instructing the treadmill to slow down or stop.
In the embodiment of the application, when the electronic device detects that the user operates the electronic device, the electronic device may determine that the user is not focused on running, so as to send a control command to the treadmill. The damage to the body of the user caused by the inattention of the user and the over-high speed of the treadmill can be avoided, and therefore the user experience of the user when the treadmill is used can be improved.
Optionally, the method 1500 further comprises:
when the electronic equipment detects that the electronic equipment is in a falling state, the electronic equipment sends a third control command to the treadmill, and the third control command is used for indicating the treadmill to slow down or stop.
In embodiments of the application, when the electronic device determines that it is in a dropped state (e.g., dropped from a storage tank of the treadmill or dropped from a pocket of a user), a control command may be sent to the treadmill. This helps avoid damage to the user's body, thereby helping to enhance the user experience when using the treadmill.
Optionally, the account logged in on the electronic device is associated with the account logged in on the wearable device.
For example, the account number logged in on the electronic device and the account number logged in on the wearable device may be the same account number; or the account number logged in on the electronic equipment and the account number logged in on the wearable equipment are account numbers in the same family group; alternatively, the account logged in on the wearable device may be an account authorized by the account logged in on the electronic device.
An electronic device is also provided in the embodiments of the present application, and the electronic device may include the processor 110 and the wireless communication module 160 shown in fig. 1. The wireless communication module 160 may be configured to receive the heart rate value of the user sent by the wearable device in S1501 and send a control command to the treadmill in S1504; the processor 110 may be configured to execute the steps in S1502 and S1503.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (23)

1. A system for controlling a treadmill, the system comprising an electronic device and a wearable device, the electronic device and the wearable device being connected by a short-range wireless communication, the electronic device and the treadmill being connected by a short-range wireless communication, the electronic device storing therein a mapping relationship of a running purpose of a user, a recovery time of the running, and a target heart rate range, wherein,
the wearable device is used for sending a heart rate value of a user to the electronic device;
the electronic equipment is used for determining the running purpose and running recovery time of the user according to the user information stored in the electronic equipment;
the electronic equipment is further used for determining a first target heart rate range according to the running purpose, the recovery time and the mapping relation;
the electronic device is further configured to control the treadmill according to the heart rate value and the first target heart rate range.
2. The system of claim 1, wherein the wearable device is further configured to send a first control command to the electronic device when it is detected that the duration of the heart rate value being greater than or equal to a preset heart rate value is greater than or equal to a first preset duration, the first control command being configured to instruct the treadmill to slow down or stop;
the electronic equipment is further used for sending the first control command to the treadmill.
3. The system of claim 1, wherein the wearable device is further configured to send a second control command to the electronic device upon detecting a tilt or imbalance of the user's body, the second control command instructing the treadmill to slow down or stop;
the electronic equipment is further used for sending the second control command to the treadmill.
4. The system of claim 1, wherein the electronic device is further configured to send a third control command to the treadmill upon detecting operation of the electronic device by the user, the third control command instructing the treadmill to slow down or stop.
5. The system of claim 1, wherein the electronic device is further configured to send a fourth control command to the treadmill upon detecting a fall condition, the fourth control command being configured to instruct the treadmill to slow down or stop.
6. The system according to any one of claims 1 to 5, characterized in that said electronic device is specifically configured to:
when detecting that the duration that the heart rate value is greater than or equal to the maximum value of the first target heart rate range is greater than or equal to a second preset duration, sending a fifth control command to the treadmill, wherein the fifth control command is used for instructing the treadmill to lower the pace; alternatively, the first and second electrodes may be,
and when detecting that the duration of the heart rate value is less than or equal to the minimum value of the first target heart rate range is greater than or equal to a third preset duration, sending a sixth control command to the treadmill, wherein the sixth control command is used for instructing the treadmill to adjust the speed.
7. The system according to any one of claims 1 to 5, characterized in that the electronic device is specifically configured to:
determining the running purpose according to the BMI of the user and/or the average pace and running distance in the historical running record of the user;
and determining the recovery time according to the average pace and the running distance in the historical running record.
8. The system of any of claims 1-5, wherein the account logged on the electronic device is associated with the account logged on the wearable device.
9. A method for controlling a treadmill, the method being applied to an electronic device, wherein the electronic device and a wearable device are connected through short-range wireless communication, the electronic device and the treadmill are connected through short-range wireless communication, and a mapping relationship among a running purpose of a user, a recovery time of running and a target heart rate range is stored in the electronic device, the method comprising:
the electronic equipment receives a heart rate value of a user sent by the wearable equipment;
the electronic equipment determines the running purpose and running recovery time of the user according to the user information stored in the electronic equipment;
the electronic equipment determines a first target heart rate range according to the running purpose, the recovery time and the mapping relation;
the electronic device controls the treadmill according to the heart rate value and the first target heart rate range.
10. The method of claim 9, further comprising:
the electronic equipment receives a first control command sent by the wearable equipment, wherein the first control command is used for instructing the treadmill to slow down or stop;
the electronic equipment sends the first control command to the treadmill.
11. The method of claim 9, further comprising:
when the electronic equipment detects that a user operates the electronic equipment, a second control command is sent to the treadmill, and the second control command is used for indicating the treadmill to slow down or stop.
12. The method of claim 9, further comprising:
when the electronic equipment detects that the electronic equipment is in a falling state, sending a third control command to the treadmill, wherein the third control command is used for indicating the treadmill to slow down or stop.
13. The method of any of claims 9 to 12, wherein the electronic device controls the treadmill based on the heart rate value and the first target heart rate range, comprising:
the electronic equipment sends a fifth control command to the treadmill when detecting that the duration of the heart rate value greater than or equal to the maximum value of the first target heart rate range is greater than or equal to a first preset duration, wherein the fifth control command is used for indicating the treadmill to slow down and pace; alternatively, the first and second electrodes may be,
and when detecting that the duration of the heart rate value smaller than or equal to the minimum value of the first target heart rate range is greater than or equal to a second preset duration, the electronic equipment sends a sixth control command to the treadmill, wherein the sixth control command is used for indicating the treadmill to adjust the speed and the speed.
14. The method according to any one of claims 9 to 12, wherein the electronic device determines a running purpose and a running recovery time of the user according to the user information stored in the electronic device, and the method comprises the following steps:
determining the running purpose according to the BMI of the user and/or the average pace and running distance in the historical running record of the user;
and determining the recovery time according to the average pace and the running distance in the historical running record.
15. The method of any of claims 9-12, wherein the account logged on the electronic device is associated with the account logged on the wearable device.
16. An electronic device, comprising:
one or more processors;
one or more memories;
the one or more memories store one or more computer programs, the one or more computer programs comprising instructions, which when executed by the one or more processors, cause the electronic device to perform the steps of:
receiving a heart rate value of a user sent by a wearable device;
determining the running purpose and running recovery time of the user according to the user information stored in the electronic equipment;
determining a first target heart rate range according to the running purpose, the recovery time and a mapping relation, wherein the mapping relation is the running purpose of the user, the recovery time of the running and the mapping relation of the target heart rate range;
controlling the treadmill according to the heart rate value and the first target heart rate range.
17. The electronic device of claim 16, wherein the instructions, when executed by the one or more processors, cause the electronic device to perform the steps of:
receiving a first control command sent by the wearable device, wherein the first control command is used for instructing the treadmill to slow down or stop;
sending the first control command to the treadmill.
18. The electronic device of claim 16, wherein the instructions, when executed by the one or more processors, cause the electronic device to perform the steps of:
when the user is detected to operate the electronic equipment, sending a second control command to the treadmill, wherein the second control command is used for instructing the treadmill to slow down or stop.
19. The electronic device of claim 16, wherein the instructions, when executed by the one or more processors, cause the electronic device to perform the steps of:
when the electronic equipment is detected to be in a falling state, sending a third control command to the treadmill, wherein the third control command is used for instructing the treadmill to slow down or stop.
20. The electronic device of any of claims 16-19, wherein the instructions, when executed by the one or more processors, cause the electronic device to perform the steps of:
when detecting that the duration that the heart rate value is greater than or equal to the maximum value of the first target heart rate range is greater than or equal to a first preset duration, sending a fifth control command to the treadmill, wherein the fifth control command is used for instructing the treadmill to lower the speed; alternatively, the first and second electrodes may be,
and when detecting that the duration of the heart rate value smaller than or equal to the minimum value of the first target heart rate range is larger than or equal to a second preset duration, sending a sixth control command to the treadmill, wherein the sixth control command is used for indicating the treadmill to adjust the speed.
21. The electronic device of any of claims 16-19, wherein the instructions, when executed by the one or more processors, cause the electronic device to perform the steps of:
determining the running purpose according to the BMI of the user and/or the average pace and running distance in the historical running record of the user;
and determining the recovery time according to the average pace and the running distance in the historical running record.
22. The electronic device of any of claims 16-19, wherein the account logged into on the electronic device is associated with the account logged into on the wearable device.
23. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of controlling a treadmill of any of claims 9-15.
CN202010566396.1A 2020-06-19 2020-06-19 Method, electronic equipment and system for controlling treadmill Active CN113813568B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010566396.1A CN113813568B (en) 2020-06-19 2020-06-19 Method, electronic equipment and system for controlling treadmill
PCT/CN2021/098632 WO2021254198A1 (en) 2020-06-19 2021-06-07 Treadmill control method, electronic device, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010566396.1A CN113813568B (en) 2020-06-19 2020-06-19 Method, electronic equipment and system for controlling treadmill

Publications (2)

Publication Number Publication Date
CN113813568A CN113813568A (en) 2021-12-21
CN113813568B true CN113813568B (en) 2022-07-12

Family

ID=78911616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010566396.1A Active CN113813568B (en) 2020-06-19 2020-06-19 Method, electronic equipment and system for controlling treadmill

Country Status (2)

Country Link
CN (1) CN113813568B (en)
WO (1) WO2021254198A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117122885A (en) * 2023-03-13 2023-11-28 荣耀终端有限公司 Speed matching determining method and electronic equipment
CN117766098A (en) * 2024-02-21 2024-03-26 江苏森讯达智能科技有限公司 Body-building optimization training method and system based on virtual reality technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013094196A (en) * 2011-10-28 2013-05-20 Yupiteru Corp System, electronic device and program
CN105561565A (en) * 2015-12-16 2016-05-11 惠州Tcl移动通信有限公司 Method and system for dynamically setting fitness rest time and intelligent wearable equipment
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
CN110152272A (en) * 2018-03-07 2019-08-23 蔡璟 A kind of control method of treadmill, treadmill and intelligent terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5527239A (en) * 1993-02-04 1996-06-18 Abbondanza; James M. Pulse rate controlled exercise system
DE10324904B4 (en) * 2003-05-30 2013-03-07 Siemens Aktiengesellschaft Device for training adjustment in sports, especially in running
TWI361089B (en) * 2008-07-29 2012-04-01 Nat Univ Chung Hsing Method of controlling speed for a treadmill by feed back of heart beats
CN201840824U (en) * 2010-09-28 2011-05-25 深圳市倍泰健康测量分析技术有限公司 Electric treadmill system
CN106474667A (en) * 2016-10-19 2017-03-08 杭州联络互动信息科技股份有限公司 A kind of method and apparatus adjusting running motor speed and smart machine and treadmill
US10987006B2 (en) * 2017-06-02 2021-04-27 Apple Inc. Wearable computer with fitness machine connectivity for improved activity monitoring using caloric expenditure models
CN108744429A (en) * 2018-06-12 2018-11-06 深圳市悦动天下科技有限公司 The control method and heart rate measuring method of a kind of intelligent running machine, treadmill

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013094196A (en) * 2011-10-28 2013-05-20 Yupiteru Corp System, electronic device and program
CN105561565A (en) * 2015-12-16 2016-05-11 惠州Tcl移动通信有限公司 Method and system for dynamically setting fitness rest time and intelligent wearable equipment
CN110152272A (en) * 2018-03-07 2019-08-23 蔡璟 A kind of control method of treadmill, treadmill and intelligent terminal
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

Also Published As

Publication number Publication date
CN113813568A (en) 2021-12-21
WO2021254198A1 (en) 2021-12-23

Similar Documents

Publication Publication Date Title
WO2021047435A1 (en) Electronic device and sensor control method
EP4020491A1 (en) Fitness-assisted method and electronic apparatus
CN113813568B (en) Method, electronic equipment and system for controlling treadmill
WO2021169515A1 (en) Method for data exchange between devices, and related device
US11928947B2 (en) Fall detection-based help-seeking method and electronic device
CN110458902A (en) 3D illumination estimation method and electronic equipment
CN113655935A (en) User determination method, electronic device and computer readable storage medium
EP4310724A1 (en) Method for determining exercise guidance information, electronic device, and exercise guidance system
EP4350503A1 (en) Volume adjustment method, and electronic device and system
EP4070719A1 (en) Electronic device, method for controlling same to perform ppg detection, and medium
CN114762588A (en) Sleep monitoring method and related device
EP4224485A1 (en) Adaptive action evaluation method, electronic device, and storage medium
EP4307692A1 (en) Method and system for adjusting volume, and electronic device
WO2023001165A1 (en) Exercise guidance method and related apparatus
WO2021248976A1 (en) Pulse detection method, terminal device and smart shoe
WO2022083363A1 (en) Method for periodically measuring blood oxygen, and electronic device
WO2022062978A1 (en) Data processing method and electronic device
CN113391735A (en) Display form adjusting method and device, electronic equipment and storage medium
CN113129636B (en) Vehicle information pushing method and device, user account server and user equipment
WO2021233018A1 (en) Method and apparatus for measuring muscle fatigue degree after exercise, and electronic device
EP4226853A1 (en) Photo plethysmo graphy (ppg)-based control method and electronic device
WO2021239079A1 (en) Data measurement method and related apparatus
WO2022206641A1 (en) Hypertension risk measurement method and related apparatus
WO2024099121A1 (en) Risk detection method for vestibular function and electronic device
WO2023197913A1 (en) Image processing method and related 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
GR01 Patent grant
GR01 Patent grant