Intelligent running guidance method, device and control equipment based on multi-sensor data
Through multi-sensor data acquisition and analysis, the treadmill parameters are automatically adjusted to generate target running mode, which solves the problem of users paying frequent attention to calorie consumption and adjusting parameters, and achieves convenient and insensitive satisfactory satisfactory satisfactory satisfactory.
Patent Information
- Application Number
- CN202410857952.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-06-28
AI Technical Summary
In the prior art, users need to actively and frequently pay attention to the consumed calories and adjust the parameters of the treadmill to meet the calories consumption needs of running. In the existing method, users need to wear wearable devices such as bracelets, which is inconvenient.
The intelligent running guide method based on multi-sensor data is adopted. By establishing a connection with the user terminal, receiving the heat to be consumed, and using the pressure sensor and camera to collect data, automatically adjusting the parameters of the treadmill, generating the target running mode, and realizing sensorless adaptation.
It enables users to meet their calorie consumption needs without actively paying attention to the consumed calories, avoiding the inconvenience of wearing wearable devices, and improving the user's running experience.
Smart Images

Figure CN118718335B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent analysis technology, and in particular to a running intelligent guidance method, device and treadmill control equipment based on multi-sensor data. Background Art
[0002] Treadmills are a type of sports equipment commonly found in sports venues. They have the function of adjusting running parameters such as pace and slope, which users can adjust according to their actual conditions. They can meet the basic needs of daily calorie consumption for all types of users.
[0003] With the development of information technology, users are becoming more precise in their daily calorie consumption. Currently, users first set their running calorie consumption requirements on mobile terminals such as mobile phones, and then check whether the calories consumed by this running can meet the set running calorie consumption requirements after a period of running on a treadmill in a sports venue. However, since the calories consumed by the running exercise during this period of time can usually accurately match the running calorie consumption requirements set by the user, the current method requires users to actively and frequently pay attention to the calories consumed and make corresponding adjustments to the relevant parameters of the treadmill to meet the running calorie consumption requirements.
[0004] As for the calories consumed during this run, the current technology usually requires the treadmill to calculate and display the calories consumed during this run, or requires the user to wear a wearable device such as a bracelet, which detects and displays the calories consumed during this run. However, these two methods still require the user to actively and frequently pay attention to the calories consumed and adjust the parameters of the treadmill. In addition, the former requires the treadmill to calculate the calories consumed during this run based on the running parameters such as the speed and slope currently selected by the user, and the calculation result is not accurate. The latter requires the user to wear a specific device, which is not convenient.
[0005] Based on this, the inventors found that how to adapt a running mode that is convenient and can meet the calorie consumption needs of users on a treadmill without the users basically noticing it is a technical problem that needs to be solved in the current technology. Summary of the invention
[0006] Based on this, it is necessary to provide a running intelligent guidance method, device and treadmill control equipment based on multi-sensor data to address the above technical problems.
[0007] In a first aspect, the present application provides an intelligent running guidance method based on multi-sensor data, which is applied to a treadmill.
[0008] The method comprises:
[0009] Establishing a connection with a user terminal and receiving the heat to be consumed sent by the user terminal;
[0010] Entering a first initialization stage, controlling the conveyor belt of the treadmill to run at an initial pace, and obtaining pressure data of a user when exercising on the conveyor belt at the initial pace through a pressure sensor provided on the treadmill;
[0011] According to the pressure data, a corresponding test pace group is obtained from a pre-established test pace library; the test pace group includes a plurality of preset test paces;
[0012] Entering a second initialization stage, displaying a recommended running posture through a running guidance interface of the user terminal, controlling the conveyor belt to run at the plurality of preset test paces in sequence, and collecting first running image data of the user through a first camera disposed on the treadmill, and collecting second running image data of the user through a second camera disposed on the treadmill;
[0013] If the running posture of the user represented by the first running image data conforms to the recommended running posture, determining a target pace among the plurality of preset test paces according to the running position of the user on the conveyor belt represented by the second running image data;
[0014] According to the pressure data and the target pace, a corresponding running mode unit group is obtained from a pre-established running mode unit library; the running mode unit group includes a plurality of basic running mode units for consuming preset basic calories in different running scenarios;
[0015] Based on the calories to be consumed, generating a corresponding target running mode according to the running mode unit group;
[0016] Entering the running stage, the conveyor belt is controlled to run according to the target running mode and the corresponding running scene animation is displayed through the running guidance interface of the user terminal.
[0017] In one embodiment, the pressure data includes a sequence of pressure values of a preset duration; and obtaining a corresponding test pace group from a pre-established test pace library according to the pressure data includes:
[0018] According to the pressure value sequence of the preset time length, the average pressure value of the user is obtained; the average pressure value is compared with multiple preset pressure values to determine the preset pressure value closest to the average pressure value among the multiple preset pressure values; and the test pace group corresponding to the preset pressure value is obtained from the test pace library.
[0019] In one embodiment, the method further comprises:
[0020] Entering the pace library establishment stage, the conveyor belt is controlled to run at the initial pace, and the test pressure average of each of the multiple test users in the preset time period is obtained through the pressure sensor; the conveyor belt is controlled to run at the user-set pace, and the test pace of each of the multiple test users is obtained; wherein, the test pace is the pace that enables the test user to run continuously for a set time period at the preset running position of the conveyor belt with the recommended running posture; according to the test pressure average of each of the multiple test users, the preset pressure value corresponding to each of the multiple test users is determined; according to the test pace of each test user corresponding to the same preset pressure value, a test pace group is obtained; and according to the test pace group corresponding to each preset pressure value, the test pace library is established.
[0021] In one embodiment, after collecting the first running image data of the user by using the first camera disposed on the treadmill, the method further includes:
[0022] The user's body part motion data is obtained based on the first running image data; and whether the user's running posture conforms to the recommended running posture is determined based on a comparison result between the user's body part motion data and the body part motion data corresponding to the recommended running posture.
[0023] In one embodiment, determining a target pace among the plurality of preset test paces according to the running position of the user on the conveyor belt represented by the second running image data comprises:
[0024] According to the second running image data, the current running position of the user on the conveyor belt at the current preset test pace is obtained; if the current running position shifts toward the tail from the preset running position and the previous running position of the current running position does not shift toward the tail from the preset running position, the preset test pace corresponding to the previous running position is determined as the target pace; if the current running position does not shift toward the tail from the preset running position and the current preset test pace reaches the highest pace among the multiple preset test paces, the current preset test is determined as the target pace; if the current running position does not shift toward the tail from the preset running position and the current preset test pace does not reach the highest pace among the multiple preset test paces, the conveyor belt is controlled to continue running at the next preset test pace until the target pace is determined.
[0025] In one embodiment, obtaining the current running position of the user on the conveyor belt at the current preset test pace according to the second running image data includes: determining the contact position between the foot of the user and the plane where the conveyor belt is located according to the second running image data; obtaining the current running position according to the contact position;
[0026] The method further includes: obtaining a position offset between the current running position and the preset running position; and if the position offset is greater than a preset position offset threshold, determining that the current running position is offset from the preset running position toward the tail.
[0027] In one embodiment, the method further comprises:
[0028] Entering the mode unit library establishment stage, a plurality of running scenarios are constructed for the test user corresponding to each preset test pace under each preset pressure value; for each running scenario, according to the calories consumed by the test user during running in the running scenario, a basic running mode unit corresponding to the preset basic calories consumed by the test user in the running scenario is determined, and a running mode unit group corresponding to the test user and including a plurality of basic running mode units is obtained; the running mode unit library is established according to the running mode unit groups corresponding to each test user.
[0029] In one embodiment, generating a corresponding target running mode according to the running mode unit group based on the calories to be consumed includes:
[0030] A target calorie is obtained based on the calories to be consumed and the estimated calories consumed; the estimated calories consumed include an estimated value of the calories consumed by the user in the first initialization stage and the second initialization stage; under the preset running scene constraints, multiple basic running mode units in the running mode unit group are combined into a target running mode with a calorie difference less than or equal to a preset calorie difference threshold; wherein the calorie difference is the difference between the preset basic calories of each basic running mode unit constituting the target running mode and the target calories.
[0031] In one embodiment, the method further comprises:
[0032] After entering the first initialization stage, the user terminal receives the initial pace sent by the cloud server and controls the conveyor belt of the treadmill to run at the initial pace; wherein the user terminal is connected to the cloud server;
[0033] Among them, all user terminals obtain the pace data and the corresponding pressure data of the user when running on the treadmill and upload them to the cloud server; the cloud server obtains the pace data and pressure data, divides them into multiple pressure intervals according to the pressure data, and generates a normal distribution curve for the pace data corresponding to each pressure interval; obtains user information of the user terminal and calculates the corresponding user score; calculates the initial pace according to the user score and the normal distribution curve, and sends the initial pace to the user terminal.
[0034] In a second aspect, the present application also provides a running intelligent guidance device based on multi-sensor data, which is applied to a treadmill. The device comprises:
[0035] A heat receiving module, used to establish a connection with a user terminal and receive the heat to be consumed sent by the user terminal;
[0036] A pressure acquisition module, used to enter a first initialization phase, control the conveyor belt of the treadmill to run at an initial pace, and acquire pressure data of a user when he / she moves on the conveyor belt at the initial pace through a pressure sensor provided on the treadmill;
[0037] A pace group acquisition module, used to acquire a corresponding test pace group from a pre-established test pace library according to the pressure data; the test pace group includes a plurality of preset test paces;
[0038] a data acquisition module, configured to enter a second initialization phase, display a recommended running posture through a running guidance interface of the user terminal, control the conveyor belt to run at the plurality of preset test paces in sequence, and acquire first running image data of the user through a first camera disposed on the treadmill, and acquire second running image data of the user through a second camera disposed on the treadmill;
[0039] a pace determination module, configured to determine a target pace among the plurality of preset test paces according to the running position of the user on the conveyor belt represented by the second running image data if the running posture of the user represented by the first running image data conforms to the recommended running posture;
[0040] a unit acquisition module, configured to acquire a corresponding running mode unit group from a pre-established running mode unit library according to the pressure data and the target pace; the running mode unit group includes a plurality of basic running mode units that consume preset basic calories in different running scenarios;
[0041] A mode generating module, configured to generate a corresponding target running mode according to the running mode unit group based on the calories to be consumed;
[0042] The running control module is used to enter the running stage, control the operation of the conveyor belt according to the target running mode, and display the corresponding running scene animation through the running guidance interface of the user terminal.
[0043] In a third aspect, the present application further provides a treadmill control device. The treadmill control device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0044] Establish a connection with a user terminal and receive the calories to be consumed sent by the user terminal; enter a first initialization stage, control the conveyor belt of the treadmill to run at an initial pace, and obtain pressure data of the user when exercising on the conveyor belt at the initial pace through a pressure sensor provided on the treadmill; obtain a corresponding test pace group from a pre-established test pace library based on the pressure data; the test pace group includes a plurality of preset test paces; enter a second initialization stage, display a recommended running posture through a running guidance interface of the user terminal, control the conveyor belt to run at the plurality of preset test paces in turn, and collect first running image data of the user through a first camera provided on the treadmill, and collect the user's first running image data through a second camera provided on the treadmill. second running image data; if the running posture of the user represented by the first running image data conforms to the recommended running posture, determining a target pace among the multiple preset test paces according to the running position of the user on the conveyor belt represented by the second running image data; acquiring a corresponding running mode unit group from a pre-established running mode unit library according to the pressure data and the target pace; the running mode unit group includes multiple basic running mode units for consuming preset basic calories in different running scenes; based on the calories to be consumed, generating a corresponding target running mode according to the running mode unit group; entering the running stage, controlling the conveyor belt to run according to the target running mode and displaying a corresponding running scene animation through the running guide interface of the user terminal.
[0045] The above-mentioned intelligent running guidance method, device and treadmill control device based on multi-sensor data establish a connection with the user terminal, receive the calories to be consumed sent by the user terminal, and then enter the first initialization stage, in which the conveyor belt is operated at the initial pace and the pressure data of the user when moving on the conveyor belt at the initial pace is obtained through the pressure sensor, and the test pace group corresponding to the pressure data is obtained from the test pace library, and then enter the second initialization stage, in which the recommended running posture is displayed through the running guidance interface of the user terminal to guide the user to run according to the recommended running posture, and the conveyor belt is controlled to run at multiple preset test paces in the test pace group in turn, and at the same time The first and second running image data of the user are collected by the first and second cameras. When the running posture of the user represented by the first running image data meets the recommended running posture, a target pace among multiple preset test paces is determined according to the running position of the user on the conveyor belt represented by the second running image data, and then a corresponding running mode unit group is obtained from the running mode unit library according to the pressure data and the target pace. Then, a corresponding target running mode is generated according to the running mode unit group based on the calories to be consumed, and then the running stage is entered. According to the target running mode, the conveyor belt is controlled to run and a corresponding running scene animation is displayed through a running guide interface of the user terminal. The present application collects pressure data in a first initialization stage to analyze and adapt the corresponding test pace group for the user; in a second initialization stage, the user is guided to run in a recommended running posture based on image data, and the running position is analyzed at the same time to adapt the target pace in the test pace group for the user; then a corresponding running mode unit group is obtained according to the pressure data and the target pace, which includes multiple basic running mode units that consume preset basic calories in different running scenarios; a corresponding target running mode can be generated according to the running mode unit group based on the calories to be consumed; during the running stage, the conveyor belt is controlled to run according to the target running mode and a running scene animation is displayed on the user terminal; thereby, through the pressure and image data collection and analysis in the initialization stage, a running mode that meets the user's calorie consumption needs is accurately and intelligently adapted for the user; there is no need for the user to actively and frequently pay attention to the calories consumed and adjust the parameters of the treadmill, nor is there a need for the user to wear wearable devices such as bracelets, thereby achieving a running mode that is convenient and can meet the user's calorie consumption needs without the user being aware of it, thereby comprehensively improving the user's exercise experience on the treadmill. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] FIG. 1( a ) is a diagram showing an application scenario of an intelligent running guidance method based on multi-sensor data in one embodiment;
[0047] FIG. 1( b ) is a diagram showing a device connection relationship in one embodiment;
[0048] Figure 2 A schematic diagram of a process flow of an intelligent running guidance method based on multi-sensor data in one embodiment;
[0049] Figure 3 A schematic diagram of a process for establishing a test pace library in one embodiment;
[0050] Figure 4 A schematic diagram of a process for determining a target pace among a plurality of preset test paces in one embodiment;
[0051] Figure 5 A schematic diagram of a process of establishing a running mode unit library in one embodiment;
[0052] Figure 6 is a structural block diagram of an intelligent running guidance device based on multi-sensor data in one embodiment;
[0053] Figure 7 FIG. 4 is a diagram showing the internal structure of a treadmill control device in one embodiment. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0055] The running intelligent guidance method based on multi-sensor data provided in the embodiment of the present application can be applied to the application scenario shown in Figure 1(a), and Figure 1(b) shows a connection relationship diagram of the various devices involved in the application scenario. The application scenario includes a treadmill 110 and a treadmill control device 120. The treadmill control device 120 can be arranged inside the treadmill 110 to control the operation of the various components and mechanisms of the treadmill 110. The application scenario also includes a user terminal 130, which can be but is not limited to a smart phone and a tablet computer. The user terminal 130 can establish a communication connection with the treadmill control device 120 in a wired or wireless manner to exchange data information, and the user terminal 130 can be placed in a storage slot provided in the treadmill 110. The application scenario also includes a first camera 141, a second camera 142 and a pressure sensor 150. The first camera 141 and the second camera 142 can be arranged on the treadmill 110 to collect the user's running image data. The pressure sensor 150 can be arranged under the conveyor belt of the treadmill to collect the pressure data of the user when exercising on the conveyor belt. The first camera 141, the second camera 142 and the pressure sensor 150 are respectively connected to the treadmill control device 120 for communication, and transmit the user's running image data and pressure data to the treadmill control device 120.
[0056] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0057] The following, based on the contents shown in Figure 1(a) and Figure 1(b), combined with various embodiments and corresponding drawings, further illustrates the running intelligent guidance method based on multi-sensor data provided by the present application.
[0058] In one embodiment, Figure 2 As shown, a running intelligent guidance method based on multi-sensor data is provided, which can be executed by a treadmill control device 120, including the following steps:
[0059] Step S201, establishing a connection with a user terminal, and receiving the calories to be consumed sent by the user terminal.
[0060] In this step, the treadmill control device 120 establishes a connection with the user terminal 130, and the treadmill control device 120 receives the calories to be consumed sent by the user terminal 130. Before using the treadmill 110, the user can place his user terminal 130 in the storage slot of the treadmill 110, authorize and use the user terminal 130 to establish a communication connection with the treadmill control device 120 in a wired or wireless manner so as to interact with specific data information. The specific data information is the data information related to the collection, analysis, storage and display within the scope of user authorization, such as the calories to be consumed set by the user on the user terminal 130, the running image data and pressure data to be collected, the running scene animation data to be displayed on the user terminal 130, etc. These data information can be authorized by the user on the user terminal 130 for the treadmill control device 120 and the user terminal 130 to be used in a related manner. In a specific scenario, the user terminal 130 can record the calories set by the user to be consumed on the treadmill. This calories is called the calories to be consumed. After the user terminal 130 establishes a communication connection with the treadmill control device 120, the calories to be consumed can be transmitted to the treadmill control device 120 under the user's authorization. The treadmill control device 120 receives the calories to be consumed sent by the user terminal 130 for subsequent analysis.
[0061] Step S202, entering the first initialization stage, controlling the conveyor belt of the treadmill to run at an initial pace, and obtaining pressure data of the user when the user moves on the conveyor belt at the initial pace through a pressure sensor provided on the treadmill.
[0062] Among them, after the treadmill control device 120 receives the calories to be consumed sent by the user terminal 130, the user terminal 130 can be prompted to enter the first initialization stage. For example, a countdown of several seconds can be given to the user to give a certain preparation time. After the countdown is over, the treadmill control device 120 enters the first initialization stage. The main function of this stage is to safely and stably collect the pressure data of the user, so as to accurately provide the user with a test speed group based on this in the future. Among them, the pressure data can be collected by the pressure sensor 140 located below the conveyor belt of the treadmill 110. Specifically, the treadmill control device 120 enters the first initialization stage, and the treadmill control device 120 controls the conveyor belt of the treadmill 110 to run at the initial speed. Since it is necessary to safely and stably collect the pressure data of the user, the slow walking speed can be used as the initial speed, so that the user can move safely and stably on the conveyor belt. On this basis, the user can move on the conveyor belt at the initial speed and generate pressure acting on the conveyor belt, and the pressure sensor 140 obtains the pressure data of the user when moving on the conveyor belt at the initial speed.
[0063] In specific applications, the first initialization stage can last for a preset duration, and its specific value can be set according to actual conditions, such as several seconds to several minutes. During the first initialization stage, the treadmill control device 120 controls the conveyor belt of the treadmill 110 to run at an initial speed for a preset time, and obtains a pressure value sequence when the user exercises on the conveyor belt at the speed for a preset time through a pressure sensor provided on the treadmill 110, and obtains pressure data based on the pressure value sequence.
[0064] In one of the embodiments, in order to better serve users, the present application can also build a cloud server, and use the cloud server to perform big data analysis on the pace data and pressure data of all users during running, so as to obtain a better initial pace to improve the user's running quality and exercise effect.
[0065] Accordingly, in the technical solution of this embodiment, the user terminal is connected to the cloud server. After entering the first initialization stage, the cloud server calculates the initial pace in real time based on the user information of the current user and sends it to the user terminal. The user terminal receives the initial pace sent by the cloud server and controls the conveyor belt of the treadmill to run at the initial pace.
[0066] For the cloud server, it executes the following method while the user is running:
[0067] (1) Processing the speed data and corresponding pressure data of the user when running on the treadmill obtained through the user terminal; specifically, the speed data and pressure data of the user during the running process can be collected through sampling.
[0068] (2) The cloud server obtains the pace data and pressure data, divides the pressure data into multiple pressure intervals, and generates a normal distribution curve for the pace data corresponding to each pressure interval.
[0069] Specifically, after the cloud server obtains the pace data and pressure data sent by all user terminals, it divides the pressure data into multiple pressure intervals, distinguishes different types of users by different pressure intervals, and then performs big data analysis on the pace data corresponding to each pressure interval to generate a normal distribution curve; so as to better reflect the optimal pace distribution state of the content of the pressure interval.
[0070] (3) Obtaining user information of the user terminal and calculating a corresponding user score; calculating an initial pace according to the user score and the normal distribution curve, and sending the initial pace to the user terminal.
[0071] Specifically, the corresponding user score can be calculated according to the user information recorded when the user registers. The user score can be calculated based on the user's gender, age, weight and other related data; the user score can be matched with the pace data of the corresponding part of the users on the normal distribution curve, and then the mean calculation can be performed using this part of the data to obtain an initial pace and send it to the user terminal.
[0072] As in the technical solution of the above-mentioned embodiment, the user terminal is fully utilized to collect the pace data and pressure data of all users when running on the treadmill, and then big data analysis is performed on the cloud platform to obtain a better initial pace, so that users can run at a better initial pace, thereby improving the running exercise effect.
[0073] Step S203, obtaining a corresponding test pace group from a pre-established test pace library according to the pressure data.
[0074] Among them, the pressure data can comprehensively reflect the basic motion attributes of the user and the friction attributes between the user and the conveyor belt. This step is based on the pressure data to adapt the corresponding test pace group for the user from the pre-established test pace library. The test pace group includes multiple preset test paces, that is, this step is based on the pressure data to adapt the corresponding multiple preset test paces for the user, so that the second initialization stage can further accurately adapt the target pace among the multiple preset test paces for the user. In this step, the pre-established test pace library includes multiple test pace groups, each test pace group can correspond to a preset pressure value, indicating that for users who meet the preset pressure value, the test pace group can be selected for them to enter the second initialization stage for pace testing.
[0075] In one embodiment, step S203 specifically includes: obtaining the user's average pressure value based on a pressure value sequence of a preset duration; comparing the average pressure value with multiple preset pressure values to determine a preset pressure value among the multiple preset pressure values that is closest to the average pressure value; and obtaining a test pace group corresponding to the preset pressure value from a test pace library.
[0076] Among them, in the first initialization stage, the treadmill control device 120 controls the conveyor belt to run at the initial pace for a preset time, and obtains the pressure value sequence of the user moving on the conveyor belt at the pace for a preset time through the pressure sensor provided on the treadmill 110, and obtains the pressure data containing the pressure value sequence. In this embodiment, the treadmill control device 120 obtains the pressure value sequence of the preset time according to the pressure data. Then, the corresponding mean is calculated according to the pressure value sequence of the preset time to obtain the pressure mean of the user. Then, the treadmill control device 120 compares the pressure mean of the user with multiple preset pressure values respectively to obtain the pressure value comparison result. Among them, the multiple preset pressure values correspond to multiple test pace groups in the above-mentioned test pace library respectively. Then, the treadmill control device 120 obtains the preset pressure value closest to the pressure mean of the user among the multiple preset pressure values according to the pressure value comparison result. Thus, the treadmill control device 120 can obtain the test pace group corresponding to the preset pressure value closest to the pressure mean of the user from the test pace library, which is used for the pace test for the user in the second initialization stage.
[0077] In this embodiment, the scheme for selecting a test pace group obtains the user's average pressure value based on the pressure data of a preset time period, and then selects the test pace group corresponding to the closest preset pressure value to perform a pace test on the user based on the comparison result of the average pressure value with each preset pressure value, so as to accurately adapt the test pace group for the user.
[0078] Step S204, entering the second initialization stage, displaying the recommended running posture through the running guidance interface of the user terminal, controlling the conveyor belt to run at multiple preset test paces in sequence, and collecting the user's first running image data through the first camera provided on the treadmill, and collecting the user's second running image data through the second camera provided on the treadmill.
[0079] Among them, after the treadmill control device 120 obtains the test pace group corresponding to the user's pressure data from the test pace library, it can prompt the user through the user terminal 130 to prepare to enter the second initialization stage. For example, it can count down for several seconds to give the user a certain preparation time. During the prompt time, the conveyor belt can be controlled to maintain the initial pace, or the conveyor belt can be controlled to slowly slow down to stop, so as to ensure that the user's movement enters the second initialization stage safely and smoothly. The main function of the second initialization stage is to safely and stably collect the user's running image data, and thereby accurately adapt the target running mode for the user. The key points of the steps performed in the second initialization stage include running image data collection, determination of the target pace, acquisition of the running mode unit group, and determination of the target running mode, which are explained in this step S204 and the subsequent steps S205, step S206 and step S207 respectively.
[0080] In this step, the second initialization phase is entered, and the treadmill control device 120 may request the user terminal 130 to display a running guidance interface. The user terminal 130 displays the running guidance interface to present visual and auditory running guidance information to the user. After the user terminal displays the running guidance interface, the treadmill control device 120 displays the recommended running posture through the running guidance interface of the user terminal 130. In specific implementation, the recommended running posture can be displayed through a virtual image, and the action essentials of the recommended running posture can be displayed and prompted through the swinging of the hands, legs and body parts of the virtual image, so as to provide reference and imitation for the user. While displaying the recommended running posture, the treadmill control device 120 can control the conveyor belt to run at the smallest preset test pace among multiple preset test paces. At this smallest preset test pace, the user can adjust his running posture more safely and stably. After the user runs with the recommended running posture, the treadmill control device 120 can continue to select the corresponding preset test paces from multiple preset test paces in order from small to large to control the conveyor belt to run. At this stage, the treadmill control device 120 collects the user's running image data (referred to as first running image data) through the first camera 141 provided on the treadmill 110. The first running image data is used by the treadmill control device 120 to identify and determine whether the user's running posture conforms to the recommended running posture. The treadmill control device 120 also collects the user's running image data (referred to as second running image data) through the second camera 142 provided on the treadmill 110. The second running image data is used by the treadmill control device 120 to detect the user's running position on the conveyor belt to determine the target pace for the user.
[0081] Step S205: if the running posture of the user represented by the first running image data meets the recommended running posture, a target pace among a plurality of preset test paces is determined according to the running position of the user on the conveyor belt represented by the second running image data.
[0082] This step is a step for determining the target pace in the second initialization stage. The user can run on the conveyor belt at the minimum preset test pace among multiple preset test paces, and at the same time, the treadmill control device 120 displays the recommended running posture through the running guide interface of the user terminal 130 for the user to refer to and imitate. The user can run on the conveyor belt at the aforementioned minimum preset test pace by referring to and imitating the recommended running posture displayed on the running guide interface. The treadmill control device 120 collects the user's first running image data through the first camera 141, analyzes whether the user's running posture conforms to the displayed recommended running posture based on the user's first running image data, and selects the recommended running posture if the user's running posture represented by the user's first running image data conforms to the recommended running posture. In the case of a recommended running posture, the treadmill control device 120 can select a corresponding preset test pace from the order of the obtained multiple preset test paces from small to large to control the conveyor belt to run. Specifically, the conveyor belt can be controlled to run at each preset test pace for a certain period of time, such as tens of seconds. When the conveyor belt is controlled to run at the corresponding preset test pace in sequence, the treadmill control device 120 obtains the running position P of the user on the conveyor belt at the preset test pace according to the second running image data. The running position P can represent the adaptation of the user with the aforementioned pressure data at each preset test pace, so as to reflect the pace that users with similar pressure data but different exercise conditions can adapt to. Then, the treadmill control device 120 can determine the target pace that meets its exercise conditions among the multiple preset test paces according to the running position P.
[0083] Step S206: acquiring a corresponding running mode unit group from a pre-established running mode unit library according to the pressure data and the target pace.
[0084] This step is a step for obtaining a running mode unit group in the second initialization phase. The running mode unit group includes a plurality of basic running mode units that consume preset basic calories in a variety of different running scenarios. Each basic running mode unit corresponds to a running scenario. A running scenario refers to a scenario that can be encountered during actual running, and may include flat ground and uphill slopes of various slopes. A user with certain pressure data and pace will consume a certain amount of calories when performing a running exercise for a period of time in a running scenario, which is called the test calories of the running scenario. The test calories can be detected by professional instruments and equipment. In addition, a basic calorie can be pre-set, such as setting X calories, which is called the preset basic calorie. In this way, according to the test calories and the preset basic calories of the running scenario, it can be obtained how long the user with the aforementioned pressure data and pace needs to run in the running scenario to consume the preset basic calories. If a running exercise of T time is required, a corresponding running mode unit can be created according to the running scenario and T time. The running mode unit is used The treadmill control device 120 controls the treadmill 110 and its conveyor belt to run to reproduce the aforementioned running scene for a duration of T for the user to run. If it is necessary to reproduce the running scene of running on flat ground at the aforementioned pace for a duration of T, the control information in the running mode unit may include the aforementioned pace, conveyor belt slope Y, and duration T, etc. The treadmill control device 120 can control the conveyor belt to run at the aforementioned pace and slope Y for a duration of T according to the running mode unit to simulate the aforementioned running scene. Thus, by testing in a variety of different running scenes, a running mode unit group including a plurality of basic running mode units that consume preset basic calories in a variety of different running scenes can be obtained. Based on this method, running tests can be performed on a plurality of test users with different pressure data and different paces, so as to create corresponding running mode unit groups for different pressure data and different paces in advance, and obtain a plurality of running mode unit groups, and the plurality of running mode unit groups constitute a running mode unit library. Therefore, in this step, after the treadmill control device 120 obtains the pressure data and target pace of the user, it can obtain the corresponding running mode unit group from the pre-established running mode unit library according to the pressure data and the target pace, and obtain multiple basic running mode units that consume preset basic calories in a variety of different running scenarios. Exemplarily, the treadmill control device 120 can obtain the running mode unit group corresponding to the pressure data and the pace that are closest to the pressure data and the target pace of the user from the running mode unit library. Among them, the pressure data of the user can be first compared with the aforementioned different pressure data to obtain the closest pressure data, and then the different paces under the closest pressure data can be compared with the target pace of the user to obtain the closest pace, thereby obtaining the pressure data and pace that are closest to the pressure data and the target pace of the user, and then the corresponding running mode unit group can be obtained from the running mode unit library according to the closest pressure data and pace.
[0085] Step S207: generating a corresponding target running pattern according to the running pattern unit group based on the calories to be consumed.
[0086] This step is a step of determining a target running mode in the second initialization phase. The treadmill control device 120 may combine multiple basic running mode units in the running mode unit group based on the amount of calories to be consumed to form a target running mode that can consume the amount of calories to be consumed required by the user. That is, the treadmill control device 120 may allocate the amount of calories to be consumed to multiple basic running mode units, and the multiple basic running mode units constitute a complete running mode for consuming the amount of calories to be consumed required by the user, which is called a target running mode. As an example, assuming that the amount of calories to be consumed is Q, the running mode unit group includes basic running mode unit 1 corresponding to a flat ground running scene that consumes a preset basic calorie deltaQ, basic running mode unit 2 corresponding to a first slope running scene that consumes a preset basic calorie deltaQ, basic running mode unit 3 corresponding to a second slope running scene that consumes a preset basic calorie deltaQ, and so on. If the amount of calories to be consumed Q is basically equal to the three preset basic calories deltaQ, the basic running mode unit 1, the basic running mode unit 2 and the basic running mode unit 1 can be combined to obtain a target running mode, that is, flat ground running can be performed first, then first slope running can be performed, and then flat ground running can be performed again; the basic running mode unit 1, the basic running mode unit 2 and the basic running mode unit 3 can also be combined to obtain a target running mode, that is, flat ground running can be performed first, then first slope running can be performed, and then second slope running can be performed. Among them, the heat to be consumed Q is basically equal to 3 preset basic heat deltaQ, which can be measured by the heat difference between the heat to be consumed Q and the 3 preset basic heat deltaQ. If the absolute value of the heat difference between the heat to be consumed Q and the 3 preset basic heat deltaQ is less than or equal to the set heat difference threshold, it can be determined that the heat to be consumed Q is basically equal to the 3 preset basic heat deltaQ, and the set heat difference threshold is less than the preset basic heat deltaQ.
[0087] Step S208, entering the running phase, controlling the conveyor belt to run according to the target running mode and displaying the corresponding running scene animation through the running guidance interface of the user terminal.
[0088] Among them, after the treadmill control device 120 obtains the target running mode, it can prompt the user through the user terminal 130 to prepare to enter the running stage. For example, it can count down for several seconds to give the user a certain preparation time. During the prompt time, the conveyor belt can be controlled to slowly change speed to the initial pace, or the conveyor belt can be controlled to slowly decelerate to stop to ensure that the user enters the running stage safely and smoothly. The main function of this running stage is to provide the user with a target running mode for the user to consume the required calories. Specifically, in this step, after the treadmill control device 120 obtains the target running mode, on the one hand, according to the multiple basic running mode units sequentially combined in the target running mode, the conveyor belt is controlled in sequence to operate according to the corresponding basic running mode units, such as first performing the above-mentioned basic running mode unit 1, then performing basic running mode unit 2, and finally performing basic running mode unit 1. From the user's perspective, he first performs flat ground running for a period of time, then performs a first slope running for a period of time, and finally performs flat ground running for a period of time, thereby executing the entire target running mode to complete the consumption of the above-mentioned calories to be consumed; on the other hand, according to the multiple basic running mode units sequentially combined in the target running mode, the corresponding running scene animation data can be obtained from a pre-established running scene animation library, and the running scene animation library can contain the running scene animation data corresponding to each basic running mode unit. For example, for basic running mode unit 1, i.e., flat For running on the conveyor belt, animation data showing a virtual image running on flat ground for a certain period of time can be obtained from the running scene animation library. For basic running mode unit 2, i.e., running on the first slope, animation data showing a virtual image running on the first slope for a certain period of time can be obtained from the running scene animation library. Then, a group of running scene animation data corresponding to the target running mode is sent to the user terminal 130, and synchronously displayed through the running guidance interface of the user terminal 130. From the user's perspective, the user can see the corresponding running scene animation on the running guidance interface of the user terminal 130 while running on the conveyor belt. The calories consumed by the user can be basically guided by the treadmill control device 120. The user does not need to frequently and actively pay attention to the calorie consumption and frequently adjust the relevant parameters of the treadmill 110, so that the user basically does not feel it. On this basis, a running mode that is convenient and can meet the user's calorie consumption needs is adapted for the user, thereby improving the user's running sports experience as a whole.
[0089] The solution of this embodiment collects pressure data in the first initialization stage to analyze and adapt the corresponding test pace group for the user; in the second initialization stage, the user is guided to run in the recommended running posture based on the image data, and the running position is analyzed to adapt the target pace in the test pace group for the user; then the corresponding running mode unit group is obtained according to the pressure data and the target pace, and the corresponding target running mode is generated according to the running mode unit group based on the amount of calories to be consumed; in the running stage, the conveyor belt is controlled to run according to the target running mode and the running scene animation is displayed on the user terminal 130. Therefore, through the pressure and image data collection and analysis in the initialization stage, the running mode that meets the calorie consumption needs of the user is accurately and intelligently adapted, without the user actively and frequently paying attention to the consumed calories and frequently adjusting the relevant parameters of the treadmill 110, and without the user wearing wearable devices such as bracelets, a running mode that is convenient and can meet the calorie consumption needs of the user is adapted without the user being aware of it, thereby comprehensively improving the user's exercise experience on the treadmill 110.
[0090] In the above embodiment, the test pace group corresponding to the preset pressure value closest to the user's pressure average value among the multiple preset pressure values can be obtained from the test pace library. Figure 3 As shown, in one embodiment, the above method can establish a test pace library through the following steps, specifically including:
[0091] Step S301, enter the speed library establishment phase, control the conveyor belt to run at the initial speed, and obtain the average test pressure of multiple test users in a preset time through the pressure sensor.
[0092] In this step, the treadmill control device 120 enters the speed library establishment stage. The speed library establishment stage refers to the stage for establishing a test speed library, which is carried out by multiple test users. This stage needs to be completed before guiding the user to run to consume the calories required to be consumed, and can be specifically performed before step S201. In the speed library establishment stage, the treadmill control device 120 controls the conveyor belt to run at the initial speed, and obtains the test pressure mean of each of the multiple test users in the preset time through the pressure sensor. Among them, the setting of the initial speed and the preset time is similar to the above embodiment. The initial speed can use the slow walking speed as the initial speed, and the preset time can be set according to the actual situation, such as several seconds to several minutes. Specifically, in this stage, for each test user, the treadmill control device 120 controls the conveyor belt to run at the initial pace for a preset time, and obtains a test pressure value sequence of the test user moving on the conveyor belt at the initial pace for a preset time through the pressure sensor provided on the treadmill 110. Then, the treadmill control device 120 calculates the corresponding mean value based on the test pressure value sequence for the preset time, and obtains the test pressure mean value of each test user for the preset time.
[0093] Step S302, controlling the conveyor belt to run at a speed set by the user, and obtaining the test speeds of multiple test users.
[0094] In this step, each test user can set his own pace, which is called user-set pace. For each test user, the treadmill control device 120 obtains the pace set by the test user, i.e., the user-set pace, and controls the conveyor belt to run at the user-set pace. The test user needs to run at the preset running position P0 of the conveyor belt according to the recommended running posture. During this period, the test user can adjust the pace set by himself. The treadmill control device 120 controls the conveyor belt to run according to the pace adjusted by the user, so that the test user can run at the preset running position P0 of the conveyor belt according to the recommended running posture at a suitable pace and for a set time, such as several minutes, etc., thereby the treadmill control device 120 obtains the test paces of multiple test users respectively, and the test pace is the pace that enables the test user to run at the preset running position P0 of the conveyor belt with the recommended running posture for a set time.
[0095] Step S303: determining preset pressure values corresponding to the multiple test users respectively according to the respective test pressure averages of the multiple test users.
[0096] In this step, for each test user, the treadmill control device 120 determines the corresponding preset pressure value according to the corresponding test pressure mean. Specifically, a series of pressure values can be preset, and the treadmill control device 120 uses the pressure value closest to the test pressure mean as the preset pressure value corresponding to the test user, thereby determining the preset pressure value corresponding to each test user. The treadmill control device 120 can obtain multiple preset pressure values, and each preset pressure value can correspond to multiple test users.
[0097] Step S304, obtaining a test pace group according to the test pace of each test user corresponding to the same preset pressure value.
[0098] In this step, each preset pressure value may correspond to multiple test users, and each test user corresponding to the same preset pressure value has a corresponding test pace. The treadmill control device 120 classifies the test pace of each test user corresponding to the same preset pressure value into the same test pace group, thereby obtaining multiple test pace groups, corresponding to different preset pressure values respectively, and each test pace group contains multiple test paces or is called multiple preset test paces.
[0099] Step S305: establishing a test pace library according to the test pace groups corresponding to each preset pressure value.
[0100] In this step, the treadmill control device 120 may group the test pace groups corresponding to each preset pressure value into a test pace library, and the test pace library includes the multiple test pace groups.
[0101] The solution of this embodiment, by obtaining various stress data and various test paces with the cooperation of various test users during the pace library establishment phase and forming a test pace library based on them, provides effective data support for the test pace library to provide accurate test pace groups for actual users during the application phase.
[0102] In some embodiments, after collecting the first running image data of the user by the first camera disposed on the treadmill in step S204, the above method may determine whether the user's running posture conforms to the recommended running posture by the following steps, specifically including:
[0103] The user's body part motion data is obtained based on the first running image data; and whether the user's running posture conforms to the recommended running posture is determined based on a comparison result between the user's body part motion data and the body part motion data corresponding to the recommended running posture.
[0104] In this embodiment, after obtaining the first running image data of the user, the treadmill control device 120 obtains the user's part motion data according to the first running image data of the user. The user's part motion data may include the motion data of the user's hands and feet, such as the swing angle, swing rate and swing amplitude of the hands, the swing angle, swing rate and swing amplitude of the feet, etc. Then, the treadmill control device 120 compares the user's part motion data with the part motion data corresponding to the recommended running posture, such as comparing the swing angle, swing rate and swing amplitude of the user's hands with the swing angle, swing rate and swing amplitude of the hands of the recommended running posture, comparing the swing angle, swing rate and swing amplitude of the user's feet with the swing angle, swing rate and swing amplitude of the feet of the recommended running posture, etc., to obtain a comparison result. In actual applications, the part motion data corresponding to the recommended running posture is generally provided by professional users of running sports. Finally, the treadmill control device 120 determines whether the user's running posture meets the recommended running posture according to the comparison result. The solution of this embodiment can be used by the treadmill control device 120 to more accurately analyze and determine whether the user's running posture conforms to the recommended running posture based on the running image data. When the comparison and analysis shows that the user's hand swing amplitude is insufficient / excessive, corresponding prompt information can be issued through the running guidance interface of the user terminal 130 for the user to make timely adjustments.
[0105] In some embodiments, Figure 4 As shown, determining a target pace among a plurality of preset test paces according to the running position of the user on the conveyor belt represented by the second running image data in step S205 may specifically include:
[0106] Step S401, obtaining the current running position of the user on the conveyor belt at the current preset test pace according to the second running image data.
[0107] In this step, the treadmill control device 120 analyzes the running position of the user according to the running image data of the user. Specifically, the treadmill control device 120 obtains the running position of the user on the conveyor belt at the current preset test pace according to the second running image data, which is called the current running position P. In actual use, the treadmill control device 120 controls the conveyor belt to run at multiple preset test paces in the acquired test pace group in sequence, and runs at a preset test pace each time, which is called the current preset test pace. For each current preset test pace, the treadmill control device 120 obtains the corresponding current running position according to the second running image data, and then determines the target pace based on the current running position.
[0108] Step S4021, if the current running position is offset from the preset running position to the tail and the previous running position of the current running position is not offset from the preset running position to the tail, the preset test pace corresponding to the previous running position is determined as the target pace.
[0109] Specifically, if the current running position P is offset from the preset running position P0 to the tail (i.e., in the direction D), such as offset to position P1, and the previous running position of the current running position P is not offset from the preset running position P0 to the tail, the treadmill control device 120 determines the preset test pace corresponding to the previous running position as the target pace. The preset running position P0 may be the middle position of the conveyor belt of the treadmill 110 in the direction D, and the previous running position of the current running position P refers to the running position of the user on the conveyor belt at the previous preset test pace of the current preset test pace, and the previous preset test pace of the current preset test pace is also the preset test pace corresponding to the previous running position of the current running position P. This means that the user can adapt to the previous preset test pace but cannot adapt to the current preset test pace temporarily, so the treadmill control device 120 can determine the previous preset test pace as the target pace.
[0110] Step S4022: If the current running position does not deviate from the preset running position toward the tail and the current preset test pace reaches the highest pace among the multiple preset test paces, the current preset test is determined as the target pace.
[0111] Specifically, if the current running position P has not deviated from the preset running position P0 toward the tail (i.e., in direction D), but the current preset test pace has reached the highest pace among multiple preset test paces, then this indicates that the user can better adapt to the highest test pace, and the treadmill control device 120 can determine the current preset test as the target pace.
[0112] Step S4023, if the current running position has not shifted toward the tail from the preset running position and the current preset test pace has not reached the highest pace among the multiple preset test paces, the conveyor belt is controlled to continue running at the next preset test pace until the target pace is determined.
[0113] Specifically, if the current running position P has not deviated from the preset running position P0 toward the tail (i.e., in direction D) and the current preset test pace has not reached the highest pace among multiple preset test paces, the treadmill control device 120 can control the conveyor belt to continue running at the next preset test pace of the current preset test pace until the target pace is determined.
[0114] The solution of this embodiment can be that the treadmill control device 120 analyzes the deviation of the current running position relative to the preset running position based on the user's running image data, and quickly and effectively determines a preset test pace that the user can adapt to as the target pace.
[0115] Further, in some embodiments, the above step S401 may include: determining the contact position between the user's foot and the plane where the conveyor belt is located according to the second running image data; and obtaining the current running position according to the contact position. Specifically, in the analysis of the current running position, the treadmill control device 120 determines the contact position between the user's foot and the plane where the conveyor belt is located according to the second running image data, such as the contact position between the user's foot and the conveyor belt in direction D, and the treadmill control device 120 may use the contact position as the current running position P.
[0116] In this embodiment, the analysis of the current running position P shifting from the preset running position P0 to the tail (i.e., in direction D) can be performed through the following steps, that is, the above method can also include: obtaining the position offset between the current running position and the preset running position; if the position offset is greater than the preset position offset threshold, then determining that the current running position is shifted from the preset running position to the tail. Specifically, in direction D, the treadmill control device 120 can preset the running position P0 as the origin, obtain the distance of the current running position P relative to the origin as the position offset between the current running position P and the preset running position P0, and the treadmill control device 120 has a preset position offset threshold D. th , if the position offset is greater than the preset position offset threshold D th , if the current running position P is offset to position P1, the treadmill control device 120 determines that the current running position P is offset from the preset running position P0 to the tail. The solution of this embodiment can set a certain offset threshold for the analysis and judgment of the current running position offset to the tail to adapt to the running habits of different users at different paces, so that the target pace adapted for the user can have better accuracy and reliability.
[0117] For the establishment of the running mode unit library, such as Figure 5 As shown, in one embodiment, the above method can establish a running mode unit library through the following steps, specifically including:
[0118] Step S501, entering the mode unit library establishment phase, constructing multiple running scenes for the test user corresponding to each preset test pace under each preset pressure value.
[0119] In this step, the treadmill control device 120 enters the mode unit library establishment stage. The mode unit library establishment stage refers to the stage for establishing the running mode unit library, which is carried out by multiple test users in cooperation. This stage needs to be completed before guiding the user to run to consume the calories required to be consumed, and can be carried out before the aforementioned step S201 and after the test pace library is established. In the mode unit library establishment stage, the treadmill control device 120 builds multiple running scenes for the test users corresponding to each preset test pace under each preset pressure value. As mentioned above, the running scene refers to the scene that can be encountered during actual running, which can include flat ground and uphill of various slopes. The multiple running scenes built for each test user can be the same, such as building a flat ground running scene, a first slope running scene and a second slope running scene for each test user, and building the running scene is to simulate the corresponding running scene on the treadmill 110 through the setting of parameters such as slope, so that the test users of the corresponding preset test pace can perform running tests at this stage.
[0120] Step S502, for each running scene, according to the calories consumed by the test user in the running scene, determine the basic running mode unit corresponding to the preset basic calories consumed by the test user in the running scene, and obtain a running mode unit group corresponding to the test user including multiple basic running mode units.
[0121] In this step, for each test user, for each running scene constructed for it, the treadmill control device 120 makes the conveyor belt run according to its corresponding preset test pace. As mentioned above, a test user with certain pressure data (corresponding to the aforementioned preset pressure value) and pace (corresponding to the aforementioned preset test pace) will consume a corresponding certain amount of heat when performing a running exercise for a period of time in a running scene, which is called the test heat of the running scene. The test heat can be detected by professional instruments and equipment. At this stage, a basic heat can be set, such as setting X calories, which is called the preset basic heat. In this way, in this running scene, the treadmill control device 120 can obtain how long the test user needs to run to consume the preset basic heat at the corresponding preset test pace according to the test heat of the running scene and the preset basic heat. If a running exercise of T time is required, a corresponding running mode unit can be created according to the running scene, T time and the preset test pace corresponding to the test user. In this way, each running scene is tested, and the treadmill control device 120 can obtain a running mode unit group corresponding to the test user including multiple basic running mode units.
[0122] Step S503: establishing a running mode unit library according to the running mode unit groups corresponding to the test users.
[0123] In this step, the treadmill control device 120 obtains the running mode unit groups corresponding to each test user, and can organize the running mode unit groups corresponding to each test user into a running mode unit library, which includes these running mode unit groups.
[0124] The solution of this embodiment obtains a running mode unit group corresponding to each pressure data and test pace and covering each running scene with the cooperation and assistance of each test user during the pattern unit library establishment stage, and forms a running mode unit library accordingly, thereby providing effective data support for the running mode unit library to accurately adapt the running mode unit group to the actual users during the application stage.
[0125] In some embodiments, the step S207 generates a corresponding target running mode according to the running mode unit group based on the calories to be consumed, specifically including:
[0126] A target calorie is obtained based on the calories to be consumed and the estimated calories consumed; under the preset running scene constraints, multiple basic running mode units in the running mode unit group are combined into a target running mode with a calorie difference less than or equal to a preset calorie difference threshold.
[0127] In this embodiment, the treadmill control device 120 calculates the target heat according to the heat to be consumed and the estimated heat consumed. Among them, the estimated heat consumed may include the estimated value of the heat consumed by the user in the aforementioned first initialization stage and the second initialization stage. In practical applications, the estimated value may be a statistical value, and the statistical value may be obtained by the treadmill control device 120 according to the average value of the heat consumed by each test user in the first and second initialization stages. Specifically, the treadmill control device 120 may obtain the target heat by subtracting the estimated heat consumed from the heat to be consumed. Then, based on the target heat and under the preset running scene constraint, the treadmill control device 120 combines multiple basic running mode units in the running mode unit group into a target running mode with a heat difference less than or equal to a preset heat difference threshold. Among them, the heat difference is the difference between the preset basic heat sum of each basic running mode unit constituting the target running mode and the target heat, and the preset basic heat sum is the sum of the preset basic heat of each basic running mode unit constituting the target running mode. That is, the difference between the preset basic calories corresponding to the target running mode and the target calories is less than or equal to the preset calories difference threshold, so that the calories consumed by the target running mode for the user need to be basically the same as the target calories, and there may be a certain deviation, and the calories consumed by the target running mode for the user may be slightly greater than or slightly less than the target calories. In this embodiment, the composition of the target running mode can meet the preset running scene constraint conditions, and the preset running scene constraint conditions refer to the pre-set conditions that must be met by the combination of each basic running mode unit and meet the general running scene conditions. In actual applications, flat running can be performed first and flat running can also be performed at the end as preset running scene constraints and set in the treadmill control device 120. Therefore, the solution of this embodiment can more accurately adapt the running mode that meets the calorie consumption requirements of the user.
[0128] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0129] Based on the same inventive concept, the embodiment of the present application also provides a running intelligent guidance device based on multi-sensor data for implementing the above-mentioned running intelligent guidance method based on multi-sensor data. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more embodiments of the running intelligent guidance device based on multi-sensor data provided below can refer to the limitations of the running intelligent guidance method based on multi-sensor data above, and will not be repeated here.
[0130] In one embodiment, Figure 6 As shown, a running intelligent guiding device based on multi-sensor data is provided, which can be applied to a treadmill control device 120 of a treadmill 110. The device 600 may include:
[0131] The heat receiving module 601 is used to establish a connection with a user terminal and receive the heat to be consumed sent by the user terminal;
[0132] The pressure acquisition module 602 is used to enter the first initialization stage, control the conveyor belt of the treadmill to run at an initial pace, and obtain pressure data of the user when the user moves on the conveyor belt at the initial pace through a pressure sensor provided on the treadmill;
[0133] The pace group acquisition module 603 is used to acquire a corresponding test pace group from a pre-established test pace library according to the pressure data; the test pace group includes a plurality of preset test paces;
[0134] The data collection module 604 is used to enter the second initialization stage, display the recommended running posture through the running guidance interface of the user terminal, control the conveyor belt to run at the plurality of preset test paces in sequence, and collect the first running image data of the user through the first camera provided on the treadmill, and collect the second running image data of the user through the second camera provided on the treadmill;
[0135] a pace determination module 605, configured to determine a target pace among the plurality of preset test paces according to the running position of the user on the conveyor belt represented by the second running image data if the running posture of the user represented by the first running image data conforms to the recommended running posture;
[0136] The unit acquisition module 606 is used to acquire a corresponding running mode unit group from a pre-established running mode unit library according to the pressure data and the target pace; the running mode unit group includes a plurality of basic running mode units that consume preset basic calories in different running scenarios;
[0137] A mode generating module 607, configured to generate a corresponding target running mode according to the running mode unit group based on the calories to be consumed;
[0138] The running control module 608 is used to enter the running phase, control the conveyor belt to run according to the target running mode, and display the corresponding running scene animation through the running guide interface of the user terminal.
[0139] In one embodiment, the pressure data includes a pressure value sequence of a preset duration; a pace group acquisition module 603 is used to obtain the user's average pressure value based on the pressure value sequence of the preset duration; compare the pressure average value with multiple preset pressure values to determine the preset pressure value among the multiple preset pressure values that is closest to the pressure average value; and obtain a test pace group corresponding to the preset pressure value from the test pace library.
[0140] In one embodiment, the device 600 also includes: a pace library establishment unit, which is used to enter the pace library establishment stage, control the conveyor belt to run at the initial pace, and obtain the average test pressure of multiple test users for the preset time period through the pressure sensor; control the conveyor belt to run at the user-set pace, and obtain the test pace of each of the multiple test users; wherein the test pace is the pace that enables the test user to maintain the preset running position of the conveyor belt with the recommended running posture for a set time period; determine the preset pressure value corresponding to each of the multiple test users according to the average test pressure of each of the multiple test users; obtain the test pace group according to the test pace of each test user corresponding to the same preset pressure value; and establish the test pace library according to the test pace group corresponding to each preset pressure value.
[0141] In one embodiment, the device 600 also includes: a posture determination unit, used to obtain the part motion data of the user based on the first running image data; and determine whether the user's running posture conforms to the recommended running posture based on a comparison result of the part motion data of the user with the part motion data corresponding to the recommended running posture.
[0142] In one embodiment, the pace determination module 605 is used to obtain the current running position of the user on the conveyor belt at the current preset test pace based on the second running image data; if the current running position shifts toward the tail from the preset running position and the previous running position of the current running position does not shift toward the tail from the preset running position, then the preset test pace corresponding to the previous running position is determined as the target pace; if the current running position does not shift toward the tail from the preset running position and the current preset test pace reaches the highest pace among the multiple preset test paces, then the current preset test is determined as the target pace; if the current running position does not shift toward the tail from the preset running position and the current preset test pace does not reach the highest pace among the multiple preset test paces, then the conveyor belt is controlled to continue running at the next preset test pace until the target pace is determined.
[0143] In one embodiment, the pace determination module 605 is used to determine the contact position of the user's foot and the plane where the conveyor belt is located based on the second running image data; obtain the current running position based on the contact position; and obtain the position offset between the current running position and the preset running position; if the position offset is greater than the preset position offset threshold, it is determined that the current running position is offset from the preset running position to the tail.
[0144] In one embodiment, the device 600 also includes: a unit library establishment unit, which is used to enter the mode unit library establishment phase, and construct multiple running scenes for the test user corresponding to each preset test pace under each preset pressure value; for each running scene, according to the calories consumed by the test user when running in the running scene, determine the basic running mode unit corresponding to the preset basic calories consumed by the test user in the running scene, and obtain a running mode unit group corresponding to the test user including multiple basic running mode units; establish the running mode unit library according to the running mode unit groups corresponding to each test user.
[0145] In one embodiment, the pattern generation module 607 is used to obtain a target calorie based on the calories to be consumed and the estimated calories consumed; the estimated calories consumed include an estimated value of the calories consumed by the user in the first initialization stage and the second initialization stage; under the constraints of a preset running scene, multiple basic running mode units in the running mode unit group are combined into a target running mode in which the calorie difference is less than or equal to a preset calorie difference threshold; wherein the calorie difference is the difference between the preset basic calories of each basic running mode unit constituting the target running mode and the target calories.
[0146] Each module in the above-mentioned multi-sensor data-based running intelligent guidance device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the treadmill control device in the form of hardware, or can be stored in the memory in the treadmill control device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0147] In one embodiment, a treadmill control device is provided, and its internal structure diagram can be as follows: Figure 7 As shown. The treadmill control device may include a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. Among them, the processor of the treadmill control device is used to provide computing and control capabilities. The memory of the treadmill control device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the treadmill control device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a running intelligent guidance method based on multi-sensor data is implemented. The display screen of the treadmill control device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the treadmill control device can be a touch layer covered on the display screen, or a set button, etc.
[0148] Those skilled in the art will understand that Figure 7 The structure shown in the figure is merely a block diagram of a portion of the structure related to the scheme of the present application, and does not constitute a limitation on the treadmill control device to which the scheme of the present application is applied. The specific treadmill control device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0149] In one embodiment, a treadmill control device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0150] Establish a connection with a user terminal and receive the calories to be consumed sent by the user terminal; enter a first initialization stage, control the conveyor belt of the treadmill to run at an initial pace, and obtain pressure data of the user when exercising on the conveyor belt at the initial pace through a pressure sensor provided on the treadmill; obtain a corresponding test pace group from a pre-established test pace library based on the pressure data; the test pace group includes a plurality of preset test paces; enter a second initialization stage, display a recommended running posture through a running guidance interface of the user terminal, control the conveyor belt to run at the plurality of preset test paces in turn, and collect first running image data of the user through a first camera provided on the treadmill, and collect the user's first running image data through a second camera provided on the treadmill. second running image data; if the running posture of the user represented by the first running image data conforms to the recommended running posture, determining a target pace among the multiple preset test paces according to the running position of the user on the conveyor belt represented by the second running image data; acquiring a corresponding running mode unit group from a pre-established running mode unit library according to the pressure data and the target pace; the running mode unit group includes multiple basic running mode units for consuming preset basic calories in different running scenes; based on the calories to be consumed, generating a corresponding target running mode according to the running mode unit group; entering the running stage, controlling the conveyor belt to run according to the target running mode and displaying a corresponding running scene animation through the running guide interface of the user terminal.
[0151] In one embodiment, the pressure data includes a pressure value sequence of a preset duration; when the processor executes the computer program, the following steps are also implemented: based on the pressure value sequence of the preset duration, an average pressure value of the user is obtained; the average pressure value is compared with a plurality of preset pressure values to determine a preset pressure value among the plurality of preset pressure values that is closest to the average pressure value; and a test pace group corresponding to the preset pressure value is obtained from the test pace library.
[0152] In one embodiment, the processor further implements the following steps when executing the computer program: enters the pace library establishment stage, controls the conveyor belt to run at the initial pace, and obtains the average test pressure of multiple test users for the preset time period through the pressure sensor; controls the conveyor belt to run at the user-set pace, and obtains the test pace of each of the multiple test users; wherein, the test pace is the pace that enables the test user to run continuously for a set time period at the preset running position of the conveyor belt with the recommended running posture; determines the preset pressure value corresponding to each of the multiple test users according to the average test pressure of each of the multiple test users; obtains the test pace group according to the test pace of each test user corresponding to the same preset pressure value; and establishes the test pace library according to the test pace group corresponding to each preset pressure value.
[0153] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the part motion data of the user based on the first running image data; and determining whether the running posture of the user conforms to the recommended running posture based on a comparison result of the part motion data of the user with the part motion data corresponding to the recommended running posture.
[0154] In one embodiment, the processor further implements the following steps when executing the computer program: based on the second running image data, obtaining the current running position of the user on the conveyor belt at the current preset test pace; if the current running position shifts from the preset running position to the tail and the previous running position of the current running position does not shift from the preset running position to the tail, determining the preset test pace corresponding to the previous running position as the target pace; if the current running position does not shift from the preset running position to the tail and the current preset test pace reaches the highest pace among the multiple preset test paces, determining the current preset test as the target pace; if the current running position does not shift from the preset running position to the tail and the current preset test pace does not reach the highest pace among the multiple preset test paces, controlling the conveyor belt to continue running at the next preset test pace until the target pace is determined.
[0155] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining the contact position between the user's foot and the plane where the conveyor belt is located based on the second running image data; obtaining the current running position based on the contact position; obtaining the position offset between the current running position and the preset running position; if the position offset is greater than a preset position offset threshold, determining that the current running position is offset from the preset running position toward the tail.
[0156] In one embodiment, the processor further implements the following steps when executing the computer program: enters the mode unit library establishment phase, and constructs multiple running scenarios for the test user corresponding to each preset test pace under each preset pressure value; for each running scenario, determines, based on the calories consumed by the test user in the running scenario, a basic running mode unit corresponding to the preset basic calories consumed by the test user in the running scenario, and obtains a running mode unit group corresponding to the test user that includes multiple basic running mode units; and establishes the running mode unit library based on the running mode unit groups corresponding to each test user.
[0157] In one embodiment, the processor further implements the following steps when executing the computer program: obtaining a target calorie based on the calories to be consumed and the estimated calories consumed; the estimated calories consumed include an estimated value of the calories consumed by the user in the first initialization stage and the second initialization stage; under the constraints of a preset running scene, combining multiple basic running mode units in the running mode unit group into a target running mode with a calorie difference less than or equal to a preset calorie difference threshold; wherein the calorie difference is the difference between the preset basic calories of each basic running mode unit constituting the target running mode and the target calories.
[0158] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0159] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0160] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A running intelligent guidance method based on multi-sensor data, characterized in that: Applied to a treadmill, the method comprises: After establishing a connection with the user terminal, the first initialization phase is entered, the conveyor belt of the treadmill is controlled to run at an initial pace, and pressure data of the user when exercising on the conveyor belt at the initial pace is obtained through a pressure sensor provided on the treadmill; according to the pressure data, a corresponding test pace group is obtained from a pre-established test pace library; Entering a second initialization stage, displaying a recommended running posture through a running guidance interface of the user terminal, controlling the conveyor belt to run at a plurality of preset test paces in the test pace group in sequence, and collecting first running image data of the user through a first camera disposed on the treadmill, and collecting second running image data of the user through a second camera disposed on the treadmill; If the running posture of the user represented by the first running image data meets the recommended running posture, then determine the target pace among the multiple preset test paces according to the running position of the user on the conveyor belt represented by the second running image data; obtain the corresponding running mode unit group from the pre-established running mode unit library according to the pressure data and the target pace; and generate the corresponding target running mode according to the running mode unit group based on the heat to be consumed sent by the user terminal, including: obtaining the target heat according to the heat to be consumed and the estimated heat consumed; the estimated heat consumed includes the estimated value of the heat consumed by the user in the first initialization stage and the second initialization stage; under the preset running scene constraint condition, combine the multiple basic running mode units in the running mode unit group into a target running mode with a heat difference less than or equal to a preset heat difference threshold; wherein the heat difference is the difference between the preset basic heat sum of each basic running mode unit constituting the target running mode and the target heat; Entering the running stage, the conveyor belt is controlled to run according to the target running mode and the corresponding running scene animation is displayed through the running guidance interface of the user terminal.
2. The method according to claim 1, characterized in that The pressure data includes a sequence of pressure values of a preset duration; and obtaining a corresponding test pace group from a pre-established test pace library according to the pressure data includes: Obtaining a pressure average of the user according to the pressure value sequence of the preset duration; Comparing the pressure average with a plurality of preset pressure values, and determining a preset pressure value among the plurality of preset pressure values that is closest to the pressure average; A test pace group corresponding to the preset pressure value is obtained from the test pace library.
3. The method according to claim 2, characterized in that The method further comprises: Entering the speed library establishment phase, controlling the conveyor belt to run at the initial speed, and obtaining the average test pressure of multiple test users during the preset time through the pressure sensor; Controlling the conveyor belt to run at a user-set pace, and obtaining the test paces of each of the multiple test users; wherein the test pace is a pace that enables the test user to run at a preset running position of the conveyor belt in the recommended running posture for a set period of time; Determine the preset pressure values corresponding to the multiple test users respectively according to the average test pressures of the multiple test users respectively; Obtaining a test pace group according to the test pace of each test user corresponding to the same preset pressure value; The test pace library is established according to the test pace groups corresponding to each preset pressure value.
4. The method according to claim 1, characterized in that: After collecting the first running image data of the user by the first camera disposed on the treadmill, the method further includes: obtaining the body part motion data of the user according to the first running image data; According to a comparison result between the part motion data of the user and the part motion data corresponding to the recommended running posture, it is determined whether the running posture of the user conforms to the recommended running posture.
5. The method according to claim 1, characterized in that The step of determining a target pace among the plurality of preset test paces according to the running position of the user on the conveyor belt represented by the second running image data comprises: obtaining, according to the second running image data, a current running position of the user on the conveyor belt at a current preset test pace; If the current running position is offset from the preset running position to the tail and the previous running position of the current running position is not offset from the preset running position to the tail, the preset test pace corresponding to the previous running position is determined as the target pace; If the current running position does not deviate from the preset running position toward the tail and the current preset test pace reaches the highest pace among the plurality of preset test paces, determining the current preset test as the target pace; If the current running position does not deviate from the preset running position toward the tail and the current preset test pace does not reach the highest pace among the multiple preset test paces, the conveyor belt is controlled to continue running at the next preset test pace until the target pace is determined.
6. The method according to claim 5, characterized in that The step of obtaining the current running position of the user on the conveyor belt at the current preset test pace according to the second running image data includes: determining, according to the second running image data, a contact position between the foot of the user and the plane where the conveyor belt is located; Obtaining the current running position according to the contact position; The method further comprises: Obtaining a position offset between the current running position and the preset running position; If the position offset is greater than a preset position offset threshold, it is determined that the current running position is offset from the preset running position toward the tail.
7. The method according to claim 1, characterized in that The method further comprises: Entering the mode unit library establishment phase, multiple running scenarios are constructed for the test user corresponding to each preset test pace under each preset pressure value; For each running scene, according to the calories consumed by the test user in the running scene, a basic running mode unit corresponding to the preset basic calories consumed by the test user in the running scene is determined, and a running mode unit group corresponding to the test user including a plurality of basic running mode units is obtained; The running pattern unit library is established according to the running pattern unit groups corresponding to the test users.
8. The method according to any one of claims 1 to 7, characterized in that: Also includes: After entering the first initialization stage, the user terminal receives the initial pace sent by the cloud server and controls the conveyor belt of the treadmill to run at the initial pace; wherein the user terminal is connected to the cloud server; Among them, all user terminals obtain the pace data and the corresponding pressure data of the user when running on the treadmill and upload them to the cloud server; the cloud server obtains the pace data and pressure data, divides them into multiple pressure intervals according to the pressure data, and generates a normal distribution curve for the pace data corresponding to each pressure interval; obtains user information of the user terminal and calculates the corresponding user score; calculates the initial pace according to the user score and the normal distribution curve, and sends the initial pace to the user terminal.
9. A treadmill control device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Treadmill adaptive system based on 3D depth camera and flexible pressure-sensitive sensor
CN108114405A
Closure latch for vehicle door having bidirectional power release function
CN108930462A