Dietary management method and system based on health condition of user
By obtaining and analyzing users' physical detection information and dietary information, identifying dietary needs and preferences, and optimizing dietary configuration, the problem of low accuracy of dietary control caused by manual judgment is solved, and more accurate and personalized dietary management is achieved.
Patent Information
- Application Number
- CN202411277422.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-12-13
AI Technical Summary
The existing dietary control methods have greatly affected the information of manual judgment by artificial subjective factors, resulting in inaccurate dietary configuration information, which in turn reduces the accuracy of dietary control.
By obtaining the user's physical detection information and daily diet information, using the detection and analysis network and preference identification network, identifying the user's dietary needs information and dietary preference information, generating the dietary dosage and eating time period information of the target dietary configuration type, and optimizing the dietary configuration table. Form a target dietary control schedule.
It improves the accuracy of dietary control, ensures that the dietary configuration is more suitable for the user's physical condition and taste, and improves the user experience and dietary management effect.
Smart Images

Figure CN119132515A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of dietary management, and in particular to a dietary management method and system based on user health conditions. Background Art
[0002] As one of the ways to regulate human metabolism, optimize human physical condition, and improve human defects, dietary control is an important means to effectively improve human health. In dietary control, how to match meals, control eating time, and control food intake are important points in dietary control; especially for medical clinical patients, reasonable dietary matching can effectively improve the patient's physical recovery efficiency and degree, thereby effectively improving the patient's health recovery effect. Therefore, how to improve the user's dietary control is the current research focus.
[0003] The traditional dietary control method is to manually analyze the physical conditions of different users, and then manually judge the approximate dietary configuration information of the user in order to control the diet of the user. However, the information judged manually is greatly affected by human subjective factors, and only approximate dietary configuration information can be obtained, resulting in low accuracy of dietary control for users. Summary of the invention
[0004] The main purpose of the present invention is to provide a dietary management method and system based on the health status of the user, aiming to solve the problem of low accuracy of dietary control over the user in the prior art, because the information judged manually is greatly affected by human subjective factors and only approximate dietary configuration information can be obtained.
[0005] To achieve the above object, the present invention provides a dietary management method based on the health status of a user, the method comprising: Acquire the user's physical examination information and the user's daily diet information, and based on the user's physical examination information, identify the user's dietary requirement information and the user's physical condition information through a detection and analysis network; Based on the user's physical condition information and the user's dietary needs information, generate the dietary amounts of each target dietary configuration type of the user and the user's eating period information, and based on the user's daily dietary information, identify the user's dietary preference information through a preference identification network; Based on the dietary amounts of each target dietary configuration type, a dietary configuration table for the user is generated through a dietary configuration network, and based on the user's eating period information and the user's dietary preference information, the user's dietary configuration table is optimized to obtain the user's target dietary management schedule.
[0006] Optionally, the identifying the dietary requirement information of the user and the physical condition information of the user through a detection and analysis network based on the physical detection information of the user includes: Splitting the body detection information into detection data of each body detection type, and performing index evaluation processing on the detection data of each body detection type based on the detection index evaluation strategy of each body detection type, to obtain the detection index value of each body detection type of the user; Based on the detection index values of each of the body detection types, identifying the sub-physical state of each of the body detection types of the user through a detection and analysis network, and based on the sub-physical state of each of the body detection types, querying the sub-dietary requirement information corresponding to the sub-physical state of each body detection type in a dietary database; The sub-physical state of each of the body detection types is used as the physical state information of the user, and the sub-dietary need information corresponding to each of the sub-physical states is used as the dietary need information of the user.
[0007] Optionally, generating the dietary amounts of each target dietary configuration type of the user and the eating period information of the user based on the user's physical condition information and the user's dietary requirement information includes: Based on the physical state information of the user, query the eating restriction information corresponding to the sub-physical state of each physical detection type in the history database, and based on each of the eating restriction information, identify the eating time period information of the user and the daily food intake limit value of each dietary configuration type; Based on the user's dietary needs information, the daily dietary requirements range of the user's target dietary configuration type is identified, and based on the daily food intake limit of each target dietary configuration type and the daily dietary requirements of each target dietary configuration type, the dietary amount of each target dietary configuration type of the user is determined.
[0008] Optionally, the identifying the user's dietary preference information through a preference identification network based on the user's daily dietary information includes: In the diet database, query the diet characteristic information of each daily diet information, and the daily diet amount of each daily diet information, and identify the preference of each daily diet information; Based on the dietary characteristic information of each daily dietary information, each dietary characteristic type corresponding to each daily dietary information is identified, and based on each dietary characteristic type corresponding to each daily dietary information and the preference of each daily dietary information, the user's target preference for each dietary characteristic type is identified through a preference identification network; Target dietary characteristic types corresponding to target preferences greater than a preference threshold are screened, and each of the target dietary characteristic types is used as dietary preference information of the user.
[0009] Optionally, the generating of the user's dietary configuration table through a dietary configuration network based on the dietary dosage of each target dietary configuration type includes: Based on each target meal configuration type, querying the meal configuration database for each initial meal dish information corresponding to each target meal configuration type; Based on the dietary intake of each target dietary configuration type and the initial dietary dish information corresponding to each target dietary configuration type, a dietary configuration dish list is generated through the dietary configuration network, and the dietary configuration dish list is divided and sorted according to preset time periods to obtain the dietary configuration table of the user.
[0010] Optionally, optimizing the user's meal configuration table based on the user's eating period information and the user's dietary preference information to obtain the user's target meal control schedule includes: Identify each dish feature type of each meal dish information in the meal configuration table, and calculate the similarity between each dish feature type of each meal dish information and each target meal feature type of the user; Based on the similarity between each dish feature type of each meal food information and each target diet feature type of the user, each target meal food information of the user is screened, and based on the amount value of each target diet configuration information corresponding to each target meal food information and the dietary amount of each target diet configuration information, a daily meal food table of the user is generated; The user's daily meal menu is divided and sorted according to the user's eating period information to obtain the user's target meal control schedule.
[0011] In addition, to achieve the above purpose, the present invention also provides a dietary management system based on the health status of the user, the dietary management system based on the health status of the user comprising: An acquisition module, used to acquire the user's physical detection information and the user's daily diet information, and based on the user's physical detection information, identify the user's dietary requirement information and the user's physical condition information through a detection and analysis network; an identification module, for generating the dietary amounts of each target dietary configuration type of the user and the dietary period information of the user based on the physical condition information of the user and the dietary requirement information of the user, and identifying the dietary preference information of the user through a preference identification network based on the daily dietary information of the user; The optimization module is used to generate the user's dietary configuration table through the dietary configuration network based on the dietary dosage of each target dietary configuration type, and optimize the user's dietary configuration table based on the user's eating period information and the user's dietary preference information to obtain the user's target dietary management schedule.
[0012] Optionally, the acquisition module is specifically used to: Splitting the body detection information into detection data of each body detection type, and performing index evaluation processing on the detection data of each body detection type based on the detection index evaluation strategy of each body detection type, to obtain the detection index value of each body detection type of the user; Based on the detection index values of each of the body detection types, identifying the sub-physical state of each of the body detection types of the user through a detection and analysis network, and based on the sub-physical state of each of the body detection types, querying the sub-dietary requirement information corresponding to the sub-physical state of each body detection type in a dietary database; The sub-physical state of each of the body detection types is used as the physical state information of the user, and the sub-dietary need information corresponding to each of the sub-physical states is used as the dietary need information of the user.
[0013] Optionally, the identification module is specifically used to: Based on the physical state information of the user, query the eating restriction information corresponding to the sub-physical state of each physical detection type in the history database, and based on each of the eating restriction information, identify the eating time period information of the user and the daily food intake limit value of each dietary configuration type; Based on the user's dietary needs information, the daily dietary requirements range of the user's target dietary configuration type is identified, and based on the daily food intake limit of each target dietary configuration type and the daily dietary requirements of each target dietary configuration type, the dietary amount of each target dietary configuration type of the user is determined.
[0014] Optionally, the identification module is specifically used to: In the diet database, query the diet characteristic information of each daily diet information, and the daily diet amount of each daily diet information, and identify the preference of each daily diet information; Based on the dietary characteristic information of each daily dietary information, each dietary characteristic type corresponding to each daily dietary information is identified, and based on each dietary characteristic type corresponding to each daily dietary information and the preference of each daily dietary information, the user's target preference for each dietary characteristic type is identified through a preference identification network; Target dietary characteristic types corresponding to target preferences greater than a preference threshold are screened, and each of the target dietary characteristic types is used as dietary preference information of the user.
[0015] Optionally, the optimization module is specifically used to: Based on each target meal configuration type, querying the meal configuration database for each initial meal dish information corresponding to each target meal configuration type; Based on the dietary intake of each target dietary configuration type and the initial dietary dish information corresponding to each target dietary configuration type, a dietary configuration dish list is generated through the dietary configuration network, and the dietary configuration dish list is divided and sorted according to preset time periods to obtain the dietary configuration table of the user.
[0016] Optionally, the optimization module is specifically used to: Identify each dish feature type of each meal dish information in the meal configuration table, and calculate the similarity between each dish feature type of each meal dish information and each target meal feature type of the user; Based on the similarity between each dish feature type of each meal food information and each target diet feature type of the user, each target meal food information of the user is screened, and based on the amount value of each target diet configuration information corresponding to each target meal food information and the dietary amount of each target diet configuration information, a daily meal food table of the user is generated; The user's daily meal menu is divided and sorted according to the user's eating period information to obtain the user's target meal control schedule.
[0017] In a third aspect, the present application provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0018] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0019] In a fifth aspect, the present application provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0020] The present invention provides a dietary management method and system based on the health status of a user, the method comprising: obtaining the user's physical detection information and the user's daily dietary information, and based on the user's physical detection information, identifying the user's dietary demand information and the user's physical condition information through a detection and analysis network; based on the user's physical condition information and the user's dietary demand information, generating the dietary amount of each target dietary configuration type of the user and the user's eating time period information, and based on the user's daily dietary information, identifying the user's dietary preference information through a preference identification network; based on the dietary amount of each target dietary configuration type, generating the user's dietary configuration table through a dietary configuration network, and based on the user's eating time period information and the user's dietary preference information, optimizing the user's dietary configuration table to obtain the user's target dietary management schedule. This solution monitors and analyzes the user's physical test information to identify the user's dietary needs and physical condition information. Then, based on the user's dietary needs and physical condition information, the terminal identifies the dietary amount and eating time period information of each target dietary configuration type of the user, so that intelligent analysis can be performed for different users to obtain the dietary amount and eating time period information of different users, avoiding the problem of dietary configuration deviation in manual analysis. Then, this solution optimizes and adjusts the user's dietary configuration table through the dietary preference information of ten times the user, so that the target dietary control schedule obtained by the user can be more suitable for the user's taste, improving the user experience while comprehensively improving the accuracy of the user's dietary control. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0022] Figure 1 is a flow chart of a dietary management method based on a user's health status provided by an embodiment of the present invention; Figure 2 is a structural schematic diagram of a dietary management system based on a user's health status provided by an embodiment of the present invention; Figure 3 An internal structure diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0023] The dietary management method based on the user's health status provided by the embodiment of the present invention is applied to the dietary management system based on the user's health status. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" in the specification and claims of the present application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned figures are used to distinguish different objects, not to describe a specific order.
[0024] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0026] The dietary management method based on the user's health status provided in the embodiment of the present application can be applied to the application environment of dietary control. Among them, the method can be applied to a terminal, a server, or a system including a terminal and a server, and is realized through the interaction between the terminal and the server. Among them, the terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. Among them, the terminal monitors and analyzes the user's physical detection information to identify the user's dietary demand information and physical state information, and then, based on the user's dietary demand information and physical state information, the terminal identifies the dietary amount and eating time period information of each target dietary configuration type of the user, so that intelligent analysis is performed for different users respectively, and the dietary amount and eating time period information of different users are obtained, avoiding the problem of dietary configuration deviation influence of manual analysis. Then, this scheme optimizes and adjusts the user's dietary configuration table through the dietary preference information of ten times the user, so that the user's target dietary control schedule can be more suitable for the user's taste, while improving the user experience effect, and comprehensively improving the accuracy of the user's dietary control.
[0027] In one embodiment, Figure 1 As shown, a dietary management method based on the health status of a user is provided, and the method is applied to a terminal as an example for explanation, and includes the following steps: Step S101, obtaining the user's physical examination information and the user's daily diet information, and based on the user's physical examination information, identifying the user's dietary needs information and the user's physical condition information through a detection and analysis network.
[0028] In this embodiment, the terminal performs a comprehensive detection of the user's physical condition through multiple body detection devices to obtain the detection data of each body detection type of the user. Then, the terminal uses the detection data of all body detection types as the user's physical detection information. And collect the daily diet dishes of the user in the historical period to obtain the daily diet information of the user. Among them, the body detection type is a detection type for detecting each physical state of the user, wherein the body detection type includes but is not limited to basic body detection type (including weight, height, age, blood pressure examination), blood routine type, cardiopulmonary function detection type, etc. Among them, when the user is a patient, the body detection type also includes the disease detection type of the disease suffered by the user. Among them, the historical period can be but is not limited to a time period preset in the terminal by the staff such as a week, a month, and a quarter, and the daily diet information of the historical period includes but is not limited to the user's edible dishes information for three meals a day. The edible dish information includes the ingredient list information of the dish, and the user's consumption information of the dish. Then, the terminal identifies the user's dietary needs information and the user's physical state information through the detection and analysis network. Among them, the detection and analysis network is a classifier based on a reinforcement learning neural network. The specific identification process will be described in detail later, where the dietary demand information includes sub-dietary demand information corresponding to different physical conditions of the user, and the dietary demand information is the demand for each dietary configuration type, and the dietary configuration type includes but is not limited to vitamin configuration type, starch configuration type, oil configuration type, trace element configuration type, plant fiber configuration type, carbohydrate configuration type and other configuration types. Each dietary configuration type can correspond to one or more foods. The demand for each dietary configuration type is the daily demand for each dietary configuration type.
[0029] Step S102, based on the user's physical condition information and the user's dietary needs information, generate the user's dietary amounts for each target dietary configuration type and the user's eating period information, and based on the user's daily dietary information, identify the user's dietary preference information through a preference identification network.
[0030] In this embodiment, the terminal generates the dietary dosage of each target dietary configuration type of the user and the user's dietary demand information based on the user's physical condition information and the user's dietary demand information, and identifies the user's dietary preference information through the preference recognition network based on the user's daily dietary information. Among them, the dietary dosage is the daily dietary dosage of each target dietary configuration type, and the user's eating time period information is the range of the user's three meals a day. Among them, the preference recognition network is a convolutional neural network based on the self-attention mechanism. And the user's dietary preference information is the target dietary feature types preferred by the user. The target dietary feature types include, but are not limited to, spicy feature types, salty feature types, sweetness feature types, acidity feature types, consistency feature types, and dish feature types (for example, preference for meat dishes, preference for vegetarian dishes, preference for seafood dishes, preference for carbohydrate dishes), etc. The specific recognition process will be described in detail later.
[0031] Step S103, based on the dietary amounts of each target dietary configuration type, a dietary configuration table for the user is generated through a dietary configuration network, and based on the user's eating period information and the user's dietary preference information, the user's dietary configuration table is optimized to obtain the user's target dietary management schedule.
[0032] In this embodiment, the terminal generates a user's dietary configuration table through a dietary configuration network based on the dietary usage of each target dietary configuration type, and optimizes the user's dietary configuration table based on the user's eating period information and the user's dietary preference information to obtain the user's target dietary control schedule. Among them, the dietary configuration network is a neural network based on a knowledge graph. The specific identification process will be described in detail by the user. The user's target dietary control schedule includes the user's target dietary food information for three meals a day in units of weeks, and the food quantity corresponding to the target dietary food information.
[0033] Based on the above scheme, the user's physical detection information is monitored and analyzed to identify the user's dietary needs information and physical condition information. Then, based on the user's dietary needs information and physical condition information, the terminal identifies the dietary amount and eating time period information of each target dietary configuration type of the user, so that intelligent analysis is performed for different users respectively to obtain the dietary amount and eating time period information of different users, avoiding the problem of dietary configuration deviation in manual analysis. Then, this scheme optimizes and adjusts the user's dietary configuration table through the dietary preference information of ten times the user, so that the user's target dietary control schedule can be more suitable for the user's taste, improving the user experience effect while comprehensively improving the accuracy of the user's dietary control.
[0034] Optionally, based on the user's physical detection information, the user's dietary needs information and the user's physical condition information are identified through a detection and analysis network, including: splitting the physical detection information into detection data of each physical detection type, and based on the detection indicator evaluation strategy of each physical detection type, performing indicator evaluation processing on the detection data of each physical detection type respectively to obtain the detection indicator value of each physical detection type of the user; based on the detection indicator value of each physical detection type, identifying the sub-physical state of each physical detection type of the user through a detection and analysis network, and based on the sub-physical state of each body detection type, querying the sub-dietary needs information corresponding to the sub-physical state of each body detection type in a dietary database; using the sub-physical state of each body detection type as the user's physical condition information, and using the sub-dietary needs information corresponding to each sub-physical state as the user's dietary needs information.
[0035] In this embodiment, the terminal splits the body detection information into detection data of each body detection type, and performs index evaluation processing on the detection data of each body detection type based on the detection index evaluation strategy of each body detection type, and obtains the detection index value of each body detection type of the user. Among them, each body detection type corresponds to a detection index evaluation strategy, and the detection index evaluation strategy includes the detection index value corresponding to each detection data range. Then, the terminal identifies the detection index value of each body detection type by querying the detection data range to which the detection data of each body detection type belongs.
[0036] Based on the detection index value of each body detection type, the terminal identifies the sub-body state of each body detection type of the user through the detection and analysis network. The detection and analysis network is used to determine the body state corresponding to each body detection type based on the detection index value of each body detection type. The monitoring and analysis network is trained through the sample body state of each body detection type and the sample detection index value of the body detection type, so that the recognition accuracy of the body state of each body detection type can be low. Each body detection type corresponds to one or more body states, and each body state corresponds to only one body detection type, that is, different body detection types obtain different body states.
[0037] Then, based on the sub-physical states of each body detection type, the terminal queries the dietary requirement information corresponding to the sub-physical states of each body detection type in the dietary database, wherein the dietary database includes the dietary configuration amount range of each dietary configuration type corresponding to each body state.
[0038] Finally, the terminal uses the sub-physical state of each body detection type as the user's physical state information, and uses the sub-dietary need information corresponding to each sub-physical state as the user's dietary need information.
[0039] Based on the above scheme, by identifying the detection data of each body detection type, the user's physical condition and dietary needs information can be identified from the perspective of different body detection types, thereby improving the comprehensiveness and accuracy of identifying the physical condition and dietary needs information.
[0040] Optionally, based on the user's physical condition information and the user's dietary needs information, the dietary amounts of each target dietary configuration type of the user and the user's eating period information are generated, including: based on the user's physical condition information, querying the eating restriction information corresponding to the sub-physical state of each body detection type in the historical database, and based on each eating restriction information, identifying the user's eating period information and the daily dietary amount limit value of each dietary configuration type; based on the user's dietary needs information, identifying the daily dietary requirement range of the user's target dietary configuration type, and determining the dietary amounts of each target dietary configuration type of the user based on the daily dietary amount limit value of each target dietary configuration type and the daily dietary requirements of each target dietary configuration type.
[0041] In this embodiment, the terminal queries the eating restriction information corresponding to the sub-physical state of each physical detection type in the historical database based on the user's physical state information, and identifies the user's eating time period information and the daily food intake limit value of each dietary configuration type based on each eating restriction information. Among them, the historical database stores the eating restriction information of the dietary control staff for different physical states, and the eating restriction information includes the food intake limit information of each meal of the user's three meals a day, and the food intake limit information of each meal includes the limit amount of each dietary configuration type for different physical states.
[0042] Then, the terminal identifies the daily dietary requirement range of the user's target dietary configuration type based on the user's dietary requirement information, and determines the dietary amount of each target dietary configuration type of the user based on the daily food intake limit value of each target dietary configuration type and the daily dietary requirement of each target dietary configuration type. Wherein, when the daily food intake limit value is greater than the daily dietary requirement, the dietary amount of the user is determined to be the daily dietary requirement, and when the daily food intake limit value is not greater than the daily dietary requirement, the dietary amount of the user is determined to be the daily food intake limit value.
[0043] Based on the above scheme, by querying the daily food intake limit of each dietary configuration type based on the sub-physical status of each body detection type of the user, the dietary intake of each target dietary configuration type of the user is determined, thereby improving the accuracy of identifying the dietary intake of each target dietary configuration type of the user.
[0044] Optionally, based on the user's daily dietary information, the user's dietary preference information is identified through a preference identification network, including: querying the dietary characteristic information of each daily dietary information in a dietary database, and the daily dietary amount of each daily dietary information, and identifying the preference of each daily dietary information; based on the dietary characteristic information of each daily dietary information, identifying each dietary characteristic type corresponding to each daily dietary information, and based on each dietary characteristic type corresponding to each daily dietary information and the preference of each daily dietary information, identifying the user's target preference for each dietary characteristic type through a preference identification network; screening the target dietary characteristic types corresponding to the target preference greater than the preference threshold, and using each target dietary characteristic type as the user's dietary preference information.
[0045] In this embodiment, the terminal queries the dietary characteristic information of each daily dietary information in the dietary database, and the daily dietary amount of each daily dietary information, and identifies the preference of each daily dietary information. The dietary characteristic information of each daily dietary information is the dish characteristics of each dish consumed by the user in the daily dietary information, and the dish characteristics of each dish are stored in the dietary database. Then, the terminal obtains each dietary characteristic information corresponding to the daily dietary information by querying the dish characteristics of each dish in the dietary database.
[0046] Then, the terminal identifies the dietary feature types corresponding to each daily dietary information based on the dietary feature information of each daily dietary information. Among them, since the dish feature corresponding to a dish can be one or more, and each dish feature corresponds to a dietary feature type, the terminal uses the dietary feature type corresponding to each dish feature of all dishes of each daily dietary information as the dietary feature information of each daily dietary information. Then, the terminal obtains the user's preference for each dish by calculating the ratio between the dietary amount of each dish and the provided amount of the dish. Then, the terminal uses the preference of each product as the preference of each dietary feature type of each dish, and performs preference analysis on the preference of the same dietary feature type of different dishes through the preference recognition network to obtain the target preference of each dietary feature type. Among them, the preference recognition network includes the weight value of each dietary feature type, and then, the terminal performs weighted summation processing on the preference of the same dietary feature type of different dishes through the preference recognition network to obtain the target preference of each dietary feature type.
[0047] Then, the terminal screens target dietary characteristic types corresponding to target preferences greater than a preference threshold preset in the terminal, and uses each target dietary characteristic type as dietary preference information of the user.
[0048] Based on the above scheme, the dietary characteristics of the user's daily dietary information are split and identified, and then the dietary amount of each dietary characteristic type corresponding to each dietary characteristic information is identified, so as to comprehensively screen the user's target dietary characteristic types, thereby improving the comprehensiveness and accuracy of the screening.
[0049] Optionally, based on the dietary amounts of each target dietary configuration type, a dietary configuration table for the user is generated through the dietary configuration network, including: based on each target dietary configuration type, querying the dietary configuration database for the initial dietary dish information corresponding to each target dietary configuration type; based on the dietary amounts of each target dietary configuration type and the initial dietary dish information corresponding to each target dietary configuration type, generating a dietary configuration dish list through the dietary configuration network, and dividing and organizing the dietary configuration dish table according to preset time periods to obtain the dietary configuration table for the user.
[0050] In this embodiment, the terminal queries each initial meal dish information corresponding to each target meal configuration type in the meal configuration database based on each target meal configuration type. The meal configuration database includes the correspondence between each meal configuration type and each meal dish information, wherein the correspondence is the meal dish information corresponding to each meal configuration type obtained by the staff after a large number of analysis experiments, data statistics, and Internet data query. Each meal dish information includes the ingredient quantity of each ingredient of the meal dish.
[0051] Then, based on the dietary usage of each target dietary configuration type and the initial dietary dish information corresponding to each target dietary configuration type, the terminal generates a dietary configuration dish list through the dietary configuration network, and divides and organizes the dietary configuration dish list according to the preset time period to obtain the dietary configuration table of the user. The process of generating the dietary configuration dish list includes that the terminal configures each dietary dish information in the daily diet of the user based on the dietary usage of each target dietary configuration type and the ingredient quantity of each ingredient of each dietary dish information, and obtains the daily dietary product list of the user, and then the terminal uses all daily dietary product lists as the dietary configuration table of the user.
[0052] Based on the above scheme, a daily dietary product list for the user is generated through the initial dietary dish information corresponding to each target dietary configuration type and the dietary amount of each target dietary configuration type, thereby improving the diversity of the user's daily dietary configuration, improving the user's user experience, and ensuring that the user's physical condition requirements for the dietary amount of each target dietary configuration type are met.
[0053] Optionally, based on the user's eating period information and the user's dietary preference information, the user's dietary configuration table is optimized to obtain the user's target dietary management schedule, including: identifying each dish feature type of each dietary dish information in the dietary configuration table, and calculating the similarity between each dish feature type of each dietary dish information and each target dietary feature type of the user; based on the similarity between each dish feature type of each dietary dish information and each target dietary feature type of the user, screening each target dietary dish information of the user, and generating the user's daily dietary dish table based on the usage value of each target dietary configuration information corresponding to each target dietary dish information and the dietary usage of each target dietary configuration information; dividing and organizing the user's daily dietary dish table according to the user's eating period information to obtain the user's target dietary management schedule.
[0054] In this embodiment, the terminal identifies each dish feature type of each meal dish information in the meal configuration table, and calculates the similarity between each dish feature type of each meal dish information and each target diet feature type of the user. The similarity is calculated by using a cosine similarity recognition algorithm.
[0055] Then, the terminal screens each target meal information of the user based on the similarity between each dish feature type of each meal information and each target diet feature type of the user, and generates a daily meal table for the user based on the amount value of each target diet configuration information corresponding to each target meal information and the dietary amount of each target diet configuration information. The amount of each target diet configuration information is set to the ingredient amount of each ingredient in the target meal information.
[0056] Finally, the terminal divides and organizes the user's daily meal list according to the user's eating period information to obtain the user's target meal management schedule.
[0057] Based on the above scheme, by screening the user's target meal information, it is ensured that the user is provided with the dietary intake that meets each daily dietary configuration type, while improving the user's user experience effect of each target meal information.
[0058] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0059] Based on the same inventive concept, the embodiment of the present application also provides a dietary management system based on the user's health status for implementing the dietary management method based on the user's health status involved above. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more dietary management system embodiments based on the user's health status provided below can refer to the limitations of the dietary management method based on the user's health status above, and will not be repeated here.
[0060] Further references Figure 2 , as a response to the above Figure 1 The present application provides an embodiment of a dietary management system 200 based on the health status of a user, and the dietary management system based on the health status of a user comprises an acquisition module 210, an identification module 220 and an optimization module 230, wherein: The acquisition module 210 is used to acquire the user's physical detection information and the user's daily diet information, and based on the user's physical detection information, identify the user's dietary requirement information and the user's physical condition information through a detection and analysis network; The identification module 220 is used to generate the dietary amount of each target dietary configuration type of the user and the eating period information of the user based on the physical condition information of the user and the dietary requirement information of the user, and to identify the dietary preference information of the user through a preference identification network based on the daily dietary information of the user; The optimization module 230 is used to generate a dietary configuration table for the user based on the dietary amounts of each target dietary configuration type through a dietary configuration network, and optimize the dietary configuration table for the user based on the user's eating period information and the user's dietary preference information to obtain the user's target dietary management schedule.
[0061] Optionally, the acquisition module 210 is specifically configured to: Splitting the body detection information into detection data of each body detection type, and performing index evaluation processing on the detection data of each body detection type based on the detection index evaluation strategy of each body detection type, to obtain the detection index value of each body detection type of the user; Based on the detection index values of each of the body detection types, identifying the sub-physical state of each of the body detection types of the user through a detection and analysis network, and based on the sub-physical state of each of the body detection types, querying the sub-dietary requirement information corresponding to the sub-physical state of each body detection type in a dietary database; The sub-physical state of each of the body detection types is used as the physical state information of the user, and the sub-dietary need information corresponding to each of the sub-physical states is used as the dietary need information of the user.
[0062] Optionally, the identification module 220 is specifically configured to: Based on the physical state information of the user, query the eating restriction information corresponding to the sub-physical state of each physical detection type in the history database, and based on each of the eating restriction information, identify the eating time period information of the user and the daily food intake limit value of each dietary configuration type; Based on the user's dietary needs information, the daily dietary requirements range of the user's target dietary configuration type is identified, and based on the daily food intake limit of each target dietary configuration type and the daily dietary requirements of each target dietary configuration type, the dietary amount of each target dietary configuration type of the user is determined.
[0063] Optionally, the identification module 220 is specifically configured to: In the diet database, query the diet characteristic information of each daily diet information, and the daily diet amount of each daily diet information, and identify the preference of each daily diet information; Based on the dietary characteristic information of each daily dietary information, each dietary characteristic type corresponding to each daily dietary information is identified, and based on each dietary characteristic type corresponding to each daily dietary information and the preference of each daily dietary information, the user's target preference for each dietary characteristic type is identified through a preference identification network; Target dietary characteristic types corresponding to target preferences greater than a preference threshold are screened, and each of the target dietary characteristic types is used as dietary preference information of the user.
[0064] Optionally, the optimization module 230 is specifically configured to: Based on each target meal configuration type, querying the meal configuration database for each initial meal dish information corresponding to each target meal configuration type; Based on the dietary intake of each target dietary configuration type and the initial dietary dish information corresponding to each target dietary configuration type, a dietary configuration dish list is generated through the dietary configuration network, and the dietary configuration dish list is divided and sorted according to preset time periods to obtain the dietary configuration table of the user.
[0065] Optionally, the optimization module is specifically used to: Identify each dish feature type of each meal dish information in the meal configuration table, and calculate the similarity between each dish feature type of each meal dish information and each target meal feature type of the user; Based on the similarity between each dish feature type of each meal food information and each target diet feature type of the user, each target meal food information of the user is screened, and based on the amount value of each target diet configuration information corresponding to each target meal food information and the dietary amount of each target diet configuration information, a daily meal food table of the user is generated; The user's daily meal menu is divided and sorted according to the user's eating period information to obtain the user's target meal control schedule.
[0066] Each module in the above-mentioned dietary management system based on the health status of the user can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0067] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input system connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a dietary management method based on the health status of the user is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input system of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0068] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0069] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0070] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0071] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps of any one of the methods in the first aspect.
[0072] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0073] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0074] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0075] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A dietary management method based on the health status of a user, characterized in that: The method comprises: Acquire the user's physical examination information and the user's daily diet information, and based on the user's physical examination information, identify the user's dietary requirement information and the user's physical condition information through a detection and analysis network; Based on the user's physical condition information and the user's dietary needs information, generate the dietary amounts of each target dietary configuration type of the user and the user's eating period information, and based on the user's daily dietary information, identify the user's dietary preference information through a preference identification network; Based on the dietary amounts of each target dietary configuration type, a dietary configuration table for the user is generated through a dietary configuration network, and based on the user's eating period information and the user's dietary preference information, the user's dietary configuration table is optimized to obtain the user's target dietary management schedule.
2. The method according to claim 1, characterized in that The step of identifying the dietary requirement information of the user and the physical condition information of the user through a detection and analysis network based on the physical detection information of the user includes: Splitting the body detection information into detection data of each body detection type, and performing index evaluation processing on the detection data of each body detection type based on the detection index evaluation strategy of each body detection type, to obtain the detection index value of each body detection type of the user; Based on the detection index values of each of the body detection types, identifying the sub-physical state of each of the body detection types of the user through a detection and analysis network, and based on the sub-physical state of each of the body detection types, querying the sub-dietary requirement information corresponding to the sub-physical state of each body detection type in a dietary database; The sub-physical state of each of the body detection types is used as the physical state information of the user, and the sub-dietary need information corresponding to each of the sub-physical states is used as the dietary need information of the user.
3. The method according to claim 2, characterized in that The generating, based on the user's physical condition information and the user's dietary requirement information, the dietary amount of each target dietary configuration type of the user and the user's eating period information, comprises: Based on the physical state information of the user, query the eating restriction information corresponding to the sub-physical state of each physical detection type in the history database, and based on each of the eating restriction information, identify the eating time period information of the user and the daily food intake limit value of each dietary configuration type; Based on the user's dietary needs information, the daily dietary requirements range of the user's target dietary configuration type is identified, and based on the daily food intake limit of each target dietary configuration type and the daily dietary requirements of each target dietary configuration type, the dietary amount of each target dietary configuration type of the user is determined.
4. The method according to claim 2, characterized in that: The step of identifying the user's dietary preference information based on the user's daily dietary information through a preference identification network includes: In the diet database, query the diet characteristic information of each daily diet information, and the daily diet amount of each daily diet information, and identify the preference of each daily diet information; Based on the dietary characteristic information of each daily dietary information, each dietary characteristic type corresponding to each daily dietary information is identified, and based on each dietary characteristic type corresponding to each daily dietary information and the preference of each daily dietary information, the user's target preference for each dietary characteristic type is identified through a preference identification network; Target dietary characteristic types corresponding to target preferences greater than a preference threshold are screened, and each of the target dietary characteristic types is used as dietary preference information of the user.
5. The method according to claim 4, characterized in that The step of generating the user's dietary configuration table based on the dietary dosage of each target dietary configuration type through a dietary configuration network includes: Based on each target meal configuration type, querying the meal configuration database for each initial meal dish information corresponding to each target meal configuration type; Based on the dietary intake of each target dietary configuration type and the initial dietary dish information corresponding to each target dietary configuration type, a dietary configuration dish list is generated through the dietary configuration network, and the dietary configuration dish list is divided and sorted according to preset time periods to obtain the dietary configuration table of the user.
6. The method according to claim 5, characterized in that The step of optimizing the user's meal configuration table based on the user's meal period information and the user's dietary preference information to obtain the user's target dietary control schedule includes: Identify each dish feature type of each meal dish information in the meal configuration table, and calculate the similarity between each dish feature type of each meal dish information and each target meal feature type of the user; Based on the similarity between each dish feature type of each meal food information and each target diet feature type of the user, each target meal food information of the user is screened, and based on the amount value of each target diet configuration information corresponding to each target meal food information and the dietary amount of each target diet configuration information, a daily meal food table of the user is generated; The user's daily meal menu is divided and sorted according to the user's eating period information to obtain the user's target meal control schedule.
7. A dietary management system based on the user's health status, characterized in that: The system comprises: An acquisition module, used to acquire the user's physical detection information and the user's daily diet information, and based on the user's physical detection information, identify the user's dietary requirement information and the user's physical condition information through a detection and analysis network; an identification module, for generating the dietary amounts of each target dietary configuration type of the user and the dietary period information of the user based on the physical condition information of the user and the dietary requirement information of the user, and identifying the dietary preference information of the user through a preference identification network based on the daily dietary information of the user; The optimization module is used to generate the user's dietary configuration table through the dietary configuration network based on the dietary dosage of each target dietary configuration type, and optimize the user's dietary configuration table based on the user's eating period information and the user's dietary preference information to obtain the user's target dietary management schedule.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
System and method for implementing meal selection based on vitals, genotype, and phenotype
CN111183485A
Student healthy diet management system based on full life cycle
CN116417114A
Food material recommendation method, controller, food material recommendation system and storage medium
CN117747057A
Personal long-term diet recommendation supervision method and system, terminal and storage medium
CN117976145A
Cited By
Adaptive loading method for real-time hybrid simulation testing of space frame model
US11150159B2
