WO2021254198A1 - Procédé de commande de tapis roulant, dispositif électronique et système - Google Patents

Procédé de commande de tapis roulant, dispositif électronique et système Download PDF

Info

Publication number
WO2021254198A1
WO2021254198A1 PCT/CN2021/098632 CN2021098632W WO2021254198A1 WO 2021254198 A1 WO2021254198 A1 WO 2021254198A1 CN 2021098632 W CN2021098632 W CN 2021098632W WO 2021254198 A1 WO2021254198 A1 WO 2021254198A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
treadmill
user
heart rate
running
Prior art date
Application number
PCT/CN2021/098632
Other languages
English (en)
Chinese (zh)
Inventor
曹雄伟
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021254198A1 publication Critical patent/WO2021254198A1/fr

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

Definitions

  • This application relates to the field of terminals, and more specifically, to a method, electronic device, and system for controlling a treadmill.
  • the speed control button is used to adjust the speed
  • the start and end buttons are used to control the distance or time of running.
  • the treadmill adjustment is not suitable for their physical condition, which will affect the running effect and even cause damage to the body.
  • This application provides a method, electronic device, and system for controlling a treadmill.
  • the method can be used in artificial intelligence (AI) terminals, which helps to improve the degree of intelligence of electronic devices (such as smart terminal devices, such as mobile phones). At the same time, it can improve the user experience of the user when using the treadmill.
  • AI artificial intelligence
  • a system in a first aspect, 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 the treadmill are connected through short-range wireless communication.
  • the device saves the user’s running purpose, running recovery time, and the mapping relationship of the target heart rate range.
  • the wearable device is used to send the user’s heart rate value to the electronic device; the electronic device is used to send the user’s heart rate value to the electronic device
  • the user information stored in the user information determines the user’s running purpose and running recovery time; the electronic device is also used to determine the first target heart rate range according to the running purpose, the recovery time and the mapping relationship; the electronic device also uses According to the heart rate value and the first target heart rate range, the treadmill is controlled.
  • the electronic device can determine the target heart rate range of the user for this run by combining the user information and the mapping relationship stored in the electronic device.
  • the electronic device compares the user's heart rate value detected by the wearable device in real time with the target heart rate range, thereby controlling the treadmill. This does not require the user to adjust the parameters of the treadmill, which helps to enhance the intelligence of the electronic equipment.
  • the electronic device can make the treadmill parameters adjusted by the electronic device suitable for the user by combining the user information, avoiding the user's improper adjustment of the treadmill from affecting the running effect and even causing damage to the body, thereby helping to improve the user's use of running Time user experience.
  • the electronic device controls the treadmill, and the electronic device can control the pace of the treadmill.
  • the wearable device is further configured to: when it is detected that the heart rate value is greater than or equal to the preset heart rate value for a time period greater than or equal to the first preset time period, The electronic device sends a first control command, and the first control command is used to instruct the treadmill to decelerate or stop; the electronic device is also used to send the first control command to the treadmill.
  • the wearable device when the wearable device detects that the user's heart rate value 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 electronic device forwards the control command to the treadmill. This helps to prevent excessive heart rate from causing damage to the user's body, thereby helping to improve the user experience of the user when using the treadmill.
  • the wearable device is further configured to send a second control command to the electronic device when it is detected that the user's body is tilted or unbalanced, and the second control The command is used to instruct the treadmill to decelerate or stop; the electronic device is also used to send the second control command to the treadmill.
  • the wearable device when the wearable device detects that the user's body is tilted or unbalanced, the wearable device may send a control command to the electronic device, and the electronic device forwards the control command to the treadmill. This helps to avoid damage to the user's body when the user's body is tilted or unbalanced and the treadmill speed is too fast, thereby helping to improve the user experience of the user when using the treadmill.
  • the electronic device is further configured to send a third control command to the treadmill when it is detected that the user is operating the electronic device, and the third control command is used for Instruct the treadmill to slow down or stop.
  • the electronic device when the electronic device detects that the user is operating the electronic device, the electronic device can determine that the user is not paying attention to running, so as to send a control command to the treadmill. This helps to avoid damage to the user's body when the user is inattentive and the treadmill speed is too fast, thereby helping to improve the user experience of the user when using the treadmill.
  • the electronic device is also used to send a fourth control command to the treadmill when detecting that it is in a falling state, and the fourth control command is used to instruct the running machine The machine decelerates or stops.
  • the electronic device when it is determined to be in a falling state (for example, falling from a storage slot of a treadmill or falling from a user's pocket), it may send a control command to the treadmill. This helps to avoid damage to the user's body, thereby helping to improve the user's user experience when using the treadmill.
  • a falling state for example, falling from a storage slot of a treadmill or falling from a user's pocket
  • the electronic device is specifically configured to: when it is detected that the heart rate value is greater than or equal to the maximum value of the first target heart rate range, the duration is greater than or equal to the second preset When the time is long, send a fifth control command to the treadmill, the fifth control command is used to instruct the treadmill to lower the pace; or, when it is detected that the heart rate value is less than or equal to the minimum value of the first target heart rate range When the duration is greater than or equal to the third preset duration, a sixth control command is sent to the treadmill, and the sixth control command is used to instruct the treadmill to increase the pace.
  • the electronic device sends a control command to the treadmill through the real-time heart rate value detected by the wearable device and the first target heart rate range. This helps to enhance the intelligence of the electronic equipment, enhance the training effect of the user's running, and at the same time can prevent safety accidents or avoid secondary injury to the user.
  • lowering the pace can also be understood as lowering the speed of the treadmill; or, it can also be understood as increasing the duration of each kilometer run by the user.
  • lowering the pace can also be understood as increasing the speed of the treadmill; or, it can also be understood as reducing the duration of each kilometer run by the user.
  • the electronic device is specifically used to determine the running goal according to the user's body mass index BMI and/or the average pace and running distance in the user's historical running records ; Determine the recovery time according to the average pace and running distance in the historical running record.
  • the electronic device can save the mapping relationship between average pace, running distance, and recovery time. Then, the electronic device can combine the average pace and running distance of each treadmill to determine the recovery time corresponding to each running record.
  • the electronic device may determine that the user's running purpose is to efficiently reduce fat.
  • the user's running purpose is recovery training.
  • the account logged in on the electronic device is associated with the account logged in on the wearable device.
  • 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 logged in on the electronic device and the account logged in on the wearable device are the same
  • the account in the family group; or, the account logged in on the wearable device may be an account authorized by the account logged in on the electronic device.
  • a method for controlling a treadmill is provided.
  • the method is applied to an electronic device.
  • the electronic device and a wearable device are connected through short-range wireless communication, and the electronic device and the treadmill are connected through short-range wireless communication.
  • the electronic device saves the user's running purpose, running recovery time, and the mapping relationship of the target heart rate range.
  • the method includes: the electronic device receives the user's heart rate value sent by the wearable device; the electronic device saves according to the electronic device To determine the user’s running purpose and running recovery time; the electronic device determines the first target heart rate range according to the running purpose, the recovery time and the mapping relationship; the electronic device determines the first target heart rate range according to the heart rate value and the first target Heart rate range to control the treadmill.
  • the user's heart rate value detected by the electronic device in real time through the wearable device is compared with the target heart rate range, so as to control the treadmill.
  • This does not require the user to adjust the parameters of the treadmill, which helps to enhance the intelligence of the electronic equipment.
  • the electronic device can make the treadmill parameters adjusted by the electronic device suitable for the user by combining the user information, avoiding the user's improper adjustment of the treadmill from affecting the running effect and even causing damage to the body, thereby helping to improve the user's use of running Time user experience.
  • the electronic device controls the treadmill, and the electronic device can control the pace of the treadmill.
  • the method further includes: the electronic device receives a first control command sent by the wearable device, and the first control command is used to instruct the treadmill to decelerate or stop ; The electronic device sends the first control command to the treadmill.
  • the method further includes: when the electronic device detects that the user operates the electronic device, sending a second control command to the treadmill, and the second control command is used To instruct the treadmill to slow down or stop.
  • the method further includes: when the electronic device detects that the electronic device is in a falling state, sending a third control command to the treadmill, the third control command Used to instruct the treadmill to decelerate or stop.
  • the electronic device adjusts the pace of the treadmill according to the heart rate value and the first target heart rate range, including: the electronic device detects the heart rate value When the duration greater than or equal to the maximum value of the first target heart rate range is greater than or equal to the first preset duration, sending a fifth control command to the treadmill, where the fifth control command is used to instruct the treadmill to lower the pace; Alternatively, when the electronic device detects that the time period during which 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 the second preset time period, the electronic device sends a sixth control command to the treadmill, the sixth control command Used to instruct the treadmill to increase the pace.
  • the electronic device determines the user's running purpose and running recovery time according to the user information stored in the electronic device, including: according to the user's body mass index BMI and /Or the average pace and running distance in the user's historical running record to determine the running goal; according to the average pace and running distance in the historical running record, the recovery time is determined.
  • the account logged in on the electronic device is associated with the account logged in on the wearable device.
  • a device in a third aspect, is provided, the device is included in an electronic device, and the device has a function of realizing the behavior of the electronic device in a possible implementation manner of the second aspect.
  • the function can be realized by hardware, or the corresponding software can be executed by hardware.
  • the hardware or software includes one or more modules or units corresponding to the above-mentioned functions.
  • an electronic device including: one or more processors; a memory; and one or more computer programs.
  • one or more computer programs are stored in the memory, and the one or more computer programs include instructions.
  • the electronic device is caused to execute the method for controlling the treadmill in any one of the possible implementations of the second aspect described above.
  • the present technical solution provides a computer storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the method for controlling a treadmill in any one of the possible implementations of the second aspect above .
  • the present technical solution provides a computer program product that, when the computer program product runs on an electronic device, causes the electronic device to execute the method for controlling the treadmill in any one of the possible designs of the second aspect described above.
  • the present technical solution provides a chip system that includes at least one processor, and when program instructions are executed in the at least one processor, any possible method in the second aspect described above is implemented in an electronic device The above functions are realized.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Fig. 2 is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • Figure 3 is a set of graphical user interfaces of a mobile phone provided by an embodiment of the present application.
  • Figure 4 is another set of graphical user interfaces of a mobile phone provided by an embodiment of the present application.
  • Fig. 5 is another set of graphical user interfaces of a mobile phone provided by an embodiment of the present application.
  • Fig. 6 is a schematic flowchart of a method for controlling a treadmill provided by an embodiment of the present application.
  • Fig. 7 is a schematic diagram of the sensor in the mobile phone detecting the weightlessness of the mobile phone.
  • Figure 8 is a schematic diagram of the structure of the PPG sensor.
  • Fig. 9 is a schematic diagram of the wearable device detecting the inclination of the user's feet and the plane of the treadmill.
  • Figure 10 is a schematic diagram of a wearable device detecting a user's body tilt, imbalance, and wrestling.
  • 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 the connection between a wearable device and a treadmill provided by an embodiment of the present application.
  • Fig. 14 is a schematic diagram of a treadmill provided by an embodiment of the present application being converted to a Bluetooth gateway through a serial port.
  • FIG. 15 is a schematic flowchart of a method for controlling a treadmill provided by an embodiment of the present application.
  • the electronic device may be a portable electronic device that also contains other functions such as a personal digital assistant and/or a music player function, such as a mobile phone, a tablet computer, and a wearable electronic device with wireless communication function (such as a smart watch) Wait.
  • portable electronic devices include, but are not limited to, carrying Or portable electronic devices with other operating systems.
  • the aforementioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop) and the like. It should also be understood that, in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but 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 charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, compass 190, motor 191, indicator 192, camera 193, display screen 194, and user Identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
  • 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 can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • different processing units may be independent components, or may be integrated in one or more processors.
  • the electronic device 101 may also include one or more processors 110.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 may be a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. In this way, repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the electronic device 101 in processing data or executing instructions is improved.
  • the processor 110 may include one or more interfaces.
  • the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, and a universal asynchronous transceiver (universal asynchronous transceiver) interface.
  • asynchronous receiver/transmitter, UART) interface mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, SIM card interface and/or USB interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specifications, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 101, and can also be used to transfer data between the electronic device 101 and peripheral devices.
  • the USB interface 130 can also be used to connect earphones and play audio through the earphones.
  • the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the electronic device 100.
  • the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • 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 charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like 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 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites. System (global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • 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, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, connected to the display 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations and is used for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change 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 can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode
  • FLED flexible light-emitting diode
  • mini light-emitting diode miniled
  • MicroLed Micro-oLed
  • quantum dot light emitting diode QLED
  • the electronic device 100 may include one or more display screens 194.
  • the display screen 194 in FIG. 1 may be bent.
  • the above-mentioned display screen 194 can be bent means that the display screen can be bent to any angle at any position, and can be maintained at that angle.
  • the display screen 194 can be folded in half from the center. You can also fold up and down from the middle.
  • the display screen 194 of the electronic device 100 may be a flexible screen.
  • the flexible screen has attracted much attention due to its unique characteristics and great potential.
  • flexible screens have the characteristics of strong flexibility and bendability, and can provide users with new interactive methods based on bendable characteristics, which can meet users' more needs for electronic devices.
  • the foldable display screen on the electronic device can be switched between a small screen in a folded configuration and a large screen in an unfolded configuration at any time. Therefore, users use the split screen function on electronic devices equipped with foldable display screens more and more frequently.
  • the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include one or more cameras 193.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • 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 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, and so on.
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store one or more computer programs, and the one or more computer programs include instructions.
  • the processor 110 can run the above-mentioned instructions stored in the internal memory 121 to enable the electronic device 101 to execute the methods for controlling the treadmill provided in some embodiments of the present application, as well as various applications and data processing.
  • the internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store the operating system; the storage program area can also store one or more applications (such as photo galleries, contacts, etc.).
  • the data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 101.
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a gravity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and an ambient light sensor 180L , Bone conduction sensor 180M, etc.
  • the pressure sensor 180A is used to sense a pressure signal, and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the gyro sensor 180B may be used to determine the movement posture of the electronic device 100.
  • the angular velocity of the electronic device 100 around three axes ie, X, Y, and Z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and be used in applications such as horizontal and vertical screen switching, pedometers and so on.
  • the gravity sensor 180G is used to sense changes in acceleration. For example, when the electronic device falls, the gravity sensor 180G and the acceleration sensor 180E may send the detected acceleration change data to the processor 110.
  • the processor 110 can determine that the electronic device is in a falling state based on the acceleration change data.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be provided on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • FIG. 2 is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • a treadmill can establish a wireless connection with a mobile phone
  • the mobile phone can establish a wireless connection with a wearable device.
  • the mobile phone can combine the user information saved in the mobile phone, the sensor data in the mobile phone (for example, gravity sensor, etc.), and the data of the sensor in the wearable device (for example, acceleration sensor, gyroscope sensor, photoplethysmograph, PPG) Sensors, etc.) and real-time data sent by the treadmill to the mobile phone (for example, running time, running distance, speed, etc.) to send control instructions such as acceleration, deceleration, stop, and emergency braking to the treadmill. So as to realize the automatic control of the treadmill by the mobile phone.
  • the sensor data in the mobile phone for example, gravity sensor, etc.
  • the data of the sensor in the wearable device for example, acceleration sensor, gyroscope sensor, photoplethysmograph, PPG) Sensors,
  • FIG. 3 shows a set of graphical user interfaces (GUI) of the mobile phone.
  • GUI graphical user interfaces
  • the desktop of the mobile phone includes multiple applications such as Alipay, Task Card Store, Weibo, Photo Album, WeChat, Card Package, Settings, and Sports Health.
  • the GUI shown in (b) of FIG. 3 is displayed.
  • the display interface includes a function menu bar 301 and an unread short message notification card.
  • the function menu bar 301 includes functions such as flight mode, Wi-Fi, Bluetooth, screen capture, wireless projection, and NFC.
  • the user can move 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 Figure 3 (c).
  • the treadmill When the treadmill detects that the user starts the treadmill, the treadmill can send instruction information to the mobile phone, and the instruction information is used to indicate that the treadmill has been started.
  • the mobile phone can automatically open the sports health app, and the treadmill can synchronize the data of the treadmill with the mobile phone.
  • the mobile phone can also control the start/pause of the treadmill through the sports health app, or the mobile phone can also control the speed up or down through the sports health app.
  • the display interface includes running parameters and treadmill control.
  • the running parameters include the user's running distance (for example, 0.02 kilometers), exercise time (for example, 2 minutes and 51 seconds), the user's calories (for example, 16 kcal), the user's number of steps (for example, 324 steps), The user's cadence (e.g., 120 steps/minute), treadmill speed (e.g., 6.0 km/h), and the user's heart rate (e.g., 159 beats/minute).
  • the mobile phone can also establish a wireless connection (for example, a Bluetooth connection) with the user's wearable device, and the heart rate in the running parameters can be the user's real-time heart rate value detected by the wearable device.
  • a wireless connection for example, a Bluetooth connection
  • the mobile phone When the mobile phone detects the user's operation to switch to the treadmill control interface, the mobile phone can display the GUI as shown in (e) in FIG. 3.
  • the treadmill control display interface may include multiple functional controls, and the multiple functional controls include speed-up, start/pause, and speed-down controls.
  • the mobile phone when the mobile phone detects that the user clicks on the start/pause control, the mobile phone can send a control command to the treadmill, and the control command is used to instruct the treadmill to stop running.
  • the mobile phone may send a control command to the treadmill, and the control command is used to instruct the treadmill to increase the speed.
  • the treadmill control display interface also includes functions such as running purpose and course selection.
  • the mobile phone when the mobile phone detects that the user clicks on the running goal, the mobile phone can combine the user's information (for example, body mass index (BMI) information) to prompt the user the running goal of the current run (for example, high-efficiency fat loss) , Recovery training, cardiorespiratory training, etc.).
  • BMI body mass index
  • the mobile phone can display a display interface as shown in (f) in Figure 3.
  • FIG. 3 is a display interface for selecting courses.
  • the mobile phone can generate a running course suitable for the user based on the user's information, and prompt the user through the display interface to "according to your information, a running course has been generated for you".
  • Course 1-Course 6 are provided for the user on the display interface. Users can choose the corresponding running course according to their needs.
  • the above-mentioned running course may be one or multiple times. If the running course is for this exercise, after the user selects course 4, the mobile phone can send the running parameters of the corresponding running course to the treadmill (for example, the running distance is 5km and the pace is 6'00"), the treadmill You can run according to the corresponding running parameters.
  • the user can choose to continue exercising from the previous running course.
  • course 4 includes multiple exercises, then the mobile phone starts course 4 this time, and the mobile phone can send the running parameters corresponding to the first exercise in course 4 to the treadmill; the next time the mobile phone displays the course selection display interface, the controls corresponding to course 4 It can be "continue exercise”; when the mobile phone detects that the user clicks "continue exercise", the mobile phone can send the running parameters corresponding to the second exercise of course 4 to the treadmill.
  • the speed of the treadmill is selected as 2 km/h (or, the pace of the treadmill is 30').
  • the user wants to increase the speed of the treadmill after exercising at this speed for a period of time, but the user does not know how to adjust the speed properly.
  • the user can choose a running course suitable for him in the selection course. Since the mobile phone can combine the user's information (for example, the user's height and weight, previous running records, etc.) to generate a running course suitable for the user, it can avoid that the treadmill adjustment is not suitable for their physical condition, which affects running efficiency, and even Injury to the body, etc., thereby helping to improve the user's experience in the process of running.
  • FIG. 3 is an example in which the mobile phone is connected to the treadmill after turning on the Bluetooth and NFC functions and being close to the NFC sensing area of the treadmill.
  • the connection between the treadmill and the mobile phone can also be: the mobile phone detects that the user clicks to open the sports health app on the desktop, and the mobile phone can connect back to the treadmill that was connected last time, so that the mobile phone and the treadmill can be established Bluetooth connection.
  • the mobile phone can store the media access control (MAC) address of the last connected treadmill.
  • MAC media access control
  • Figure 4 shows another set of GUIs of the mobile phone.
  • the treadmill can send the parameters on the treadmill to the mobile phone
  • the mobile phone can display the parameter information on the treadmill, and other information can also be displayed on the mobile phone.
  • the mobile phone can also display the user's heart rate information detected by the wearable device, or the mobile phone can also display the inclination angle between the sole of the user's shoe and the treadmill plane when the user is running, and so on.
  • the mobile phone can combine the user information saved by the mobile phone to calculate the user's recommended heart rate range for this run.
  • the specific calculation process can refer to the following description.
  • the mobile phone can send a control command to the treadmill and display the GUI shown in Figure 4 (b). This control command Used to instruct the treadmill to slow down.
  • the mobile phone can also prompt the user through a reminder box, "It has detected that your heart rate is too high, and the pace has been reduced for you.”
  • the treadmill can increase the pace of the treadmill from 12'00" to 15'00".
  • pace is a concept used in marathon training. It describes the time it takes to run one kilometer in a marathon, and it is usually measured by the user in minutes and seconds.
  • speed of the treadmill is 5 km/h, the corresponding treadmill speed is 12’00”; when the speed of the treadmill is 4 km/h, the corresponding treadmill speed is 15’00”.
  • the mobile phone reminds the user through the reminder box, it can also prompt the user through voice reminders; or, the mobile phone can also remind the user through vibrating reminders.
  • the mobile phone can combine the user's information to calculate the user's recommended heart rate range for this run.
  • the mobile phone can also obtain the user's heart rate detected by the wearable device in real time.
  • the mobile phone can control the treadmill in combination with the recommended heart rate range and the user's real-time heart rate value, thereby avoiding the user's excessive heart rate value from affecting the user's physical health, and improving the user's experience during the running process.
  • Figure 5 shows another set of GUIs of the mobile phone.
  • the treadmill can send the parameters on the treadmill to the mobile phone
  • the mobile phone can display the parameter information on the treadmill, and other information can also be displayed on the mobile phone.
  • the mobile phone can also display the user's heart rate information detected by the wearable device, or the mobile phone can also display the inclination angle between the sole of the user's shoe and the treadmill plane when the user is running, and so on.
  • the treadmill When the treadmill detects that the user clicks on the speed increase control on the treadmill, the treadmill can increase the speed from the original 5 km/h to 6 km/h. At the same time, the treadmill can also send its own status information to the mobile phone, and the status information includes the updated speed information of the treadmill. After receiving the status information, the mobile phone can update the parameter information on the running parameter display interface. See the GUI shown in (b) in Figure 5.
  • the mobile phone determines that the heart rate value (for example, 185 beats/min) is greater than the maximum value of the recommended heart rate range (for example, the recommended heart rate range is [120, 170]), the mobile phone can send a control command to the treadmill, which is used to Instruct the treadmill to decrease speed. At the same time, the mobile phone can also prompt the user through a reminder box, "It has detected that your heart rate is too high, and the treadmill speed has been reduced for you.”
  • the heart rate value for example, 185 beats/min
  • the maximum value of the recommended heart rate range for example, the recommended heart rate range is [120, 170]
  • the mobile phone reminds the user through the reminder box, it can also remind the user by voice; or the mobile phone can also remind the user by vibrating.
  • the mobile phone can combine the user's information to calculate the user's recommended heart rate range for this run.
  • the mobile phone can also obtain the user's heart rate detected by the wearable device in real time.
  • the mobile phone can control the treadmill in combination with the recommended heart rate range and the user's real-time heart rate value, thereby avoiding the user's excessive heart rate value from affecting the user's physical health, and improving the user's experience during the running process.
  • FIG. 6 shows a schematic flowchart of a method 600 for automatically controlling a treadmill provided by an embodiment of the present application. As shown in FIG. 6, the method 600 includes:
  • the treadmill and the mobile phone establish a wireless connection
  • the mobile phone and the wearable device establish a wireless connection
  • 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 other near field communication technologies.
  • the mobile phone and the wearable device may be devices under the same account.
  • Huawei account A is logged in on the mobile phone
  • Huawei account A is also logged in on the wearable device. Then the mobile phone can learn the address information of the wearable device in advance, so that it can interact with the wearable device.
  • the mobile phone and the treadmill can establish a connection through near field communication.
  • the user can turn on the Bluetooth or NFC function of the mobile phone, and place the mobile phone in a corresponding sensing area on the treadmill, thereby establishing a Bluetooth connection between the mobile phone and the treadmill.
  • the user can also use a mobile phone to scan the two-dimensional code on the treadmill to obtain Bluetooth information of the treadmill (for example, address information of the treadmill).
  • the mobile phone After the mobile phone obtains the Bluetooth information of the treadmill, it can send the Bluetooth scan connection to the treadmill, so that the Bluetooth connection between the mobile phone and the treadmill can be connected.
  • the wireless connection between the treadmill and the mobile phone and the wireless connection between the mobile phone and the wearable device may also be established in other ways, and the embodiment of the present application does not specifically limit this.
  • the user can set the current running time, running distance, speed, etc. before the start of the run.
  • the first indication information may also carry exercise data such as running time, running distance, and speed set by the user.
  • the mobile phone can periodically use the gravity sensor to detect whether the mobile phone has fallen from the storage slot on the treadmill or the user.
  • the mobile phone can control the pace of the treadmill by detecting whether it has fallen from the storage slot of the treadmill or the user's body. In this way, the automatic control of the treadmill in some emergency situations is realized, the safety risk of the user during the running process is reduced, and the user experience is improved.
  • the acceleration of the Z axis of the mobile phone's gravity sensor and the acceleration of gravity cancel out, and it will be zero in a short time.
  • the mobile phone can detect the user's operations (for example, operations such as answering a call, browsing information, etc.).
  • the mobile phone can know whether the user is playing with the mobile phone while running by detecting the user's operation. If the mobile phone determines that the user is playing with the mobile phone while running, the mobile phone can determine that the user is not paying attention to running, and the mobile phone can control the pace of the treadmill. In this way, the automatic control of the treadmill in some emergency situations is realized, the safety risk of the user during the running process is reduced, and the user experience is improved.
  • the fact that the mobile phone learns that the treadmill is started may be the result of receiving the first instruction information sent by the mobile phone.
  • the mobile phone can also control the startup of the treadmill.
  • the mobile phone when the mobile phone is connected to the treadmill and the treadmill is in a stopped state, if the mobile phone detects that the user clicks the start/pause control, then the mobile phone can send a control command to the treadmill , This control command is used to instruct the treadmill to start.
  • the user can also set the running parameters of the treadmill (for example, running distance, treadmill speed, etc.) through the mobile phone.
  • the mobile phone can also send the running parameters set by the user on the mobile phone to the treadmill, and the treadmill can run according to the parameters set by the user on the mobile phone after receiving it.
  • the mobile phone sends second indication information to the wearable device, where the second indication information may be used to indicate that the treadmill has been started.
  • the wearable device may collect data through a sensor on the wearable device.
  • a wearable device can detect the user's heart rate through a PPG sensor.
  • the structure of the PPG sensor can be as shown in Figure 8.
  • the PPG sensor includes a light emitting component and a light receiving component.
  • the method of measuring heart rate can be based on the principle of light absorption by substances.
  • the green light emitting diode LED
  • the light is matched with the photosensitive photodiode to illuminate the blood. Because the blood of different volumes in the blood vessel absorbs green light differently, when the heart beats, the blood flow rate increases, and the amount of green light absorption will increase accordingly; when the blood flow is in the gap between the heart beats Will decrease, and the green light absorbed will also decrease. Therefore, the heart rate can be measured based on the absorbance of blood.
  • the light beam when a light beam of a certain wavelength irradiates the skin surface, the light beam will pass through the skin and be transmitted to the light-receiving component. In this process, due to the attenuation effect of skin muscle and blood absorption, the intensity of the light detected by the light-receiving component will be reduced. Weaken. Among them, the human body's skin, bones, meat, fat, etc. reflect light to a fixed value, while the capillaries are constantly getting bigger and smaller with the pulse volume under the action of the heart.
  • the peripheral blood volume is the largest, the light absorption is also the largest, and the light intensity detected by the light receiving component is the smallest; while in diastole, the opposite is true, the detected light intensity is the largest, so that the light received by the light component The intensity then showed a pulsating change.
  • the wearable device can monitor the user's heart rate in real time. If the user's heart rate is greater than the maximum heart rate for a period of time greater than or equal to the preset period of time, the wearable device can send an alarm to the mobile phone, and the mobile phone can automatically after receiving the alarm Control the treadmill.
  • the maximum heart rate of the user can be determined by formula (1):
  • the wearable device when the wearable device detects that the user's heart rate is continuously greater than the maximum heart rate for 30 seconds, the wearable device can send an alarm to the mobile phone.
  • the wearable device can detect the inclination and imbalance of the user's body through the acceleration sensor.
  • the method of detecting the inclination of the user's body may be as shown in FIG. 9.
  • the maximum tilt or swing angle of the human body stability limit (limits of stability, LOS) in the front and rear directions is about 12.5 degrees; the maximum tilt or swing angle in the left and right directions of the LOS is about 16 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.
  • the wearable device can detect the danger of tilting, imbalance, and falling of the user's shoe sole.
  • the rotation angle between the running shoes and the treadmill is between 5-25 degrees.
  • the acceleration sensor and 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 gyroscope sensor of the wearable device detect that the rotation angle is less than 5 degrees, this situation is an abnormal running posture, and does not belong to the danger of tilt and imbalance.
  • the wearable device can detect the danger of tilting, imbalance, and falling of the user's body.
  • a normal user's feet should be on both sides of the center of gravity line.
  • the wearable device can send an alarm to the mobile phone, and the mobile phone can automatically control the treadmill after receiving the alarm.
  • point A is the user's center of gravity, and a cross is drawn with the center of gravity as the center point, and the user's running foothold should be within the range marked in gray.
  • the mobile phone can preset the alarm level corresponding to the above-mentioned alarm event and the control command corresponding to each alarm level.
  • Table 1 shows a corresponding relationship between an alarm event, an alarm level, and a control command.
  • the treadmill decelerates by 20% per second, and the treadmill stops running after 5 seconds.
  • the treadmill decelerates by 25% per second for 2 seconds, and after 2 seconds, the treadmill runs at 50% of the initial speed.
  • the treadmill immediately stops running.
  • Table 2 shows the field description of the control command sent by the wearable device to the mobile phone.
  • 11 and 12 respectively show schematic diagrams of the transmission frame structure of the wearable device and the reception frame structure of the mobile phone.
  • the transmission frame shown in FIG. 11 is a frame sent by the wearable device to the mobile phone, where the length of treadmill_alert_stop is 3 bytes, of which 1 byte can carry the control command, and the remaining 2 The bytes can be extended bytes.
  • the received frame shown in FIG. 12 is a frame sent by a mobile phone received by a wearable device, where the length of treadmill_alert_stop is 6 bytes. If the mobile phone successfully receives the received frame, the mobile phone can carry feedback (for example, ACK) information in 1 byte of these 6 bytes, and the remaining 5 bytes are extended bytes; for another example, the mobile phone can receive the frame If the reception fails, the mobile phone can carry information for indicating reception failure in some of these 6 bytes. Since the amount of information used to indicate reception failure is larger than the control command or ACK information, it can be considered to increase the length of the treadmill_alert_stop in the received frame.
  • feedback for example, ACK
  • the frame structure shown in FIG. 11 and FIG. 12 and the length of treadmill_alert_stop are only illustrative, and the frame structure of the received frame and the transmitted frame may also be other forms of frame structure, which are not described in the embodiment of the present application. limited.
  • the method 600 further includes:
  • the mobile phone After receiving the control command sent by the wearable device, the mobile phone determines that the user is in a dangerous scene, so as to send a control command to slow down or stop to the treadmill.
  • the wearable device acquires data from sensors (for example, PPG, acceleration, or gyroscope sensors), it can use these data to determine whether the user is in a dangerous scene.
  • sensors for example, PPG, acceleration, or gyroscope sensors
  • the wearable device may send a deceleration command to the treadmill when it is determined that the user's heart rate is continuously greater than the preset value.
  • the wearable device can also send the sensor data detected in real time to the mobile phone, and the mobile phone can determine whether the user is in a dangerous scene.
  • the wearable device can send the detected user's heart rate to the mobile phone, and the mobile phone determines the relationship between the user's heart rate and the maximum heart rate. If the mobile phone determines that the user's heart rate is continuously greater than the maximum heart rate, the mobile phone can send a deceleration instruction to the treadmill.
  • the wearable device sends the real-time data of the user in the running state detected by the wearable device to the mobile phone.
  • the real-time data in the running state of the user detected by the wearable device may include the above-mentioned data detected by the sensor of the wearable device.
  • the user's heart rate the way the feet land on the ground, the rotation angle of the sole and the treadmill, and so on.
  • the treadmill sends the real-time data of the user in the running state detected by the treadmill to the mobile phone.
  • the user may make real-time changes to the exercise parameters on the treadmill.
  • the running machine sends the user's real-time updated data (for example, running time, running distance, speed, etc.) to the mobile phone.
  • the mobile phone adjusts the pace of the treadmill based on the heart rate.
  • the mobile phone can adjust the treadmill pace based on the following process:
  • the user's purpose of running this time can be identified through the user information stored in the mobile phone.
  • Table 3 shows a running purpose and judgment method.
  • Table 3 is only illustrative, and the user’s running purpose can also be judged in other ways, and the running purpose is not limited to the above-mentioned fat loss, restorative training, and cardiorespiratory improvement. There can also be other running purposes.
  • This application implements The example does not make any restrictions on this.
  • the way for the mobile phone to obtain the user's height and weight may be to prompt the user to input his own height and weight.
  • the mobile phone can also establish a connection (for example, Bluetooth/Wi-Fi) with the body fat scale, so that the user's height and weight information can be obtained from the body fat scale.
  • the body fat scale can upload the user's height and weight information to the cloud server.
  • the mobile phone can obtain the user's height and weight information from the cloud server.
  • the mobile phone can determine the running record of the user in the last few days (for example, 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 present application, the mobile phone can determine the user's recovery time through the running record saved in the mobile phone APP.
  • the recovery time can be determined by formula 2:
  • Table 4 shows the corresponding relationship between the average pace, historical running distance, and recovery time of a historical running, where A indicates that the recovery time is 0-18h; B indicates that the recovery time is 19-35h; C indicates The recovery time is 36-53h; D indicates that the recovery time is 54-96h.
  • the mobile phone can query the user's running records in the last 2 days (for example, today and yesterday), and determine the recovery time file through the correspondence shown in Table 4.
  • the way to determine today’s recovery time can be to query all running records of today’s users on a mobile phone, take the average pace and running distance of each running record, and obtain the recovery time corresponding to each running record through the correspondence shown in Table 4.
  • Files. The mobile phone can take the file with the longest recovery time and the file with today's recovery time. For example, there are 3 running records today.
  • the recovery time corresponding to the first running record is gear A; the recovery time corresponding to the second running record is gear B; and the recovery time corresponding to the third running record is gear C. Since the recovery time of C file is the longest, the mobile phone can determine that today’s recovery time is C file.
  • 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 correspondence shown in Table 4.
  • the mobile phone can take the file with the longest recovery time and the file with yesterday's recovery time.
  • the mobile phone can compare yesterday's recovery time file by one file with today's recovery time file, and take the higher file as the final recovery time.
  • the reason why the recovery time dropped by one gear yesterday is that the user's physical exhaustion from running yesterday has been partially recovered today, so the user dropped one gear.
  • the user ran a half marathon yesterday, and the recovery time yesterday was D gear.
  • the user’s physical strength has been partially recovered, and yesterday’s recovery time has been reduced by one level to C level.
  • the mobile phone can determine that the user's recovery time is A file.
  • pace is a concept used in marathon training. It describes the time it takes to run one kilometer in a marathon, and it is usually measured by the user in minutes and seconds. For example, the average pace for the last run was 3’58”, which means that the average time the user ran for each kilometer in the last run was 3’58”.
  • the process of determining the recovery time shown in Table 4 above is also illustrative, and the recovery time may also be determined in other ways.
  • the average pace of the last run can also be used to determine the user's recovery time.
  • the recovery time can also be determined by the time interval between the end moment of the last run yesterday and the start moment of the first run today.
  • the mobile phone determines the intensity required for the user to run this time (intensity can also be the recommended heart rate range)
  • the mobile phone can determine the recommended heart rate range for this user's running through the running purpose determined in (a) and the recovery time determined in (b).
  • Table 5 shows a correspondence relationship between running intention, recovery time, and running intensity.
  • Table 6 shows the corresponding relationship between the running intensity and the recommended heart rate range.
  • the maximum heart rate of the user can be determined by formula (3):
  • the resting heart rate refers to the heart rate of the user in a state of being awake and inactive (quiet).
  • Table 5 and Table 6 can be combined into one table, and the electronic device can directly obtain the target heart rate range of the user for this run through this table, running purpose and recovery time.
  • the mobile phone After the mobile phone determines the user's recommended heart rate range, it can adjust the pace of the treadmill based on the user's heart rate detected in real time by the wearable device. For example, when the heart rate detected by the wearable device is greater than or equal to the maximum heart rate value of the recommended heart rate range, the mobile 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 recommended heart rate range, The mobile phone sends an acceleration command to the treadmill.
  • Table 7 shows a corresponding relationship between heart rate detection and treadmill pace adjustment.
  • the pace value that decreases every minute when adjusting the pace of the treadmill may be obtained by the mobile phone from the server, or may be set by the user, which is not limited in the embodiment of the present application.
  • the lowering of the pace 0'30" per minute shown in Table 7 is only illustrative.
  • the electronic device can determine that the heart rate detected by the wearable device continues to exceed the maximum heart rate value of the recommended heart rate range, every minute Decrease the pace one by one (for example, 0'30" in the first minute, 1'00" in the second minute, 1'30" in the third minute).
  • the mobile phone can also preset the upper limit of the maximum pace adjustment.
  • Table 8 and Table 9 show an upper limit of maximum pace adjustment for men and women.
  • the mobile phone can also automatically generate a user-arranged course before the user uses the treadmill.
  • the mobile phone generates a corresponding running course according to the running intensity (recommended heart rate range) and age required by the user.
  • the mobile phone can also support the user to manually select a running course.
  • the mobile phone After the mobile phone confirms the running course, the mobile phone will send acceleration, deceleration or stop commands to the treadmill based on the user's heart rate detected in real time by the wearable device and the recommended heart rate range.
  • Table 10 and Table 11 show a correspondence relationship between running intensity and age and running course.
  • the courses in Table 10 above can be a course of one exercise or a course of multiple exercises.
  • the course M11 corresponding to the age of 20-29 can be a single exercise, and the mobile phone can display to the user that the course M11 is a running distance of 3km and a pace of 6'00".
  • the first exercise is a running distance of 3km and a pace of 8'00
  • the second exercise is a running distance of 3km and a pace of 7'. 00
  • the third time the running distance is 3km and the pace is 6'00".
  • the mobile phone can send the running distance of 3km and the pace 8'00" to the treadmill.
  • the mobile phone detects that the user opens the sports health app again, the mobile phone can prompt Whether the user continues to exercise according to the last course. If the user chooses to continue exercising according to the last course, the mobile phone can send the running parameters of the second exercise to the treadmill. For example, the mobile phone can send the running distance of 3km and the pace to the treadmill 7'00" running parameters.
  • a stop command can be sent to the treadmill, and the treadmill can be stopped.
  • the method for automatically controlling a treadmill combines user information stored in the mobile phone (for example, gender, age, BMI, training load, etc.) and the user's running purpose (such as fat loss, recovery training, etc.) in a scientific way. Cardiopulmonary lifting) data, to realize the automatic adjustment of the treadmill.
  • This method comprehensively utilizes the multi-sensor data collection and processing capabilities of mobile phones and wearable devices to determine the user's scene, which helps to achieve the speed of the automatic treadmill, improves the training effect of the user's running, and also helps prevent safety Accidents or avoid secondary injuries to users.
  • FIG. 13 shows a schematic block diagram of the connection between a wearable device and a treadmill provided in an embodiment of the present application.
  • the treadmill can establish a wireless connection with the wearable device.
  • the user information for example, user gender, age, BMI or training load, etc.
  • running intensity and the corresponding relationship between age and running course in the above method 600
  • the wearable device can control the target pace and distance of the treadmill based on user information and real-time user data monitored in real time (or, combine the running intensity and the corresponding relationship between the age and the running course to generate a running course for the user).
  • the wearable device can send a deceleration or stop command to the treadmill.
  • the treadmill automatically stops, and the wearable device can record the user's running report.
  • This method uses the multi-sensor data collection and processing capabilities of the wearable device to determine the user's scene, automatically control the speed or braking of the treadmill, and improve the training effect of the user's running. At the same time, it can prevent safety accidents or avoid secondary injuries.
  • the difference from the method 600 is that the participation of the mobile phone in the automatic control scheme of the treadmill is removed, and the system architecture is simpler.
  • the reduction of mobile phone hardware and software can save solution implementation costs. Since a large amount of running record data needs to be stored in a wearable device, in order to avoid an increase in the storage cost of the wearable device, storage of the data in the cloud can be considered.
  • C-SAFE communication specification for fitness equipment
  • the treadmill can be connected to the treadmill through the Bluetooth gateway through the serial port
  • the mobile phone or wearable device can be connected to the treadmill through Bluetooth pairing.
  • C-SAFE is a communication protocol specially developed by FitLinxx for fitness equipment, covering 80% of treadmill equipment.
  • Fig. 14 shows a schematic diagram of a treadmill provided by an embodiment of the present application being converted to a Bluetooth gateway through a serial port.
  • the standard socket registered jack 45, RJ45
  • the recommended standard 232 is the commonly used serial communication interface standard
  • RX stands for receive (receive)
  • TX stands for transport.
  • serial port For old treadmills that support network ports and C-SAFE protocol, you can first plug the serial port to Bluetooth gateway (shown in the dashed box in Figure 14) into the treadmill. After the treadmill is running, first send serial data through the RJ45 interface of the treadmill, and the serial port-to-Bluetooth gateway receives the serial data of the treadmill through the RS232 interface. The serial port data is transferred to the serial port to Bluetooth gateway in the format of C-SAFE protocol.
  • the serial port to Bluetooth gateway inputs the serial port data to the C-SAFE protocol analysis module.
  • the C-SAFE protocol analysis module is mainly used to analyze the serial port data; then the parsed data is packaged through the FTMS protocol package module, FTMS
  • the main function of the protocol package module is to convert the parsed data into FTMS protocol data, and finally send it to the mobile phone through the Bluetooth module.
  • FIG. 15 is a schematic flowchart of a method 1500 for controlling a treadmill according to an embodiment of the present application.
  • the method 1500 is executed by an electronic device, the electronic device and the wearable device are connected through short-range wireless communication, the electronic device and the treadmill are connected through short-range wireless communication, and the user's running purpose and running recovery time are stored in the electronic device And the mapping relationship of the target heart rate range, the method 1500 includes:
  • the electronic device receives the user's heart rate value sent by the wearable device.
  • the real-time data in the running state of the user detected by the wearable device may include data detected by a sensor of the wearable device.
  • a sensor of the wearable device For example, the user's heart rate, the way the feet land on the ground, the rotation angle of the sole and the treadmill, and so on.
  • the electronic device determines the user's running purpose and running recovery time according to the user information stored in the electronic device.
  • S1502 can refer to the process of step (a) and step (b) in the above S608, and for the sake of brevity, it will not be repeated here.
  • the user's running purpose is only determined by using the user information shown in Table 3, and the embodiment of the present application is not limited to this.
  • the electronic device may also determine the user's running purpose based on user information such as the user's gender and age.
  • the user's recovery time is only judged based on the historical running average pace and the historical running distance shown in Table 4, and the embodiment of the present application is not limited to this.
  • the electronic device may also determine the user's recovery time by combining the time interval between the end moment of the last run yesterday and the start moment of the first run today.
  • the electronic device determines a first target heart rate range according to the running purpose, the recovery time, and the mapping relationship.
  • the mapping relationship may be the mapping relationship shown in Table 5 and Table 6.
  • the electronic device After the electronic device determines the running purpose and recovery time based on the user information, the electronic device can determine the target heart rate range of the user for this run through the mapping relationship shown in Table 5 and Table 6.
  • the electronic device controls the treadmill according to the heart rate value and the first target heart rate range.
  • the electronic device can adjust the pace of the treadmill in the manner shown in Table 7.
  • the electronic device can make the treadmill parameters adjusted by the electronic device suitable for the user by combining the user information, avoiding the user's improper adjustment of the treadmill from affecting the running effect and even causing damage to the body, thereby helping to improve the user's use of running Time user experience.
  • the method 1500 further includes:
  • the electronic device receives a first control command sent by the wearable device, where the first control command is used to instruct the treadmill to decelerate or stop; the electronic device sends the first control command to the treadmill.
  • the wearable device may send the first control command to the electronic device.
  • the wearable device when the wearable device detects that the user's heart rate value 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 electronic device forwards the control command to the treadmill. This helps to prevent excessive heart rate from causing damage to the user's body, thereby helping to improve the user experience of the user when using the treadmill.
  • the method 1500 further includes:
  • the electronic device When detecting that the user operates the electronic device, the electronic device sends a second control command to the treadmill, where the second control command is used to instruct the treadmill to decelerate or stop.
  • the electronic device when the electronic device detects that the user is operating the electronic device, the electronic device can determine that the user is not paying attention to running, so as to send a control command to the treadmill. This helps to avoid damage to the user's body when the user is inattentive and the treadmill speed is too fast, thereby helping to improve the user experience of the user when using the treadmill.
  • the method 1500 further includes:
  • the electronic device When the electronic device detects that the electronic device is in a falling state, it sends a third control command to the treadmill, where the third control command is used to instruct the treadmill to decelerate or stop.
  • the electronic device when it is determined to be in a falling state (for example, falling from a storage slot of a treadmill or falling from a user's pocket), it may send a control command to the treadmill. This helps to avoid damage to the user's body, thereby helping to improve the user's user experience when using the treadmill.
  • a falling state for example, falling from a storage slot of a treadmill or falling from a user's pocket
  • the account logged in on the electronic device is associated with the account logged in on the wearable device.
  • 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 logged in on the electronic device and the account logged in on the wearable device are in the same family group Or, the account logged in on the wearable device may be an account authorized by the account logged in on the electronic device.
  • An embodiment of the present application also provides an electronic device.
  • the electronic device may include the processor 110 and the wireless communication module 160 as shown in FIG. 1.
  • the wireless communication module 160 can be used to receive the user's heart rate value sent by the wearable device in S1501 and the step of sending control commands to the treadmill in S1504; the processor 110 can be used to execute the steps in S1502 and S1503.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Cardiology (AREA)
  • Vascular Medicine (AREA)
  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

La présente invention concerne un procédé de commande d'un tapis roulant, un dispositif électronique et un système. Le procédé peut être utilisé dans un terminal d'intelligence artificielle (IA). Le procédé comprend les étapes suivantes : un dispositif électronique reçoit une valeur de fréquence cardiaque d'un utilisateur envoyée par un dispositif portatif ; le dispositif électronique détermine le but de la course et le temps de récupération de l'utilisateur après la course en fonction des informations de l'utilisateur stockées sur le dispositif électronique ; le dispositif électronique détermine une première plage de fréquence cardiaque cible en fonction de l'objectif de la course, du temps de récupération et d'une relation de mise en correspondance ; et le dispositif électronique régule le rythme d'un tapis roulant en fonction de la valeur de fréquence cardiaque et de la première plage de fréquence cardiaque cible. Les modes de réalisation de la présente invention contribuent à améliorer le degré d'intelligence du dispositif électronique (par exemple, un dispositif terminal intelligent, tel qu'un téléphone portable), et peut améliorer l'expérience de l'utilisateur lorsqu'un utilisateur utilise le tapis roulant.
PCT/CN2021/098632 2020-06-19 2021-06-07 Procédé de commande de tapis roulant, dispositif électronique et système WO2021254198A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010566396.1A CN113813568B (zh) 2020-06-19 2020-06-19 一种控制跑步机的方法、电子设备和系统
CN202010566396.1 2020-06-19

Publications (1)

Publication Number Publication Date
WO2021254198A1 true WO2021254198A1 (fr) 2021-12-23

Family

ID=78911616

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/098632 WO2021254198A1 (fr) 2020-06-19 2021-06-07 Procédé de commande de tapis roulant, dispositif électronique et système

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117766098A (zh) * 2024-02-21 2024-03-26 江苏森讯达智能科技有限公司 一种基于虚拟现实技术的健身优化训练方法及系统

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117122885A (zh) * 2023-03-13 2023-11-28 荣耀终端有限公司 一种配速确定方法和电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994017861A1 (fr) * 1993-02-04 1994-08-18 Abbondanza James M Appareil d'exercice commande par le pouls
TW201004673A (en) * 2008-07-29 2010-02-01 Nat Univ Chung Hsing Method of controlling speed for a treadmill by feed back of heart beats
CN201840824U (zh) * 2010-09-28 2011-05-25 深圳市倍泰健康测量分析技术有限公司 一种电动跑步机系统
DE10324904B4 (de) * 2003-05-30 2013-03-07 Siemens Aktiengesellschaft Vorrichtung zur Trainingseinstellung im Sport, insbesondere im Laufsport
CN106474667A (zh) * 2016-10-19 2017-03-08 杭州联络互动信息科技股份有限公司 一种调节跑步机速度的方法和装置、及智能设备和跑步机
CN108744429A (zh) * 2018-06-12 2018-11-06 深圳市悦动天下科技有限公司 一种智能跑步机、跑步机的控制方法和心率测算方法
US20190008394A1 (en) * 2017-06-02 2019-01-10 Apple Inc. Wearable computer with fitness machine connectivity for improved activity monitoring using caloric expenditure models

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5934975B2 (ja) * 2011-10-28 2016-06-15 株式会社ユピテル システム、電子機器及びプログラム
CN105561565B (zh) * 2015-12-16 2019-04-30 惠州Tcl移动通信有限公司 动态设定健身休息时间的方法、系统及智能穿戴设备
CN110152272A (zh) * 2018-03-07 2019-08-23 蔡璟 一种跑步机的控制方法、跑步机以及智能终端
CN110025928A (zh) * 2019-05-21 2019-07-19 上海懒猫智能科技有限公司 一种身体心率数据检测及智能运动跑步机及其控制方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994017861A1 (fr) * 1993-02-04 1994-08-18 Abbondanza James M Appareil d'exercice commande par le pouls
DE10324904B4 (de) * 2003-05-30 2013-03-07 Siemens Aktiengesellschaft Vorrichtung zur Trainingseinstellung im Sport, insbesondere im Laufsport
TW201004673A (en) * 2008-07-29 2010-02-01 Nat Univ Chung Hsing Method of controlling speed for a treadmill by feed back of heart beats
CN201840824U (zh) * 2010-09-28 2011-05-25 深圳市倍泰健康测量分析技术有限公司 一种电动跑步机系统
CN106474667A (zh) * 2016-10-19 2017-03-08 杭州联络互动信息科技股份有限公司 一种调节跑步机速度的方法和装置、及智能设备和跑步机
US20190008394A1 (en) * 2017-06-02 2019-01-10 Apple Inc. Wearable computer with fitness machine connectivity for improved activity monitoring using caloric expenditure models
CN108744429A (zh) * 2018-06-12 2018-11-06 深圳市悦动天下科技有限公司 一种智能跑步机、跑步机的控制方法和心率测算方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117766098A (zh) * 2024-02-21 2024-03-26 江苏森讯达智能科技有限公司 一种基于虚拟现实技术的健身优化训练方法及系统

Also Published As

Publication number Publication date
CN113813568B (zh) 2022-07-12
CN113813568A (zh) 2021-12-21

Similar Documents

Publication Publication Date Title
WO2020249062A1 (fr) Procédé de communication vocale et dispositif associé
WO2021047435A1 (fr) Dispositif électronique et procédé de commande de capteur
WO2021169515A1 (fr) Procédé d'échange de données entre dispositifs, et dispositif associé
WO2021254198A1 (fr) Procédé de commande de tapis roulant, dispositif électronique et système
WO2021139767A1 (fr) Procédé de commande d'activation d'écran et dispositif électronique
WO2021063311A1 (fr) Procédé de commande d'affichage pour dispositif électronique ayant un écran pliable et dispositif électronique
WO2021104104A1 (fr) Procédé de traitement d'affichage écoénergétique, et appareil
CN110266930A (zh) 图像拍摄的补光方法、移动终端及灯光调节方法
CN111132234A (zh) 一种数据传输方法及对应的终端
US11928947B2 (en) Fall detection-based help-seeking method and electronic device
CN110448779B (zh) 一种调整生物节律的方法及装置
WO2021016931A1 (fr) Puce intégrée et procédé de traitement de données de capteur
CN112259191A (zh) 辅助健身的方法和电子装置
CN111544852B (zh) 健身姿势矫正的方法及相关装置
CN114610193A (zh) 内容共享方法、电子设备及存储介质
EP4350503A1 (fr) Procédé de réglage de volume, et dispositif électronique et système
US20240171826A1 (en) Volume adjustment method and system, and electronic device
WO2022151887A1 (fr) Procédé de surveillance du sommeil et appareil associé
EP4070719A1 (fr) Dispositif électronique, son procédé de commande pour effectuer une détection par ppg, et support
CN115714890A (zh) 供电电路和电子设备
EP4374936A1 (fr) Procédé de guidage d'exercice et appareil associé
WO2022135144A1 (fr) Procédé d'affichage auto-adaptatif, dispositif électronique et support de stockage
WO2021204036A1 (fr) Procédé de surveillance du risque de sommeil, dispositif électronique et support de stockage
EP4224485A1 (fr) Procédé d?évaluation d?action adaptative, dispositif électronique et support de stockage
CN114698078A (zh) 发射功率调整方法、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21825799

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21825799

Country of ref document: EP

Kind code of ref document: A1