CN112999615B - Treadmill control method, cloud server, system and readable storage medium - Google Patents

Treadmill control method, cloud server, system and readable storage medium Download PDF

Info

Publication number
CN112999615B
CN112999615B CN201911330743.4A CN201911330743A CN112999615B CN 112999615 B CN112999615 B CN 112999615B CN 201911330743 A CN201911330743 A CN 201911330743A CN 112999615 B CN112999615 B CN 112999615B
Authority
CN
China
Prior art keywords
information
food material
treadmill
user
sign information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911330743.4A
Other languages
Chinese (zh)
Other versions
CN112999615A (en
Inventor
陈小平
龙艳婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Viomi Electrical Technology Co Ltd
Original Assignee
Foshan Viomi Electrical Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foshan Viomi Electrical Technology Co Ltd filed Critical Foshan Viomi Electrical Technology Co Ltd
Priority to CN201911330743.4A priority Critical patent/CN112999615B/en
Publication of CN112999615A publication Critical patent/CN112999615A/en
Application granted granted Critical
Publication of CN112999615B publication Critical patent/CN112999615B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0087Electric or electronic controls for exercising apparatus of groups A63B21/00 - A63B23/00, e.g. controlling load

Abstract

The application discloses a treadmill control method, which comprises the following steps: receiving image information uploaded by an intelligent refrigerator, and identifying food materials contained in the image information to obtain corresponding food material labels; receiving food material information input based on the food material labels, and obtaining corresponding energy parameters according to the food material labels and the food material information; acquiring physical sign information of a target user; obtaining corresponding control information according to the energy parameters and the sign information; and sending the control information to the running machine so as to control the running machine to respond to the control information. The application also provides a cloud server, a treadmill control system and a computer readable storage medium. The treadmill can be accurately controlled according to the actual state of the user, and the comfort of movement is improved.

Description

Treadmill control method, cloud server, system and readable storage medium
Technical Field
The present application relates to the field of treadmill control, and in particular, to a treadmill control method, a cloud server, a treadmill control system, and a computer-readable storage medium.
Background
Along with the continuous improvement of the life quality of people, people pay more and more attention to the physical health of the people. With the wide acceptance and popularization of fitness exercises, people can use various fitness equipment to perform various fitness exercises at home or in professional fitness places. Among them, a treadmill is a more common exercise device.
However, in the existing exercise based on the treadmill, the user can select the corresponding exercise mode or exercise mode at will, so that the actual exercise cannot achieve the desired effect, and there may be situations of excessive exercise or insufficient exercise.
In the practical application process, the suitable motion modes of different people are different, and if a motion mode or motion mode which is not suitable for the people is used, negative effects are likely to be produced on the bodies of the people, and the health and safety of the people are damaged. Therefore, a reasonable control mode is needed, so that the treadmill can more reasonably set a proper motion mode according to the physical state of people.
Disclosure of Invention
The application provides a treadmill control method, a cloud server, a treadmill control system and a computer readable storage medium to accurately control a treadmill according to the actual state of a user, and improve the comfort of user movement.
In a first aspect, the application model updating method for smart home devices provided by the present application includes:
receiving image information uploaded by an intelligent refrigerator, and identifying food materials contained in the image information to obtain corresponding food material labels;
receiving food material information input based on the food material labels, and obtaining corresponding energy parameters according to the food material labels and the food material information;
acquiring physical sign information of a target user;
obtaining corresponding control information according to the energy parameters and the physical sign information;
and sending the control information to the running machine so as to control the running machine to respond to the control information.
In a second aspect, the present application further provides a cloud server, where the cloud server includes a processor and a memory, and the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the method for controlling a treadmill described above.
In a third aspect, the present application further provides a treadmill control system, where the treadmill control system includes an intelligent refrigerator, a magic mirror, a treadmill, and the cloud server.
In a fourth aspect, the present application further provides a storage medium having stored thereon computer-readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the treadmill control method described above.
In the treadmill control method and system disclosed by the application, the control of the treadmill equipment, such as setting of an exercise plan, parameter adjustment and the like, is realized through the cloud server. When the cloud server receives image information uploaded by the intelligent refrigerator, food materials contained in the image information are identified to obtain corresponding food material labels, food material information input based on the obtained food material labels is received, then current corresponding energy parameters are obtained according to the obtained food material labels and the food material information, then sign information of a target user is obtained, corresponding control information is obtained by utilizing the energy parameters and the sign information, and finally the control information is sent to the running machine, so that the running machine responds to the control information. The method and the device realize timely and accurate customization of a proper exercise plan according to food information and relevant information of the user after monitoring that the user takes food in the control process of the treadmill, remind the user of carrying out proper exercise, avoid discomfort caused by excessive exercise and ineffectiveness of slight exercise, and improve the comfort of exercise.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic block diagram of a treadmill control system in one embodiment of the present application;
FIG. 2 is a schematic flow chart of a treadmill control method according to one embodiment of the present application;
FIG. 3 is a schematic flow chart illustrating steps for obtaining an energy parameter according to an embodiment of the present application;
FIG. 4 is a schematic flow chart of a treadmill control method according to another embodiment of the present application;
fig. 5 is a schematic block diagram of a structure of a cloud server provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution order may be changed according to the actual situation.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
The embodiment of the application provides a treadmill control method, a cloud server, a treadmill control system, computer equipment and a storage medium.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic block diagram of a treadmill control system according to one embodiment of the present application.
The treadmill control system 100 includes a cloud server 110, a magic mirror 120, an intelligent refrigerator 130, and a treadmill 140, and corresponding communication connections are established between the devices, for example, communication connections are implemented by using a WiFi or ZigBee gateway.
The intelligent refrigerator 130 is provided with a corresponding image collecting device, such as a camera, for collecting and acquiring corresponding image information when the refrigerator door of the intelligent refrigerator 130 is opened.
The magic mirror 120 is used to obtain characteristic information of the user, where the characteristic information includes, but is not limited to, body fat information, and the magic mirror 120 is connected to a body fat scale (not labeled in the figure) to obtain data information recorded by the body fat scale in real time, that is, when the body fat scale detects that the user weighs, the obtained characteristic information is uploaded to the magic mirror. When receiving the uploaded feature information of the user, the magic mirror 120 records and updates the recorded feature information according to the related information of the user.
The cloud server 110 is configured to receive data information uploaded by the intelligent refrigerator 130 and the magic mirror 120, send corresponding data information to the treadmill 140, and obtain other data input by the user. When receiving the image information uploaded by the intelligent refrigerator 130, the cloud server 100 identifies the image information, determines the food material tag currently taken out by the user, obtains corresponding control information by using the food material tag, the food material information input by the user, and the feature information corresponding to the current user, and further sends the control information to the treadmill 140.
The treadmill 140 is configured to receive the control information sent by the cloud server 110, and respond to the received control information. Corresponding prompt information, such as voice prompt information, can also be sent out when responding to the control information. In addition, the treadmill 140 may further obtain a corresponding training plan according to the related data included in the control information, such as the energy information of the food material, and send the training plan to the corresponding user.
In practical applications, when the intelligent refrigerator 130 detects that the refrigerator door is opened, the corresponding image information is obtained, and the finally obtained image information is sent to the cloud server 110, the cloud server 110 identifies information included in the image information to determine food information included in the image information, and meanwhile, the intelligent refrigerator 130 also sends weight information of received food to the cloud server 110, at this time, the intelligent refrigerator 130 can determine an energy value corresponding to the food according to the food information and the weight information of the food, and the cloud server 110 can also determine an energy value corresponding to the food according to the food information and the weight information of the food. In addition, the magic mirror 120 uploads the recorded physical sign information of the user to the cloud server 110, so that the cloud server 110 determines the energy value of exercise consumption currently required by the user according to the energy value of the food and the physical sign information, and then the treadmill 140 makes a corresponding exercise plan according to the obtained information.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating a treadmill control method according to an embodiment of the present application.
Specifically, the treadmill control method comprises the following steps:
step S201, receiving image information uploaded by the intelligent refrigerator, and identifying food materials contained in the image information to obtain corresponding food material labels.
The image information is acquired by an intelligent refrigerator which is networked with the running machine, and after the image information is acquired, the image information is uploaded, so that the running machine is controlled to run according to the image information and other information.
When the intelligent refrigerator collects relevant image information, the cloud server receives the image information uploaded by the intelligent refrigerator, and then identifies information contained in the received image information, specifically identifies food materials contained in the image information to obtain a current corresponding food material label, wherein the food material label is identification information of food, the identification information can be a text description or a digital number, and then the food taken out by a user at present can be determined according to the food material label.
The intelligent refrigerator is in a real-time working state, when the opening of the refrigerator door of the intelligent refrigerator is detected, image acquisition is carried out to obtain image information during the opening of the refrigerator door, and the related information of the food taken out by a user at present can be determined according to the image information. Specifically, when the food material tag of the currently taken out food material is determined according to the image information, the currently taken out food material can be determined by identifying the food material grabbed by the hand of the user.
Furthermore, when the intelligent refrigerator acquires the image information, the last image information acquired by the intelligent refrigerator within the time for taking out the food material at one time can be used as the uploaded image information, and when the cloud server receives the image information, the currently acquired image information and the adjacent image information acquired at the previous time are compared to obtain the food material label of the food material currently taken out by the user.
Step S202, receiving food material information input based on the food material labels, and obtaining corresponding energy parameters according to the food material labels and the food material information.
The cloud server identifies the image information, and determines the food eaten by the user at present when the food material label of the food material taken out at present is obtained. Because the energy information currently ingested by the user cannot be determined only according to the food currently eaten by the user, the input food material information is received, and the currently corresponding energy parameter is obtained according to the predetermined food material label and the received food material information. The energy parameter may be a calorie value or a calorie value contained in the food.
In practical applications, in order to determine the amount of energy ingested by the user, it is necessary to determine the food currently consumed by the user and the amount of food ingested, wherein the amount may be a number or a weight, and the amount of energy currently ingested is obtained by a unit energy value of the food and a unit energy value ingested.
In some embodiments, the cloud server needs to send a corresponding prompt message to the user before receiving the food material information input based on the food material tag. Specifically, before receiving food material information input based on a food material tag to obtain a corresponding energy parameter according to the food material tag and the food material information, the method further includes: and generating a corresponding food material information input generating instruction according to the food material label, and sending the food material information input instruction to the intelligent refrigerator, so that the intelligent refrigerator responds to the food material information input instruction and inputs corresponding food material information.
When the cloud server receives the image information uploaded by the intelligent refrigerator, the image information is identified so as to obtain food materials contained in the image information and food material labels corresponding to the food materials. After the relevant information of the food currently acquired by the user is determined, in order to determine the accurate energy intake value of the user, the intake amount corresponding to each food is also required to be determined, so that the cloud server generates a corresponding food material information input instruction at the moment, and sends the generated food material information input instruction to the intelligent refrigerator, so that the user performs corresponding operation on the intelligent refrigerator, the food material information input by the user is uploaded to the cloud server by using the intelligent refrigerator, and the cloud server can accurately determine the current energy intake value corresponding to the user.
In practical application, when the intelligent refrigerator receives an input instruction of food material information sent by the cloud server, the intelligent refrigerator displays a corresponding information input frame on the intelligent refrigerator, displays a food material label in the information input frame, and then performs corresponding operation in the information input frame by a user, specifically, the input of the food material information includes the intake amount corresponding to each food material, and after the information input of each food material is completed, the food material information is uploaded, so that the cloud server performs corresponding processing according to the food material information.
And step S203, acquiring the physical sign information of the target user.
When the treadmill is controlled, the cloud server determines according to the actual situation of the user, wherein the actual situation comprises the energy value ingested by the user and the physical state of the user. Therefore, before determining to obtain the control information of the treadmill, the physical sign information of the target user is also obtained, wherein the physical sign information can be the body fat data of the user.
In practical application, the physical sign data of the user is updated and stored in the cloud server in real time, and when it is determined that a corresponding movement plan needs to be made according to the actual situation of the user at present, the physical sign information of the target user is obtained in a database of the cloud server. Specifically, when obtaining the sign information of the target user, it is first required to determine the current corresponding target user, and then obtain the corresponding sign information according to the relevant information of the target user, such as the identification information.
In some embodiments, obtaining the sign information of the target user includes: identifying a face image contained in the image information, and determining the face image to obtain corresponding target identification information; and inquiring in a sign information base according to the target identification information to obtain sign information corresponding to the target user.
When acquiring the physical sign information of the target user, the target user needs to be determined at first, at this time, the face image contained in the image information is identified, so as to obtain the target identification information corresponding to the target user according to the obtained face image, and then query and match are performed in the physical sign information base according to the target identification information, so as to obtain the physical sign information corresponding to the target user.
The image information contains food information and user information, so that the information of the food currently ingested by the user can be obtained according to the image information, and the related information of the user can be determined so as to determine which user is currently acquiring the food. The face image contained in the image information is obtained by identifying the image information, and then the target identification information of the target user corresponding to the identified face information is determined by utilizing the face information and the user information which are recorded and stored in advance.
In addition, the sign information base stores the corresponding association relationship between the identification information of the user and the sign information, so that when the target identification information of the target user is obtained, the sign information of the target user can be obtained by inquiring and matching. When obtaining the physical sign information, the physical sign information includes, but is not limited to, the body-fat ratio, weight, height, etc. of the user.
The sign information base stores user-associated sign information, but in practical applications, it is not necessary that the user's sign information currently obtained by food exists in the sign information base, and therefore, in some embodiments, the method further includes: when the physical sign information corresponding to the target identification information does not exist in the physical sign information base, sending prompt information for inputting the physical sign information to the intelligent refrigerator; receiving target sign information uploaded by the magic mirror, and obtaining corresponding target control information according to the energy parameters and the target sign information; and sending the target control information to the running machine so as to control the running machine to respond to the target control information.
When the target identification information is used for inquiring in the sign information base, if the sign information corresponding to the target identification information is not obtained in the sign information base, it is determined that the currently usable sign information does not exist in the sign information base, and at the moment, corresponding prompt information for sign information entry is sent out, wherein the prompt information can be realized in a mode of voice, text and combination of voice and text, and information prompt to a user is realized by sending the prompt information to the intelligent refrigerator.
And S204, obtaining corresponding control information according to the energy parameters and the sign information.
After the corresponding energy parameters are obtained according to the food material information and the food material labels, corresponding control information is obtained according to the obtained energy parameters and the obtained physical sign information.
In practical application, the motion parameters required by different users for taking different foods are different, for example, the amount of motion or the motion mode required by fat users and thin users are different, so after the energy parameters of the food materials are obtained, the current appropriate motion information is determined according to the physical sign information for the target, and then the corresponding control information is generated and obtained to be sent to the corresponding running machine, so as to control the running machine.
When the control information is obtained, the control information comprises corresponding adjustment parameters for controlling the running of the running machine, such as running duration, running speed, time for running and the like, and the running machine can perform corresponding running and response by sending the control information to the running machine.
In some embodiments, after the energy parameters and the sign information of the target user are obtained, the cloud server may not analyze the energy parameters and the sign information to obtain corresponding control information, and may directly send the obtained energy parameters and the sign information to the treadmill, so that the treadmill makes an exercise plan according to the energy parameters and the sign information.
In practical application, except that the cloud server has a certain data processing capacity, corresponding control information for controlling the running machine can be obtained by analyzing according to the energy parameters and the physical sign information, and the control information is sent to the running machine to enable the running machine to respond.
And S205, sending the control information to the running machine so as to control the running machine to respond to the control information.
After obtaining the corresponding control information, the obtained control information is sent to the treadmill so as to control the treadmill to respond to the control information. After receiving the control information, the treadmill obtains the corresponding exercise plan according to the control information included in the control information, or generates the corresponding exercise plan, for example.
In some embodiments, after the cloud server sends the corresponding control information to the treadmill, the treadmill will respond to the control information, for example, the treadmill obtains a corresponding exercise plan when responding, and in order to timely and effectively remind the user to exercise, at this time, the cloud server further includes: receiving an exercise plan uploaded by the treadmill; sending the movement plan to the intelligent refrigerator; and sending the movement plan to a terminal associated with the target identification information.
After sending the control information to the treadmill, the treadmill responds to the control information, and the treadmill may be directly operated or a corresponding exercise plan may be generated. When the treadmill directly operates, the treadmill has a motion buffering time, so that a user can timely step to the treadmill, corresponding prompt information can be sent to the cloud server in the motion buffering time, and then the cloud server reminds the user to exercise through feedback prompt information. In addition, when the treadmill generates a corresponding exercise program, it is also necessary to inform the user of the exercise program so that the user can complete the corresponding exercise at an accurate time.
In the above-described treadmill control method, the control of the treadmill device, such as setting of an exercise plan and parameter adjustment, is implemented through the cloud server. When the cloud server receives image information uploaded by the intelligent refrigerator, food materials contained in the image information are identified to obtain corresponding food material labels, food material information input based on the obtained food material labels is received, then current corresponding energy parameters are obtained according to the obtained food material labels and the food material information, then sign information of a target user is obtained, corresponding control information is obtained by utilizing the energy parameters and the sign information, and finally the control information is sent to the running machine, so that the running machine responds to the control information. The method and the device realize timely and accurate customization of a proper exercise plan according to food information and relevant information of the user after monitoring that the user takes food in the control process of the treadmill, remind the user of carrying out proper exercise, avoid discomfort caused by excessive exercise and ineffective effect of slight exercise, and improve the comfort of exercise.
Further, referring to fig. 3, fig. 3 is a schematic flow chart illustrating a step of obtaining an energy parameter according to an embodiment of the present application.
Specifically, the step S202 of receiving the food material information input based on the food material tag to obtain a corresponding energy parameter according to the food material tag and the food material information includes:
step S301, obtaining a unit energy value of the food material corresponding to the food material label;
step S302, receiving food material information input based on the food material tags to obtain unit values corresponding to food materials contained in the food material information;
step S303, obtaining energy corresponding to each food material according to the unit energy value and the unit value corresponding to each food material, and summarizing the energy corresponding to each food material to obtain the energy parameter.
The unit energy value is an energy value contained in a unit amount of the food material, and in general, the energy value is a calorie value or a calorie value, so that the unit amount can be gram, and the unit energy value can be each contained energy value. The food material information is a unit value corresponding to the food material.
When determining the energy parameter information of the food material currently ingested by the user, firstly, acquiring a unit energy value of the food material corresponding to the identified food material label, then, receiving the input food material information of the food material corresponding to each food material label to determine the unit value corresponding to each food material, finally, obtaining the energy parameter corresponding to each food material according to the obtained unit energy value and the unit value corresponding to each food material, and further obtaining the energy parameter integrally ingested by the user according to the energy parameter corresponding to each food material.
When a user acquires food, the types of the food to be ingested are various, so that when the received image information is identified, food material tags corresponding to a plurality of food materials are acquired, and when the ingestion unit amount corresponding to each food material is determined, the food material tags are determined according to the input of the user. In practical application, after determining the food material tags contained in the image information, the cloud server performs information feedback according to the food material tags, so that a user can set food material information of each food material by using the intelligent refrigerator, for example, a currently ingested food material and a corresponding information input box are displayed on a visual interface of the intelligent refrigerator, and the food material information corresponding to each food material, specifically, the ingestion weight of each food material, is selected by operating in the information input box.
The user sets the intake weight corresponding to each food material as a unit value, and then corresponding calculation is carried out to obtain the calorific value or calorie value of the whole user.
In some embodiments, when determining the energy parameter ingested by the user, the energy parameter may be determined according to the related information input by the user, and may also be determined according to a menu selected by the user, specifically, the user may perform a corresponding operation on the intelligent refrigerator to determine what a dish that the user wants to make currently, and further determine the weight corresponding to each food material according to the menu, so as to obtain the food material information corresponding to each food material.
After the food material labels taken out by the user are obtained, corresponding side dish proportions can be generated according to food materials corresponding to the food material notes, different side dish proportions correspond to different dish types, when the user selects a certain side dish proportion, food material information of each food material in the side dish proportion is directly read, and then the energy parameters which are currently ingested by the user are obtained.
Further, referring to fig. 4, fig. 4 is a schematic flow chart of a treadmill control method according to another embodiment of the present application.
Specifically, the treadmill control method further comprises:
s401, receiving sign information to be stored uploaded by the magic mirror and a user identification corresponding to the sign information to be stored;
step S402, inquiring in the sign information base according to the user identification, and determining whether the associated sign information exists;
step S403, if it is determined that no associated sign information exists, associating the sign information to be stored with the user identifier to store in the sign information base;
and S404, if the existence of the associated sign information is determined, updating the sign information base according to the sign information to be stored and the user identification.
The physical sign information of the user is stored in the cloud server, so that the physical sign information needs to be input in advance, and meanwhile, the input and stored physical sign information needs to be updated in real time. When the input user does not exist in the physical sign information base, the information is determined to be input, and when the input user exists in the physical sign information base, the physical sign information is updated during determination.
Specifically, when receiving the sign information to be stored uploaded by the associated magic mirror, the user identifier associated with the sign information to be stored is acquired, and then the sign information to be stored is stored in the corresponding sign information base.
In practical applications, a user may obtain the body state of the user from time to time or periodically, so that the physical sign information stored in the physical sign information base may need to be updated. When the physical sign information to be stored uploaded by the magic mirror is received, the user identification associated with the physical sign information to be stored is obtained, at the moment, the user identification is used for inquiring in the physical sign information base, and whether the user identification is correspondingly associated with the corresponding physical sign information in the physical sign information base or not is determined.
Specifically, the association relationship between the user and the physical sign information is recorded in the physical sign information base, and when the physical sign information to be stored and the corresponding associated user identifier uploaded by the magic mirror are received, the physical sign information base is queried according to the user identifier.
If the currently acquired user identification exists in the sign information base, it indicates that corresponding sign information exists in the sign information base, at this time, data updating is performed, the received sign information to be stored is used for replacing the sign information of the user identification in the sign information base, and when updating is performed, the previous stored sign information can be deleted.
In addition, if the currently acquired user identifier does not exist in the sign information base, it indicates that the sign information corresponding to the user identifier does not exist in the sign information base, and at this time, the user identifier and the sign information to be stored are directly stored in the sign information base.
As shown in fig. 5, fig. 5 is a schematic block diagram of a structure of a cloud server provided in an embodiment of the present application. The smart home device 10 includes a memory 11 and a processor 12, where the processor 11 and the memory 12 are connected by a system bus 13, and the memory 11 may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store a computer program. The computer program includes program instructions that, when executed, cause processor 11 to perform any one of the treadmill control methods.
The processor 11 is used for providing calculation and control capacity and supporting the operation of the whole intelligent household equipment.
The internal memory provides an environment for the execution of a computer program on a non-volatile storage medium, which when executed by the processor, causes the processor to perform any one of the treadmill control methods.
Those skilled in the art can understand that the structure shown in fig. 5 is only a block diagram of a partial structure related to the present application, and does not constitute a limitation on the smart home devices related to the present application, and a specific smart home device may include more or less components than those shown in the drawing, or combine some components, or have a different arrangement of components.
It should be understood that the processor 11 may be a Central Processing Unit (CPU), and that the processor 11 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general purpose processor 11 may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in an embodiment, the memory has stored therein a computer program, which when executed by the processor 11, causes the processor to carry out the following steps when executing the computer program:
receiving image information uploaded by an intelligent refrigerator, and identifying food materials contained in the image information to obtain corresponding food material labels;
receiving food material information input based on the food material labels, and obtaining corresponding energy parameters according to the food material labels and the food material information;
acquiring physical sign information of a target user;
obtaining corresponding control information according to the energy parameters and the sign information;
and sending the control information to the running machine so as to control the running machine to respond to the control information.
In one embodiment, the processor when executing the computer program further performs the steps of:
and generating a corresponding food material information input instruction according to the food material label, and sending the food material information input instruction to the intelligent refrigerator, so that the intelligent refrigerator responds to the food material information input instruction to input corresponding food material information.
In one embodiment, the processor when executing the computer program further performs the steps of:
acquiring a unit energy value of the food material corresponding to the food material label;
receiving food material information input based on the food material tags to acquire unit values corresponding to food materials contained in the food material information;
and obtaining energy corresponding to each food material according to the unit energy value and the unit value corresponding to each food material, and summarizing the energy corresponding to each food material to obtain the energy parameter.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
identifying a face image contained in the image information, and determining target identification information corresponding to the face image;
and inquiring in a sign information base according to the target identification information to obtain sign information corresponding to the target user.
In one embodiment, the processor when executing the computer program further performs the steps of:
when the physical sign information corresponding to the target identification information does not exist in the physical sign information base, sending prompt information for inputting the physical sign information to the intelligent refrigerator;
receiving target sign information uploaded by the magic mirror, and obtaining corresponding target control information according to the energy parameters and the target sign information;
and sending the target control information to the running machine so as to control the running machine to respond to the target control information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
receiving the physical sign information to be stored uploaded by the magic mirror and a user identifier corresponding to the physical sign information to be stored;
inquiring in the sign information base according to the user identification to determine whether associated sign information exists;
if the condition that the associated sign information does not exist is determined, the sign information to be stored is associated with the user identification so as to be stored in the sign information base;
and if the existence of the associated sign information is determined, updating the sign information base according to the sign information to be stored and the user identification.
In one embodiment, the processor when executing the computer program further performs the steps of:
receiving an exercise plan uploaded by the treadmill;
sending the movement plan to the intelligent refrigerator; and the number of the first and second groups,
and sending the motion plan to a terminal associated with the target identification information.
It should be noted that, as will be clearly understood by those skilled in the art, for convenience and brevity of description, the specific working process of the smart home device described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, where the computer program includes program instructions, and the processor executes the program instructions to implement any one of the treadmill control methods provided in the embodiments of the present application.
The computer-readable storage medium may be an internal storage unit of the smart home device described in the foregoing embodiment, for example, a hard disk or a memory of the smart home device. The computer readable storage medium may also be an external storage device of the Smart home device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the Smart home device.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of various equivalent modifications or substitutions within the technical scope of the present application, and these modifications or substitutions should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The utility model provides a treadmill control method, characterized in that is applied to treadmill control system, control system includes high in the clouds server, magic mirror, intelligent refrigerator and treadmill, high in the clouds server, magic mirror, intelligent refrigerator and treadmill communication connection, the method includes:
receiving image information uploaded by an intelligent refrigerator, and identifying food materials contained in the image information to obtain corresponding food material labels;
receiving food material information input based on the food material labels, and obtaining corresponding energy parameters according to the food material labels and the food material information;
acquiring sign information of a target user, wherein the sign information is acquired through the magic mirror, and different motion parameters are required for different target users to ingest different foods;
obtaining corresponding control information according to the energy parameters and the physical sign information;
and sending the control information to the running machine so as to control the running machine to respond to the control information.
2. The method of controlling a treadmill according to claim 1, wherein said receiving food material information input based on said food material tag, before deriving corresponding energy parameters from said food material tag and said food material information, further comprises:
generating a corresponding food material information input instruction according to the food material label, and sending the food material information input instruction to the intelligent refrigerator, so that the intelligent refrigerator responds to the food material information input instruction to input corresponding food material information.
3. The treadmill control method of claim 1, wherein the receiving food material information input based on the food material tag to derive a corresponding energy parameter from the food material tag and the food material information comprises:
acquiring a unit energy value of the food material corresponding to the food material label;
receiving food material information input based on the food material tags to acquire unit values corresponding to food materials contained in the food material information;
and obtaining energy corresponding to each food material according to the unit energy value and the unit value corresponding to each food material, and summarizing the energy corresponding to each food material to obtain the energy parameter.
4. The method according to claim 3, wherein the obtaining of the physical sign information of the target user comprises:
identifying a face image contained in the image information, and determining target identification information corresponding to the face image;
and inquiring in a sign information base according to the target identification information to obtain sign information corresponding to the target user.
5. The treadmill control method of claim 4, wherein the control system further comprises a magic mirror, the method further comprising:
when the condition information corresponding to the target identification information does not exist in the condition information base, sending prompt information for inputting the condition information to the intelligent refrigerator;
receiving target sign information uploaded by the magic mirror, and obtaining corresponding target control information according to the energy parameters and the target sign information;
and sending the target control information to the running machine so as to control the running machine to respond to the target control information.
6. The method of claim 5, further comprising:
receiving the physical sign information to be stored uploaded by the magic mirror and a user identifier corresponding to the physical sign information to be stored;
inquiring in the sign information base according to the user identification to determine whether the associated sign information exists;
if the condition that the associated sign information does not exist is determined, the sign information to be stored is associated with the user identification so as to be stored in the sign information base;
and if the existence of the associated sign information is determined, updating the sign information base according to the sign information to be stored and the user identification.
7. The treadmill control method of claim 4, further comprising:
receiving an exercise plan uploaded by the treadmill;
sending the movement plan to the intelligent refrigerator; and (c) a second step of,
and sending the motion plan to a terminal associated with the target identification information.
8. Cloud server, characterized in that the cloud server comprises a processor and a memory, in which a computer program is stored which, when executed by the processor, causes the processor to carry out the treadmill control method according to any one of claims 1 to 7.
9. A treadmill control system comprising an intelligent refrigerator, a magic mirror, a treadmill, and the cloud server of claim 8.
10. A computer-readable storage medium, which when executed by one or more processors, causes the one or more processors to perform the steps of the treadmill control method of any of claims 1-7.
CN201911330743.4A 2019-12-20 2019-12-20 Treadmill control method, cloud server, system and readable storage medium Active CN112999615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911330743.4A CN112999615B (en) 2019-12-20 2019-12-20 Treadmill control method, cloud server, system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911330743.4A CN112999615B (en) 2019-12-20 2019-12-20 Treadmill control method, cloud server, system and readable storage medium

Publications (2)

Publication Number Publication Date
CN112999615A CN112999615A (en) 2021-06-22
CN112999615B true CN112999615B (en) 2022-07-15

Family

ID=76382175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911330743.4A Active CN112999615B (en) 2019-12-20 2019-12-20 Treadmill control method, cloud server, system and readable storage medium

Country Status (1)

Country Link
CN (1) CN112999615B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101147831A (en) * 2007-11-06 2008-03-26 金毅电子(深圳)有限公司 Heat control system for sports equipment instrument
US20140032370A1 (en) * 2012-07-30 2014-01-30 Bank Of America Corporation Automatically Linking Product Serial Numbers
CN103345236A (en) * 2013-07-30 2013-10-09 刘品杰 Open-type intelligent household appliance and control method for same
CN106503432A (en) * 2016-10-18 2017-03-15 珠海格力电器股份有限公司 The method of health control, device and electronic equipment
CN206771870U (en) * 2017-05-05 2017-12-19 桂林电子科技大学 The internal structure of intelligent refrigerator

Also Published As

Publication number Publication date
CN112999615A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
US20230078186A1 (en) Providing automatically-edited user-customized digital images to a user in real-time or just-in-time
CN107480624B (en) Permanent resident population's acquisition methods, apparatus and system, computer installation and storage medium
CN108141714B (en) Apparatus and method for personalized, automatic construction of peer-derived messages for mobile health applications
CN101776612B (en) Method and system for calculating human nutrition intake by using shooting principle
CN105446156B (en) Control method, the device and system of household electrical appliance based on artificial intelligence
US10897641B2 (en) Notifications on mobile devices
CN108131791A (en) Control method, device and the server of home appliance
US20150170531A1 (en) Method for communicating wellness-related communications to a user
WO2014058894A1 (en) Method for delivering behavior change directives to a user
CN109918574A (en) Item recommendation method, device, equipment and storage medium
CN107180090A (en) Reading punch card method, electronic equipment and computer-readable storage medium based on e-book
CN113569138A (en) Intelligent device control method and device, electronic device and storage medium
CN113222170A (en) Intelligent algorithm and model for IOT (Internet of things) AI (Artificial Intelligence) collaborative service platform
CN109522858A (en) Plant disease detection method, device and terminal device
CN109492779B (en) Household appliance health management method and device and household appliance
CN112999615B (en) Treadmill control method, cloud server, system and readable storage medium
WO2023196456A1 (en) Adaptive wellness collaborative media system
CN110211647A (en) Health monitoring method, apparatus, TV and server
CN115005787A (en) Calorie management system based on intelligent watch
CN113055423B (en) Policy pushing method, policy execution method, device, equipment and medium
JP5318443B2 (en) Health guidance support system and program
KR20220032784A (en) Method and system for providing recommendation information of health functional food
CN113569140A (en) Information recommendation method and device, electronic equipment and computer-readable storage medium
CN113344666A (en) Method, device and system for generating menu
CN111026934A (en) Intelligent recommendation method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant