WO2021254198A1 - Treadmill control method, electronic device, and system - Google Patents

Treadmill control method, electronic device, and system 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
French (fr)
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/en

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

The present application provides a treadmill control method, an electronic device, and a system. The method can be used in an artificial intelligence (AI) terminal. The method comprises: an electronic device receives a user's heart rate value sent from a wearable device; the electronic device determines the running purpose and running recovery time of the user according to user information stored on the electronic device; the electronic device determines a first target heart rate range according to the running purpose, recovery time, and a mapping relationship; and the electronic device adjusts the pace of a treadmill according to the heart rate value and the first target heart rate range. Embodiments of the present application facilitate improvement of the degree of intelligence of the electronic device (for example, a smart terminal device, such as a mobile phone), and can improve experience of the user when using the treadmill.

Description

一种控制跑步机的方法、电子设备和系统Method, electronic equipment and system for controlling treadmill
本申请要求于2020年06月19日提交中国专利局、申请号为202010566396.1、申请名称为“一种控制跑步机的方法、电子设备和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on June 19, 2020, the application number is 202010566396. 1, and the application title is "a method, electronic equipment and system for controlling treadmills", the entire content of which is incorporated by reference Incorporated in this application.
技术领域Technical field
本申请涉及终端领域,并且更具体地,涉及一种控制跑步机的方法、电子设备和系统。This application relates to the field of terminals, and more specifically, to a method, electronic device, and system for controlling a treadmill.
背景技术Background technique
全民运动健康已成为顶层国家战略,健康产业繁荣发展伴随着健身器械的不断普及和推广,跑步机的使用已经越来越多,怎样利用跑步机更加科学合理的锻炼一直受到人们的关注。National sports health has become a top-level national strategy. The prosperity of the health industry is accompanied by the continuous popularization and promotion of fitness equipment. The use of treadmills has increased. How to use treadmills for more scientific and reasonable exercise has always attracted people's attention.
目前用户在使用跑步机锻炼时,是通过跑步机机身上的按键来控制跑步机。如通过速度控制按键来实现速度的调节,通过开始和结束按键来控制跑步的距离或时间。但是如果用户缺乏跑步专业知识,跑步机调节的不适合自身身体状况,会影响跑步效果,甚至对身体造成损伤。At present, when users exercise on a treadmill, they control the treadmill through the buttons on the body of the treadmill. For example, the speed control button is used to adjust the speed, and the start and end buttons are used to control the distance or time of running. However, if the user lacks professional knowledge 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.
发明内容Summary of the invention
本申请提供一种控制跑步机的方法、电子设备和系统,该方法可以用于人工智能(artificial intelligence,AI)终端,有助于提高电子设备(如智能终端设备,如手机)的智能化程度,同时可以提升用户在使用跑步机时的用户体验。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.
第一方面,提供了一种系统,该系统包括电子设备和可穿戴设备,该电子设备和该可穿戴设备通过近距离无线通信连接,该电子设备和跑步机通过近距离无线通信连接,该电子设备中保存有用户的跑步目的、跑步的恢复时间以及目标心率范围的映射关系,其中,该可穿戴设备,用于向该电子设备发送用户的心率值;该电子设备,用于根据该电子设备中保存的用户信息,确定用户的跑步目的和跑步的恢复时间;该电子设备,还用于根据该跑步目的、该恢复时间和该映射关系,确定第一目标心率范围;该电子设备,还用于根据该心率值和该第一目标心率范围,控制该跑步机。In a first aspect, a system is provided. The system 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.
本申请实施例中,电子设备可以结合电子设备中保存的用户信息以及映射关系,来确定用户本次跑步的目标心率范围。电子设备通过可穿戴设备实时检测到的用户的心率值与目标心率范围进行比较,从而对跑步机实现控制。这样无需用户来调节跑步机参数,有助于提升电子设备的智能化程度。In the embodiment of the present application, 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.
同时,电子设备通过结合用户信息,可以使得电子设备调节的跑步机参数适合用户本身,避免了用户因跑步机调节不当而影响跑步效果,甚至对身体造成损伤,从而有助于提升用户在使用跑步机时的用户体验。At the same time, 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.
在一些可能的实现方式中,电子设备控制跑步机,可以为电子设备控制跑步机的配速。In some possible implementations, the electronic device controls the treadmill, and the electronic device can control the pace of the treadmill.
结合第一方面,在第一方面的某些实现方式中,该可穿戴设备,还用于在检测到该心率值大于或者等于预设心率值的时长大于或者等于第一预设时长时,向该电子设备发送第一控制命令,该第一控制命令用于指示该跑步机减速或者停止;该电子设备,还用于向该跑步机发送该第一控制命令。With reference to the first aspect, in some implementations of the first aspect, 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.
本申请实施例中,当可穿戴设备检测到用户的心率值持续大于等于预设心率值时,可穿戴设备可以向电子设备发送控制命令,并由电子设备转发给跑步机。这样有助于避免心率值过高对用户身体造成损伤,从而有助于提升用户在使用跑步机时的用户体验。In the embodiment of the present application, 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.
结合第一方面,在第一方面的某些实现方式中,该可穿戴设备,还用于在检测到用户的身体发生倾斜或者失衡时,向该电子设备发送第二控制命令,该第二控制命令用于指示该跑步机减速或者停止;该电子设备,还用于向该跑步机发送该第二控制命令。With reference to the first aspect, in some implementations of the first aspect, 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.
本申请实施例中,当可穿戴设备检测到用户身体发生倾斜或者失衡时,可穿戴设备可以向电子设备发送控制命令,并由电子设备转发给跑步机。这样有助于避免在用户身体发生倾斜或者失衡且跑步机速度过快时,对用户身体造成损伤,从而有助于提升用户在使用跑步机时的用户体验。In the embodiment of the present application, 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.
结合第一方面,在第一方面的某些实现方式中,该电子设备,还用于在检测到用户操作该电子设备时,向该跑步机发送第三控制命令,该第三控制命令用于指示该跑步机减速或者停止。With reference to the first aspect, in some implementations of the first aspect, 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.
本申请实施例中,当电子设备检测到用户在操作电子设备时,电子设备可以确定用户没有集中注意力跑步,从而向跑步机发送控制命令。这样有助于避免用户注意力不集中且跑步机速度过快时,对用户身体造成的损伤,从而有助于提升用户在使用跑步机时的用户体验。In the embodiment of the present application, 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.
结合第一方面,在第一方面的某些实现方式中,该电子设备,还用于检测到处于跌落状态时,向该跑步机发送第四控制命令,该第四控制命令用于指示该跑步机减速或者停止。With reference to the first aspect, in some implementations of the first aspect, 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.
本申请实施例中,当电子设备确定处于跌落状态(例如,从跑步机的储物槽中跌落或者从用户的口袋中跌落)时,可以向跑步机发送控制命令。这样有助于避免对用户身体造成损伤,从而有助于提升用户在使用跑步机时的用户体验。In the embodiment of the present application, when the electronic device 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.
结合第一方面,在第一方面的某些实现方式中,该电子设备具体用于:在检测到该心率值大于或者等于该第一目标心率范围的最大值的时长大于或者等于第二预设时长时,向该跑步机发送第五控制命令,该第五控制命令用于指示该跑步机调低配速;或者,在检测到该心率值小于或者等于该第一目标心率范围的最小值的时长大于或者等于第三预设时长时,向该跑步机发送第六控制命令,该第六控制命令用于指示该跑步机调高配速。With reference to the first aspect, in some implementations of the first aspect, 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.
本申请实施例中,电子设备通过可穿戴设备检测到的实时心率值和第一目标心率范围,向跑步机发送控制命令。这样有助于提升电子设备的智能化程度,提升用户跑步的训练效果,同时可以预防安全事故或者可以避免对用户造成二次损伤。In the embodiment of the present application, 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.
在一些可能的实现方式中,调低配速也可以理解为调低跑步机的速度;或者,也可以理解为调高用户每跑一公里的时长。In some possible implementations, 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.
在一些可能的实现方式中,调低配速也可以理解为调高跑步机的速度;或者,也可以理解为调低用户每跑一公里的时长。In some possible implementations, 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.
结合第一方面,在第一方面的某些实现方式中,该电子设备具体用于:根据用户的身体质量指数BMI和/或用户的历史跑步记录中平均配速和跑步距离,确定该跑步目的;根 据该历史跑步记录中的平均配速和跑步距离,确定该恢复时长。With reference to the first aspect, in some implementations of the first aspect, 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.
本申请实施例中,电子设备可以保存平均配速、跑步距离以及恢复时长的映射关系,那么电子设备可以结合每一条跑步机的平均配速和跑步距离来确定每一条跑步记录对应的恢复时长。In the embodiment of the present application, 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.
在一些可能的实现方式中,当用户的BMI大于或者等于第一预设值时,电子设备可以确定用户的跑步目的为高效减脂。In some possible implementation manners, when the user's BMI is greater than or equal to the first preset value, the electronic device may determine that the user's running purpose is to efficiently reduce fat.
在一些可能的实现方式中,当用户最近一段时间(例如,一周)内无跑步记录或者用户的恢复时长大于等于第一预设值时,可以确定用户的跑步目的为恢复性训练。In some possible implementations, when the user has no running record in a recent period of time (for example, a week) or the user's recovery time is greater than or equal to the first preset value, it may be determined that the user's running purpose is recovery training.
结合第一方面,在第一方面的某些实现方式中,该电子设备上登录的账号和该可穿戴设备上登录的账号相关联。With reference to the first aspect, in some implementations of the first aspect, the account logged in on the electronic device is associated with the account logged in on the wearable device.
在一些可能的实现方式中,该电子设备上登录的账号和该可穿戴设备上登录的账号可以是相同的账号;或者,该电子设备上登录的账号和该可穿戴设备上登录的账号为同一家庭群组中的账号;或者,该可穿戴设备上登录的账号可以是该电子设备上登录的账号授权过的账号。In some possible implementations, the account logged in on the electronic device and the account logged in on the wearable device may be the same account; or, the account 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.
第二方面,提供了一种控制跑步机的方法,该方法应用于电子设备中,该电子设备和可穿戴设备通过近距离无线通信连接,该电子设备和跑步机通过近距离无线通信连接,该电子设备中保存有用户的跑步目的、跑步的恢复时间以及目标心率范围的映射关系,该方法包括:该电子设备接收该可穿戴设备发送的用户的心率值;该电子设备根据该电子设备中保存的用户信息,确定用户的跑步目的和跑步的恢复时间;该电子设备根据该跑步目的、该恢复时间和该映射关系,确定第一目标心率范围;该电子设备根据该心率值和该第一目标心率范围,控制该跑步机。In a second aspect, 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.
本申请实施例中,电子设备通过可穿戴设备实时检测到的用户的心率值与目标心率范围进行比较,从而对跑步机实现控制。这样无需用户来调节跑步机参数,有助于提升电子设备的智能化程度。同时,电子设备通过结合用户信息,可以使得电子设备调节的跑步机参数适合用户本身,避免了用户因跑步机调节不当而影响跑步效果,甚至对身体造成损伤,从而有助于提升用户在使用跑步机时的用户体验。In the embodiment of the present application, 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. At the same time, 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.
在一些可能的实现方式中,电子设备控制跑步机,可以为电子设备控制跑步机的配速。In some possible implementations, the electronic device controls the treadmill, and the electronic device can control the pace of the treadmill.
结合第二方面,在第二方面的某些实现方式中,该方法还包括:该电子设备接收该可穿戴设备发送的第一控制命令,该第一控制命令用于指示该跑步机减速或者停止;该电子设备向该跑步机发送该第一控制命令。With reference to the second aspect, in some implementations of the second aspect, 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.
结合第二方面,在第二方面的某些实现方式中,该方法还包括:该电子设备在检测到用户操作该电子设备时,向该跑步机发送第二控制命令,该第二控制命令用于指示该跑步机减速或者停止。With reference to the second aspect, in some implementations of the second aspect, 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.
结合第二方面,在第二方面的某些实现方式中,该方法还包括:该电子设备在检测到该电子设备处于跌落状态时,向该跑步机发送第三控制命令,该第三控制命令用于指示该跑步机减速或者停止。With reference to the second aspect, in some implementations of the second aspect, 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.
结合第二方面,在第二方面的某些实现方式中,该电子设备根据该心率值和该第一目标心率范围,调节该跑步机的配速,包括:该电子设备在检测到该心率值大于或者等于该第一目标心率范围的最大值的时长大于或者等于第一预设时长时,向该跑步机发送第五控制命令,该第五控制命令用于指示该跑步机调低配速;或者,该电子设备在检测到该心率 值小于或者等于该第一目标心率范围的最小值的时长大于或者等于第二预设时长时,向该跑步机发送第六控制命令,该第六控制命令用于指示该跑步机调高配速。With reference to the second aspect, in some implementations of the second aspect, 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.
结合第二方面,在第二方面的某些实现方式中,该电子设备根据该电子设备中保存的用户信息,确定用户的跑步目的和跑步的恢复时间,包括:根据用户的身体质量指数BMI和/或用户的历史跑步记录中的平均配速和跑步距离,确定该跑步目的;根据该历史跑步记录中的平均配速和跑步距离,确定该恢复时长。With reference to the second aspect, in some implementations of the second aspect, 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.
结合第二方面,在第二方面的某些实现方式中,该电子设备上登录的账号和该可穿戴设备上登录的账号相关联。With reference to the second aspect, in some implementations of the second aspect, the account logged in on the electronic device is associated with the account logged in on the wearable device.
第三方面,提供了一种装置,该装置包含在电子设备中,该装置具有实现上述第二方面可能实现方式中电子设备行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。In a third aspect, a device 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.
第四方面,提供了一种电子设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序。其中,一个或多个计算机程序被存储在存储器中,一个或多个计算机程序包括指令。当指令被电子设备执行时,使得电子设备执行上述第二方面中任一项可能的实现中的控制跑步机的方法。In a fourth aspect, an electronic device is provided, including: one or more processors; a memory; and one or more computer programs. Among them, one or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instruction is executed by the electronic device, 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.
第五方面,本技术方案提供了一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述第二方面任一项可能的实现中的控制跑步机的方法。In a fifth aspect, 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 .
第六方面,本技术方案提供了一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行上述第二方面任一项可能的设计中的控制跑步机的方法。In a sixth aspect, 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.
第七方面,本技术方案提供了一种芯片系统,该芯片系统包括至少一个处理器,当程序指令在该至少一个处理器中执行时,使得上述第二方面任一项可能的方法在电子设备上的功能得以实现。In a seventh aspect, 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.
附图说明Description of the drawings
图1是本申请实施例提供的电子设备的结构示意图。FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
图2是本申请实施例提供的一种应用场景的示意图。Fig. 2 is a schematic diagram of an application scenario provided by an embodiment of the present application.
图3是本申请实施例提供的手机的一组图形用户界面。Figure 3 is a set of graphical user interfaces of a mobile phone provided by an embodiment of the present application.
图4是本申请实施例提供的手机的另一组图形用户界面。Figure 4 is another set of graphical user interfaces of a mobile phone provided by an embodiment of the present application.
图5是本申请实施例提供的手机的另一组图形用户界面。Fig. 5 is another set of graphical user interfaces of a mobile phone provided by an embodiment of the present application.
图6是本申请实施例提供的控制跑步机的方法的示意性流程图。Fig. 6 is a schematic flowchart of a method for controlling a treadmill provided by an embodiment of the present application.
图7是手机中的传感器检测手机失重的示意图。Fig. 7 is a schematic diagram of the sensor in the mobile phone detecting the weightlessness of the mobile phone.
图8是PPG传感器的结构示意图。Figure 8 is a schematic diagram of the structure of the PPG sensor.
图9是可穿戴设备检测用户双脚和跑步机平面倾斜度的示意图。Fig. 9 is a schematic diagram of the wearable device detecting the inclination of the user's feet and the plane of the treadmill.
图10是可穿戴设备检测用户身体发生倾斜、失衡和摔跤的示意图。Figure 10 is a schematic diagram of a wearable device detecting a user's body tilt, imbalance, and wrestling.
图11是本申请实施例提供的可穿戴设备发送的发送帧的结构示意图。FIG. 11 is a schematic structural diagram of a transmission frame sent by a wearable device according to an embodiment of the present application.
图12是本申请实施例提供的可穿戴设备接收的接收帧的结构示意图。FIG. 12 is a schematic structural diagram of a received frame received by a wearable device according to an embodiment of the present application.
图13是本申请实施例提供的可穿戴设备和跑步机连接的示意性框图。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.
图14是本申请实施例提供的跑步机通过串口转蓝牙网关的示意图。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.
图15是本申请实施例提供的控制跑步机的方法的示意性流程图。FIG. 15 is a schematic flowchart of a method for controlling a treadmill provided by an embodiment of the present application.
具体实施方式detailed description
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请以下各实施例中,“至少一个”、“一个或多个”是指一个、两个或两个以上。术语“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to limit the application. As used in the specification and appended claims of this application, the singular expressions "a", "an", "said", "above", "the" and "this" are intended to also This includes expressions such as "one or more" unless the context clearly indicates to the contrary. It should also be understood that in the following embodiments of the present application, "at least one" and "one or more" refer to one, two, or more than two. The term "and/or" is used to describe the association relationship of associated objects, indicating that there can be three types of relationships; for example, A and/or B can mean: A alone exists, A and B exist at the same time, and B exists alone. Among them, A and B can be singular or plural. The character "/" generally indicates that the associated objects before and after are in an "or" relationship.
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。The reference to "one embodiment" or "some embodiments" described in this specification means that one or more embodiments of the present application include a specific feature, structure, or characteristic described in conjunction with the embodiment. Therefore, the sentences "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized. The terms "including", "including", "having" and their variations all mean "including but not limited to" unless otherwise specifically emphasized.
以下介绍电子设备、用于这样的电子设备的用户界面、和用于使用这样的电子设备的实施例。在一些实施例中,电子设备可以是还包含其它功能诸如个人数字助理和/或音乐播放器功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载
Figure PCTCN2021098632-appb-000001
Figure PCTCN2021098632-appb-000002
或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如膝上型计算机(Laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是台式计算机。
The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, 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. Exemplary embodiments of portable electronic devices include, but are not limited to, carrying
Figure PCTCN2021098632-appb-000001
Figure PCTCN2021098632-appb-000002
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.
示例性的,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110、外部存储器接口120、内部存储器121、通用串行总线(universal serial bus,USB)接口130、充电管理模块140、电源管理模块141、电池142、天线1、天线2、移动通信模块150、无线通信模块160、音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、传感器模块180、指南针190、马达191、指示器192、摄像头193、显示屏194以及用户标识模块(subscriber identification module,SIM)卡接口195等。Exemplarily, 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.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, 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.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的部件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备101也可以包括一个或多个处理器110。其中,控制器可以根据指令操作码和时序信号,产生操作控制信号,完成 取指令和执行指令的控制。在其他一些实施例中,处理器110中还可以设置存储器,用于存储指令和数据。示例性地,处理器110中的存储器可以为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。这样就避免了重复存取,减少了处理器110的等待时间,因而提高了电子设备101处理数据或执行指令的效率。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics 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. Among them, different processing units may be independent components, or may be integrated in one or more processors. In some embodiments, the electronic device 101 may also include one or more processors 110. Among them, 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. In some other embodiments, a memory may be provided in the processor 110 to store instructions and data. Exemplarily, 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.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路间(inter-integrated circuit,I2C)接口、集成电路间音频(inter-integrated circuit sound,I2S)接口、脉冲编码调制(pulse code modulation,PCM)接口、通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口、移动产业处理器接口(mobile industry processor interface,MIPI)、用输入输出(general-purpose input/output,GPIO)接口、SIM卡接口和/或USB接口等。其中,USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口、Micro USB接口、USB Type C接口等。USB接口130可以用于连接充电器为电子设备101充电,也可以用于电子设备101与外围设备之间传输数据。该USB接口130也可以用于连接耳机,通过耳机播放音频。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, 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. Among them, 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.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that 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. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, 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.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110、内部存储器121、外部存储器、显示屏194、摄像头193和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量、电池循环次数、电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。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). In some other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1、天线2、移动通信模块150、无线通信模块160、调制解调处理器以及基带处理器等实现。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.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。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. For example, antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同 一个器件中。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. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, 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.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络)、蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS)、调频(frequency modulation,FM)、近距离无线通信技术(near field communication,NFC)、红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。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.
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。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.
显示屏194用于显示图像、视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)、有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED)、柔性发光二极管(flex light-emitting diode,FLED)、迷你发光二极管(mini light-emitting diode,miniled)、MicroLed、Micro-oLed、量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或多个显示屏194。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). AMOLED), flexible light-emitting diode (FLED), mini light-emitting diode (miniled), MicroLed, Micro-oLed, quantum dot light emitting diode, QLED) etc. In some embodiments, the electronic device 100 may include one or more display screens 194.
在本申请的一些实施例中,当显示面板采用OLED、AMOLED、FLED等材料时,上述图1中的显示屏194可以被弯折。这里,上述显示屏194可以被弯折是指显示屏可以在任意部位被弯折到任意角度,并可以在该角度保持,例如,显示屏194可以从中部左右对折。也可以从中部上下对折。In some embodiments of the present application, when the display panel uses materials such as OLED, AMOLED, FLED, etc., the display screen 194 in FIG. 1 may be bent. Here, 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. For example, the display screen 194 can be folded in half from the center. You can also fold up and down from the middle.
电子设备100的显示屏194可以是一种柔性屏,目前,柔性屏以其独特的特性和巨大的潜力而备受关注。柔性屏相对于传统屏幕而言,具有柔韧性强和可弯曲的特点,可以给用户提供基于可弯折特性的新交互方式,可以满足用户对于电子设备的更多需求。对于配置有可折叠显示屏的电子设备而言,电子设备上的可折叠显示屏可以随时在折叠形态下的小屏和展开形态下大屏之间切换。因此,用户在配置有可折叠显示屏的电子设备上使用分屏功能,也越来越频繁。The display screen 194 of the electronic device 100 may be a flexible screen. At present, the flexible screen has attracted much attention due to its unique characteristics and great potential. Compared with traditional screens, 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. For an electronic device equipped with a foldable display screen, 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.
电子设备100可以通过ISP、摄像头193、视频编解码器、GPU、显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点、亮度、肤色进行算法优化。ISP还可以对拍摄场景的曝光、色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。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. In some embodiments, the ISP may be provided in the camera 193.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转 换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或多个摄像头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. 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. In some embodiments, the electronic device 100 may include one or more cameras 193.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。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.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1、MPEG2、MPEG3、MPEG4等。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.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别、人脸识别、语音识别、文本理解等。NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, for example, the transfer mode between human brain neurons, it can quickly process input information, and it can also continuously self-learn. Through the NPU, 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.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。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.
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备101执行本申请一些实施例中所提供的控制跑步机的方法,以及各种应用以及数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用(比如图库、联系人等)等。存储数据区可存储电子设备101使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储部件,闪存部件,通用闪存存储器(universal flash storage,UFS)等。在一些实施例中,处理器110可以通过运行存储在内部存储器121的指令,和/或存储在设置于处理器110中的存储器的指令,来使得电子设备101执行本申请实施例中所提供的控制跑步机的方法,以及其他应用及数据处理。电子设备100可以通过音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、以及应用处理器等实现音频功能。例如音乐播放、录音等。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. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage components, flash memory components, universal flash storage (UFS), and the like. In some embodiments, the processor 110 may execute the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor 110 to cause the electronic device 101 to execute the instructions provided in the embodiments of the present application. The method of controlling the treadmill, as well as other applications and data processing. The electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
传感器模块180可以包括压力传感器180A、陀螺仪传感器180B、气压传感器180C、磁传感器180D、加速度传感器180E、距离传感器180F、重力传感器180G、指纹传感器180H、温度传感器180J、触摸传感器180K、环境光传感器180L、骨传导传感器180M等。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.
其中,压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。Among them, the pressure sensor 180A is used to sense a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be provided on the display screen 194.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即X、Y和Z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。The gyro sensor 180B may be used to determine the movement posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, X, Y, and Z axes) can be determined by the gyroscope sensor 180B. The gyro sensor 180B can be used for image stabilization.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。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.
重力传感器180G用于感知加速度的变化。例如当电子设备跌落时,重力传感器180G和加速度传感器180E可以将检测到的加速度的变化数据发送给处理器110。处理器110通过加速度的变化数据可以确定电子设备处于跌落状态。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.
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。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.
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。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.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。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.
图2是本申请实施例提供的一种应用场景的示意图,如图2所示,跑步机可以和手机建立无线连接,手机可以和可穿戴设备建立无线连接。手机可以结合手机中保存的用户信息、手机中的传感器数据(例如,重力传感器等)、可穿戴设备中传感器的数据(例如,加速度传感器、陀螺仪传感器、光电容积描记(photo plethysmo graph,PPG)传感器等)以及跑步机发送给手机的实时数据(例如,跑步时间、跑步距离、速度等),向跑步机发送加速、减速、停止、紧急制动等控制指令。从而实现手机对跑步机的自动控制。Figure 2 is a schematic diagram of an application scenario provided by an embodiment of the present application. As shown in Figure 2, a treadmill can establish a wireless connection with a mobile phone, and 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.
图3示出了手机的一组图形用户界面(graphical user interface,GUI)。Figure 3 shows a set of graphical user interfaces (GUI) of the mobile phone.
参见图3中的(a)所示的GUI,该GUI为手机的桌面。其中手机的桌面包括支付宝、任务卡商店、微博、相册、微信、卡包、设置和运动健康等多个应用程序。当手机检测到用户在靠近桌面上方的位置向下滑动的操作时,显示如图3中的(b)所示的GUI。Refer to the GUI shown in (a) in Figure 3, which is the desktop of the mobile phone. Among them, 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. When the mobile phone detects the user's sliding down operation near the top of the desktop, the GUI shown in (b) of FIG. 3 is displayed.
参见图3中的(b)所示的GUI,该GUI为手机的下拉菜单的显示界面。该显示界面包括功能菜单栏301和未读短信通知卡片。其中功能菜单栏301中包括飞行模式、Wi-Fi、蓝牙、截屏、无线投屏和NFC等等功能。当手机检测到用户点击蓝牙控件302和NFC控件303的操作时,手机可以开启蓝牙和NFC功能。Refer to the GUI shown in (b) in Figure 3, which is the display interface of the pull-down menu of the mobile phone. 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. When the mobile phone detects that the user clicks on the Bluetooth control 302 and the NFC control 303, the mobile phone can turn on the Bluetooth and NFC functions.
当用户开启了手机上的蓝牙和NFC功能后,用户可以将手机靠近跑步机上的NFC感应区,手机将自动连接跑步机,并显示如图3中的(c)所示的GUI。When the user turns on the Bluetooth and NFC functions on the mobile phone, 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).
参见图3中的(c)所示的GUI,该GUI为手机与跑步机连接后的显示界面。手机可以通过该显示界面提醒用户“手机放在跑步机储物槽上,点击跑步机启动按钮开始运动”。Refer to the GUI shown in (c) in Figure 3, which is a display interface after the mobile phone is connected to the treadmill. The mobile phone can remind the user through this display interface that "put the mobile phone on the treadmill storage slot and click the treadmill start button to start exercise".
当跑步机检测到用户启动跑步机后,跑步机可以向手机发送指示信息,该指示信息用于指示跑步机已经启动。同时,手机可以自动开启运动健康App,同时跑步机可以向手机同步跑步机的数据。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. At the same time, the mobile phone can automatically open the sports health app, and the treadmill can synchronize the data of the treadmill with the mobile phone.
一个实施例中,手机也可以通过运动健康App来控制跑步机启动/暂停,或者,手机还可以通经过运动健康App来控制提速或者降速。In one embodiment, 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.
参见图3中的(d)所示的GUI,该GUI为运动健康App的跑步参数显示界面。该显示界面上包括跑步参数以及跑步机控制。其中,跑步参数包括用户的跑步距离(例如,0.02公里)、运动时间(例如,2分51秒)、用户消耗的热量(例如,16千卡)、用户的步数(例如,324步)、用户的步频(例如,120步/分钟)、跑步机速度(例如,6.0公里/小时)以及用户的心率(例如,159次/分钟)。Refer to the GUI shown in (d) in FIG. 3, which is the running parameter display interface of the sports health App. The display interface includes running parameters and treadmill control. Among them, 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).
应理解,本申请实施例中,手机还可以和用户的可穿戴设备建立无线连接(例如,蓝牙连接),那么跑步参数中的心率可以是可穿戴设备检测到的用户的实时心率值。It should be understood that, in this embodiment of the application, 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.
当手机检测到用户切换到跑步机控制界面的操作后,手机可以显示如图3中的(e)所示的GUI。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.
参见图3中的(e)所示的GUI,该GUI为运动健康App的跑步机控制显示界面。该跑步机控制显示界面上可以包括多个功能控件,多个功能控件包括提速、启动/暂停以及降速控件。Refer to the GUI shown in (e) in Figure 3, which is a treadmill control display interface of the Sports Health App. The treadmill control display interface may include multiple functional controls, and the multiple functional controls include speed-up, start/pause, and speed-down controls.
例如,当手机检测到用户点击启动/暂停控件时,手机可以向跑步机发送控制命令,该控制命令用于指示跑步机停止运行。For example, 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.
又例如,当手机检测到用户点击提速控件时,手机可以向跑步机发送控制命令,该控制命令用于指示跑步机提速。For another example, when the mobile phone detects that the user clicks on the speed increase control, 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.
跑步机控制显示界面上还包括跑步目的以及选择课程等功能。示例性的,当手机检测到用户点击跑步目的后,手机可以结合用户的信息(例如,身体质量指数(body mass index,BMI)信息)向用户提示本次跑步的跑步目的(例如,高效减脂、恢复性训练、心肺提升等)。当手机检测到用户点击选择课程后,手机可以显示如图3中的(f)所示的显示界面。The treadmill control display interface also includes functions such as running purpose and course selection. Exemplarily, 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.). When the mobile phone detects that the user clicks to select a course, the mobile phone can display a display interface as shown in (f) in Figure 3.
参见图3中的(f)所示的GUI,该GUI为选择课程的显示界面。手机可以根据用户的信息为用户生成适合用户的跑步课程,并通过该显示界面提示用户“根据您的信息,已为您生成跑步课程”。该显示界面上为用户提供了课程1-课程6。用户可以按照自己的需求选择相应的跑步课程。Refer to the GUI shown in (f) in Figure 3, which 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.
一个实施例中,上述跑步课程可以是一次或者多次的。若该跑步课程为本次运动的,那么用户在选择了课程4后,手机可以向跑步机发送相应跑步课程的跑步参数(例如,跑步距离为5km且配速为6’00”),跑步机可以按照相应的跑步参数运行。In one embodiment, 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.
若该跑步课程为多次运动,那么用户可以接着上一次的跑步课程选择继续运动。例如,课程4包括多次运动,那么此次手机启动课程4,手机可以向跑步机发送课程4中第一次运动对应的跑步参数;下一次手机显示选择课程显示界面时,课程4对应的控件可以为“继续运动”;当手机检测到用户点击“继续运动”时,手机可以向跑步机发送课程4的第二次运动对应的跑步参数。If the running course is multiple exercises, then the user can choose to continue exercising from the previous running course. For example, 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.
例如,用户开启跑步机时选择跑步机的速度为2公里/小时(或者,跑步机的配速为30’)。用户在按照此速度锻炼了一段时间后希望提升跑步机的速度,但是用户又不知道将速度调到多少合适。那么此时用户可以在选择课程中选择适合自己的跑步课程。由于手机可以结合用户的信息(例如,用户的身高体重、之前的跑步记录等等)来为生成适合用户的跑步课程,这样可以避免由于跑步机调节不适合自身身体状况,从而影响跑步效率,甚至对身体造成损伤等情况,从而有助于提升用户跑步过程中的体验。For example, when the user turns on 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. At this time, 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.
应理解,图3是以手机开启蓝牙和NFC功能并靠近跑步机的NFC感应区域后和跑步机连接为例进行说明的。本申请实施例中,跑步机和手机的连接还可以是:手机检测到用户点击打开桌面上的运动健康App,此时手机可以回连上一次连接过的跑步机,从而手机和跑步机可以建立蓝牙连接。应理解,手机可以保存有上一次连接过的跑步机的媒体接入控制(media access control,MAC)地址,当手机打开运动健康App时,手机可以采用现有的蓝牙连接的方式回连跑步机。It should be understood that 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. In the embodiment of this application, 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. It should be understood that the mobile phone can store the media access control (MAC) address of the last connected treadmill. When the mobile phone opens the sports health app, the mobile phone can use the existing Bluetooth connection to connect back to the treadmill. .
图4示出了手机的另一组GUI。Figure 4 shows another set of GUIs of the mobile phone.
参见图4中的(a)所示的GUI,该GUI为运动健康App的跑步参数显示界面。用户在跑步机上设置了相应的跑步参数并开启跑步机后,跑步机可以将跑步机上的参数发给手机,手机可以显示跑步机上的参数信息,并且手机上还可以显示其他信息。例如,手机上还可以显示可穿戴设备检测到的用户的心率信息,或者,手机上还可以显示用户跑步时鞋底与跑步机平面之间的倾斜角度等等。Refer to the GUI shown in (a) in Figure 4, which is the running parameter display interface of the Sports Health App. After the user sets the corresponding running parameters on the treadmill and turns on the treadmill, 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. For example, 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.
当手机检测到用户当前的心率值大于或者等于本次跑步的建议心率范围的最大值时,手机可以向跑步机发送控制命令并显示如图4中的(b)所示的GUI,该控制命令用于指示跑步机降速。When the mobile phone detects that the user's current heart rate value is greater than or equal to the maximum value of the recommended heart rate range for this run, 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.
参见图4中的(b)所示的GUI,该GUI为运动健康App的另一跑步参数显示界面。手机可以通过提醒框提示用户“检测到您的心率过高,已为您降低跑步机速度”。示例性的,跑步机在接收到该控制命令后,可以将跑步机的速度由原来的5公里/小时降低为4公里/小时。Refer to the GUI shown in (b) in FIG. 4, which is another running parameter display interface of the sports health App. The mobile phone can 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." Exemplarily, after receiving the control command, the treadmill can reduce the speed of the treadmill from the original 5 km/h to 4 km/h.
或者,手机也可以通过提醒框提示用户“检测到您的心率过高,已为您降低配速”。示例性的,跑步机在接收到该控制命令后,可以将跑步机的配速由12’00”提升为15’00”。Alternatively, 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." Exemplarily, after receiving the control command, the treadmill can increase the pace of the treadmill from 12'00" to 15'00".
应理解,配速是马拉松运动的训练中使用的概念,是描述马拉松运动中跑完一公里所耗用的时间,通常用户分秒来衡量。当跑步机的速度为5公里/小时时,对应的跑步机配速为12’00”;当跑步机的速度为4公里/小时时,对应的跑步机配速为15’00”。It should be understood that 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. When the 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”.
还应理解,手机在通过提醒框提醒用户的同时,也可以通过语音提醒的方式提示用户;或者,手机还可以通过震动提醒的方式提示用户。It should also be understood that while 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.
本申请实施例中,手机可以结合用户的信息来计算用户本次跑步的建议心率范围。同时,在跑步过程中,手机还可以实时获取可穿戴设备检测到的用户的心率。手机可以结合建议心率范围以及用户的实时心率值来控制跑步机,从而避免用户的心率值过高对用户的身体健康造成影响,提升了用户在跑步过程的体验。In the embodiment of the present application, the mobile phone can combine the user's information to calculate the user's recommended heart rate range for this run. At the same time, in the process of running, 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.
图5示出了手机的另一组GUI。Figure 5 shows another set of GUIs of the mobile phone.
参见图5中的(a)所示的GUI,该GUI为运动健康App的跑步参数显示界面。用户在跑步机上设置了相应的跑步参数并开启跑步机后,跑步机可以将跑步机上的参数发给手机,手机可以显示跑步机上的参数信息,并且手机上还可以显示其他信息。例如,手机上还可以显示可穿戴设备检测到的用户的心率信息,或者,手机上还可以显示用户跑步时鞋底与跑步机平面之间的倾斜角度等等。Refer to the GUI shown in (a) in FIG. 5, which is the running parameter display interface of the sports health App. After the user sets the corresponding running parameters on the treadmill and turns on the treadmill, 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. For example, 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.
当跑步机检测到用户点击跑步机上的提速控件的操作时,跑步机可以将速度从原来的5公里/小时提升到6公里/小时。同时,跑步机还可以向手机发送自己的状态信息,状态信息中包括更新后的跑步机的速度信息。手机在接收到该状态信息,可以更新跑步参数显示界面上的参数信息。参见图5中的(b)所示的GUI。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.
当跑步机的速度提升后,可穿戴设备检测到用户的心率值提升,那么可穿戴设备可以向手机发送可穿戴设备检测到的实时心率信息。如图5中的(b)所示,在跑步机的速度提升后,用户的心率值也提升到了185次/分钟。When the speed of the treadmill increases, the wearable device detects that the user's heart rate value has increased, and the wearable device can send the real-time heart rate information detected by the wearable device to the mobile phone. As shown in (b) of Figure 5, after the speed of the treadmill increases, the user's heart rate value also increases to 185 beats per minute.
参见图5中的(c)所示的GUI,该GUI为运动健康App的另一跑步参数显示界面。 当手机确定该心率值(例如,185次/分钟)大于建议心率范围(例如,建议心率范围为[120,170])的最大值后,手机可以向跑步机发送控制命令,该控制命令用于指示跑步机降低速度。同时,手机还可以通过提醒框提示用户“检测到您的心率过高,已为您降低跑步机速度”。Refer to the GUI shown in (c) in FIG. 5, which is another running parameter display interface of the sports health App. When 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."
应理解,手机在通过提醒框提醒用户的同时,也可以通过语音提醒的方式提示用户;或者,手机还可以通过震动提醒的方式提示用户。It should be understood that while 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.
本申请实施例中,手机可以结合用户的信息来计算用户本次跑步的建议心率范围。同时,在跑步过程中,手机还可以实时获取可穿戴设备检测到的用户的心率。手机可以结合建议心率范围以及用户的实时心率值来控制跑步机,从而避免用户的心率值过高对用户的身体健康造成影响,提升了用户在跑步过程的体验。In the embodiment of the present application, the mobile phone can combine the user's information to calculate the user's recommended heart rate range for this run. At the same time, in the process of running, 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.
图6示出了本申请实施例提供的自动控制跑步机的方法600的示意性流程图。如图6所示,该方法600包括: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:
S601,跑步机和手机建立无线连接,手机和可穿戴设备建立无线连接。In S601, the treadmill and the mobile phone establish a wireless connection, and the mobile phone and the wearable device establish a wireless connection.
一个实施例中,手机与可穿戴设备可以通过近场通讯建立连接。近场通讯包括但不限于Wi-Fi,蓝牙(bluetooth,BT),近距离无线通信技术(near field communication,NFC),终端直通(device to device,D2D),sidelink连接等等近场通讯技术。In one embodiment, the mobile phone and the wearable device can establish a connection through near field communication. Near field communication includes but is not limited to Wi-Fi, Bluetooth (BT), near field communication (NFC), device to device (D2D), sidelink connection and other near field communication technologies.
示例性的,手机和可穿戴设备可以是同一账号下的设备。例如,手机上登录了华为账号A,可穿戴设备上也登录了华为账号A。那么手机可以提前获知可穿戴设备的地址信息,从而可以与可穿戴设备之间进行交互。Exemplarily, the mobile phone and the wearable device may be devices under the same account. For example, Huawei account A is logged in on the mobile phone, and 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.
一个实施例中,手机和跑步机可以通过近场通讯建立连接。In one embodiment, the mobile phone and the treadmill can establish a connection through near field communication.
示例性的,用户可以开启手机的蓝牙或者NFC功能,并将手机放置在跑步机上相应的感应区域,从而建立手机和跑步机之间的蓝牙连接。Exemplarily, 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.
示例性的,用户还可以使用手机扫描跑步机上的二维码,从而获取跑步机的蓝牙信息(例如,跑步机的地址信息)。手机在获取跑步机的蓝牙信息后,可以向跑步机发送蓝牙扫描连接,从而使得手机和跑步机之间连接蓝牙连接。Exemplarily, 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). 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.
应理解,本申请实施例中,跑步机和手机建立无线连接以及手机和可穿戴设备之间建立无线连接的方式还可以是其他方式,本申请实施例对此并不作具体限定。It should be understood that, in the embodiment of the present application, 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.
S602,跑步机响应于检测到用户点击开始按钮,向手机发送第一指示信息,该第一指示信息用于指示跑步机已经启动。S602: In response to detecting that the user clicks the start button, the treadmill sends first instruction information to the mobile phone, where the first instruction information is used to indicate that the treadmill has been started.
示例性的,用户可以在跑步开始前设置好本次跑步时间、跑步距离以及速度等等。Exemplarily, the user can set the current running time, running distance, speed, etc. before the start of the run.
一个实施例中,该第一指示信息中还可以携带用户设置的跑步时间、跑步距离以及速度等等运动数据。In an embodiment, the first indication information may also carry exercise data such as running time, running distance, and speed set by the user.
一个实施例中,当手机接收到该第一指示信息后,手机可以周期性的通过重力传感器检测手机是否从跑步机上的储物槽或者用户身上掉落。手机通过检测是否从跑步机的储物槽或者用户身上掉落,可以控制跑步机的配速。从而实现某些紧急情况下对跑步机的自动控制,降低用户跑步过程中的安全风险,提升用户的体验。In one embodiment, after the mobile phone receives the first indication information, 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.
示例性的,如图7所示,手机失重时,手机重力传感器Z轴的加速度和重力加速度抵消,在短时间内会为0。Exemplarily, as shown in FIG. 7, when the mobile phone is weightless, 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.
一个实施例中,当手机接收到该第一指示信息后,手机可以检测用户的操作(例如,接听电话、浏览信息等操作)。手机通过检测用户的操作,可以获知用户是否在边跑步边 玩手机。如果手机确定用户在边跑步边玩手机,那么手机可以确定用户没有集中注意力跑步,此时手机可以控制跑步机的配速。从而实现某些紧急情况下对跑步机的自动控制,降低用户跑步过程中的安全风险,提升用户的体验。In one embodiment, after the mobile phone receives the first indication information, 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.
应理解,手机获知跑步机启动可以是接收到了手机发送的第一指示信息。或者,手机也可以控制跑步机的启动。示例性的,如图3中的(e)所示,当手机和跑步机连接后且跑步机处于停止状态时,如果手机检测到用户点击启动/暂停控件,那么手机可以向跑步机发送控制命令,该控制命令用于指示跑步机启动。进一步的,用户还可以通过手机设置跑步机的跑步参数(例如,跑步距离、跑步机速度等等)。当手机检测到用户点击启动/暂停控件后,手机还可以向跑步机发送用户在手机上设置的跑步参数,跑步机在接收后可以按照用户在手机上设置的参数运行。It should be understood that 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. Alternatively, the mobile phone can also control the startup of the treadmill. Exemplarily, as shown in Figure 3(e), 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. Further, the user can also set the running parameters of the treadmill (for example, running distance, treadmill speed, etc.) through the mobile phone. When the mobile phone detects that the user clicks the start/pause control, 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.
S603,手机向可穿戴设备发送第二指示信息,该第二指示信息可以用于指示跑步机已经启动。S603: 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.
示例性的,可穿戴设备在接收到该第二指示信息后,可以通过可穿戴设备上的传感器采集数据。Exemplarily, after receiving the second indication information, the wearable device may collect data through a sensor on the wearable device.
例如,可穿戴设备可以通过PPG传感器检测用户的心率。PPG传感器的结构可以如图8所示。For example, 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.
PPG传感器包括发射光组件和接收光组件,简单来说,测量心率的方法可以是基于物质对光的吸收原理,可穿戴设备的PPG传感器中的发射光组件中绿色发光二极管(light emitting diode,LED)灯搭配感光光电二极管照射血液,由于血管内不同容积的血液对绿光吸收不同,在心脏跳动时,血液流速增多,绿光的吸收量会随之变大;处于心脏跳动的间隙时血流会减少,吸收的绿光也会随之降低。因此,根据血液的吸光度可以测量心率。The PPG sensor includes a light emitting component and a light receiving component. In simple terms, the method of measuring heart rate can be based on the principle of light absorption by substances. In the light emitting component of the PPG sensor of the wearable device, 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.
具体而言,当一定波长的光束照射到皮肤表面时,光束将穿过皮肤传送到接收光组件,在此过程中由于受到皮肤肌肉和血液吸收的衰减作用,接收光组件检测到光的强度将减弱。其中,人体的皮肤、骨骼、肉、脂肪等对光的反射是固定值,而毛细血管在心脏的作用下随着脉搏容积不停地变大变小。当心脏收缩时,外周血容量最多,光吸收量也最大,接收光组件检测到的光强度最小;而在心脏舒张时,正好相反,检测到的光强度最大,使接收光组件接收到的光强度随之呈脉动性变化。Specifically, 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. When the heart contracts, 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.
本申请实施例中,可穿戴设备可以实时监测用户的心率,若用户的心率大于最大心率的时长大于或者等于预设时长时,可穿戴设备可以向手机发送告警,手机在接收到告警后可以自动控制跑步机。In the embodiment of this application, 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.
示例性的,可以通过公式(1)确定用户的最大心率:Exemplarily, the maximum heart rate of the user can be determined by formula (1):
最大心率=220-用户实际年龄        (1)Maximum heart rate=220-user’s actual age (1)
例如,当可穿戴设备检测到用户的心率持续大于最大心率30秒后,可穿戴设备可以向手机发出告警。For example, 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.
又例如,可穿戴设备可以通过加速度传感器检测用户身体的倾斜度以及失衡情况。For another example, the wearable device can detect the inclination and imbalance of the user's body through the acceleration sensor.
若可穿戴设备为手腕佩戴式穿戴设备,检测用户身体的倾斜度的方式可以如图9所示。人体稳定极限(limits of stability,LOS)前后方向的最大倾斜或者摆动角度约为12.5度;LOS左右方向的最大倾斜或者摆动角度约为16度。当可穿戴设备的加速度传感器检测到LOS前后方向的最大倾斜或者摆动角度大于或者等于12.5度,或者,当可穿戴设备的加速度传感器检测到LOS左右方向的最大倾斜或者摆动角度大于或者等于16度时,可 穿戴设备可以向手机发送告警,手机在接收到告警后可以自动控制跑步机。If the wearable device is a wrist-worn wearable device, 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. When the acceleration sensor of the wearable device detects that the maximum tilt or swing angle in the front and rear direction of the LOS is greater than or equal to 12.5 degrees, or when the acceleration sensor of the wearable device detects the maximum tilt or swing angle in the left and right direction of the LOS is greater than or equal to 16 degrees , The wearable device can send an alarm to the mobile phone, and the mobile phone can automatically control the treadmill after receiving the alarm.
若可穿戴设备为跑鞋佩戴式穿戴设备,可穿戴设备可以检测到用户鞋底发生倾斜、失衡、摔倒的危险。用户正常跑步时跑鞋与跑步机之间的旋转角度在5-25度之间。若可穿戴设备的加速度传感器和陀螺仪传感器检测到旋转角度大于或者等于25度时,可穿戴设备可以向手机发送告警,手机在接收到告警后可以自动控制跑步机。应理解,若可穿戴设备的加速度传感器和陀螺仪传感器检测到旋转角度小于5度,这种情况属于跑步姿势异常,不属于有倾斜和失衡的危险。If the wearable device is a wearable running shoe wearable device, the wearable device can detect the danger of tilting, imbalance, and falling of the user's shoe sole. When the user runs normally, the rotation angle between the running shoes and the treadmill is between 5-25 degrees. If 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.
若可穿戴设备为跑鞋佩戴式穿戴设备,可穿戴设备可以检测到用户身体发生倾斜、失衡和摔跤的危险。正常的用户双脚着地点应该在重心线的两侧。当可穿戴设备的加速度传感器和陀螺仪传感器超出这个范围时,可穿戴设备可以向手机发送告警,手机在接收到告警后可以自动控制跑步机。示例性的,如图10所示,点A为用户的重心,以该重心为中心点画出一个十字,用户跑步落脚点应该在灰色标注的范围内。If the wearable device is a running shoe wearable device, 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. When the acceleration sensor and gyroscope sensor of the wearable device exceed this range, the wearable device can send an alarm to the mobile phone, and the mobile phone can automatically control the treadmill after receiving the alarm. Exemplarily, as shown in FIG. 10, 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.
本申请实施例中,手机可以预设上述告警事件对应的告警等级,以及每个告警等级对应的控制命令。示例性的,表1示出了一种告警事件、告警等级以及控制命令的对应关系。In the embodiment of the present application, the mobile phone can preset the alarm level corresponding to the above-mentioned alarm event and the control command corresponding to each alarm level. Exemplarily, Table 1 shows a corresponding relationship between an alarm event, an alarm level, and a control command.
表1Table 1
Figure PCTCN2021098632-appb-000003
Figure PCTCN2021098632-appb-000003
示例性的,对于一级告警,手机向跑步机发送减速命令后,跑步机按照每秒减速20%,5秒后跑步机停止运行。Exemplarily, for the first level alarm, after the mobile phone sends a deceleration command to the treadmill, the treadmill decelerates by 20% per second, and the treadmill stops running after 5 seconds.
示例性的,对于二级告警,手机向跑步机发送减速命令后,跑步机按照每秒减速25%且持续2秒,2秒后跑步机按照初始速度的50%运行。Exemplarily, for a secondary alarm, after the mobile phone sends a deceleration command to the treadmill, the treadmill decelerates by 25% per second for 2 seconds, and after 2 seconds, the treadmill runs at 50% of the initial speed.
示例性的,对于三级告警,手机向跑步机发送紧急停止指令后,跑步机立即停止运行。Exemplarily, for a three-level alarm, after the mobile phone sends an emergency stop instruction to the treadmill, the treadmill immediately stops running.
应理解,表1所示的对应关系仅仅是示意性的,本申请实施例中并不对告警事件对应的控制命令进行限定。It should be understood that the corresponding relationship shown in Table 1 is only illustrative, and the control command corresponding to the alarm event is not limited in the embodiment of the present application.
示例性的,表2示出了可穿戴设备向手机发送的控制命令的字段描述。Exemplarily, Table 2 shows the field description of the control command sent by the wearable device to the mobile phone.
表2Table 2
Figure PCTCN2021098632-appb-000004
Figure PCTCN2021098632-appb-000004
图11和图12分别示出了可穿戴设备的发送帧结构以及手机的接收帧结构的示意图。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.
应理解,图11所示的发送帧为可穿戴设备发送给手机的帧,其中treadmill_alert_stop的长度为3个字节,其中这3个字节中可以由1个字节来携带控制命令,其余2个字节可以为扩展字节。It should be understood that 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.
图12所示的接收帧为可穿戴设备接收手机发送的帧,其中,treadmill_alert_stop的长度为6个字节。若手机对接收帧成功接收,那么手机可以在这6个字节中的1个字节中携带反馈(例如,ACK)信息,其余5个字节为扩展字节;又例如,手机对接收帧接收失败,那么手机可以在这6个字节中的某几个字节中携带用于指示接收失败的信息。由于用于指示接收失败的信息的信息量相比于控制命令或者ACK信息大,所以可以考虑将接收帧中treadmill_alert_stop的长度变大。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.
还应理解,图11和图12所示的帧结构以及treadmill_alert_stop的长度仅仅是示意性的,接收帧和发送帧的帧结构还可以是其他形式的帧结构,本申请实施例中对此并不作限定。It should also be understood that 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.
一个实施例中,该方法600还包括:In an embodiment, the method 600 further includes:
S604,当可穿戴设备判断用户处于危险场景时,可穿戴设备向手机发送减速或者停止的控制命令。S604: When the wearable device determines that the user is in a dangerous scene, the wearable device sends a control command to slow down or stop to the mobile phone.
S605,手机在接收到可穿戴设备发送的控制命令后,确定用户处于危险场景中,从而向跑步机发送减速或者停止的控制命令。S605: 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.
应理解,可穿戴设备在获取传感器(例如,PPG、加速度或者陀螺仪传感器)的数据后,可以通过这些数据判断用户是否处于危险场景中。It should be understood that after 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.
例如,如表1所示,可穿戴设备在确定用户心率持续大于预设值时,可以向跑步机发送减速命令。或者,可穿戴设备也可以将实时检测到的传感器数据发送给手机,有手机来判断用户是否处于危险场景中。For example, as shown in Table 1, 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. Alternatively, 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.
例如,可穿戴设备可以将检测到的用户心率发送给手机,有手机确定用户心率和最大心率的关系。如果手机确定用户心率持续大于最大心率,那么手机可以向跑步机发送减速指令。For example, 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.
S606,可穿戴设备向手机发送可穿戴设备检测到的用户跑步状态下的实时数据。S606: The wearable device sends the real-time data of the user in the running state detected by the wearable device to the mobile phone.
示例性的,可穿戴设备检测到的用户跑步状态下的实时数据可以包括上述通过可穿戴设备的传感器检测到的数据。例如,用户的心率值、双脚着地方式、鞋底与跑步机旋转角度等等。Exemplarily, 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. 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.
S607,跑步机向手机发送跑步机检测到的用户跑步状态下的实时数据。S607: The treadmill sends the real-time data of the user in the running state detected by the treadmill to the mobile phone.
示例性的,用户在跑步过程中,用户可能会对跑步机上运动参数进行实时更改。跑步机会将用户实时更新后的数据(例如,跑步时间、跑步距离、速度等等)发送给手机。Exemplarily, when the user is running, 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.
S608,手机基于心率调节跑步机的配速。S608, the mobile phone adjusts the pace of the treadmill based on the heart rate.
一个实施例中,手机可以基于以下过程调节跑步机配速:In one embodiment, the mobile phone can adjust the treadmill pace based on the following process:
(a)手机识别用户的跑步目的(a) The mobile phone recognizes the user's running purpose
手机和跑步机建立无线连接后,可以通过手机中保存的用户信息识别用户本次跑步目的。表3示出了一种跑步目的和判断方式。After the wireless connection between the mobile phone and the treadmill is established, 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.
表3table 3
Figure PCTCN2021098632-appb-000005
Figure PCTCN2021098632-appb-000005
应理解,表3仅仅是示意性的,还可以通过其他方式来判断用户的跑步目的,并且跑步目的也不限于上述减脂、恢复性训练和心肺提升,还可以有其他跑步目的,本申请实施例对此并不作任何限定。It should be understood that 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.
还应理解,手机获取用户身高体重的方式可以是提示用户输入自己的身高体重。或者,手机还可以与体脂称建立(例如,蓝牙/Wi-Fi)连接,从而可以从体脂称获取用户的身高体重信息。或者,用户在通过体脂称测量身高体重后,体脂称可以将用户的身高体重信息上传到云端服务器。手机可以从云端服务器获取用户的身高体重信息。It should also be understood that 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. Alternatively, 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. Or, after the user measures the height and weight through 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.
(b)手机确定用户的恢复时间(b) The mobile phone determines the user's recovery time
手机可以确定用户最近几天(例如,最近两天)的跑步记录,根据平均配速和跑步距离,计算用户所处的恢复时间。本申请实施例中,手机可以通过手机APP中保存的跑步记录来确定用户的恢复时间。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.
示例性的,如果手机通过最近两天的跑步记录来确定恢复时间,那么可以通过公式2来确定恢复时间:Exemplarily, if the mobile phone determines the recovery time based on the running records of the last two days, then the recovery time can be determined by formula 2:
恢复时间=Max{今天的恢复时间,昨天的恢复时间降一档}      (2)Recovery time=Max{Today’s recovery time, yesterday’s recovery time down by one level} (2)
示例性的,表4示出了一种历史跑步的平均配速、历史跑步距离以及恢复时间的对应关系,其中,A表示恢复时间为0-18h;B表示恢复时间为19-35h;C表示恢复时间为36-53h;D表示恢复时间为54-96h。Exemplarily, 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.
表4Table 4
Figure PCTCN2021098632-appb-000006
Figure PCTCN2021098632-appb-000006
示例性的,手机可以查询用户最近2天(例如,今天和昨天)的跑步记录,通过表4所示的对应关系确定恢复时间的档。Exemplarily, 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.
例如,今天的恢复时间的确定方式可以是手机查询今天用户的所有跑步记录,取每条跑步记录的平均配速和跑步距离,通过表4所示的对应关系获得每条跑步记录对应的恢复时间的档。手机可以取其中恢复时间最长的档最为今天的恢复时间的档。例如,今天有3条跑步记录,第一条跑步记录对应的恢复时间为A档;第二条跑步记录对应的恢复时间为B档;第三条跑步记录对应的恢复时间为C档。由于C档的恢复时间是最长的,所以手机可以确定今天的恢复时间为C档。For example, 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.
同样的,手机可以查询昨天所有的跑步记录,取每条跑步记录的平均配速和跑步距离,通过表4所示的对应关系获得每条跑步记录对应的恢复时间的档。手机可以取其中恢复时间最长的档最为昨天的恢复时间的档。Similarly, the mobile phone can query all the running records of yesterday, take the average pace and running distance of each running record, and obtain the recovery time file corresponding to each running record through the 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.
最后,手机可以将昨天的恢复时间的档降一档后和今天的恢复时间的档进行比较,取其中较高的档作为最终的恢复时间。Finally, 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.
应理解,昨天恢复时间降一档的原因是用户昨天跑步体力消耗到今天已经部分恢复,因此降一档。例如,用户昨天跑了半程马拉松,昨天的恢复时间为D档。到今天用户的体力已经部分恢复,则昨天的恢复时间降一档变为C档。It should be understood that 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. For example, the user ran a half marathon yesterday, and the recovery time yesterday was D gear. As of today, the user’s physical strength has been partially recovered, and yesterday’s recovery time has been reduced by one level to C level.
还应理解,如果用户最近几天(例如,最近2天)都没有跑步记录,那么手机可以确 定用户的恢复时间为A档。It should also be understood that if the user has no running record in the last few days (for example, the last 2 days), then the mobile phone can determine that the user's recovery time is A file.
应理解,配速是马拉松运动的训练中使用的概念,是描述马拉松运动中跑完一公里所耗用的时间,通常用户分秒来衡量。例如,上次跑步的平均配速为3’58”,表示用户上一次跑步中每跑一公里的平均用时为3’58”。It should be understood that 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”.
还应理解,上述表4所示确定恢复时间的过程也是示意性的,还可以通过其他方式来确定恢复时间。例如,也可以通过上次跑步平均配速来确定用户的恢复时间。又例如,还可以通过昨天最后一次跑步的结束时刻与今天第一次跑步的起始时刻之间的时间间隔来确定恢复时间。It should also be understood that 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. For example, the average pace of the last run can also be used to determine the user's recovery time. For another example, 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.
(c)手机确定本次用户跑步需要的强度(强度也可是建议心率范围)(c) The mobile phone determines the intensity required for the user to run this time (intensity can also be the recommended heart rate range)
手机可以通过(a)中确定的跑步目的和(b)中确定的恢复时间来确定本次用户跑步的建议心率范围。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).
示例性的,表5示出了一种通过跑步意图、恢复时间以及跑步强度的对应关系。Exemplarily, Table 5 shows a correspondence relationship between running intention, recovery time, and running intensity.
表5table 5
Figure PCTCN2021098632-appb-000007
Figure PCTCN2021098632-appb-000007
应理解,表5中的维持健康包括恢复性训练和心肺提高。It should be understood that the maintenance of health in Table 5 includes restorative training and cardiopulmonary improvement.
示例性的,表6示出了跑步强度和建议心率范围的对应关系。Exemplarily, Table 6 shows the corresponding relationship between the running intensity and the recommended heart rate range.
表6Table 6
跑步强度Running intensity 建议心率范围计算公式Recommended calculation formula for heart rate range
恢复训练#Recovery training# (65%最大心率)~(74%储备心率)(65% maximum heart rate)~(74% reserve heart rate)
心肺提升#Cardio Lift# (60%最大心率)~(75%储备心率)(60% maximum heart rate)~(75% reserve heart rate)
高效减脂#Efficient fat reduction# (65%最大心率)~(84%储备心率)(65% maximum heart rate)~(84% reserve heart rate)
示例性的,可以通过公式(3)确定用户的最大心率:Exemplarily, the maximum heart rate of the user can be determined by formula (3):
储备心率=最大心率-静心心率        (3)Reserve heart rate = maximum heart rate-resting heart rate (3)
本申请实施例中,静心心率是指用户在清醒且不活动(安静)状态下的心率。In the embodiments of the present application, the resting heart rate refers to the heart rate of the user in a state of being awake and inactive (quiet).
应理解,以上表5和表6仅仅是示意性的,本申请实施例中,还可以通过其他方式来确定建议心率范围。It should be understood that the above Table 5 and Table 6 are only illustrative, and in the embodiments of the present application, the recommended heart rate range may also be determined in other ways.
还应理解,表5和表6可以结合为一张表,那么电子设备可以通过这张表、跑步目的和恢复时间,直接获取用户本次跑步的目标心率范围。It should also be understood that 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.
(d)基于建议心率范围以及可穿戴设备检测到的心率,控制跑步机。(d) Control the treadmill based on the recommended heart rate range and the heart rate detected by the wearable device.
手机在确定出用户的建议心率范围后,可以基于可穿戴设备实时检测到的用户的心率,对跑步机的配速进行调节。例如,当可穿戴设备检测到的心率大于或者等于建议心率 范围的最大心率值时,手机向跑步机发送减速命令;当可穿戴设备检测到的心率小于或者等于建议心率范围的最小心率值时,手机向跑步机发送加速命令。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.
示例性的,表7示出了一种心率检测和调节跑步机配速的对应关系。Exemplarily, Table 7 shows a corresponding relationship between heart rate detection and treadmill pace adjustment.
表7Table 7
Figure PCTCN2021098632-appb-000008
Figure PCTCN2021098632-appb-000008
应理解,以上调节跑步机配速时每分钟降低的配速值可以是手机从服务器获取的,也可以是用户设置的,本申请实施例对此并不作限定。It should be understood that 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.
还应理解,表7中所示的每分钟降低配速0’30”也仅仅是示意性的。电子设备可以在确定可穿戴设备检测到的心率持续超过建议心率范围的最大心率值,每分钟依次降低配速(例如,第一分钟降低0’30”,第二分钟降低1’00”,第三分钟降低1’30”…)。It should also be understood that 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...).
一个实施例中,手机还可以预设最大配速调节的上限。示例性的,表8和表9示出了一种男性和女性的最大配速调节上限。In one embodiment, the mobile phone can also preset the upper limit of the maximum pace adjustment. Exemplarily, Table 8 and Table 9 show an upper limit of maximum pace adjustment for men and women.
表8Table 8
Figure PCTCN2021098632-appb-000009
Figure PCTCN2021098632-appb-000009
表9Table 9
Figure PCTCN2021098632-appb-000010
Figure PCTCN2021098632-appb-000010
应理解,以上表8和表9中所示的最大配速调节上限仅仅是示意性的,本申请实施例中对此并不作任何限定。It should be understood that the upper limit of the maximum pace adjustment shown in Table 8 and Table 9 above is only illustrative, and there is no limitation on this in the embodiments of the present application.
一个实施例中,手机还可以在用户使用跑步机之前就自动生成用户排布课程。示例性的,手机根据用户所需的跑步强度(建议心率范围)和年龄,生成对应的跑步课程。手机也可以支持用户手动选择跑步课程。In one embodiment, the mobile phone can also automatically generate a user-arranged course before the user uses the treadmill. Exemplarily, 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.
当手机确定了跑步课程后,手机会根据可穿戴设备实时检测到的用户心率和建议心率范围向跑步机发送加速、减速或者停止命令。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.
示例性的,表10和表11示出了一种通过跑步强度以及年龄与跑步课程的对应关系。Exemplarily, Table 10 and Table 11 show a correspondence relationship between running intensity and age and running course.
表10Table 10
Figure PCTCN2021098632-appb-000011
Figure PCTCN2021098632-appb-000011
应理解,上述表10中的课程可以是一次运动的课程,也可以是多次运动的课程。例如,对于20-29岁对应的课程M11可以是单次运动的,手机可以向用户显示课程M11为跑步距离3km以及配速6’00”。It should be understood that the courses in Table 10 above can be a course of one exercise or a course of multiple exercises. For example, 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".
又例如,对于20-29岁对应的课程M11可以是3次运动的,第一次运动时为跑步距离3km以及配速8’00”、第二次运动时为跑步距离3km以及配速7’00”、第三次运动时为跑步距离3km以及配速6’00”。For another example, for the course M11 corresponding to the age of 20-29, there can be 3 exercises, the first exercise is a running distance of 3km and a pace of 8'00", and 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".
用户在选择了第一次选择了课程M11后,手机可以向跑步机发送跑步距离3km以及配速8’00”的跑步参数。当下一次手机检测到用户再一次开启运动健康App后,手机可以提示用户是否按照上一次的课程继续运动。如果用户选择按照上一次的课程继续运动,那么手机可以向跑步机发送第二次运动的跑步参数。例如,手机可以向跑步机发送跑步距离3km以及配速7’00”的跑步参数。After the user selects the course M11 for the first time, the mobile phone can send the running distance of 3km and the pace 8'00" to the treadmill. When 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.
表11Table 11
Figure PCTCN2021098632-appb-000012
Figure PCTCN2021098632-appb-000012
应理解,以上表10和表11仅仅是示意性的,其原理可以参考《丹尼尔斯跑步公式》配速表相关内容。It should be understood that the above Table 10 and Table 11 are only illustrative, and the principle can refer to the related content of the pace table of "Daniels Running Formula".
应理解,上述S604-S605和S606-S608之间并没有实际的先后顺序。It should be understood that there is no actual sequence between S604-S605 and S606-S608.
还应理解,当跑步机检测到用户点击停止按键,或者手机确定用户跑步课程结束时可以向跑步机发送停止命令,跑步机可以停止。It should also be understood that when the treadmill detects that the user clicks the stop button, or the mobile phone determines that the user's running course is over, a stop command can be sent to the treadmill, and the treadmill can be stopped.
本申请实施例提供的自动控制跑步机的方法,在科学性方面通过结合手机中保存的用户信息(例如,性别、年龄、BMI、训练负荷等)和用户跑步目的(如减脂、恢复训练、心肺提升)的数据,实现了对跑步机的自动调节。该方法综合利用了手机、可穿戴设备的多传感器数据采集和处理能力,确定用户所处的场景,有助于实现自动跑步机的速度,提升了用户跑步的训练效果,同时也有助于预防安全事故或者避免用户受到二次伤害。The method for automatically controlling a treadmill provided by the embodiments of the present application 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.
图13示出了本申请实施例提供的可穿戴设备和跑步机连接的示意性框图。如图13所示,跑步机可以和可穿戴设备建立无线连接,上述方法600中的用户信息(例如,用户性别、年龄、BMI或者训练负荷等等)、跑步强度以及年龄与跑步课程的对应关系可以存储在可穿戴设备中。可穿戴设备可以根据用户信息、实时监测到的用户实时数据来控制跑步 机目标配速和距离(或者,结合跑步强度以及年龄与跑步课程的对应关系生成用户跑步课程)。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. As shown in Figure 13, 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 Can be stored in a wearable device. 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).
当可穿戴设备判断用户处于危险场景时,可穿戴设备可以向跑步机发送减速或者停止命令。当用户主动停止跑步机或者跑步课程结束时,跑步机自动停止,可穿戴设备可以记录用户跑步报告。When the wearable device determines that the user is in a dangerous scene, the wearable device can send a deceleration or stop command to the treadmill. When the user actively stops the treadmill or the running course ends, 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.
与方法600的区别点在于,去掉了跑步机自动控制方案中手机的参与,系统架构更加简单。手机硬件和软件的减少可以节约方案实现成本。由于大量的跑步记录数据需要存储到可穿戴设备,为了避免造成可穿戴设备存储成本增加,可以考虑数据存储到云端。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.
本申请实施例中,对于支持蓝牙和健身器材服务(fitness machine service,FTMS)标准协议的跑步机,手机或者可穿戴设备可以直接通过蓝牙配对方式连接跑步机。In the embodiments of this application, for treadmills that support Bluetooth and fitness machine service (FTMS) standard protocols, mobile phones or wearable devices can directly connect to the treadmill through Bluetooth pairing.
对于老式支持网口和健身器材通讯规范(communications specification for fitness equipment,C-SAFE)的跑步机,跑步机可以通过串口转蓝牙网关后,手机或者可穿戴设备通过蓝牙配对方式连接跑步机。其中,C-SAFE为FitLinxx公司专为健身设备开发的一种通信协议,覆盖80%跑步机设备。For old treadmills that support network ports and communication specifications for fitness equipment (communications specification for fitness equipment, C-SAFE), the treadmill can be connected to the treadmill through the Bluetooth gateway through the serial port, and the mobile phone or wearable device can be connected to the treadmill through Bluetooth pairing. Among them, C-SAFE is a communication protocol specially developed by FitLinxx for fitness equipment, covering 80% of treadmill equipment.
图14示出了本申请实施例提供的跑步机通过串口转蓝牙网关的示意图。其中,标准插座(registered jack 45,RJ45)为布线系统中信息插座(即通信引出端)连接器;推荐标准232(recommended standard 232,RS232)为常用的串行通信接口标准;RX表示接收(receive);TX表示发送(transport)。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. Among them, the standard socket (registered jack 45, RJ45) is the information socket (that is, the communication outlet) connector in the wiring system; the recommended standard 232 (recommended standard 232, RS232) is the commonly used serial communication interface standard; RX stands for receive (receive) ); TX stands for transport.
对于老式支持网口和C-SAFE协议的跑步机,可以先将串口转蓝牙网关(图14中虚线框中所示)插入跑步机。跑步机运行后,首先通过跑步机的RJ45接口发送串口数据,串口转蓝牙网关通过RS232接口接收跑步机的串口数据。该串口数据是以C-SAFE协议的格式传入串口转蓝牙网关的。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.
串口转蓝牙网关将该串口数据输入到C-SAFE协议解析模块,该C-SAFE协议解析模块主要作用是对串口数据进行解析;然后通过FTMS协议组包模块对解析后的数据进行组包,FTMS协议组包模块主要作用是将解析后的数据转化为FTMS协议的数据,最后通过蓝牙模块发送到手机。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.
图15是本申请实施例提供的控制跑步机的方法1500的示意性流程图。该方法1500由电子设备执行,该电子设备和可穿戴设备通过近距离无线通信连接,该电子设备和跑步机通过近距离无线通信连接,该电子设备中保存有用户的跑步目的、跑步的恢复时间以及目标心率范围的映射关系,该方法1500包括: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:
S1501,该电子设备接收该可穿戴设备发送的用户的心率值。S1501. The electronic device receives the user's heart rate value sent by the wearable device.
示例性的,可穿戴设备检测到的用户跑步状态下的实时数据可以包括通过可穿戴设备的传感器检测到的数据。例如,用户的心率值、双脚着地方式、鞋底与跑步机旋转角度等等。Exemplarily, 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. 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.
S1502,该电子设备根据该电子设备中保存的用户信息,确定用户的跑步目的和跑步的恢复时间。S1502: The electronic device determines the user's running purpose and running recovery time according to the user information stored in the electronic device.
应理解,S1502可以参考上述S608中步骤(a)和步骤(b)的过程,为了简洁,在 此不再赘述。It should be understood that 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.
还应理解,本申请实施例中,仅仅是通过表3所示的用户信息来判断用户的跑步目的,本申请实施例并不限于此。示例性的,电子设备还可以结合用户的性别、年龄等等用户信息来判断用户的跑步目的。It should also be understood that, in the embodiment of the present application, 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. Exemplarily, the electronic device may also determine the user's running purpose based on user information such as the user's gender and age.
还应理解,本申请实施例中,仅仅是通过表4所示的历史跑步平均配速以及历史跑步距离来判断用户的恢复时间,本申请实施例并不限于此。示例性的,电子设备还可以结合昨天最后一次跑步的结束时刻和今天第一次跑步的起始时刻之间的时间间隔来确定用户的恢复时间。It should also be understood that, in the embodiment of the present application, 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. Exemplarily, 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.
S1503,该电子设备根据该跑步目的、该恢复时间和该映射关系,确定第一目标心率范围。S1503: The electronic device determines a first target heart rate range according to the running purpose, the recovery time, and the mapping relationship.
示例性的,该映射关系可以为如表5和表6所示的映射关系。当电子设备通过用户信息确定了跑步目的和恢复时间后,电子设备可以通过表5和表6所示的映射关系来确定用户本次跑步的目标心率范围。Exemplarily, the mapping relationship may be the mapping relationship shown in Table 5 and Table 6. 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.
S1504,该电子设备根据该心率值和该第一目标心率范围,控制该跑步机。S1504. The electronic device controls the treadmill according to the heart rate value and the first target heart rate range.
示例性的,电子设备可以按照表7所示的方式调节跑步机配速。Exemplarily, the electronic device can adjust the pace of the treadmill in the manner shown in Table 7.
本申请实施例中,电子设备可以结合电子设备中保存的用户信息以及映射关系,来确定用户本次跑步的目标心率范围。电子设备通过可穿戴设备实时检测到的用户的心率值与目标心率范围进行比较,从而对跑步机实现控制。这样无需用户来调节跑步机参数,有助于提升电子设备的智能化程度。In the embodiment of the present application, 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.
同时,电子设备通过结合用户信息,可以使得电子设备调节的跑步机参数适合用户本身,避免了用户因跑步机调节不当而影响跑步效果,甚至对身体造成损伤,从而有助于提升用户在使用跑步机时的用户体验。At the same time, 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.
可选地,该方法1500还包括:Optionally, 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.
示例性的,若可穿戴设备检测到用户的心率值大于或者等于预设心率值的时长大于或者等于第一预设时长时,可穿戴设备可以向该电子设备发送第一控制命令。Exemplarily, if the wearable device detects that the user's heart rate value is greater than or equal to the preset heart rate value and the duration is greater than or equal to the first preset duration, the wearable device may send the first control command to the electronic device.
示例性的,可穿戴设备在检测到用户的身体发生倾斜或者失衡时,可以向该电子设备发送第一控制命令。Exemplarily, when the wearable device detects that the user's body is tilted or unbalanced, it may send the first control command to the electronic device.
本申请实施例中,当可穿戴设备检测到用户的心率值持续大于等于预设心率值时,可穿戴设备可以向电子设备发送控制命令,并由电子设备转发给跑步机。这样有助于避免心率值过高对用户身体造成损伤,从而有助于提升用户在使用跑步机时的用户体验。In the embodiment of the present application, 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.
当可穿戴设备检测到用户身体发生倾斜或者失衡时,可穿戴设备可以向电子设备发送控制命令,并由电子设备转发给跑步机。这样有助于避免在用户身体发生倾斜或者失衡且跑步机速度过快时,对用户身体造成损伤,从而有助于提升用户在使用跑步机时的用户体验。When the wearable device detects that the user's body is tilted or unbalanced, the wearable device can 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.
可选地,该方法1500还包括:Optionally, the method 1500 further includes:
该电子设备在检测到用户操作该电子设备时,向该跑步机发送第二控制命令,该第二控制命令用于指示该跑步机减速或者停止。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.
本申请实施例中,当电子设备检测到用户在操作电子设备时,电子设备可以确定用户 没有集中注意力跑步,从而向跑步机发送控制命令。这样有助于避免用户注意力不集中且跑步机速度过快时,对用户身体造成的损伤,从而有助于提升用户在使用跑步机时的用户体验。In the embodiment of the present application, 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.
可选地,该方法1500还包括:Optionally, the method 1500 further includes:
该电子设备在检测到该电子设备处于跌落状态时,向该跑步机发送第三控制命令,该第三控制命令用于指示该跑步机减速或者停止。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.
本申请实施例中,当电子设备确定处于跌落状态(例如,从跑步机的储物槽中跌落或者从用户的口袋中跌落)时,可以向跑步机发送控制命令。这样有助于避免对用户身体造成损伤,从而有助于提升用户在使用跑步机时的用户体验。In the embodiment of the present application, when the electronic device 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.
可选地,该电子设备上登录的账号和该可穿戴设备上登录的账号相关联。Optionally, the account logged in on the electronic device is associated with the account logged in on the wearable device.
示例性的,该电子设备上登录的账号和该可穿戴设备上登录的账号可以是相同的账号;或者,该电子设备上登录的账号和该可穿戴设备上登录的账号为同一家庭群组中的账号;或者,该可穿戴设备上登录的账号可以是该电子设备上登录的账号授权过的账号。Exemplarily, 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.
本申请实施例中还提供了一种电子设备,该电子设备可以包括如图1所示的处理器110以及无线通信模块160。其中,无线通信模块160可以用于上述S1501中接收可穿戴设备发送的用户的心率值,以及S1504中向跑步机发送控制命令的步骤;处理器110可以用于执行S1502、S1503中的步骤。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.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, 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. In addition, 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.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, 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.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而 前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of 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 .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (23)

  1. 一种系统,其特征在于,所述系统包括电子设备和可穿戴设备,所述电子设备和所述可穿戴设备通过近距离无线通信连接,所述电子设备和跑步机通过近距离无线通信连接,所述电子设备中保存有用户的跑步目的、跑步的恢复时间以及目标心率范围的映射关系,其中,A system, characterized in that the system includes an electronic device and a wearable device, the electronic device and the wearable device are connected by short-range wireless communication, and the electronic device and a treadmill are connected by short-range wireless communication, The electronic device stores a mapping relationship between the user's running purpose, running recovery time, and target heart rate range, where:
    所述可穿戴设备,用于向所述电子设备发送用户的心率值;The wearable device is used to send the user's heart rate value to the electronic device;
    所述电子设备,用于根据所述电子设备中保存的用户信息,确定用户的跑步目的和跑步的恢复时间;The electronic device is configured to determine the user's running purpose and running recovery time according to user information stored in the electronic device;
    所述电子设备,还用于根据所述跑步目的、所述恢复时间和所述映射关系,确定第一目标心率范围;The electronic device is further configured to determine a first target heart rate range according to the running purpose, the recovery time, and the mapping relationship;
    所述电子设备,还用于根据所述心率值和所述第一目标心率范围,控制所述跑步机。The electronic device is further configured to control the treadmill according to the heart rate value and the first target heart rate range.
  2. 根据权利要求1所述的系统,其特征在于,所述可穿戴设备,还用于在检测到所述心率值大于或者等于预设心率值的时长大于或者等于第一预设时长时,向所述电子设备发送第一控制命令,所述第一控制命令用于指示所述跑步机减速或者停止;The system according to claim 1, wherein the wearable device is further configured to: when it is detected that the heart rate value is greater than or equal to a preset heart rate value for a time period greater than or equal to a first preset time period, The electronic device sends a first control command, where 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.
  3. 根据权利要求1所述的系统,其特征在于,所述可穿戴设备,还用于在检测到用户的身体发生倾斜或者失衡时,向所述电子设备发送第二控制命令,所述第二控制命令用于指示所述跑步机减速或者停止;The system according to claim 1, wherein 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 Commands are used to instruct the treadmill to decelerate or stop;
    所述电子设备,还用于向所述跑步机发送所述第二控制命令。The electronic device is also used to send the second control command to the treadmill.
  4. 根据权利要求1所述的系统,其特征在于,所述电子设备,还用于在检测到用户操作所述电子设备时,向所述跑步机发送第三控制命令,所述第三控制命令用于指示所述跑步机减速或者停止。The system according to claim 1, wherein 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 To instruct the treadmill to slow down or stop.
  5. 根据权利要求1所述的系统,其特征在于,所述电子设备,还用于检测到处于跌落状态时,向所述跑步机发送第四控制命令,所述第四控制命令用于指示所述跑步机减速或者停止。The system according to claim 1, wherein the electronic device is further configured 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 The treadmill slows down or stops.
  6. 根据权利要求1至5中任一项所述的系统,其特征在于,所述电子设备具体用于:The system according to any one of claims 1 to 5, wherein the electronic device is specifically used for:
    在检测到所述心率值大于或者等于所述第一目标心率范围的最大值的时长大于或者等于第二预设时长时,向所述跑步机发送第五控制命令,所述第五控制命令用于指示所述跑步机调低配速;或者,When it is detected that the time period during which the heart rate value is greater than or equal to the maximum value of the first target heart rate range is greater than or equal to the second preset time period, a fifth control command is sent to the treadmill, and the fifth control command is used To instruct the treadmill to lower the pace; or,
    在检测到所述心率值小于或者等于所述第一目标心率范围的最小值的时长大于或者等于第三预设时长时,向所述跑步机发送第六控制命令,所述第六控制命令用于指示所述跑步机调高配速。When it is detected 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 third preset time period, a sixth control command is sent to the treadmill, and the sixth control command is used Instruct the treadmill to increase the pace.
  7. 根据权利要求1至6中任一项所述的系统,其特征在于,所述电子设备具体用于:The system according to any one of claims 1 to 6, wherein the electronic device is specifically used for:
    根据用户的身体质量指数BMI和/或用户的历史跑步记录中平均配速和跑步距离,确定所述跑步目的;Determine the running purpose according to the user's body mass index BMI and/or the average pace and running distance in the user's historical running records;
    根据所述历史跑步记录中的平均配速和跑步距离,确定所述恢复时长。The recovery time is determined according to the average pace and running distance in the historical running record.
  8. 根据权利要求1至7中任一项所述的系统,其特征在于,所述电子设备上登录的账号和所述可穿戴设备上登录的账号相关联。The system according to any one of claims 1 to 7, wherein the account logged in on the electronic device is associated with the account logged in on the wearable device.
  9. 一种控制跑步机的方法,所述方法应用于电子设备中,其特征在于,所述电子设备和可穿戴设备通过近距离无线通信连接,所述电子设备和跑步机通过近距离无线通信连接,所述电子设备中保存有用户的跑步目的、跑步的恢复时间以及目标心率范围的映射关系,所述方法包括:A method for controlling a treadmill, the method being applied to an electronic device, characterized in that 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 stores a mapping relationship between the user's running purpose, running recovery time, and target heart rate range, and the method includes:
    所述电子设备接收所述可穿戴设备发送的用户的心率值;Receiving, by the electronic device, the user's heart rate value sent by the wearable device;
    所述电子设备根据所述电子设备中保存的用户信息,确定用户的跑步目的和跑步的恢复时间;The electronic device determines the user's running purpose and running recovery time according to the user information stored in the electronic device;
    所述电子设备根据所述跑步目的、所述恢复时间和所述映射关系,确定第一目标心率范围;Determining, by the electronic device, a first target heart rate range according to the running goal, the recovery time, and the mapping relationship;
    所述电子设备根据所述心率值和所述第一目标心率范围,控制所述跑步机。The electronic device controls the treadmill according to the heart rate value and the first target heart rate range.
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, wherein the method further comprises:
    所述电子设备接收所述可穿戴设备发送的第一控制命令,所述第一控制命令用于指示所述跑步机减速或者停止;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.
  11. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, wherein the method further comprises:
    所述电子设备在检测到用户操作所述电子设备时,向所述跑步机发送第二控制命令,所述第二控制命令用于指示所述跑步机减速或者停止。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.
  12. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, wherein the method further comprises:
    所述电子设备在检测到所述电子设备处于跌落状态时,向所述跑步机发送第三控制命令,所述第三控制命令用于指示所述跑步机减速或者停止。When detecting that the electronic device is in a falling state, the electronic device sends a third control command to the treadmill, where the third control command is used to instruct the treadmill to decelerate or stop.
  13. 根据权利要求9至12中任一项所述的方法,其特征在于,所述电子设备根据所述心率值和所述第一目标心率范围,控制所述跑步机,包括:The method according to any one of claims 9 to 12, wherein the electronic device controlling the treadmill according to the heart rate value and the first target heart rate range comprises:
    所述电子设备在检测到所述心率值大于或者等于所述第一目标心率范围的最大值的时长大于或者等于第一预设时长时,向所述跑步机发送第五控制命令,所述第五控制命令用于指示所述跑步机调低配速;或者,The electronic device sends a fifth control command to the treadmill when detecting that the time period during which the heart rate value is greater than or equal to the maximum value of the first target heart rate range is greater than or equal to a first preset time period, and the first Five control commands are used to instruct the treadmill to lower the pace; or,
    所述电子设备在检测到所述心率值小于或者等于所述第一目标心率范围的最小值的时长大于或者等于第二预设时长时,向所述跑步机发送第六控制命令,所述第六控制命令用于指示所述跑步机调高配速。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 a second preset time period, the electronic device sends a sixth control command to the treadmill, and the first Six control commands are used to instruct the treadmill to increase the pace.
  14. 根据权利要求9至13中任一项所述的方法,其特征在于,所述电子设备根据所述电子设备中保存的用户信息,确定用户的跑步目的和跑步的恢复时间,包括:The method according to any one of claims 9 to 13, wherein the electronic device determines the user's running purpose and running recovery time according to user information stored in the electronic device, comprising:
    根据用户的身体质量指数BMI和/或用户的历史跑步记录中的平均配速和跑步距离,确定所述跑步目的;Determine the running purpose according to the user's body mass index BMI and/or the average pace and running distance in the user's historical running records;
    根据所述历史跑步记录中的平均配速和跑步距离,确定所述恢复时长。The recovery time is determined according to the average pace and running distance in the historical running record.
  15. 根据权利要求9至14中任一项所述的方法,其特征在于,所述电子设备上登录的账号和所述可穿戴设备上登录的账号相关联。The method according to any one of claims 9 to 14, wherein the account logged in on the electronic device is associated with the account logged in on the wearable device.
  16. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    一个或多个处理器;One or more processors;
    一个或多个存储器;One or more memories;
    所述一个或多个存储器存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:The one or more memories stores one or more computer programs, and the one or more computer programs include instructions. When the instructions are executed by the one or more processors, the electronic device executes the following step:
    接收所述可穿戴设备发送的用户的心率值;Receiving the user's heart rate value sent by the wearable device;
    根据所述电子设备中保存的用户信息,确定用户的跑步目的和跑步的恢复时间;Determining the user's running purpose and running recovery time according to the user information stored in the electronic device;
    根据所述跑步目的、所述恢复时间和所述映射关系,确定第一目标心率范围;Determine a first target heart rate range according to the running purpose, the recovery time, and the mapping relationship;
    根据所述心率值和所述第一目标心率范围,控制所述跑步机。The treadmill is controlled according to the heart rate value and the first target heart rate range.
  17. 根据权利要求16所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:The electronic device according to claim 16, wherein when the instruction is executed by the one or more processors, the electronic device is caused to perform the following steps:
    接收所述可穿戴设备发送的第一控制命令,所述第一控制命令用于指示所述跑步机减速或者停止;Receiving a first control command sent by the wearable device, where the first control command is used to instruct the treadmill to decelerate or stop;
    向所述跑步机发送所述第一控制命令。Sending the first control command to the treadmill.
  18. 根据权利要求16所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:The electronic device according to claim 16, wherein when the instruction is executed by the one or more processors, the electronic device is caused to perform the following steps:
    在检测到用户操作所述电子设备时,向所述跑步机发送第二控制命令,所述第二控制命令用于指示所述跑步机减速或者停止。When it is detected that the user is operating the electronic device, a second control command is sent to the treadmill, and the second control command is used to instruct the treadmill to decelerate or stop.
  19. 根据权利要求16所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:The electronic device according to claim 16, wherein when the instruction is executed by the one or more processors, the electronic device is caused to perform the following steps:
    在检测到所述电子设备处于跌落状态时,向所述跑步机发送第三控制命令,所述第三控制命令用于指示所述跑步机减速或者停止。When it is detected that the electronic device is in a falling state, a third control command is sent to the treadmill, and the third control command is used to instruct the treadmill to decelerate or stop.
  20. 根据权利要求16至19中任一项所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:The electronic device according to any one of claims 16 to 19, wherein when the instruction is executed by the one or more processors, the electronic device is caused to perform the following steps:
    在检测到所述心率值大于或者等于所述第一目标心率范围的最大值的时长大于或者等于第一预设时长时,向所述跑步机发送第五控制命令,所述第五控制命令用于指示跑步机调低配速;或者,When it is detected that the time period during which the heart rate value is greater than or equal to the maximum value of the first target heart rate range is greater than or equal to the first preset time period, a fifth control command is sent to the treadmill, and the fifth control command is used To instruct the treadmill to lower the pace; or,
    在检测到所述心率值小于或者等于所述第一目标心率范围的最小值的时长大于或者等于第二预设时长时,向所述跑步机发送第六控制命令,所述第六控制命令用于指示跑步机调高配速。When it is detected 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, a sixth control command is sent to the treadmill, and the sixth control command is used Instruct the treadmill to increase the pace.
  21. 根据权利要求16至20中任一项所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:The electronic device according to any one of claims 16 to 20, wherein when the instruction is executed by the one or more processors, the electronic device is caused to perform the following steps:
    根据用户的身体质量指数BMI和/或用户的历史跑步记录中的平均配速和跑步距离,确定所述跑步目的;Determine the running purpose according to the user's body mass index BMI and/or the average pace and running distance in the user's historical running records;
    根据所述历史跑步记录中的平均配速和跑步距离,确定所述恢复时长。The recovery time is determined according to the average pace and running distance in the historical running record.
  22. 根据权利要求16至21中任一项所述的电子设备,其特征在于,所述电子设备上登录的账号和所述可穿戴设备上登录的账号相关联。The electronic device according to any one of claims 16 to 21, wherein the account logged in on the electronic device is associated with the account logged in on the wearable device.
  23. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求9至15中任一项所述的控制跑步机的方法。A computer-readable storage medium, characterized by comprising computer instructions, when the computer instructions run on an electronic device, the electronic device executes the control treadmill according to any one of claims 9 to 15 Methods.
