Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
As shown in fig. 1, an embodiment of the present invention provides a method for health management, where the method is performed by a smart handheld terminal, and the smart handheld terminal includes, but is not limited to, a mobile phone, a tablet computer, and the like. The method comprises the following steps:
and step S11, recommending recipes to the user according to the related information of the user.
In the embodiment of the present invention, the related information of the user includes: height, current weight, gender, age, desired weight, and/or desired body fat rate. In practical applications, for example, the user inputs the height, the current weight, the sex, the age and the expected weight of the user into the intelligent handheld terminal. The intelligent handheld terminal inquires a preset standard height and weight comparison table according to the gender, height and age of the user to obtain a corresponding standard weight range. The lower limit value of the desired weight may be set with reference to the lower limit value of the standard weight range. In another example, the user inputs the height, the current weight, the sex, the age and the expected body fat percentage of the user into the intelligent handheld terminal. The intelligent handheld terminal queries a preset standard body fat rate comparison table according to the gender, height and age of the user to obtain a corresponding standard body fat rate range. The lower limit value of the desired body fat rate may be set with reference to the lower limit value of the standard body fat rate range.
Step S12, determining calories corresponding to the food materials according to the weight of the food materials in the recipe selected by the user.
In the embodiment of the invention, the types of the recipes can be various, so that the user can select the daily recipes. For example, the recipe of "shredded fish meat" includes main food materials such as pork fillet, winter bamboo shoot, carrot, black fungus and the like. For example, the weight of the food materials can be obtained by weighing the food materials by a portable scale, a platform scale and the like, and then manually inputting the weight of each food material into the intelligent handheld terminal; for another example, the smart handheld terminal is configured with a weight sensor, and the weight of the food material in the recipe selected by the user is detected by the weight sensor, so that the smart handheld terminal can automatically read the weight of each food material.
And step S13, recommending sports items to the user according to the calorie corresponding to the food material ingested by the user within the first preset time.
In the embodiment of the present invention, the starting and ending time of the first preset time period may be set according to the needs of the user, for example, the first preset time period is from six am to ten pm every day. Calculating the total calorie corresponding to the food material ingested by the user within a first preset time length, and recommending the sports item to the user according to the total calorie ingested. The sport item may be of various kinds for selection by the user. In addition, the exercise duration and the exercise period may also be recommended to the user according to the total calories ingested.
In the embodiment of the present invention, the calorie corresponding to the food material may be determined according to the weight of the food material in the recipe selected by the user and the calorie contained in the unit weight corresponding to the pre-stored food material. It should be noted that the calorie contained in the unit weight corresponding to each food material may be pre-stored in the intelligent handheld terminal, or may be pre-stored in the remote server and acquired from the remote server through the intelligent handheld terminal.
According to the method for health management provided by the embodiment of the invention, a recipe is recommended to a user according to the related information of the user, the calorie corresponding to the food material is determined according to the weight of the food material in the recipe selected by the user, and then an exercise item is recommended to the user according to the calorie corresponding to the food material ingested by the user within a first preset time, so that personalized setting is realized according to the condition of the user, healthy diet and proper exercise items are recommended to the user, and the health management of the user is facilitated.
As shown in fig. 2, another embodiment of the present invention provides a method for health management, which is performed by a smart handheld terminal, including but not limited to a mobile phone, a tablet computer, etc. The method comprises the following steps:
and step S21, recommending recipes to the user according to the related information of the user.
Step S22, determining calories corresponding to the food materials according to the weight of the food materials in the recipe selected by the user.
And step S23, recommending sports items to the user according to the calorie corresponding to the food material ingested by the user within the first preset time.
In the embodiment of the present invention, for the explanation of step S21, step S22 and step S23, reference may be made to the explanation of step S21, step S22 and step S23, which is not described herein again.
In the embodiment of the present invention, the calorie corresponding to the food material may be determined according to the weight of the food material in the recipe selected by the user and the calorie contained in the unit weight corresponding to the pre-stored food material. It should be noted that the calorie contained in the unit weight corresponding to each food material may be pre-stored in the intelligent handheld terminal, or may be pre-stored in the remote server and acquired from the remote server through the intelligent handheld terminal.
And step S24, pushing a health reference to the user according to the calories consumed by the user in the second preset time period and the calories ingested by the user in the first preset time period.
In the embodiment of the present invention, the start-stop time of the second preset time period may be set according to the needs of the user. The number of steps that the user walks within the second preset duration can be calculated through a pedometer in the intelligent bracelet worn by the user, the total calories consumed by the user within the second preset duration are calculated according to the calories consumed by the unit steps, and the total calories are sent to the intelligent handheld terminal. The intelligent handheld terminal pushes health reference to the user according to the total calories consumed by the user in the second preset duration and the total calories ingested by the user in the first preset duration. For example, when the total calorie intake is larger than the total calorie consumed, a voice or text prompt of "adding oil" and completing today's goal by two kilometers is pushed to the user; for another example, when the total calories consumed is greater than the total calories consumed, a voice or text prompt of "no mistake, continued last tomorrow" is pushed to the user.
According to the method for health management provided by the embodiment of the invention, a recipe is recommended to a user according to the related information of the user, the calorie corresponding to the food material is determined according to the weight of the food material in the recipe selected by the user, an exercise item is recommended to the user according to the calorie corresponding to the food material ingested by the user within a first preset time, finally, a health reference is pushed to the user according to the calorie consumed by the user within a second preset time and the calorie ingested by the user within the first preset time, personalized setting is realized according to the condition of the user, a healthy diet and a proper exercise item are recommended to the user, and a health reference is pushed according to the exercise condition, so that the health management of the user is facilitated.
As shown in fig. 3, an embodiment of the present invention provides a health management device 30, and the health management device 30 may be an intelligent handheld terminal. The device 30 comprises: a recipe recommendation module 31, a calorie determination module 32, and an exercise recommendation module 33.
The recipe recommending module 31 is configured to recommend recipes to the user according to the related information of the user.
In the embodiment of the present invention, the related information of the user includes: height, current weight, gender, age, desired weight, and/or desired body fat rate. In practical applications, for example, the user inputs the height, the current weight, the sex, the age and the expected weight of the user into the intelligent handheld terminal. The intelligent handheld terminal inquires a preset standard height and weight comparison table according to the gender, height and age of the user to obtain a corresponding standard weight range. The lower limit value of the desired weight may be set with reference to the lower limit value of the standard weight range. In another example, the user inputs the height, the current weight, the sex, the age and the expected body fat percentage of the user into the intelligent handheld terminal. The intelligent handheld terminal queries a preset standard body fat rate comparison table according to the gender, height and age of the user to obtain a corresponding standard body fat rate range. The lower limit value of the desired body fat rate may be set with reference to the lower limit value of the standard body fat rate range.
The calorie determining module 32 is configured to determine calories corresponding to the food materials according to the weight of the food materials in the recipe selected by the user.
In the embodiment of the invention, the types of the recipes can be various, so that the user can select the daily recipes. For example, the recipe of "shredded fish meat" includes main food materials such as pork fillet, winter bamboo shoot, carrot, black fungus and the like. For example, the weight of the food materials can be obtained by weighing the food materials by a portable scale, a platform scale and the like, and then manually inputting the weight of each food material into the intelligent handheld terminal; to facilitate weighing, the device 30 further comprises a weight detecting module for detecting the weight of the food material in the recipe selected by the user. The weight detection module can be a weight sensor, and detects the weight of the food materials in the recipe selected by the user through the weight sensor, so that the intelligent handheld terminal can automatically read the weight of each food material.
The exercise recommendation module 33 is configured to recommend an exercise item to the user according to calories corresponding to the food materials ingested by the user within a first preset duration.
In the embodiment of the present invention, the starting and ending time of the first preset time period may be set according to the needs of the user, for example, the first preset time period is from six am to ten pm every day. Calculating the total calorie corresponding to the food material ingested by the user within a first preset time length, and recommending the sports item to the user according to the total calorie ingested. The sport item may be of various kinds for selection by the user. In addition, the exercise duration and the exercise period may also be recommended to the user according to the total calories ingested.
In an embodiment of the present invention, the calorie determining module 32 is specifically configured to determine the calorie corresponding to the food material according to the weight of the food material in the recipe selected by the user and the pre-stored calorie contained in the unit weight corresponding to the food material. It should be noted that the calorie contained in the unit weight corresponding to each food material may be pre-stored in the intelligent handheld terminal, or may be pre-stored in the remote server and acquired from the remote server through the intelligent handheld terminal.
According to the health management device provided by the embodiment of the invention, a recipe is recommended to a user through the recipe recommending module 31 according to the related information of the user, then the calorie determining module 32 determines the calorie corresponding to the food material according to the weight of the food material in the recipe selected by the user, and then the exercise recommending module 33 recommends an exercise item to the user according to the calorie corresponding to the food material ingested by the user within a first preset time, so that personalized setting is realized according to the condition of the user, a healthy diet and a proper exercise item are recommended to the user, and the health management of the user is facilitated.
As shown in fig. 4, an embodiment of the present invention provides a health management apparatus 40, and the health management apparatus 40 may be an intelligent handheld terminal. The device 40 comprises: a recipe recommendation module 41, a calorie determination module 42, an exercise recommendation module 43, and a push module 44.
The recipe recommending module 41 is configured to recommend recipes to the user according to the related information of the user.
The calorie determining module 42 is configured to determine calories corresponding to the food materials according to the weight of the food materials in the recipe selected by the user.
The exercise recommendation module 43 is configured to recommend an exercise item to the user according to calories corresponding to the food materials ingested by the user within a first preset duration.
In the embodiment of the present invention, for the explanation of the recipe recommendation module 41, the calorie determination module 42, and the exercise recommendation module 43, reference may be made to the explanation of the recipe recommendation module 31, the calorie determination module 32, and the exercise recommendation module 33, which is not described herein again.
The pushing module 44 is configured to push the health reference to the user according to calories consumed by the user within the second preset duration and calories consumed by the user within the first preset duration.
In the embodiment of the present invention, the start-stop time of the second preset time period may be set according to the needs of the user. The number of steps that the user walks within the second preset duration can be calculated through a pedometer in the intelligent bracelet worn by the user, the total calories consumed by the user within the second preset duration are calculated according to the calories consumed by the unit steps, and the total calories are sent to the intelligent handheld terminal. The intelligent handheld terminal pushes health reference to the user according to the total calories consumed by the user in the second preset duration and the total calories ingested by the user in the first preset duration. For example, when the total calorie intake is larger than the total calorie consumed, a voice or text prompt of "adding oil" and completing today's goal by two kilometers is pushed to the user; for another example, when the total calories consumed is greater than the total calories consumed, a voice or text prompt of "no mistake, continued last tomorrow" is pushed to the user.
According to the device for health management provided by the embodiment of the invention, a recipe is recommended to a user through the recipe recommending module 41 according to the related information of the user, then the calorie determining module 42 determines the calorie corresponding to the food material according to the weight of the food material in the recipe selected by the user, then the exercise recommending module 33 recommends an exercise item to the user according to the calorie corresponding to the food material ingested by the user within a first preset time, and finally the health reference is pushed to the user through the pushing module 44 according to the calorie consumed by the user within a second preset time and the calorie ingested by the user within the first preset time, so that personalized setting is realized according to the condition of the user, healthy diet and suitable exercise item are recommended to the user, and the health reference is pushed according to the exercise condition, thereby facilitating the health management of the user.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device 50 according to a method for health management provided in an embodiment of the present invention, where as shown in fig. 5, the electronic device 50 includes:
one or more processors 51 and a memory 52, with one processor 51 being an example in fig. 5.
The processor 51 and the memory 52 may be connected by a bus or other means, such as the bus connection in fig. 5.
The memory 52, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method of health management in an embodiment of the present invention (e.g., the recipe recommendation module 31, the calorie determination module 32, and the exercise recommendation module 33 shown in fig. 3). The processor 51 executes various functional applications of the server and data processing by running nonvolatile software programs, instructions and modules stored in the memory 52, that is, implements the method of health management of the above-described method embodiments.
The memory 52 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the health-managed device, and the like. Further, the memory 52 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 52 optionally includes memory located remotely from the processor 51, and these remote memories may be connected to the health management device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 52 and, when executed by the one or more processors 51, perform the method of health management in any of the method embodiments described above, e.g., performing the above-described method steps S11-S13 in fig. 1, S21-S24 in fig. 2, implementing the functionality of the modules 31-33 in fig. 3, and the modules 41-44 in fig. 4.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
The electronic device of embodiments of the present invention exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
Embodiments of the present invention provide a non-transitory computer-readable storage medium storing computer-executable instructions, which are executed by one or more processors, such as the one processor 51 in fig. 5, to enable the one or more processors to perform the method for health management in any of the above-mentioned method embodiments, such as the method for health management in any of the above-mentioned method embodiments, for example, the method steps S11 to S13 in fig. 1, S21 to S24 in fig. 2, and implement the functions of the blocks 31 to 33 in fig. 3, and the blocks 41 to 44 in fig. 4.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; within the context of the present application, where technical features in the above embodiments or in different embodiments can also be combined, the steps can be implemented in any order and there are many other variations of the different aspects of the present application as described above, which are not provided in detail for the sake of brevity; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.