A fitness equipment intelligent management method, system, terminal and storage medium
Through intelligent management methods, the treadmill switch is controlled according to the status of the treadmill and user data, which solves the problem of remote control in the existing technology, and realizes intelligent management and security improvement of the equipment.
Patent Information
- Application Number
- CN202211289362.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-20
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2042-10-20
AI Technical Summary
Existing smart treadmills cannot instantly obtain the real-time status of the device and cannot be remotely controlled, resulting in the inability to turn off in time when the user leaves temporarily, affecting the service life and safety of the device.
By obtaining the current status of the treadmill, determine whether there are athletes. If there are no athletes, obtain data such as departure time and heart rate. Control the treadmill's power on and off according to preset thresholds and instructions to prevent long-term power-on operation.
It improves the service life of the treadmill, saves electricity, reduces safety accidents, protects users' health, and realizes intelligent management.
Smart Images

Figure CN115645861B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of fitness equipment, and in particular to a method, system, terminal and storage medium for intelligent management of fitness equipment. Background Art
[0002] With the continuous development of social economy, more and more people are beginning to pay attention to their physical health. Running, as one of the most representative daily sports, is not only convenient but also has excellent exercise effects. Therefore, running is the preferred exercise method for countless people.
[0003] However, with the continuous development of urbanization, more and more people are flocking to cities, resulting in a sharp increase in urban pedestrian and vehicle traffic. More and more people choose to exercise at home, and the treadmill is undoubtedly a piece of fitness equipment that many athletes love.
[0004] Nowadays, although most smart treadmills on the market have achieved data synchronization with the cloud, and even some treadmills have achieved Bluetooth links between devices and mobile phones, they are only limited to some simple data interactions. They are unable to obtain the real-time status of the device in real time, and are unable to remotely modify the current device status. When the user temporarily leaves for something during exercise, the device is paused. If the customer does not or cannot shut down the treadmill for individual reasons, the treadmill will always be powered on and ready for exercise, which will seriously affect the service life of the treadmill. Summary of the Invention
[0005] In order to help strengthen the control and management of treadmills and increase the service life of treadmills, the present application provides a fitness equipment intelligent management method, system, terminal and storage medium.
[0006] In the first aspect, the present application provides a method for intelligent management of fitness equipment, which adopts the following technical solutions:
[0007] A method for intelligent management of fitness equipment, comprising:
[0008] Get the current state of the treadmill;
[0009] Determine whether the current state is a running state;
[0010] If the current state is the running state, determining whether there is an athlete on the treadmill;
[0011] If there is no athlete on the treadmill, obtaining the departure time of the athlete;
[0012] Based on the departure time, obtaining the departure duration;
[0013] Determining whether the absence duration exceeds a preset first duration threshold;
[0014] If the absence duration does not exceed the first duration threshold, determining whether a shutdown instruction is obtained;
[0015] If the shutdown instruction is not obtained, the current state is maintained;
[0016] If the shutdown instruction is obtained, ending the current state and shutting down the treadmill based on the shutdown instruction;
[0017] If the absence duration exceeds the first duration threshold, the current state is directly ended and the treadmill is turned off.
[0018] By adopting the above technical solution, the current state of the treadmill is first obtained. When the current state of the treadmill is the running state, it is determined whether there is an athlete exercising on the treadmill. If there is no athlete exercising on the treadmill, it means that the athlete has left the treadmill, then the athlete's absence time is obtained, and it is determined whether the absence time exceeds a preset first time threshold. If the absence time does not exceed the preset first time threshold, it is determined whether a shutdown instruction sent by the athlete is obtained within the first time threshold. If the shutdown instruction is not obtained, the current state of the treadmill is continued to be maintained. If the shutdown instruction is obtained, the current state is ended according to the shutdown instruction and the treadmill is turned off. In addition, if the absence time exceeds the first time threshold, the current state is directly ended and the treadmill is turned off. Different control and management methods are performed on the treadmill according to different situations, which helps to prevent the treadmill from being in the powered-on running state for a long time, thereby not only helping to increase the service life of the treadmill, but also helping to save electricity and reduce the possibility of safety accidents caused by the treadmill being in the powered-on running state for a long time.
[0019] Optionally, after obtaining the departure time of the athlete if no athlete is on the treadmill, the method further includes:
[0020] obtaining a heart rate of the athlete;
[0021] Determining whether the heart rate exceeds a preset heart rate threshold;
[0022] If the heart rate exceeds the heart rate threshold, the current state is directly ended and the treadmill is turned off.
[0023] By adopting the above technical solution, whether to shut down the treadmill is determined based on the athlete's heart rate. When the athlete's heart rate exceeds a preset heart rate threshold, if the athlete continues to exercise, it will be harmful to his or her body. Therefore, the current state is directly ended and the treadmill is shut down to prevent the athlete from continuing to exercise for a long time. This not only helps to protect the athlete's physical health, but also helps to save electricity, increase the service life of the treadmill, and reduce the possibility of safety accidents.
[0024] Optionally, also include:
[0025] If the heart rate does not exceed the heart rate threshold, obtaining the athlete's historical exercise data;
[0026] Based on the historical exercise data, obtaining the average duration of the athlete's historical single exercise as the average exercise duration;
[0027] Obtaining the athlete's current exercise duration;
[0028] Determining whether the current exercise duration exceeds the average exercise duration;
[0029] If the current exercise duration exceeds the average exercise duration, determining whether the athlete returns to the treadmill and continues exercising within a preset second duration threshold;
[0030] If the athlete does not return to the treadmill and continue exercising within the second time threshold, the current state is directly ended and the treadmill is turned off.
[0031] By adopting the above technical solution, when the athlete's heart rate does not exceed the preset heart rate threshold, the athlete's average exercise time is calculated based on the user's historical exercise data, and then it is determined whether the current exercise time exceeds the average exercise time. When the current exercise time exceeds the average exercise time, it is determined whether the athlete returns to the treadmill and continues to exercise within the preset second time threshold. If the athlete does not return to the treadmill and continue to exercise, the current state is directly ended and the treadmill is turned off. Whether the athlete will return to the treadmill to continue exercising is determined based on the athlete's average exercise time. This helps to determine the control and management plan for the treadmill, shut down the treadmill in time, and help to increase the service life of the treadmill.
[0032] Optionally, also include:
[0033] If the current exercise duration does not exceed the average exercise duration, determining whether the athlete is answering a phone call when leaving the treadmill;
[0034] If the athlete is on the phone when leaving the treadmill, obtaining a target number;
[0035] Obtaining the average duration of a single call between the athlete and the target number as the average call duration;
[0036] Obtaining the sum of the average call duration and the current exercise duration as the estimated time;
[0037] Determining whether the estimated time exceeds the average exercise duration;
[0038] If the estimated time exceeds the average exercise duration, determining whether the athlete returns to the treadmill and continues exercising within the second duration threshold;
[0039] If the athlete does not return to the treadmill and continue exercising within the second time threshold, the current state is directly ended and the treadmill is turned off.
[0040] By adopting the above technical solution, when the athlete's current exercise duration does not exceed the average exercise duration, it is determined whether the athlete left the treadmill due to answering a phone call. If the athlete left the treadmill due to answering a phone call, the target number and the average call duration between the athlete and the target number are obtained, and then it is determined whether the expected time exceeds the average exercise duration. When the expected time exceeds the average exercise duration, the control and management plan for the treadmill is determined by determining whether the athlete returns to the treadmill and continues exercising within a second time threshold. Combined with the reason why the athlete left the treadmill and the average call duration between the athlete and different target numbers, it is helpful to more accurately predict whether the athlete will return and continue exercising, thereby helping to more accurately determine whether to shut down the treadmill.
[0041] Optionally, the method further includes: if the estimated time does not exceed the average exercise duration, continuing to execute subsequent steps.
[0042] By adopting the above technical solution, when the estimated time does not exceed the average exercise duration, the subsequent steps are continued to determine the control and management plan for the treadmill.
[0043] Optionally, before directly ending the current state and turning off the treadmill if the absence duration exceeds the first duration threshold, the method further includes:
[0044] Determining whether the absence duration exceeds a preset third duration threshold;
[0045] If the absence duration exceeds the third duration threshold, sending a close request message to the client;
[0046] Determining whether the closing instruction is obtained within a time range allowed by the first time threshold;
[0047] If the shutdown instruction is obtained within the time range allowed by the first time threshold, ending the current state and shutting down the treadmill based on the shutdown instruction;
[0048] If the shutdown instruction is not obtained within the time range allowed by the first time threshold, the current state is directly ended and the treadmill is turned off.
[0049] By adopting the above technical solution, it is determined whether the absence time exceeds the preset third time threshold. When the absence time exceeds the third time threshold, a closing request message is sent to the client, and it is determined whether a closing instruction is obtained within the time range allowed by the first time threshold. When the closing instruction is obtained, the current state is ended and the treadmill is turned off according to the closing instruction. When the closing instruction is not obtained, the current state is directly ended and the treadmill is turned off. By setting the third time threshold, it is helpful to give athletes a buffer time to prevent the treadmill from being turned off when the athlete leaves for a short time for some reason and comes back to exercise. If the customer still wants to continue exercising, there is no need to restart the treadmill, which not only saves time and effort, but also helps prevent the treadmill from malfunctioning due to frequent repeated opening and closing of the treadmill; it also helps to prevent the treadmill from being in the powered-on running state for a long time, which reduces the service life of the treadmill.
[0050] Optionally, also include:
[0051] Determining whether the treadmill has upgradeable software or upgradeable firmware;
[0052] If the treadmill has upgradeable software or upgradeable firmware, determining whether the upgradeable software or the upgradeable firmware affects the safe operation of the treadmill;
[0053] If the upgraded software or the upgradeable firmware does not affect the safe operation of the treadmill, upgrading is performed based on user instructions;
[0054] If the upgrade software or the upgradeable firmware affects the safe operation of the treadmill, the upgradeable software or the upgradeable firmware is directly controlled to be upgraded.
[0055] By adopting the above technical solution, it is first determined whether the treadmill has upgradeable software or upgradeable firmware. If so, it is then determined whether the upgradeable software or upgradeable firmware affects the safe operation of the treadmill. If not, the upgradeable software or upgradeable firmware is upgraded according to the upgrade instruction issued by the user from the client. If so, the upgradeable software or upgradeable firmware is automatically and forcibly upgraded, which helps athletes use the treadmill flexibly and safely.
[0056] In a second aspect, the present application also discloses an intelligent management system for fitness equipment, which adopts the following technical solutions:
[0057] An intelligent management system for fitness equipment, comprising:
[0058] A first acquisition module is used to obtain the current state of the treadmill;
[0059] A first judging module, configured to judge whether the current state is a running state;
[0060] a second judgment module, configured to judge whether there is an athlete on the treadmill if the current state is the running state;
[0061] a second acquisition module, configured to acquire the departure time of the athlete if there is no athlete on the treadmill;
[0062] A third acquisition module is used to acquire the departure duration based on the departure time;
[0063] A third judgment module is used to judge whether the absence time exceeds a preset first time threshold;
[0064] a fourth judgment module, configured to judge whether a shutdown instruction is obtained if the absence duration does not exceed the first duration threshold;
[0065] a first execution module, configured to continue to maintain a current state if the shutdown instruction is not obtained;
[0066] a second execution module, configured to terminate the current state and shut down the treadmill based on the shut down instruction if the shut down instruction is obtained;
[0067] The third execution module is used to directly end the current state and turn off the treadmill if the absence duration exceeds the first duration threshold.
[0068] By adopting the above technical solution, the current state of the treadmill is first obtained. When the current state of the treadmill is the running state, it is determined whether there is an athlete exercising on the treadmill. If there is no athlete exercising on the treadmill, it means that the athlete has left the treadmill, then the athlete's absence time is obtained, and it is determined whether the absence time exceeds a preset first time threshold. If the absence time does not exceed the preset first time threshold, it is determined whether a shutdown instruction sent by the athlete is obtained within the first time threshold. If the shutdown instruction is not obtained, the current state of the treadmill is continued to be maintained. If the shutdown instruction is obtained, the current state is ended according to the shutdown instruction and the treadmill is turned off. In addition, if the absence time exceeds the first time threshold, the current state is directly ended and the treadmill is turned off. Different control and management methods are performed on the treadmill according to different situations, which helps to prevent the treadmill from being in the powered-on running state for a long time, thereby not only helping to increase the service life of the treadmill, but also helping to save electricity and reduce the possibility of safety accidents caused by the treadmill being in the powered-on running state for a long time.
[0069] In a third aspect, the present application provides a computer device that adopts the following technical solution:
[0070] An intelligent terminal comprises a memory and a processor, wherein the memory is used to store a computer program that can be run on the processor, and when the processor loads the computer program, the method of the first aspect is executed.
[0071] By adopting the above technical solution, a computer program is generated based on the method of the first aspect and stored in a memory to be loaded and executed by a processor, thereby making an intelligent terminal based on the memory and the processor, which is convenient for users to use.
[0072] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0073] A computer-readable storage medium stores a computer program, and when the computer program is loaded by a processor, the method of the first aspect is executed.
[0074] By adopting the above technical solution, a computer program is generated based on the method of the first aspect and stored in a computer-readable storage medium so as to be loaded and executed by a processor. The computer-readable storage medium facilitates the readability and storage of the computer program.
[0075] In summary, this application has the following beneficial technical effects:
[0076] First, the current state of the treadmill is obtained. When the current state of the treadmill is the running state, it is determined whether there is an athlete exercising on the treadmill. If there is no athlete exercising on the treadmill, it means that the athlete has left the treadmill, then the athlete's absence time is obtained, and it is determined whether the absence time exceeds a preset first time threshold. If the absence time does not exceed the preset first time threshold, it is determined whether a shutdown instruction sent by the athlete is obtained within the first time threshold. If the shutdown instruction is not obtained, the current state of the treadmill is continued to be maintained. If the shutdown instruction is obtained, the current state is ended according to the shutdown instruction and the treadmill is turned off. In addition, if the absence time exceeds the first time threshold, the current state is directly ended and the treadmill is turned off. Different control and management methods are performed on the treadmill according to different situations, which helps to prevent the treadmill from being in the powered-on running state for a long time, thereby not only helping to increase the service life of the treadmill, but also helping to save electricity and reduce the possibility of safety accidents caused by the treadmill being in the powered-on running state for a long time. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] Figure 1 This is a main flow chart of a method for intelligent management of fitness equipment according to an embodiment of the present application;
[0078] Figure 2 It is a flowchart of the specific steps from step S201 to step S203;
[0079] Figure 3 It is a flowchart of the specific steps from step S301 to step S306;
[0080] Figure 4 It is a flowchart of the specific steps from step S401 to step S407;
[0081] Figure 5 is a flowchart of steps S601 to S605;
[0082] Figure 6 is a flowchart of steps S701 to S704;
[0083] Figure 7 This is a module diagram of an intelligent management system for fitness equipment according to an embodiment of the present application.
[0084] Description of reference numerals:
[0085] 1. First acquisition module; 2. First judgment module; 3. Second judgment module; 4. Second acquisition module; 5. Third acquisition module; 6. Third judgment module; 7. Fourth judgment module; 8. First execution module; 9. Second execution module; 10. Third execution module. DETAILED DESCRIPTION
[0086] In a first aspect, the present application discloses a method for intelligent management of fitness equipment.
[0087] Reference Figure 1 , a fitness equipment intelligent management method, including steps S101 to S110:
[0088] Step S101: Acquire the current state of the treadmill.
[0089] Specifically, in this embodiment, the current state includes a closed state and a moving state.
[0090] Step S102: Determine whether the current state is the running state.
[0091] Specifically, in this embodiment, the pause state is also regarded as a motion state.
[0092] Step S103: If the current state is the running state, it is determined whether there is an athlete on the treadmill.
[0093] Specifically, in this embodiment, the athlete refers to a person running on a treadmill.
[0094] Step S104: If there is no athlete on the treadmill, the athlete's departure time is obtained.
[0095] Specifically, in this embodiment, the leaving time is the moment when the athlete leaves the treadmill. Specifically, in this embodiment, a camera or an infrared sensor is installed on the treadmill to determine whether there is an athlete exercising on the treadmill.
[0096] Step S105: Based on the departure time, obtain the departure duration.
[0097] Specifically, in this embodiment, the departure time is the length of time the athlete leaves the treadmill, and the departure time can be calculated by subtracting the departure time from the current time.
[0098] Step S106: Determine whether the absence duration exceeds a preset first duration threshold.
[0099] Specifically, in this embodiment, the first time threshold can be set to 30 minutes, 1 hour or other time.
[0100] Step S107: If the absence duration does not exceed the first duration threshold, it is determined whether a close instruction is obtained.
[0101] Specifically, in this embodiment, the closing instruction is an instruction to end the current state and turn off the treadmill, which can be sent through the client or through the control system.
[0102] Step S108: If no closing instruction is obtained, the current state is maintained.
[0103] Step S109: If a shutdown instruction is obtained, the current state is ended based on the shutdown instruction and the treadmill is turned off.
[0104] Specifically, in this embodiment, when the absence time does not exceed the first time threshold, if a shutdown instruction sent by the user is received, the current state is ended and the treadmill is turned off according to the shutdown instruction.
[0105] Step S110: If the absence time exceeds the first time threshold, the current state is ended directly and the treadmill is turned off.
[0106] Specifically, in this embodiment, when the absence time exceeds the first time threshold, the system directly controls the treadmill to end the current state and shut down.
[0107] The intelligent management method for fitness equipment provided in this embodiment first obtains the current state of the treadmill. When the current state of the treadmill is the running state, it is determined whether there is an athlete exercising on the treadmill. If there is no athlete exercising on the treadmill, it means that the athlete has left the treadmill. The athlete's absence time is obtained and it is determined whether the absence time exceeds a preset first time threshold. If the absence time does not exceed the preset first time threshold, it is determined whether a shutdown instruction sent by the athlete is obtained within the first time threshold. If the shutdown instruction is not obtained, the current state of the treadmill is maintained. If the shutdown instruction is obtained, the current state is ended according to the shutdown instruction and the treadmill is turned off. In addition, if the absence time exceeds the first time threshold, the current state is directly ended and the treadmill is turned off. Different control and management methods are used for the treadmill according to different situations, which helps to prevent the treadmill from being in the powered-on running state for a long time, thereby not only helping to increase the service life of the treadmill, but also helping to save electricity and reduce the possibility of safety accidents caused by the treadmill being in the powered-on running state for a long time.
[0108] Reference Figure 2 In one implementation of this embodiment, if there is no athlete on the treadmill in step S104, then after obtaining the athlete's departure time, steps S201 to S203 are further included:
[0109] Step S201: Obtain the athlete's heart rate.
[0110] Step S202: Determine whether the heart rate exceeds a preset heart rate threshold.
[0111] Specifically, in this embodiment, the heart rate threshold can be set according to the athlete's own physical fitness, for example, it can be set to 80 beats per minute, 90 beats per minute or other numerical values.
[0112] Step S203: If the heart rate exceeds the heart rate threshold, the current state is directly ended and the treadmill is turned off.
[0113] Specifically, in this embodiment, when the heart rate exceeds the heart rate threshold, it indicates that the athlete's heart rate is too fast. If the athlete continues to exercise, it may lead to insufficient supply and demand, hypoxia or other symptoms. Therefore, the current state is directly ended and the treadmill is turned off.
[0114] The intelligent management method for fitness equipment provided in this embodiment determines whether to shut down the treadmill based on the athlete's heart rate. When the athlete's heart rate exceeds a preset heart rate threshold, if the athlete continues to exercise, it will be harmful to his or her body. Therefore, the current state is directly ended and the treadmill is shut down to prevent the athlete from continuing to exercise for a long time. This not only helps to protect the athlete's physical health, but also helps to save electricity, increase the service life of the treadmill, and reduce the possibility of safety accidents.
[0115] Reference Figure 3 In one implementation of this embodiment, steps S301 to S306 are further included:
[0116] Step S301: If the heart rate does not exceed the heart rate threshold, the athlete's historical exercise data is obtained.
[0117] Specifically, in this embodiment, the historical exercise data includes the number of historical exercises and the duration of each exercise.
[0118] Step S302: Based on historical exercise data, obtain the average exercise duration.
[0119] Specifically, in this embodiment, the average exercise duration refers to the average duration of a single exercise of an athlete in history. The average exercise duration can be obtained by adding up the duration of each exercise of the athlete and then dividing it by the number of exercises.
[0120] Step S303: Obtain the athlete's current exercise duration.
[0121] Specifically, in this embodiment, the current exercise duration refers to the exercise duration of the athlete's current exercise.
[0122] Step S304: Determine whether the current exercise duration exceeds the average exercise duration.
[0123] Step S305: If the current exercise duration exceeds the average exercise duration, it is determined whether the athlete returns to the treadmill and continues exercising within a preset second duration threshold.
[0124] Specifically, in this embodiment, the second duration threshold may be 30 minutes or other time, or may be equal to the first duration threshold.
[0125] Step S306: If the athlete does not return to the treadmill and continue exercising within the second time threshold, the current state is directly ended and the treadmill is turned off.
[0126] The intelligent management method for fitness equipment provided in this embodiment, when the athlete's heart rate does not exceed the preset heart rate threshold, calculates the athlete's average exercise time through the user's historical exercise data, and then determines whether the current exercise time exceeds the average exercise time. When the current exercise time exceeds the average exercise time, it determines whether the athlete returns to the treadmill and continues exercising within the preset second time threshold. If the athlete does not return to the treadmill and continue exercising, the current state is directly ended and the treadmill is turned off. Whether the athlete will return to the treadmill to continue exercising is determined based on the athlete's average exercise time, which helps to determine the control and management plan for the treadmill, shut down the treadmill in time, and help to increase the service life of the treadmill.
[0127] Reference Figure 4In one implementation of this embodiment, the specific steps of step S202 include steps S401 to S407:
[0128] Step S401: If the current exercise duration does not exceed the average exercise duration, it is determined whether the athlete is answering a phone call when leaving the treadmill.
[0129] Specifically, in this embodiment, the mobile phone can be connected to the treadmill via Bluetooth or network, so that the treadmill can obtain relevant information of the mobile phone.
[0130] Step S402: If the athlete is answering a call when leaving the treadmill, the target number is obtained.
[0131] Specifically, in this embodiment, the target number is the mobile phone number used by the person who is talking to the athlete. In this embodiment, in order to protect user privacy, the specific mobile phone number may not be obtained, and different numbers may be replaced by numbers or other identifiers.
[0132] Step S403: Obtain the average call duration.
[0133] Specifically, in this embodiment, the average call duration refers to the average duration of a single call between an athlete and a target number.
[0134] Step S404: Obtain the estimated time consumption.
[0135] Specifically, in this embodiment, the estimated duration refers to the sum of the average call duration and the duration of the current exercise.
[0136] Step S405: Determine whether the estimated time exceeds the average exercise duration.
[0137] Step S406: If the estimated time exceeds the average exercise duration, it is determined whether the athlete returns to the treadmill and continues exercising within the second duration threshold.
[0138] Step S407: If the athlete does not return to the treadmill and continue exercising within the second time threshold, the current state is directly ended and the treadmill is turned off.
[0139] The intelligent management method for fitness equipment provided in this embodiment determines whether the athlete left the treadmill due to answering a phone call when the athlete's current exercise duration does not exceed the average exercise duration. If the athlete left the treadmill due to answering a phone call, the target number and the average call duration between the athlete and the target number are obtained, and then it is determined whether the expected time exceeds the average exercise duration. When the expected time exceeds the average exercise duration, the control and management plan for the treadmill is determined by determining whether the athlete returns to the treadmill and continues exercising within a second time threshold. Combining the reason why the athlete left the treadmill and the average call duration between the athlete and different target numbers helps to more accurately predict whether the athlete will return and continue exercising, thereby helping to more accurately determine whether to shut down the treadmill.
[0140] In one implementation of this embodiment, step S501 is further included:
[0141] Step S501: If the estimated time does not exceed the average exercise duration, continue to execute subsequent steps.
[0142] Specifically, in this embodiment, when the estimated time does not exceed the average exercise duration, step S104 is continued.
[0143] The intelligent management method for fitness equipment provided in this embodiment continues to execute subsequent steps to determine the control and management plan for the treadmill when the estimated time consumption does not exceed the average exercise duration.
[0144] Reference Figure 5 In one implementation of this embodiment, the specific steps in step S110 include steps S601 to S605:
[0145] Step S601: Determine whether the absence duration exceeds a preset third duration threshold.
[0146] Specifically, in this embodiment, the third duration threshold may be 15 minutes, 20 minutes, or other time periods, and the third duration threshold is smaller than the first duration threshold.
[0147] Step S602: If the absence duration exceeds a third duration threshold, a close request message is sent to the client.
[0148] Specifically, in this embodiment, the shutdown request information refers to information requesting to end the current state and shut down the treadmill, and the client may be a mobile phone or a tablet.
[0149] Step S603: Determine whether a closing instruction is obtained within the time range allowed by the first time threshold.
[0150] Step S604: If a shutdown instruction is obtained within the time range allowed by the first time threshold, the current state is ended based on the shutdown instruction and the treadmill is turned off.
[0151] Step S605: If no shutdown instruction is obtained within the time range allowed by the first time threshold, the current state is directly ended and the treadmill is turned off.
[0152] The intelligent management method for fitness equipment provided in this embodiment determines whether the absence time exceeds a preset third time threshold. When the absence time exceeds the third time threshold, a shutdown request message is sent to the client, and it is determined whether a shutdown instruction is obtained within the time range allowed by the first time threshold. When the shutdown instruction is obtained, the current state is ended and the treadmill is turned off according to the shutdown instruction. When the shutdown instruction is not obtained, the current state is directly ended and the treadmill is turned off. By setting the third time threshold, it helps to give athletes a buffer time to prevent the treadmill from being turned off when the athlete leaves for a short time for some reason and comes back to exercise. If the customer still wants to continue exercising, there is no need to restart the treadmill, which not only saves time and effort, but also helps prevent the treadmill from malfunctioning due to frequent opening and closing of the treadmill; it also helps to prevent the treadmill from being in a powered-on state for a long time, which reduces the service life of the treadmill.
[0153] Reference Figure 6 In one implementation of this embodiment, steps S701 to S704 are further included:
[0154] Step S701: Determine whether the treadmill has upgradeable software or upgradeable firmware.
[0155] Specifically, in this embodiment, upgradeable software refers to software installed in the treadmill that can be upgraded and updated, and upgradeable firmware refers to firmware installed in the treadmill that can be upgraded and updated.
[0156] Step S702: If the treadmill has upgradeable software or upgradeable firmware, determine whether the upgradeable software or upgradeable firmware affects the safe operation of the treadmill.
[0157] Step S703: If upgrading the software or upgradeable firmware does not affect the safe operation of the treadmill, then upgrading is performed based on user instructions.
[0158] Specifically, in this embodiment, when the upgradeable software or upgradeable firmware does not affect the safe operation of the treadmill, the user can decide which software or firmware to upgrade entirely based on his or her own decision.
[0159] Step S704: If upgrading the software or upgradeable firmware affects the safe operation of the treadmill, directly controlling the upgradeable software or upgradeable firmware to upgrade.
[0160] Specifically, in this embodiment, when the upgradeable software or upgradeable firmware affects the safe operation of the treadmill, the system will automatically and forcibly upgrade the corresponding upgradeable software or upgradeable firmware.
[0161] The intelligent management method for fitness equipment provided in this embodiment first determines whether the treadmill has upgradeable software or upgradeable firmware. If so, it then determines whether the upgradeable software or upgradeable firmware affects the safe operation of the treadmill. If not, the upgradeable software or upgradeable firmware is upgraded according to the upgrade instruction issued by the user from the client. If so, the upgradeable software or upgradeable firmware is automatically and forcibly upgraded, which helps athletes use the treadmill flexibly and safely.
[0162] The implementation principle of an intelligent management method for fitness equipment in an embodiment of the present application is as follows: obtaining the current state of a treadmill; determining whether the current state is a running state; if the current state is a running state, determining whether there is an athlete on the treadmill; if there is no athlete on the treadmill, obtaining the athlete's departure time; based on the departure time, obtaining the departure duration; determining whether the departure duration exceeds a preset first duration threshold; if the departure duration does not exceed the first duration threshold, determining whether a shutdown instruction is obtained; if no shutdown instruction is obtained, continuing to maintain the current state; if a shutdown instruction is obtained, ending the current state based on the shutdown instruction and turning off the treadmill; if the departure duration exceeds the first duration threshold, directly ending the current state and turning off the treadmill.
[0163] In a second aspect, the present application also discloses an intelligent management system for fitness equipment.
[0164] Reference Figure 7 , an intelligent management system for fitness equipment, comprising:
[0165] The first acquisition module 1 is used to obtain the current state of the treadmill;
[0166] The first judgment module 2 is used to judge whether the current state is the running state;
[0167] The second judgment module 3 is used to judge whether there is an athlete on the treadmill if the current state is the running state;
[0168] The second acquisition module 4 is used to obtain the departure time of the athlete if there is no athlete on the treadmill;
[0169] The third acquisition module 5 is used to obtain the departure duration based on the departure time;
[0170] The third judgment module 6 is used to judge whether the absence time exceeds a preset first time threshold;
[0171] The fourth judgment module 7 is used to determine whether a shutdown instruction is obtained if the absence time does not exceed the first time threshold;
[0172] The first execution module 8 is configured to continue to maintain the current state if no shutdown instruction is obtained;
[0173] The second execution module 9 is configured to terminate the current state and shut down the treadmill based on the shut down instruction if a shut down instruction is obtained;
[0174] The third execution module 10 is used to directly end the current state and turn off the treadmill if the absence time exceeds the first time threshold.
[0175] In a third aspect, an embodiment of the present application discloses an intelligent terminal, comprising a memory and a processor, wherein the memory is used to store a computer program that can be run on the processor, and when the processor loads the computer program, it executes an intelligent management method for fitness equipment according to the above embodiment.
[0176] In a fourth aspect, an embodiment of the present application discloses a computer-readable storage medium, and a computer program is stored in the computer-readable storage medium, wherein when the computer program is loaded by a processor, a fitness equipment intelligent management method of the above embodiment is executed.
[0177] The above are all preferred embodiments of the present application, and are not intended to limit the scope of protection of the present application. Therefore, any equivalent changes made based on the structure, shape, and principle of the present application should be included in the scope of protection of the present application.
Claims
1. A method for intelligent management of fitness equipment, characterized in that: include: Get the current state of the treadmill; Determine whether the current state is a running state; If the current state is the running state, determining whether there is an athlete on the treadmill; If there is no athlete on the treadmill, obtaining the departure time of the athlete; Based on the departure time, obtaining the departure duration; Determining whether the absence duration exceeds a preset first duration threshold; If the absence duration does not exceed the first duration threshold, determining whether a shutdown instruction is obtained; If the shutdown instruction is not obtained, the current state is maintained; If the shutdown instruction is obtained, ending the current state and shutting down the treadmill based on the shutdown instruction; If the absence time exceeds the first time threshold, directly end the current state and turn off the treadmill; If there is no athlete on the treadmill, simultaneously obtaining the athlete's heart rate; Determining whether the heart rate exceeds a preset heart rate threshold; If the heart rate exceeds the heart rate threshold, directly ending the current state and turning off the treadmill; If the heart rate does not exceed the heart rate threshold, obtaining the athlete's historical exercise data; Based on the historical exercise data, obtaining the average duration of the athlete's historical single exercise as the average exercise duration; Obtaining the athlete's current exercise duration; Determining whether the current exercise duration exceeds the average exercise duration; If the current exercise duration exceeds the average exercise duration, determining whether the athlete returns to the treadmill and continues exercising within a preset second duration threshold; If the athlete does not return to the treadmill and continue exercising within the second time threshold, the current state is directly ended and the treadmill is turned off.
2. A fitness equipment intelligent management method according to claim 1, characterized in that: Also includes: If the current exercise duration does not exceed the average exercise duration, determining whether the athlete is answering a phone call when leaving the treadmill; If the athlete is on the phone when leaving the treadmill, obtaining a target number; Obtaining the average duration of a single call between the athlete and the target number as the average call duration; Obtaining the sum of the average call duration and the current exercise duration as the estimated time; Determining whether the estimated time exceeds the average exercise duration; If the estimated time exceeds the average exercise duration, determining whether the athlete returns to the treadmill and continues exercising within the second duration threshold; If the athlete does not return to the treadmill and continue exercising within the second time threshold, the current state is directly ended and the treadmill is turned off.
3. A fitness equipment intelligent management method according to claim 2, characterized in that: Also includes: If the estimated time does not exceed the average exercise duration, continue to execute subsequent steps.
4. The method for intelligent management of fitness equipment according to claim 1, characterized in that: Before directly ending the current state and turning off the treadmill if the absence duration exceeds the first duration threshold, the method further includes: Determining whether the absence duration exceeds a preset third duration threshold; If the absence duration exceeds the third duration threshold, sending a close request message to the client; Determining whether the closing instruction is obtained within a time range allowed by the first time threshold; If the shutdown instruction is obtained within the time range allowed by the first time threshold, ending the current state and shutting down the treadmill based on the shutdown instruction; If the shutdown instruction is not obtained within the time range allowed by the first time threshold, the current state is directly ended and the treadmill is turned off.
5. The method for intelligent management of fitness equipment according to claim 1, characterized in that: Also includes: Determining whether the treadmill has upgradeable software or upgradeable firmware; If the treadmill has upgradeable software or upgradeable firmware, determining whether the upgradeable software or the upgradeable firmware affects the safe operation of the treadmill; If the upgraded software or the upgradeable firmware does not affect the safe operation of the treadmill, upgrading is performed based on user instructions; If the upgrade software or the upgradeable firmware affects the safe operation of the treadmill, the upgradeable software or the upgradeable firmware is directly controlled to be upgraded.
6. An intelligent management system for fitness equipment, characterized in that: include: A first acquisition module (1) is used to acquire the current state of the treadmill; A first judgment module (2) is used to judge whether the current state is a running state; A second judgment module (3), if the current state is the running state, the second judgment module (3) is used to judge whether there is an athlete on the treadmill; A second acquisition module (4), if there is no athlete on the treadmill, the second acquisition module (4) is used to obtain the departure time of the athlete; A third acquisition module (5) is used to acquire the departure duration based on the departure time; A third judgment module (6) is used to judge whether the departure time exceeds a preset first time threshold; A fourth judgment module (7), if the absence duration does not exceed the first duration threshold, the fourth judgment module (7) is used to judge whether a shutdown instruction is obtained; A first execution module (8), if the shutdown instruction is not obtained, the first execution module (8) is used to continue to maintain the current state; a second execution module (9), configured to terminate the current state and shut down the treadmill based on the shut down instruction if the shut down instruction is obtained; A third execution module (10), configured to directly end the current state and turn off the treadmill if the absence duration exceeds the first duration threshold; A fourth acquisition module (11) is used to obtain the athlete's heart rate; A fourth judgment module (12) is used to judge whether the heart rate exceeds a preset heart rate threshold; A fourth execution module (13) directly ends the current state and turns off the treadmill if the heart rate exceeds the heart rate threshold; a fifth acquisition module (14), wherein if the heart rate does not exceed the heart rate threshold, the fifth acquisition module (15) is used to acquire the athlete's historical data; a sixth acquisition module (15), based on the historical exercise data acquired by the fifth acquisition module (15), the sixth acquisition module (15) is used to acquire an average exercise duration; The seventh acquisition module (16) acquires the athlete's exercise duration; A fifth judgment module (17) is configured to judge whether the current exercise duration exceeds the average exercise duration; a sixth judgment module (18), wherein if the exercise duration of the current exercise exceeds the average exercise duration, the sixth judgment module (18) judges whether the athlete returns to the treadmill and continues exercising within a preset second duration threshold; The fourth execution module (19) is used to directly end the current state and turn off the treadmill if the athlete does not return to the treadmill and continue exercising within the second time threshold.
7. An intelligent terminal, comprising a memory and a processor, characterized in that: The memory is used to store a computer program that can be run on the processor, and when the processor loads the computer program, it executes the method according to any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, wherein: When the computer program is loaded into a processor, the method according to any one of claims 1 to 5 is executed.
Citation Information
Patent Citations
Method for controlling treadmill operation
CN1631471A