PCT/CN2021/098632 2020-06-19 2021-06-07 Treadmill control method, electronic device, and system WO2021254198A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

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

Family

ID=78911616

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/098632 WO2021254198A1 (en) 2020-06-19 2021-06-07 Treadmill control method, electronic device, and system

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117766098A (en) * 2024-02-21 2024-03-26 江苏森讯达智能科技有限公司 Body-building optimization training method and system based on virtual reality technology

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117122885A (en) * 2023-03-13 2023-11-28 荣耀终端有限公司 Speed matching determining method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994017861A1 (en) * 1993-02-04 1994-08-18 Abbondanza James M Pulse rate controlled exercise system
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 (en) * 2010-09-28 2011-05-25 深圳市倍泰健康测量分析技术有限公司 Electric treadmill system
DE10324904B4 (en) * 2003-05-30 2013-03-07 Siemens Aktiengesellschaft Device for training adjustment in sports, especially in running
CN106474667A (en) * 2016-10-19 2017-03-08 杭州联络互动信息科技股份有限公司 A kind of method and apparatus adjusting running motor speed and smart machine and treadmill
CN108744429A (en) * 2018-06-12 2018-11-06 深圳市悦动天下科技有限公司 The control method and heart rate measuring method of a kind of intelligent running machine, treadmill
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 (en) * 2011-10-28 2016-06-15 株式会社ユピテル System, electronic device and program
CN105561565B (en) * 2015-12-16 2019-04-30 惠州Tcl移动通信有限公司 Dynamic sets method, system and the intelligent wearable device of body-building time of having a rest
CN110152272A (en) * 2018-03-07 2019-08-23 蔡璟 A kind of control method of treadmill, treadmill and intelligent terminal
CN110025928A (en) * 2019-05-21 2019-07-19 上海懒猫智能科技有限公司 A kind of detection of body heart rate data and smart motion treadmill and its control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994017861A1 (en) * 1993-02-04 1994-08-18 Abbondanza James M Pulse rate controlled exercise system
DE10324904B4 (en) * 2003-05-30 2013-03-07 Siemens Aktiengesellschaft Device for training adjustment in sports, especially in running
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 (en) * 2010-09-28 2011-05-25 深圳市倍泰健康测量分析技术有限公司 Electric treadmill system
CN106474667A (en) * 2016-10-19 2017-03-08 杭州联络互动信息科技股份有限公司 A kind of method and apparatus adjusting running motor speed and smart machine and treadmill
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 (en) * 2018-06-12 2018-11-06 深圳市悦动天下科技有限公司 The control method and heart rate measuring method of a kind of intelligent running machine, treadmill

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117766098A (en) * 2024-02-21 2024-03-26 江苏森讯达智能科技有限公司 Body-building optimization training method and system based on virtual reality technology

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2020249062A1 (en) Voice communication method and related device
WO2021047435A1 (en) Electronic device and sensor control method
WO2021169515A1 (en) Method for data exchange between devices, and related device
WO2021254198A1 (en) Treadmill control method, electronic device, and system
WO2021139767A1 (en) Screen-on control method and electronic device
WO2021063311A1 (en) Display control method for electronic device having foldable screen, and electronic device
CN110266930A (en) Light compensation method, mobile terminal and the light adjusting method of image taking
WO2021104104A1 (en) Energy-efficient display processing method, and apparatus
US11928947B2 (en) Fall detection-based help-seeking method and electronic device
CN110448779B (en) Method and device for adjusting biological rhythm
CN111544852B (en) Method and related apparatus for correcting body-building posture
WO2021016931A1 (en) Integrated chip and sensor data processing method
CN112259191A (en) Method and electronic device for assisting fitness
CN111132234A (en) Data transmission method and corresponding terminal
US20240171826A1 (en) Volume adjustment method and system, and electronic device
EP4070719A1 (en) Electronic device, method for controlling same to perform ppg detection, and medium
CN115714890A (en) Power supply circuit and electronic device
WO2021031745A1 (en) Application opening method and electronic device
WO2023160144A1 (en) Transmit power adjustment method, electronic device, and storage medium
WO2022135144A1 (en) Self-adaptive display method, electronic device, and storage medium
WO2021204036A1 (en) Sleep risk monitoring method, electronic device and storage medium
CN115665632A (en) Audio circuit, related device and control method
EP4224485A1 (en) Adaptive action evaluation method, electronic device, and storage medium
WO2022083363A1 (en) Method for periodically measuring blood oxygen, and electronic device
WO2022062978A1 (en) Data processing method and electronic device

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