Method, device, equipment, medium and product for generating diet plan application
By automatically generating personalized diet plans using a large language model generative intelligent engine and visually displaying them through an interactive dashboard, this solves the problem of existing diet management systems lacking intuitive visualization and interactivity, thereby improving the efficiency of diet plan generation and user experience.
Patent Information
- Application Number
- CN202511080574.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-01
- Publication Date
- 2025-11-18
AI Technical Summary
Existing diet management systems lack intuitive visualization and interactivity, and cannot provide the ability to build diet plans that are clearly structured, information-complete, and user-friendly. In particular, when faced with complex dietary preferences and multi-stage dietary goal intervention scenarios, they cannot dynamically understand the specific impact of diet adjustments on user goals.
Employing a large language model-based generative intelligent engine, it automatically generates personalized diet plans based on user-inputted dietary information. These plans include multi-dimensional structured outputs, visualized through an interactive dashboard, and support for switching between multiple views and parameter linkage.
It improves the efficiency of generating diet plans and the ability to visualize nutritional structures, enhances the interactivity and operability of the plan content, and improves the user experience and compliance in the diet management process.
Smart Images

Figure CN120977501A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of this disclosure generally relate to the field of application generation, and more specifically to methods, apparatus, devices, media, and products for generating diet planning applications. Background Technology
[0002] With the increasing popularity of dietary management concepts, dietary intervention and nutrition management based on users' dietary goals have been widely applied in daily life. Current dietary management typically involves nutrient analysis, calorie control, and food recording to provide users with initial dietary advice and reference. Currently, dietary plans are increasingly being developed towards visualization to better meet users' personalized management needs in different life scenarios.
[0003] Currently, the process of creating diet plans is increasingly focused on flexibility and maintainability. Some platforms allow users to record their own diet plans and manage their dietary information. By viewing their recorded dietary information, users can control their diet and thus improve their health. At the same time, the visualization methods for users' diet plans are continuously being optimized to achieve clear communication of dietary information and interactive feedback. Summary of the Invention
[0004] Embodiments of this disclosure provide a method, apparatus, device, medium, and product for generating diet planning applications.
[0005] According to a first aspect of this disclosure, a method for generating a diet planning application is provided. The method includes receiving diet-related information from a user. The method also includes generating a diet planning application for the user based on the diet-related information, using a model. The diet planning application includes a diet plan for the user.
[0006] According to a second aspect of this disclosure, an apparatus for generating a diet planning application is provided. The apparatus includes an information receiving module configured to receive diet-related information from a user; and a diet planning application generation module configured to generate a diet planning application for the user based on the diet-related information and using a model, the diet planning application including a diet plan for the user.
[0007] In a third aspect of this disclosure, an electronic device is provided, including at least one processor; and a storage device for storing at least one program, which, when executed by the at least one processor, causes the at least one processor to implement the method according to the first aspect of this disclosure.
[0008] In a fourth aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the method according to a first aspect of this disclosure.
[0009] In a fifth aspect of this disclosure, a computer program product is provided. This computer program product includes a computer program that, when executed by a processor, implements the method according to a first aspect of this disclosure.
[0010] It should be understood that the content described in this section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0011] The above and other objects, features and advantages of this disclosure will become more apparent from the accompanying drawings, in which like reference numerals generally denote like parts.
[0012] Figure 1 The illustration shows a schematic diagram of an example environment in which some embodiments of the present disclosure may be implemented;
[0013] Figure 2 The illustration shows a schematic diagram of an example method for generating a diet plan application according to some embodiments of the present disclosure;
[0014] Figure 3 The illustration shows a flowchart of an example process for generating a diet plan application according to some embodiments of the present disclosure;
[0015] Figure 4 The illustration shows a flowchart of a user interaction process according to some embodiments of the present disclosure;
[0016] Figure 5 The illustration shows a schematic diagram of an example of a diet planning application interface according to some embodiments of the present disclosure;
[0017] Figure 6 The illustration shows a schematic block diagram of an apparatus for generating a diet plan application according to some embodiments of the present disclosure;
[0018] Figure 7 A schematic block diagram of an example device suitable for implementing various embodiments of the present disclosure is illustrated. Detailed Implementation
[0019] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0020] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0021] For example, upon receiving a user's proactive request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0022] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0023] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0024] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0025] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0026] As people become increasingly aware of dietary needs, diet management tools are becoming more and more important. Existing diet management systems typically exist in the form of static tables, simple food records, or basic calorie calculators, lacking intuitive visualization and interactivity. Traditional solutions often use plain text records or simple charts, requiring users to manually record each meal's food and calculate nutrient intake, making it impossible to adjust or preview the impact of diet plans on overall nutritional structure in real time. Furthermore, existing diet management systems generally lack visual feedback mechanisms for changes in food composition, nutrient intake, and plan execution effectiveness, failing to help users dynamically understand the specific impact of dietary adjustments on their goals. Especially when facing complex dietary preferences and multi-stage dietary goal intervention scenarios, existing solutions cannot provide the ability to create diet plans that are clearly structured, informationally complete, and user-friendly.
[0027] Therefore, embodiments of this disclosure propose a method for generating a diet planning application. In this method, a computing device receives diet-related information from a user. Then, based on the diet-related information, a model is used to generate a diet planning application for the user, the diet planning application including a diet plan tailored to the user. This method can generate flexible diet plans for users based on their input needs, improving the generation efficiency of the diet planning application, enhancing its personalization and visualization capabilities, and improving the user experience.
[0028] The embodiments of this disclosure will now be described in further detail with reference to the accompanying drawings. Figure 1 The illustration shows an example environment in which the devices and / or methods of embodiments of the present disclosure may be implemented. In environment 100, computing device 102 can generate a corresponding visual diet plan application based on the user's needs.
[0029] Examples of computing device 102 include, but are not limited to, personal computers, server computers, handheld or laptop devices, mobile devices (such as mobile phones, personal digital assistants (PDAs), media players, etc.), multiprocessor systems, consumer electronics, minicomputers, mainframe computers, and distributed computing environments that include any of the above systems or devices.
[0030] like Figure 1 As shown, after receiving diet-related information 104 from the user, the computing device 102 initiates the diet plan generation process. The user can directly input or select multiple key parameters through a graphical user interface, representing the diet-related information received from the user, such as daily calorie intake goals, fat loss or muscle gain goals, and individual dietary habits and dietary restrictions. The computing device 102 inputs the collected input information as preconditions into the model 106, triggering subsequent plan calculation logic.
[0031] Model 106 is a generative intelligent engine built on a language model. Pre-trained on a large amount of nutrition literature, dietary management guidelines, and user behavior data, the model possesses the ability to understand semantic information, infer dietary goals, and generate structured content. Upon receiving user parameters, the model can not only identify the logical relationships between input items but also predict and optimize nutrient intake based on dietary goals. Through contextual understanding and conditional reasoning mechanisms, the model can automatically generate a weekly three-meal plan application tailored to individual needs, further presenting it as a multi-dimensional structured output including specific food combinations, nutritional composition ratios, and recommended intake time periods. Compared to traditional rule-based recommendation algorithms, this large language model has stronger generalization and adaptability, capable of handling non-standardized input and fuzzy preference expressions, effectively improving the scientific rigor, relevance, and intelligence of dietary plans. The entire process eliminates the need for users to manually configure complex rules or formulas; the computing device automatically parses the relationships between input parameters and matches corresponding nutritional configuration strategies, thereby generating customized dietary plans for users. This approach effectively simplifies the tedious process of traditional text input and manual comparison, providing a more intelligent and automated support path for personalized dietary recommendations.
[0032] Therefore, the computing device 102 can automatically generate a diet plan through the model 106 and output a diet plan application 108 containing multiple structured content modules. Specifically, the model not only recommends food combinations based on basic calorie requirements but also considers the balance of protein, fat, and carbohydrate ratios to generate a daily nutritional intake plan. The output application content is further divided into multiple visualization modules, including but not limited to: a daily diet plan table, a radar chart of core nutrients, dynamic progress bars for achieving various nutritional goals, and personalized dietary suggestions generated by the computing device based on the user's structural deviations. These modules are embedded into the diet plan application as independent but interconnected display units, supporting multiple view switching and parameter linkage mechanisms to ensure that users can efficiently obtain comprehensive dietary information in a unified interface.
[0033] After the diet plan application is built, the computing device 102 further distributes the plan content to multiple areas of the user terminal interface for display. In some embodiments, the user interface is constructed in the form of an interactive dashboard, with different functional areas logically divided to carry information modules of different dimensions. In one example, the left area of the interface displays the daily diet table, showing the meal structure and food pairings; the middle area presents the nutrient intake percentage in the form of a radar chart, comparing it with the target value; the right area provides a dynamic progress bar to show the current completion status of various nutrients; and the bottom area can display personalized dietary suggestions generated based on the current plan. Users can perform interactive operations such as clicking, dragging, and marking the content in each area, and the computing device will respond and update the relevant data in real time. For example, after a user clicks on a food card, the interface will pop up the detailed nutritional information of that food; if the user adjusts the food content or marks completed items, the corresponding nutrient radar chart and suggestion area will also be updated synchronously. In some embodiments, the user interface of the diet computing application can be constructed in any suitable structure for displaying diet plan information.
[0034] This method uses a model to generate diet plans, enabling computing devices to achieve an efficient closed loop between the generation, display, and feedback of diet plans. This significantly enhances user participation and sustainability in diet management, thereby improving the user experience.
[0035] The above combination Figure 1 The following is a schematic diagram illustrating an example environment in which some embodiments of this disclosure may be implemented, in conjunction with... Figure 2 A schematic diagram illustrating an example method for generating a diet plan application according to some embodiments of the present disclosure. Figure 2 The method in can be derived from Figure 1 The computing device 102 or any suitable device in the system can be used for execution.
[0036] like Figure 2 As shown, in example method 200, the computing device can automatically generate a personalized diet plan application. At box 202, the computing device receives diet-related information from the user. This information may include, but is not limited to, the user's goals (e.g., blood sugar control, fat loss, muscle gain, bodybuilding, achieving a slimmer physique), daily calorie intake goals, and dietary preferences (e.g., high-protein diet, low-fat diet, vegetarianism, dietary restrictions, etc.). The computing device can obtain parameters manually input by the user through a graphical interface or extract parameters from data related to the user's previous behavior as input to the model.
[0037] In some embodiments, user A sets a health goal of "muscle gain," a daily calorie target of 2800 kcal, a preference for high-protein foods, and avoidance of dairy products. The computing device will select suitable food combinations and nutritional compositions based on these parameters to generate a dietary structure that balances energy and protein intake. In another embodiment, user B selects "sugar control" as their goal, a daily calorie target of 1600 kcal, and a preference for low-carbohydrate diets. The computing device will exclude high-sugar and high-GI foods and strengthen the combination of dietary fiber, protein, and complex carbohydrates in the recommendations.
[0038] At box 204, computing device 102 uses a model to generate a user-specific diet planning application based on diet-related information. The diet planning application includes a diet plan tailored to the user. Computing device 102 can invoke the model to generate the user-specific diet planning application based on the received diet-related information. The model can be a language model deployed in computing device 102, pre-trained based on extensive nutritional science literature, dietary guidelines, and user behavior data, capable of understanding user semantic expressions and outputting structured dietary recommendations. The generated diet planning application includes daily dietary suggestions and further supports visualization and human-computer interaction through an interactive interface, such as an interactive dashboard.
[0039] The visual output of the diet planning application includes multiple data sections, which are structured and populated into multiple functional areas of the user interface to achieve partitioned information display and interactive feedback. In some embodiments, the interface is divided into four main display areas, each carrying different types of data views, allowing users to have a comprehensive understanding of the diet plan content on a unified dashboard.
[0040] The first area displays detailed food pairing information for the three daily meals, presented in a combination of tabular and card formats. Each meal is subdivided into breakfast, lunch, dinner, and optional snacks. The computing device 102 lists the names of the ingredients in each meal, recommended serving sizes (e.g., grams, milliliters, number of servings), suggested consumption time (e.g., breakfast 7:00–9:00), and a corresponding nutritional information summary. Users can click on food cards to expand and view detailed nutritional components, such as protein, fat, carbohydrates, vitamins, and minerals. This area also supports interactive operations, such as "replacing food," "marking as eaten," or "adjusting portion size." The computing device dynamically updates nutritional data and subsequent suggestions based on the user's actions.
[0041] The second area displays the proportion of several key nutrients (such as energy, protein, dietary fiber, etc.) involved in the diet plan in the user's daily schedule in the form of a nutrition radar chart. Each nutrient dimension in the chart is displayed radially along a radius axis, with a larger coverage area indicating a higher intake level. The computing device 102 can also use color coding or animation prompts to identify excessive or insufficient intake of nutrients, making it easy for users to intuitively identify intake structure deviations and adjust their food choices accordingly.
[0042] The third area is the progress monitoring module, which dynamically displays the current intake of various nutrients and their achievement of the target recommended values using multiple progress bars or pie charts. This area supports linkage with actual food records; when a user marks a meal as completed, the computing device will automatically update the nutrient intake data and refresh the progress bar length and status color. For example, a green protein progress bar indicates that the recommended range has been reached, red indicates excessive intake, and gray indicates that no intake has been achieved.
[0043] The fourth area is the suggestion area. Based on semantic analysis and rule matching of the current dietary structure using a dietary recommendation model, it generates personalized dietary suggestions for users. The suggestions are presented in natural language and may include supplementary suggestions (e.g., "Increase your intake of iron-rich leafy green vegetables"), restriction reminders (e.g., "Your carbohydrate intake at dinner is too high; adjust it accordingly"), and substitution suggestions (e.g., "Replace red meat with fish at lunch to improve your fat composition"). This area can also be refreshed based on user clicks, providing multiple rounds of suggestions and supplementary explanations to improve user understanding and adoption rates.
[0044] In practical use, the four areas above are interconnected and respond to user operations in real time, forming a closed-loop diet management support system. When the computing device performs an adjustment operation in any area, it will synchronously update all relevant views based on the current parameter status, model prediction results, and completed data, realizing multi-directional coupling and dynamic feedback between diet plan content, nutritional structure, and personalized suggestions.
[0045] Furthermore, in the interactive steps of the method, the user can perform operations on multiple areas, and the computing device 102 responds and updates the content in real time. In one embodiment, after the user clicks on the "Insufficient Calcium Intake" prompt in the progress bar area, the computing device will display recommended food suggestions, such as low-fat cheese, tofu, or sesame paste, and allow the user to add one of them to their next meal plan. In another embodiment, when the user performs a "Consumed" mark operation on a food card, the computing device will update the ingested nutrient data, recalculate the remaining nutrient goals, and adjust the recommendations in real time.
[0046] Furthermore, the diet planning app is device-adaptive, dynamically adjusting its layout and display ratio based on the screen size of the display device (such as a mobile phone, tablet, or desktop webpage). For example, on mobile devices, multiple areas of content are presented in a sliding page format, while on larger screens, all modules are displayed side-by-side, ensuring consistency and seamless user experience across different devices.
[0047] This method enables accurate modeling and dynamic presentation of users' personalized dietary needs, improves the efficiency of diet plan generation and the ability to visualize nutritional structure, enhances the interactivity and operability of the plan content, and improves the overall user experience and compliance in the diet management process.
[0048] The above combination Figure 2 Schematic diagrams illustrating example methods for generating diet planning applications, representing some embodiments of this disclosure, are shown below. Figure 3 A flowchart describing an example process for generating a diet plan application according to some embodiments of the present disclosure. Figure 3 Example method 300 in the example can be derived from Figure 1 The computing device 102 or any suitable device in the system can be used for processing.
[0049] like Figure 3 As shown in Example Method 300, the process by which the computing device generates a personalized diet plan application includes multiple stages. First, in Stage 1, the computing device receives diet plan parameters input by the user. These parameters can originate from the user's active input or be automatically obtained from historical records or wearable devices. In one embodiment, the user fills in "Daily calorie target = 1800kcal, target = fat loss, dietary preference = high protein, avoidance = dairy products" in the interface. The computing device will automatically preprocess this input, including parameter parsing, unit conversion, keyword extraction, and structured encapsulation, to construct the input context for model invocation.
[0050] Next, in Phase 2, the computing device executes recommendations by invoking a deployed model based on the received parameters. This model is a generative inference engine based on a language model, possessing high-dimensional nutritional knowledge understanding capabilities and multi-round target matching capabilities. During this process, the model automatically derives multiple candidate food combinations and models their nutritional distribution and optimizes intake balance. For example, for a "high protein + low fat" requirement, the model prioritizes eggs, soy products, and lean meat, while excluding high-fat cheese and highly processed meat products. In one embodiment, the model ultimately outputs a structured diet plan data object containing suggestions for three meals a day, snacks, recommended ingredients, nutritional distribution, and intake timing.
[0051] In Phase 3, the computing device will load the generated diet plan onto the user interface and present it as an interactive dashboard across multiple visualization modules. Specifically, the interface can be divided into four main areas: a daily diet list, a nutrition radar chart, a nutrition progress bar, and personalized suggestions. Each area supports user interaction. In one example, after clicking the "Lunch - Chicken Breast" card, the user can expand its nutritional details (e.g., 30g protein, 2g fat) and select "Replace with Tofu." The interface will automatically refresh the modules and display a message: "Protein intake remains stable, fat intake has slightly decreased."
[0052] In phase 4, computing device 102 automatically generates or updates dietary recommendations based on the user's current interaction behavior, completed intake records, and overall intake structure. The recommendation generation process includes three steps: First, the computing device calculates the total amount of nutrients from the current food choices in real time and compares it with the user's goals; second, the model infers key deviations, such as identifying "current iron intake is too low" or "dinner carbohydrate intake is too high"; finally, the model generates semantic recommendation statements based on the inference results and a knowledge base, such as "add a serving of spinach to dinner" or "replace refined rice with brown rice to increase fiber." These recommendations can be pushed out in the form of cards, text pop-ups, or voice messages, and users can "accept" or "ignore" them, forming a continuous adjustment loop.
[0053] This solution improves the efficiency and accuracy of dietary recommendations, enhances the clarity of information display and the consistency of operational behavior, and provides users with a highly visualized, operable and continuously adjustable dietary management platform, significantly improving the scientific nature and practicality of dietary management.
[0054] The above combination Figure 3 A flowchart illustrating an example process for generating a diet plan application according to some embodiments of this disclosure is described below; in conjunction with Figure 4 An example describing a user interaction process.
[0055] Figure 4 The operation flow 400 of the diet plan application in the interactive response process is shown. At box 402, the computing device 102 receives interactive operations from the user. The interactive operations performed by the user include actions such as clicking, adjusting or marking in multiple areas of the diet plan interface, covering key interface components such as the diet pairing display area, the nutritional component display area, and the suggestion prompt area.
[0056] Next, in box 404, the computing device performs corresponding interface display adjustments based on the type of interaction received. The computing device adjusts the displayed diet plan according to the user's interaction with the interface. Specifically, in box 406, when the user clicks on a specific food card in the diet plan, the computing device responds to the click by expanding and displaying detailed nutritional information related to that food. The displayed content includes precise values for key nutrients such as energy, protein, fat, carbohydrates, dietary fiber, vitamins, and minerals. This information can be further used to support the user in performing operations such as replacement, reduction, or confirmation.
[0057] In addition, during the display process, the computing device can also indicate the proportion of the food in the user's current nutritional goals, such as "This food provides 25% of today's protein goal," or "The current meal is too high in fat; it is recommended to adjust accordingly." After viewing the nutritional details, users can also take further actions based on the current information.
[0058] Furthermore, in box 408, the computing device updates the data in the entire display area based on the food adjustment or marking operations performed by the user. If the user performs an "adjustment operation" (such as replacing with a low-fat ingredient) or a "marking operation" (such as already eaten or skipped) on a certain food, the computing device will trigger the corresponding update mechanism, including: recalculating the total nutrient intake, updating the display range of the nutrient radar chart, adjusting the progress bar value display, and regenerating personalized dietary recommendations based on the new structure.
[0059] Through this interactive process mechanism, computing devices can achieve deep coupling between diet plan content and user interaction behavior, enabling the computing devices to quickly respond and automatically adjust the recommendation structure after user operation, ensuring the dynamic adaptability and personalized accuracy of the recommendation plan, and improving the user experience.
[0060] The following is combined with Figure 5 A schematic diagram illustrating an example of a diet planning application interface according to some embodiments of the present disclosure. Figure 5 The diagram illustrates the overall display structure of a diet plan application on the user interface. The interface includes a user information area on the left and a diet plan display area on the right. The left area displays the user's basic information, including tags, current weight, target weight, BMI, and daily target calorie intake. Simultaneously, the interface provides a personalized configuration entry point, allowing users to set goals (such as fat loss, blood sugar control, etc.), daily calorie intake targets, and dietary preferences (such as balanced diet, low-fat diet, etc.). Users can also click the "Generate Diet Plan" button to trigger the subsequent plan creation process. This area serves as the input and control hub in the interface layout, supporting the parameter entry points for personalized plan generation.
[0061] The right side displays the core area of the diet plan. The upper part of this area shows the weekly diet plan generated by the computing device based on the user's configuration, including daily meal times (e.g., breakfast, lunch, dinner), recommended foods (e.g., grilled salmon with steamed vegetables), calorie information (in kcal), and nutritional composition (e.g., grams of protein, carbohydrates, fat, and dietary fiber). Each food item has a "View Details" button, which the user can click to expand the complete nutritional structure of the food or perform a substitution operation. In one embodiment, if the user clicks "Grilled salmon with steamed vegetables," the computing device can pop up an ingredient details panel, displaying the ingredient source, nutritional ratio, and alternative recommendations, supporting dynamic adjustments. Additionally, when presenting the recommended foods for each meal, alternative foods can also be displayed. If the user performs the operation of replacing the recommended food with an alternative food, the recommended food in each meal can be replaced with that alternative food, and the relevant information in the diet plan can then be updated.
[0062] Below the diet plan, the interface further displays multi-dimensional feedback information on the user's current nutritional intake structure, including two types of visualization components: a radar chart and a progress bar. The radar chart covers multiple key nutrients (such as protein, fat, fiber, vitamins, minerals, and carbohydrates) in a hexagonal format, drawing comparison areas between the current intake and the recommended intake to help users judge the balance of their nutritional intake. The lower right area is the nutritional intake progress bar, recording the target values and current values for protein, carbohydrates, fat, dietary fiber, and total calories. For example, the protein item is displayed as "0g / 120g," indicating that it has not yet been ingested, and the calculation device will update this value in real time as the user consumes and records their intake.
[0063] By dividing the interface structure and distributing components, the structured display of the diet plan content and the clear expression of the user interaction path are achieved. This not only enhances the visibility and flexibility of the diet plan execution, but also provides a good interactive foundation for subsequent multi-device synchronization, personalized suggestion linkage, and dietary behavior guidance, thereby improving user initiative and compliance.
[0064] Figure 6 The illustration shows a schematic block diagram of an apparatus for generating a diet plan application according to some embodiments of the present disclosure. Figure 6 As shown, device 600 can Figure 1 The device 600 is implemented in a computing device 102, and the device 600 includes an information receiving module 602 configured to receive diet-related information from a user; and a diet plan application generation module 604 configured to generate a diet plan application for the user based on the diet-related information and using a model, the diet plan application including a diet plan for the user.
[0065] In some embodiments, the device 600 further includes a user request receiving module configured to receive at least one of the following from a user: health goals, daily calorie goals, and dietary preferences.
[0066] In some embodiments, the diet planning application is a web application.
[0067] In some embodiments, the device 600 further includes a diet plan user interface display module configured to display the user's diet plan on the user interface using a diet plan application.
[0068] In some embodiments, the device 600 further includes a diet plan dashboard display module configured to display the user's diet plan on a user interface in an interactive dashboard.
[0069] In some embodiments, the diet plan user interface display module includes: a data determination module configured to determine multiple data portions included in the diet plan; and a data display module configured to display the multiple data portions in multiple areas of the user interface.
[0070] In some embodiments, the diet plan user interface display module includes at least one of the following: a diet plan table display module, configured to display a corresponding diet plan table based on the daily food combinations in the diet plan, the diet plan table including the number of meals per day and the food included in each meal; a nutrition radar chart display module, configured to display a corresponding nutrition radar chart based on the key nutrients among the various nutrients in the diet plan; a completion progress bar display module, configured to display a progress bar for the completion status of each nutrient element based on the acquisition level of each nutrient element among the various nutrients in the diet plan; and a personalized suggestion generation module, configured to display personalized suggestions for the user based on the user's dietary structure in the diet plan.
[0071] In some embodiments, the device 600 further includes: an interactive operation receiving module configured to receive interactive operations from a user on a diet plan; and a diet plan display adjustment module configured to adjust the display of the diet plan based on the interactive operations.
[0072] In some embodiments, the diet plan display adjustment module includes a detailed nutrition facts display module, configured to display detailed nutrition facts for the food in response to a click action received from a user for a food card in the daily food combinations of the diet plan.
[0073] In some embodiments, the diet plan display adjustment module includes a data display update module configured to update the displayed diet plan in response to receiving an adjustment operation for food in the diet plan or a marking operation for completed food.
[0074] In some embodiments, the diet plan display adjustment module further includes a replacement module configured to replace recommended foods in the diet plan with alternative foods based on the user's selection of alternative foods in the diet plan.
[0075] In some embodiments, the device 600 further includes a display area size adaptation module configured to adjust the layout and size of the diet plan based on the size of the display area of the display device.
[0076] Figure 7 A schematic block diagram of an example device 700 that can be used to implement embodiments of the present disclosure is shown. Figure 1 The computing device 102 can be implemented using device 700. As shown, device 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to computer program instructions stored in read-only memory (ROM) 702 or loaded from storage unit 708 into random access memory (RAM) 703. The RAM 703 can also store various programs and data required for the operation of device 700. The CPU 701, ROM 702, and RAM 703 are interconnected via bus 704. Input / output (I / O) interface 707 is also connected to bus 704.
[0077] Multiple components in device 700 are connected to I / O interface 707, including: input unit 706, such as keyboard, mouse, etc.; output unit 707, such as various types of monitors, speakers, etc.; storage unit 708, such as disk, optical disk, etc.; and communication unit 709, such as network card, modem, wireless transceiver, etc. Communication unit 709 allows device 700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0078] The various processes and handling described above, such as method 200, can be executed by processing unit 701. For example, in some embodiments, method 200 can be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program can be loaded and / or installed on device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by CPU 701, one or more actions of the example method 200 described above can be performed.
[0079] This disclosure can be a method, apparatus, system, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for performing various aspects of this disclosure.
[0080] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination of the foregoing. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.
[0081] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.
[0082] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.
[0083] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0084] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0085] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0086] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0087] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, and are not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical applications, or technical improvements to the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A method for generating a diet plan application, comprising: Receive diet-related information from users; as well as Based on the aforementioned diet-related information, a model is used to generate a diet planning application for the user, the diet planning application including a diet plan for the user.
2. The method of claim 1, wherein receiving diet-related information from a user comprises: Receive at least one of the following from the user: health goals, daily calorie goals, and dietary preferences.
3. The method according to claim 1, wherein the diet planning application is a web application.
4. The method according to claim 1, further comprising: The diet plan application displays the user's diet plan on the user interface.
5. The method of claim 4, wherein displaying the user's diet plan on a user interface using the diet plan application comprises: The user's diet plan is displayed on the user interface in an interactive dashboard.
6. The method of claim 4, wherein displaying the user's diet plan on a user interface using the diet plan application comprises: Determine the multiple data components included in the diet plan; as well as The multiple data portions are displayed in multiple areas of the user interface.
7. The method of claim 4, wherein displaying the user's diet plan on a user interface using the diet plan application comprises at least one of the following: Based on the daily food combinations in the diet plan, a corresponding diet plan table is displayed, which includes the number of meals per day and the food included in each meal; Based on the key nutrients among the various nutrients in the diet plan, the corresponding nutrient radar chart is displayed. Based on the degree of acquisition of each of the various nutrients in the diet plan, a progress bar is displayed to indicate the completion status of each nutrient. as well as Based on the user's dietary structure in the diet plan, personalized suggestions are displayed for the user.
8. The method according to claim 1, further comprising: Receive interactive actions from the user regarding the diet plan; as well as Based on the interactive operation, the display of the diet plan is adjusted.
9. The method of claim 8, wherein adjusting the display of the diet plan based on the interactive operation comprises: In response to receiving a click action from the user on a food card in the daily food combinations of the diet plan, detailed nutritional information for the food is displayed.
10. The method of claim 8, wherein adjusting the display of the diet plan based on the interactive operation comprises: In response to receiving an adjustment operation for the food in the diet plan or a marking operation for the completed food, the displayed diet plan is updated.
11. The method of claim 10, wherein adjusting the display of the diet plan based on the interactive operation further comprises: Based on the user's selection of alternative foods in the diet plan, the recommended foods in the diet plan are replaced with the alternative foods.
12. The method according to claim 1, further comprising: The layout and size of the diet plan are adjusted based on the size of the display area of the display device.
13. An apparatus for generating a diet plan application, comprising: The information receiving module is configured to receive diet-related information from users; as well as A diet plan application generation module is configured to generate a diet plan application for the user based on the diet-related information and using a model. The diet plan application includes a diet plan for the user.
14. An electronic device comprising: At least one processor; as well as A storage device for storing at least one program, which, when executed by the at least one processor, causes the at least one processor to implement the method according to any one of claims 1-12.
15. A computer-readable storage medium having a computer program stored thereon, the computer program implementing the method according to any one of claims 1-12 when executed by a processor.
16. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-12.
Citation Information
Patent Citations
Diet plan generation method and device, equipment and medium
CN118262869A
Nutrition management method and system, terminal and storage medium
CN120089293A
Diet plan scheme recommendation method, storage medium and intelligent equipment
CN120126689A
Nutrition intake recommendation method, device and system based on dietary structure and medium
CN120199425A
System
JP2025053285A