Food quality assessment method, terminal device and computer-readable storage medium

By calculating the condition correction coefficient and weight coefficient, the food quality index score is automatically calculated, which solves the problem of low accuracy rate of food quality assessment in the existing technology. It is suitable for a variety of health scenarios, provides intuitive nutrient evaluation, and improves the accuracy of the assessment and applicability.

CN112071395BActive Publication Date: 2024-11-22HEXUN DIGITAL HEALTH TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010387838.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-09
Publication Date
2024-11-22
Estimated Expiration
2040-05-09

AI Technical Summary

Technical Problem

In the prior art, the accuracy rate of food quality assessment is low, and the results of the scoring algorithm need to be manually adjusted and corrected, making it difficult to apply to various health scenarios.

Method used

By calculating the condition correction coefficient, evaluation index parameters and weight coefficient, the food quality index (FQI) scores are automatically calculated to improve the evaluation accuracy rate, and provide multiple evaluation results in different health scenarios.

Benefits of technology

It has achieved improved accuracy in food quality assessment without manual adjustment of scores. It is suitable for a variety of health scenarios, provides intuitive nutrient evaluation indicators, and guides reasonable dietary choices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112071395B_ABST
    Figure CN112071395B_ABST
Patent Text Reader

Abstract

The embodiment of the present application is applicable to the field of digital health technology, and discloses a food quality assessment method, a terminal device, and a computer-readable storage medium, the method comprising: obtaining the evaluation index parameters contained in the target food per unit weight or unit serving; calculating the Food Quality Index (FQI) score of the target food according to the condition correction coefficient, the evaluation index parameters, and the weight coefficient corresponding to each evaluation index. The embodiment of the present application calculates the FQI score of the target food through the condition correction coefficient, improves the accuracy of food quality assessment, and uses a more accurate FQI score to guide users to choose the food that best suits their health needs, solve health problems caused by poor eating patterns, and improve the health of users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of digital health technology, and in particular, relates to a food quality assessment method, a terminal device, and a computer-readable storage medium. Background Art

[0002] With the development of modern society and the improvement of people's living standards, the incidence of chronic diseases caused by bad eating habits, such as overweight, obesity, diabetes, hypertension, and cancer, is increasing. Balanced nutrition and a reasonable diet have become an important way to prevent and treat chronic diseases and manage health. How to correctly choose healthy foods is the first step to achieve a reasonable diet.

[0003] When most people choose food, they consider their taste preferences more, but ignore the effects of nutrients or other ingredients in food on their health. People who want to manage their diet also find it difficult to judge the effects of food on their health by integrating specific data information on the nutrients contained in food due to a lack of basic knowledge of nutrition. Food evaluation indicators that express the effects of the content of nutrients and other ingredients in food on human health in a simple and intuitive way are important tools for simplifying nutrient information, guiding the public in choosing food, and thus achieving reasonable dietary goals.

[0004] In the existing technology, the technology for scoring food is mainly aimed at weight management scenarios. The nutrients included are relatively single and not applicable to other health scenarios. In addition, the algorithm results of food scoring still need to be manually adjusted and corrected for some biased scores. If the deviation is not manually adjusted, the accuracy of food quality assessment will be low. Summary of the invention

[0005] The embodiments of the present application provide a food quality assessment method, a terminal device, and a computer-readable storage medium to solve the problem of low accuracy of food quality assessment in the prior art.

[0006] In a first aspect, an embodiment of the present application provides a method for evaluating food quality, comprising:

[0007] Obtaining evaluation index parameters contained in a target food per unit weight or unit serving, the target food including a single food, a single ingredient, a packaged food, a dish or a recipe;

[0008] The Food Quality Index (FQI) score of the target food is calculated based on the condition correction coefficient, the evaluation index parameters and the weight coefficient corresponding to each evaluation index.

[0009] In the process of food quality assessment, the embodiment of the present application uses the condition correction coefficient, assessment index parameters and weight coefficient to calculate the FQI score of the target food, without manually adjusting and correcting some deviated scores. In addition, the use of the condition correction coefficient for adjustment and correction during the calculation process can also make the calculated FQI score of the target food more accurate, thereby improving the accuracy of food quality assessment.

[0010] In a possible implementation of the first aspect, calculating the food quality index FQI score of the target food according to the condition correction coefficient, the evaluation index parameter, and the weight coefficient corresponding to each evaluation index includes:

[0011] According to the first preset correction index and the second preset correction index, the value of the condition correction coefficient is adjusted to obtain the adjusted condition correction coefficient, wherein the second preset correction index is an index or a preset fixed value used to characterize the data distribution law of the first preset correction index contained in the unit weight or unit serving of all foods in the food database, and the first preset correction index is one of the evaluation index parameters of the target food;

[0012] The FQI score of the target food is calculated based on the adjusted condition correction coefficient, evaluation indicator parameters, and the weight coefficient corresponding to each evaluation indicator.

[0013] Further, in a possible implementation manner of the first aspect, adjusting the value of the condition correction coefficient according to the first preset correction index and the second preset correction index to obtain the adjusted condition correction coefficient includes:

[0014] Determine a numerical range according to the second preset correction index, each numerical range corresponds to an adjustment target, and the adjustment target includes a target condition correction coefficient to be adjusted and a target value of the target condition correction coefficient;

[0015] Based on the numerical range that the first preset correction index falls within, the numerical value of the target condition correction coefficient in the condition correction coefficient is adjusted to the target numerical value to obtain the adjusted condition correction coefficient.

[0016] Furthermore, in a possible implementation of the first aspect, the condition correction coefficient includes a first condition correction coefficient, a second condition correction coefficient, and a third condition correction coefficient, and the second preset correction index includes a first index and a second index;

[0017] Determining a numerical range according to a second preset correction index includes:

[0018] After multiplying the first coefficient and the second index to obtain a first product, the first product and the first index are added to obtain a first value;

[0019] After multiplying the second coefficient and the second index to obtain a second product, the second product and the first index are added to obtain a second value;

[0020] Based on the numerical range that the first preset correction index falls within, adjusting the numerical value of the target condition correction coefficient in the condition correction coefficient to the target numerical value to obtain the adjusted condition correction coefficient, including:

[0021] If the first preset correction index is greater than the first value, the value of the second condition correction coefficient is set to 0;

[0022] If the first preset correction index is greater than or equal to the second value and less than or equal to the first value, the values ​​of the second condition correction coefficient and the third condition correction coefficient are both set to 0;

[0023] If the first preset correction index is less than the second value, the value of the third condition correction coefficient is set to 0.

[0024] In a possible implementation manner of the first aspect, the first preset correction index is one of the evaluation index parameters of the target food, and the first index is the average, median or quantile of the first preset correction index contained in all unit servings or unit weights of all foods in the food database;

[0025] The second indicator is the variance, standard deviation or range of the first preset correction indicator contained in all unit servings or unit weights of food in the food database.

[0026] As an example but not limitation, if the first preset correction index is the total energy, the first index is the energy average, and the second index is the energy standard deviation, the calculation process of the energy average and the energy standard deviation includes:

[0027] Obtain the total energy per unit weight or per unit serving of each food item in the food database;

[0028] Calculate the average energy value based on the total energy corresponding to each food item and the total amount of food items;

[0029] The energy standard deviation was calculated based on the energy mean and the total energy corresponding to each food item.

[0030] In a possible implementation of the first aspect, the FQI score of the target food is calculated according to the adjusted condition correction coefficient, the evaluation index parameter, and the weight coefficient corresponding to each evaluation index, including:

[0031] Determine the weight coefficient of each evaluation indicator in each health scenario;

[0032] According to the weight coefficient of each evaluation indicator in each health scenario, each evaluation indicator parameter and the corresponding weight coefficient are multiplied to obtain a third product, and the third products corresponding to each evaluation indicator are added to obtain a third value of at least one health scenario;

[0033] For each health scenario, the FQI score of the target food is calculated by v=N+Y*r1+(RC)*r2+C*r3, wherein v is the FQI score, N is the adjustment constant, Y is the third value, R is the preset threshold of the target evaluation indicator, the target evaluation indicator is one of the evaluation indicators, C is the target evaluation indicator parameter of the target food, the target evaluation indicator parameter is one of the evaluation indicator parameters, r1 is the first condition correction coefficient, r2 is the second condition correction coefficient, and r3 is the third condition correction coefficient;

[0034] The FQI score includes a score value corresponding to at least one health scenario.

[0035] In this implementation, the FQI scores of the target food in one or more health scenarios are calculated based on the weight coefficients of the evaluation indicators in different health scenarios. In this way, the FQI scores in different health scenarios can intuitively and easily express the impact of the evaluation indicator parameters such as the nutrient content of the target food on the human body in different health scenarios, which is more conducive to guiding users to establish a personalized and long-term sustainable healthy diet model.

[0036] Compared to the prior art which only scores food for a single weight management scenario, the embodiment of the present application can obtain food quality assessment results for the same target food in multiple health scenarios.

[0037] In a possible implementation of the first aspect, the evaluation index parameters include nutrient weight, total energy, glycemic index, glycemic load value, phytonutrient content, anti-inflammatory index, and advanced glycation end product content;

[0038] The evaluation indicators include at least one of energy, nutrients, glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and the nutrients include at least one of protein, carbohydrates, dietary fiber, saturated fat, unsaturated fat, trans fat, cholesterol, added sugar, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, folic acid, vitamin D and vitamin K.

[0039] It is understood that the phytonutrients may include polyphenolic compounds and other plant-derived active substances.

[0040] In a possible implementation of the first aspect, the health scenario includes at least one of the following: a weight management scenario, a blood pressure stabilization scenario, a cardiovascular and cerebrovascular improvement scenario, a blood sugar stabilization scenario, a kidney improvement scenario, a bone strengthening scenario, an anti-inflammatory scenario, a pregnancy scenario, and a children's scenario;

[0041] In the weight management scenario, the value of the weight coefficient of the first category of evaluation indicators is set to 0, the first category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the first category of nutrients, the first category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0042] In the blood pressure stabilization scenario, the value of the weight coefficient of the second category of evaluation indicators is set to 0, and the second category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the second category of nutrients, and the second category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0043] In the scenario of improving cardiovascular and cerebrovascular diseases, the value of the weight coefficient of the third category of evaluation indicators is set to 0, and the third category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the third category of nutrients, and the third category of nutrients includes carbohydrates, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0044] In the blood sugar stabilization scenario, the value of the weight coefficient of the fourth category of evaluation indicators is set to 0, and the fourth category of evaluation indicators includes phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fourth category of nutrients, and the fourth category of nutrients includes unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0045] In the kidney improvement scenario, the value of the weight coefficient of the fifth category of evaluation indicators is set to 0, the fifth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fifth category of nutrients, the fifth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, magnesium, zinc, vitamin K and folic acid;

[0046] In the strong bone scenario, the value of the weight coefficient of the sixth category of evaluation indicators is set to 0, the sixth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the sixth category of nutrients, the sixth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, phosphorus, iron, zinc and folic acid;

[0047] In the anti-inflammatory scenario, the value of the weight coefficient of the seventh evaluation index is set to 0, the seventh evaluation index includes at least one of the glycemic index, the glycemic load and the seventh nutrient, and the seventh nutrient includes carbohydrates, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0048] In the pregnancy scenario, the value of the weight coefficient of the eighth category of evaluation indicators is set to 0, the eighth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the eighth category of nutrients, the eighth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, vitamin K and zinc;

[0049] In the children's scenario, the value of the weight coefficient of the ninth category of evaluation indicators is set to 0. The ninth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the ninth category of nutrients. The ninth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, vitamin K and folic acid.

[0050] In a possible implementation manner of the first aspect, after calculating the food quality index FQI score of the target food, the method further includes:

[0051] The FQL level of the target food is determined based on the pre-set correlation between the FQI score and the food quality level FQL level.

[0052] In this implementation, the Food Quality Index level (FQL) is used in an intuitive and easy-to-understand way to express the impact of the content of evaluation indicators such as nutrients in food on different aspects of human health (for example, weight management, improvement of cardiovascular and cerebrovascular diseases, etc.), so as to guide users in choosing food and dishes, thereby better guiding users to establish a personalized, sustainable healthy diet pattern.

[0053] In a possible implementation manner of the first aspect, after determining the FQL level of the target food, the method further includes:

[0054] According to the preset correspondence between the FQL level and the visualization pattern, the visualization pattern corresponding to the FQL level of the target food is determined.

[0055] In a second aspect, an embodiment of the present application provides a method for evaluating food quality, comprising:

[0056] Determine the user’s target health scenario;

[0057] Obtaining evaluation index parameters contained in the target food per unit weight or per unit serving, the evaluation index parameters including at least one of nutrient weight, total energy, glycemic index, glycemic load value, phytonutrient content, anti-inflammatory index, and advanced glycation end product content, the target food including a single food, a single ingredient, a packaged food, a dish, or a recipe;

[0058] Determine the weight coefficient of each evaluation indicator under the target health scenario;

[0059] Based on the weight coefficient of each evaluation indicator under the target health scenario, the food quality index FQI score of the target food under the target health scenario is calculated according to the evaluation indicator parameters.

[0060] It can be seen that the embodiment of the present application determines the user's target health scenario and determines the weight coefficient of the evaluation indicator under the target health scenario, and then calculates the FQI score of the target food in the target health scenario based on the weight coefficient under the target health scenario, thereby meeting the user's food quality assessment needs in different health scenarios.

[0061] Specifically, a user may have one or more health scenarios. For example, a user with diabetes not only needs to control blood sugar, but also needs to lose weight. That is, the user's target health scenarios are blood sugar stabilization and weight management. And different users' target health scenarios may be different. For example, Zhang San's target health scenarios are blood sugar stabilization and weight management, and Li Si's target health scenario is anti-inflammatory. The same food has different FQI scores in different health scenarios.

[0062] In the embodiment of the present application, the user's target health scenario is first determined, and the weight coefficient of each evaluation indicator under the target health scenario is determined. The FQI score of the target food in different health scenarios is calculated based on the weight coefficient, thereby meeting the user's food quality assessment needs in different health scenarios.

[0063] In a possible implementation of the second aspect, based on the weight coefficient of each evaluation indicator in the target health scenario, the food quality index FQI score of the target food in the target health scenario is calculated according to the evaluation indicator parameters, including:

[0064] According to the first preset correction index and the second preset correction index, the value of the condition correction coefficient is adjusted to obtain the adjusted condition correction coefficient, wherein the second preset correction index is an index or a preset fixed value used to characterize the data distribution law of the first preset correction index contained in the unit weight or unit serving of all foods in the food database, and the first preset correction index is one of the evaluation index parameters of the target food;

[0065] The FQI score of the target food in the target health scenario is calculated based on the adjusted condition correction coefficient, evaluation indicator parameters, and the weight coefficient of each evaluation indicator in the target health scenario.

[0066] In this implementation, in the process of calculating the FQI score of the target health scenario, the conditional correction coefficient is adjusted using the first preset correction indicator and the second preset correction indicator, and then the FQI score is calculated using the adjusted conditional correction coefficient, thereby improving the accuracy of food quality assessment and eliminating the need to manually adjust and correct some deviated scores after obtaining the food score.

[0067] Further, in a possible implementation of the second aspect, the FQI score of the target food in the target health scenario is calculated according to the adjusted condition correction coefficient, the evaluation indicator parameter, and the weight coefficient of each evaluation indicator in the target health scenario, including:

[0068] Based on the weight coefficient of each evaluation indicator in the target health scenario, each evaluation indicator parameter and the corresponding weight coefficient are multiplied to obtain a third product, and the third products corresponding to each evaluation indicator are added to obtain a third value;

[0069] The FQI score of the target food in the target health scenario is calculated by v=N+Y*r1+(RC)*r2+C*r3, wherein v is the FQI score, N is the adjustment constant, Y is the third numerical value, R is the preset threshold of the target evaluation indicator, the target evaluation indicator is one of the evaluation indicators, C is the target evaluation indicator parameter of the target food, the target evaluation indicator parameter is one of the evaluation indicator parameters, r1 is the first condition correction coefficient, r2 is the second condition correction coefficient, and r3 is the third condition correction coefficient.

[0070] In a possible implementation of the second aspect, the condition correction coefficient includes a first condition correction coefficient, a second condition correction coefficient, and a third condition correction coefficient, and the second preset correction index includes a first index and a second index;

[0071] Determining a numerical range according to a second preset correction index includes:

[0072] After multiplying the first coefficient and the second index to obtain a first product, the first product and the first index are added to obtain a first value;

[0073] After multiplying the second coefficient and the second index to obtain a second product, the second product and the first index are added to obtain a second value;

[0074] Based on the numerical range that the first preset correction index falls within, adjusting the numerical value of the target condition correction coefficient in the condition correction coefficient to the target numerical value to obtain the adjusted condition correction coefficient, including:

[0075] If the first preset correction index is greater than the first value, the value of the second condition correction coefficient is set to 0;

[0076] If the first preset correction index is greater than or equal to the second value and less than or equal to the first value, the values ​​of the second condition correction coefficient and the third condition correction coefficient are both set to 0;

[0077] If the first preset correction index is less than the second value, the value of the third condition correction coefficient is set to 0.

[0078] In a possible implementation manner of the second aspect, the first preset correction indicator is total energy, and the first indicator is an average, median or quantile of the first preset correction indicator contained in all unit servings or unit weights of food in the food database;

[0079] The second indicator is the variance, standard deviation or range of the first preset correction indicator contained in all unit servings or unit weights of food in the food database.

[0080] In a possible implementation of the second aspect, the evaluation indicators include at least one of energy, nutrients, glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and the nutrients include at least one of protein, carbohydrates, dietary fiber, saturated fat, unsaturated fat, trans fat, cholesterol, added sugar, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, folic acid, vitamin D and vitamin K.

[0081] In a possible implementation of the second aspect, the health scenario includes at least one of the following: a weight management scenario, a blood pressure stabilization scenario, a cardiovascular and cerebrovascular improvement scenario, a blood sugar stabilization scenario, a kidney improvement scenario, a bone strengthening scenario, an anti-inflammatory scenario, a pregnancy scenario, and a children's scenario;

[0082] In the weight management scenario, the value of the weight coefficient of the first category of evaluation indicators is set to 0, the first category of evaluation indicators includes at least one of glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and the first category of nutrients, the first category of nutrients including carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0083] In the blood pressure stabilization scenario, the value of the weight coefficient of the second category of evaluation indicators is set to 0, and the second category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the second category of nutrients, and the second category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0084] In the scenario of improving cardiovascular and cerebrovascular diseases, the value of the weight coefficient of the third category of evaluation indicators is set to 0, and the third category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the third category of nutrients, and the third category of nutrients includes carbohydrates, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0085] In the blood sugar stabilization scenario, the value of the weight coefficient of the fourth category of evaluation indicators is set to 0, and the fourth category of evaluation indicators includes phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fourth category of nutrients, and the fourth category of nutrients includes unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, folic acid, vitamin D and vitamin K;

[0086] In the kidney improvement scenario, the value of the weight coefficient of the fifth category of evaluation indicators is set to 0, the fifth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fifth category of nutrients, the fifth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, magnesium, zinc, vitamin K and folic acid;

[0087] In the strong bone scenario, the value of the weight coefficient of the sixth category of evaluation indicators is set to 0, the sixth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the sixth category of nutrients, the sixth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, phosphorus, iron, zinc and folic acid;

[0088] In the anti-inflammatory scenario, the value of the weight coefficient of the seventh evaluation index is set to 0, the seventh evaluation index includes the glycemic index, the glycemic load, and at least one of the seventh nutrients, the seventh nutrients include carbohydrates, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0089] In the pregnancy scenario, the value of the weight coefficient of the eighth category of evaluation indicators is set to 0, the eighth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the eighth category of nutrients, the eighth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, zinc and vitamin K;

[0090] In the children's scenario, the value of the weight coefficient of the ninth category of evaluation indicators is set to 0. The ninth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the ninth category of nutrients. The ninth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, vitamin K and folic acid.

[0091] In a possible implementation manner of the second aspect, after determining the food quality index FQI score of the target food in at least two health scenarios according to the evaluation indicator parameters, the method further includes:

[0092] Based on the pre-set correlation between the FQI score and the food quality level FQL level, the FQL level of the target food in the target health scenario is determined.

[0093] In a possible implementation manner of the second aspect, after determining the FQL level of the target food in the target health scenario, the method further includes:

[0094] According to the pre-set correspondence between the FQL level and the visualization pattern, the visualization pattern corresponding to the FQL level of the target food in the target health scenario is determined.

[0095] In a third aspect, an embodiment of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described in any one of the first aspect or the second aspect is implemented.

[0096] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspect or the second aspect is implemented.

[0097] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes any one of the methods in the first or second aspect above.

[0098] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0099] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only 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.

[0100] Figure 1 A schematic block diagram of the architecture of a system for providing dietary guidance services to users provided in an embodiment of the present application;

[0101] Figure 2 A schematic flowchart of a food quality assessment method provided in an embodiment of the present application;

[0102] Figure 3 A schematic diagram of the FQI score calculation process for the target food provided in the embodiment of the present application;

[0103] Figure 4 A schematic diagram of the correspondence between the FQL level and the visualization pattern provided in the embodiment of the present application;

[0104] Figure 5 Another schematic flow chart of the food quality assessment method provided in the embodiment of the present application;

[0105] Figure 6 A schematic block diagram of the structure of a food quality assessment device provided in an embodiment of the present application;

[0106] Figure 7 A schematic block diagram of the structure of a food quality assessment device provided in an embodiment of the present application;

[0107] Figure 8 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0108] In the following description, for the purpose of explanation rather than limitation, specific details such as specific system structures and technologies are provided to facilitate a thorough understanding of the embodiments of the present application.

[0109] The following first introduces the system architecture that may be involved in the embodiments of the present application.

[0110] See also Figure 1 The schematic block diagram of the architecture of a system for providing dietary guidance services to users is shown, and the system may include a server 11 and at least one first terminal 12. The first terminal is a user terminal, as an example but not a limitation, Figure 1 The first terminal in the example is a mobile phone. In other cases, the first terminal may also be a tablet electronic device or a computer, etc., and the type of the first terminal is not limited here.

[0111] The first terminal may be installed with a corresponding application, and the user may obtain the dietary guidance service provided by the system through the application. Of course, the dietary guidance service provided by the system may also be presented through a public account (e.g., a WeChat public account) or a small program (e.g., a WeChat small program). In other words, if the user needs the dietary guidance service provided by the embodiment of the present application, the platform system provided by the embodiment of the present application may be accessed through a corresponding application, a public account or a small program, through which the user may communicate with an online nutritionist; the FQI score or FQL grade of a target food such as a single food, a single ingredient, a packaged food, a dish or a recipe in a health scene or multiple different health scenes may also be queried; recipes or corresponding diet plans may also be formulated according to the FQL grade or FQI score of each target food in different health scenes, for example, a weight management diet plan, a cardiovascular diet plan, etc. Of course, the user may also select food or meals that meet their own diet plan or dietary needs under the guidance of the FQL grade or FQI score, and purchase the corresponding food or meals on the system.

[0112] In addition, after the user develops a diet plan based on the FQL level or FQI score of each food in different health scenarios, the platform system provided in the embodiment of the present application can also calculate the user's diet quality index (DQI) score based on the user's diet, and display the DQI score on the user terminal, so as to evaluate the user's daily diet through the DQI score, and let the user intuitively understand the degree of impact of the formulated diet plan on health through the DQI score. In this way, the user can gradually establish a personalized and sustainable diet pattern under the guidance of the FQI score or FQL level, and the DQI score.

[0113] The server can obtain the user operation of the first terminal and provide corresponding services to the user. For example, if the server obtains the food name entered by the user, it can provide the user with information such as the FQL level or FQI score of the food in different health scenarios. For another example, if the user uses the dietary guidance service provided by the platform system to formulate a recipe or diet plan, the relevant information of each target food (for example, food name, food picture and other information) can be displayed on the user's mobile phone. In addition, the FQI score, FQL level or FQL level corresponding visual pattern of each target food is pushed to the mobile phone. In this way, the mobile phone not only displays information such as food name and food picture, but also displays information such as the FQI score, FQL level or visual pattern of the food in different health scenarios. Based on the FQI score, FQL level or corresponding visual pattern displayed by the mobile phone, the user can intuitively understand the degree of impact of each food on health in different health scenarios, so as to select foods that meet their own health needs or diet plan needs for diet matching, and formulate recipes or diet plans. Further, after the user formulates a recipe or diet plan, the server can also use the DQI score to evaluate the user's diet plan according to the diet plan formulated by the user, and push the calculated DQI score to the mobile phone, so that the user can intuitively understand whether the formulated diet plan is reasonable through the DQI score after formulating the diet plan. When the DQI score is too low, it can also actively remind the user that the diet plan formulated does not meet the diet plan requirements, and according to the user's diet plan requirements or healthy diet requirements, through the FQI score of each food in different health scenarios and other information, actively modify the user's diet plan, generate a modified diet plan, and push the modified diet plan to the mobile phone to recommend a diet plan with a higher DQI score to the user. Of course, in some other cases, the server can also actively recommend food to the user in the process of the user formulating a diet plan according to the FQI score, FQL level or corresponding visual pattern, and can also generate a reminder message when the user includes food that does not meet the needs of his own diet plan into the diet plan or menu, so as to remind the user through the reminder message that the selected food does not meet the healthy diet requirements, etc. Of course, in some other cases, even if the food added by the user to the diet plan or recipe meets his or her own health needs or diet plan requirements, a corresponding reminder message can be generated to remind the user that the food selected by the user meets the healthy diet needs.

[0114] The server-side process is described in detail below.

[0115] After introducing the system architecture that may be involved in the embodiments of the present application, the technical solutions provided by the embodiments of the present application are described in detail below.

[0116] See also Figure 2 A schematic flow chart of a method for evaluating food quality is shown, which can be specifically applied to a server. The method may include the following steps:

[0117] Step S201: Obtain evaluation index parameters contained in a target food per unit weight or unit serving, where the target food includes a single food, a single ingredient, a packaged food, a dish or a recipe.

[0118] It should be noted that the unit weight or unit serving size can be preset according to actual application needs. For example, the unit weight can be set to 100 g and the unit serving size can be set to 100 g / portion.

[0119] The target food can be a single food or a single ingredient, such as bread and spinach; it can be a packaged food, such as noodles, potato chips, etc.; it can also be a recipe, such as a tomato scrambled egg recipe, a braised pork recipe; it can also be a dish corresponding to the recipe, such as tomato scrambled eggs, braised pork. The recipe contains the names of the ingredients used and the corresponding weights of the ingredients. For example, the braised pork recipe can include but is not limited to the following information: 500g pork belly, 25g rock sugar. The name of the food can be obtained from the recipe. For packaged foods, there is generally a corresponding food label, which includes information such as the nutritional items of the packaged food. For example, the food label corresponding to a certain noodle can be: Food name: Noodles; Ingredients: Wheat flour, edible salt, sodium carbonate; Nutritional composition table: 1.1g fat, 10.4g protein and 786mg sodium per 100g.

[0120] The above evaluation index parameters may include but are not limited to at least one of nutrient weight, total energy, glycemic index, glycemic load value, phytonutrient content, anti-inflammatory index and advanced glycation end product content. The above evaluation index parameters refer to the parameters of the evaluation index used to evaluate the FQI score. For example, the evaluation index includes protein, and the weight of protein contained in every 100g is 10.4g. At this time, the protein evaluation index parameter is 10.4g. Nutrient weight refers to the weight of each type of nutrient contained in a unit serving or unit weight of the target food.

[0121] In general, the evaluation index may include at least one of nutrients, total energy (C, unit Kcal), glycemic index (GI) and glycemic load (GL), phytonutrients (PP), anti-inflammatory index (DII) and advanced glycation end products (AGE). The categories contained in the nutrients may be set according to the actual application. For example, nutrients may include protein (PRO, unit g), carbohydrates (CAB, unit g), dietary fiber (F, unit g), saturated fat (SF, unit g), unsaturated fat (USF, unit g), trans fat (TF, unit g), cholesterol (CH, unit g), added sugar (SG, unit g), sodium (NA, unit mg), potassium (K, unit mg), magnesium (MG, unit mg), calcium (CA, unit mg), phosphorus (P, unit mg), iron (FE, unit mg), zinc (ZN, unit mg), folic acid (FA, unit μg), vitamin D (VD, unit μg) and vitamin K (VK, unit μg).

[0122] In a specific application, the weight, energy, glycemic index and glycemic load of nutrients contained in various single foods, single ingredients, packaged foods, dishes or recipes are entered into the database in advance to form a food database containing a large amount of information related to target foods such as food, packaged foods and recipes. When it is necessary to obtain the evaluation index parameters of a certain type of evaluation index, the server can obtain the required evaluation index parameters from the food database.

[0123] Step S202: Calculate the FQI score of the target food according to the condition correction coefficient, the evaluation index parameter and the weight coefficient corresponding to each evaluation index.

[0124] It should be noted that the above conditional correction coefficient can be used to adjust the FQI score of the target food. Introducing the conditional correction coefficient in the FQI score calculation process can not only improve the accuracy of the FQI score, but also avoid manually adjusting and correcting some deviated scores after obtaining the FQI score.

[0125] In a specific application, the process of obtaining the FQI score according to the condition correction coefficient may exemplarily include the following two cases:

[0126] Case 1: No adjustment is made to the value of the conditional correction coefficient

[0127] As an example but not limitation, the condition correction coefficients include a first condition correction coefficient r1, a second condition correction coefficient r2 and a second condition correction coefficient r3. The values ​​of these three condition correction coefficients are preset, and the preset values ​​are used to calculate the FQI score.

[0128] For example, the calculation formula of the FQI score is: v=N+Y*r1+(RC)*r2+C*r3.

[0129] At this time, the values ​​of the first condition correction coefficient r1 , the second condition correction coefficient r2 , and the second condition correction coefficient r3 are preset values.

[0130] The second case: Use the pre-set correction index to adjust the value of the condition correction coefficient

[0131] In this case, the value of the condition correction coefficient is preset, and the value of the condition correction coefficient is adjusted and corrected according to the correction index of the target food, and the FQI score is calculated using the adjusted condition correction coefficient.

[0132] At this time, the process of calculating the food quality index FQI score of the target food according to the condition correction coefficient, the evaluation index parameter and the weight coefficient corresponding to each evaluation index may include:

[0133] Step 1: According to the first preset correction index and the second preset correction index, the value of the conditional correction coefficient is adjusted to obtain the adjusted conditional correction coefficient, and the second preset correction index is an index or a preset fixed value used to characterize the data distribution law of the first preset correction index contained in the unit weight or unit serving of all foods in the food database. The first preset correction index is one of the evaluation index parameters of the target food. For example, the first preset correction index is the total energy of the target food.

[0134] It should be noted that the first preset correction index is a type of evaluation index parameter of the target food. For example, the first preset correction index is the total energy contained in a unit serving or unit weight of the target food. For another example, the first preset correction index is the carbohydrate contained in a unit serving or unit weight of the target food. For another example, the first preset correction index is the fat contained in a unit serving or unit weight of the target food.

[0135] In some embodiments, the second preset correction index may be an index for characterizing the data distribution law of the first preset correction index contained in the unit weight or unit serving of all foods in the food database. For example, when the first preset correction index is the energy of the target food, the second preset correction index may be a data distribution law characterizing the energy contained in the unit weight or unit serving of all foods in the food database. At this time, the second preset correction index may include a first index and a second index, the first index may be an energy mean, an energy quantile or an energy median, and the second index may be an energy variance, an energy standard deviation or an energy range.

[0136] For another example, when the first preset correction indicator is the carbohydrates contained in the target food, the second preset correction indicator is the data distribution pattern that characterizes the carbohydrates contained in the unit weight or unit serving of all foods in the food database. At this time, the second preset correction indicator may include a first indicator and a second indicator. The first indicator may be the carbohydrate mean, carbohydrate quantile or carbohydrate median, and the second indicator may be the carbohydrate variance, carbohydrate standard deviation or carbohydrate range.

[0137] Similarly, when the first preset correction indicator is an indicator of other types, the second preset correction indicator will also be an indicator corresponding to the other type, which will not be listed one by one here.

[0138] The second preset correction index may be calculated in advance based on all food item information in the food database.

[0139] For example, if the first preset correction index is the total energy of the target food, the second preset correction index includes the energy average and the energy standard deviation, and the calculation process of the average and standard deviation may include the following steps: respectively obtain the total energy corresponding to the unit weight or unit portion of each food item in the food database; calculate the energy average according to the total energy corresponding to each food item and the total amount of the food items; calculate the energy standard deviation according to the energy average and the total energy corresponding to each food item. Specifically, the energy average and the energy standard deviation may be calculated using the following formulas 1 and 2, respectively.

[0140]

[0141]

[0142] Where a is the average energy value, Cn is the total energy per 100g of food, n is the energy item, and DEV is the standard deviation of energy.

[0143] It is understandable that when the second preset correction indicator is other types of indicators, such as quantiles and variances, they can be calculated based on the total energy contained in all unit servings or unit weights of all foods in the food database, and the specific calculation process will not be repeated here.

[0144] In other embodiments, the second preset correction index may be a pre-set fixed value. For example, when the first preset correction index is energy, the second preset correction index is a fixed value corresponding to energy. When the first preset correction index is fat, the second preset correction index is a fixed value corresponding to fat. In this case, the value of the second preset correction index does not need to be determined based on the food information contained in the food database.

[0145] In some embodiments, according to the first preset correction index and the second preset correction index, the value of the condition correction coefficient is adjusted to obtain the adjusted condition correction coefficient. The specific process may include: determining a value range according to the second preset correction index, each value range corresponds to an adjustment target, and the adjustment target includes a target condition correction coefficient to be adjusted and a target value of the target condition correction coefficient. Based on the value range that the first preset correction index falls into, the value of the target condition correction coefficient in the condition correction coefficient is adjusted to the target value to obtain the adjusted condition correction coefficient.

[0146] It should be noted that the second preset correction index is used to determine the value range, and each data range corresponds to a target condition correction coefficient that needs to be adjusted and a target value of the coefficient. The value of the condition correction coefficient is adjusted according to the adjustment target of each value range.

[0147] For example, the determined numerical range is (-∞, A], (A, B], (B, C] and (C, +∞), the target condition correction coefficient corresponding to (A, B] is the first condition correction coefficient, and the target value of this coefficient is 0, and the numerical value corresponding to (C, +∞) is the first condition correction coefficient and the second condition correction coefficient, and the target values ​​of these two coefficients are 0. If the first preset correction indicator is carbohydrates, if the carbohydrates of the target food fall into (A, B], the value of the first condition correction coefficient is adjusted to 0, and the other coefficients remain unchanged. If the carbohydrates of the target food fall into (C, +∞), the values ​​of the second condition correction coefficient and the third condition correction coefficient are adjusted to 0, and the other coefficients remain unchanged.

[0148] More specifically, if the condition correction coefficient includes a first condition correction coefficient, a second condition correction coefficient and a third condition correction coefficient, and the second preset correction index includes a first index and a second index.

[0149] At this time, after multiplying the first coefficient and the second index to obtain a first product, the first product and the first index can be added to obtain a first value; after multiplying the second coefficient and the second index to obtain a second product, the second product and the first index can be added to obtain a second value. Then, the value range is determined according to the first value and the second value.

[0150] For example, the first value is calculated by a+k1*b, where k1 is the first coefficient, b is the second index, a is the first index, and k1*b is the first product. The second value is calculated by a+k2*b, where k2 is the second coefficient, b is the second index, a is the first index, and k2*b is the second product.

[0151] Next, according to the relationship between the numerical range and the first preset correction index, adjust the value of the conditional correction coefficient. Specifically, if the first preset correction index is greater than the first value, set the value of the second conditional correction coefficient to 0; if the first preset correction index is greater than or equal to the second value and less than or equal to the first value, set the values of both the second conditional correction coefficient and the third conditional correction coefficient to 0; if the first preset correction index is less than the second value, set the value of the third conditional correction coefficient to 0.

[0152] For example, the first preset correction index is the total energy C contained in the target food unit classification or unit weight. When C > a + k1 * b, the second conditional correction coefficient r2 = 0, and the first conditional correction coefficient r1 and the third conditional correction coefficient r3 remain unchanged. When a + k2 * b ≤ C ≤ a + k1 * b, the second conditional correction coefficient r2 = 0 and the third conditional correction coefficient r3 = 0, and the first conditional correction coefficient r1 remains unchanged. When C < a + k2 * b, the third conditional correction coefficient r3 = 0, and the first conditional correction coefficient r1 and the second conditional correction coefficient r2 remain unchanged.

[0153] Step 2: Calculate the FQI score of the target food according to the adjusted conditional correction coefficient, the evaluation index parameters, and the weight coefficient corresponding to each evaluation index.

[0154] Specifically, use the formula v = N + Y * r1 + (R - C) * r2 + C * r3 to calculate the FQI score. At this time, r1, r2, and r3 are the adjusted conditional correction coefficients. In some cases, the adjustment constant N in this formula can be 0; in other cases, the adjustment constant N can also be non-zero.

[0155] As can be seen from the above, introducing the conditional correction coefficient in the calculation process of the FQI score can improve the accuracy of food quality evaluation. Further, use the first preset correction index and the second preset correction index of the target food to adjust the value of the conditional correction coefficient, and then use the adjusted conditional correction coefficient for food quality evaluation, which further improves the accuracy of food quality evaluation.

[0156] It should be noted that the FQI score of the above target food can be the score without considering the health scenario. At this time, the weight coefficients of each evaluation index in different health scenarios are the same. In this way, the FQI scores of the same target food in different health scenarios are the same. For example, for the target food of noodles, its FQI scores in the weight loss scenario, muscle gain scenario, and blood pressure stability scenario are the same.

[0157] However, the target food contains a variety of nutrient categories, and different nutrient categories have different effects on different aspects of human health. Based on this, in order to further improve the accuracy of the calculated FQI score, so that the calculated FQI score can accurately reflect the impact of the high and low nutrients contained in the food on different health scenarios, the weight coefficient of the same evaluation indicator in different health scenarios can be set. In this way, the FQI scores of the same target food in different health scenarios are different, that is, each health scenario has a corresponding FQI score. For example, for the target food of noodles, the FQI scores for the weight management scenario and the blood pressure stabilization scenario are different.

[0158] In specific applications, the above-mentioned FQI score can be a score under one health scenario, or it can be a score including at least two health scenarios. Each health scenario has a score value. That is, the embodiment of the present application can calculate the FQI score of the target food in a specific health scenario, and can also calculate the FQI scores of the same target food in multiple health scenarios, and each health scenario corresponds to an FQI score. It should be noted that according to the impact of each evaluation indicator on different health topics, the weight coefficient of each evaluation indicator in each health scenario can be set. In general, the corresponding weight coefficient is set in advance for each evaluation indicator, and then the weight coefficient of the corresponding evaluation indicator is set to 0 according to the health scenario, and the weight coefficients of other evaluation indicators remain unchanged.

[0159] As an example and not a limitation, the evaluation index includes at least one of energy, nutrients, phytonutrients, anti-inflammatory index, advanced glycation end products, glycemic index and glycemic load, and nutrients include at least one of protein, carbohydrates, dietary fiber, saturated fat, unsaturated fat, trans fat, cholesterol, added sugar, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, folic acid, vitamin D and vitamin K. The health scenarios include but are not limited to at least one of the following: weight management scenario, blood pressure stabilization scenario, cardiovascular and cerebrovascular improvement scenario, blood sugar stabilization scenario, kidney improvement scenario, bone strengthening scenario, anti-inflammatory scenario, pregnancy scenario and children's scenario.

[0160] In the weight management scenario, the value of the weight coefficient of the first category of evaluation indicators is set to 0, the first category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the first category of nutrients, the first category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0161] In the blood pressure stabilization scenario, the value of the weight coefficient of the second category of evaluation indicators is set to 0, and the second category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the second category of nutrients, and the second category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0162] In the scenario of improving cardiovascular and cerebrovascular diseases, the value of the weight coefficient of the third category of evaluation indicators is set to 0, and the third category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the third category of nutrients, and the third category of nutrients includes carbohydrates, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0163] In the blood sugar stabilization scenario, the value of the weight coefficient of the fourth category of evaluation indicators is set to 0, and the fourth category of evaluation indicators includes phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fourth category of nutrients, and the fourth category of nutrients includes unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, folic acid, vitamin D and vitamin K;

[0164] In the kidney improvement scenario, the value of the weight coefficient of the fifth category of evaluation indicators is set to 0, the fifth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fifth category of nutrients, the fifth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, magnesium, zinc, vitamin K and folic acid;

[0165] In the strong bone scenario, the value of the weight coefficient of the sixth category of evaluation indicators is set to 0, the sixth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the sixth category of nutrients, the sixth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, phosphorus, iron, zinc and folic acid;

[0166] In the anti-inflammatory scenario, the value of the weight coefficient of the seventh evaluation index is set to 0, the seventh evaluation index includes at least one of the glycemic index, the glycemic load and the seventh nutrient, and the seventh nutrient includes carbohydrates, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0167] In the pregnancy scenario, the value of the weight coefficient of the eighth category of evaluation indicators is set to 0, the eighth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the eighth category of nutrients, the eighth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, zinc and vitamin K;

[0168] In the children's scenario, the value of the weight coefficient of the ninth category of evaluation indicators is set to 0. The ninth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the ninth category of nutrients. The ninth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, zinc, vitamin K and folic acid.

[0169] It should be noted that the health scenarios listed above and the first to ninth categories of evaluation indicators are only examples. In specific applications, more health scenarios may be included. The first to ninth categories of evaluation indicators may also include more or fewer indicators.

[0170] According to the weight coefficient under different health scenarios, the evaluation index parameter is multiplied by the corresponding weight coefficient, the products are accumulated, and then the first condition correction coefficient, the second condition correction coefficient and the third condition correction coefficient are used to calculate the FQI scores of the target food under different health scenarios.

[0171] See also Figure 3 The schematic diagram of the target food FQI score calculation process is shown. According to the above-adjusted condition correction coefficient, evaluation index parameter and weight coefficient corresponding to each evaluation index, the process of calculating the target food FQI score may include the following steps:

[0172] Step S301: Determine the weight coefficient of each evaluation indicator in each health scenario.

[0173] Step S302: According to the weight coefficient of each evaluation indicator in each health scenario, each evaluation indicator parameter is multiplied by the corresponding weight coefficient to obtain a third product, and then the third products corresponding to each evaluation indicator are added to obtain a third value of at least one health scenario.

[0174] For example, if the evaluation indicators include energy C, nutrients, glycemic index GI, glycemic load GL, phytonutrients PP, anti-inflammatory index DII and advanced glycation end products AGE, and nutrients include protein PRO, carbohydrates CAB, dietary fiber F, saturated fat SF, unsaturated fat USF, trans fat TF, cholesterol CH, added sugar SG, sodium NA, potassium K, magnesium MG, calcium CA, phosphorus P, iron FE, zinc ZN, folic acid FA, vitamin D, and vitamin K, a total of 24 indicators, the third value can be calculated by the following formula. Here, the evaluation indicator of nutrients includes 18 evaluation indicators.

[0175] Y=C*f1+PRO*f2+CAB*f3+F*f4+SF*f5+USF*f6+TF*f7+CH*f8+SG*f9+NA*f 10 +K*f 11 +MG*f 12 +CA*f 13 +P*f 14 +FE*f 15 +VD*f 16 +VK*f 17 +GI*f 18 +GL*f 19 +PP*f 20 +DII*f 21 +AGE*f 22 +ZN*f 23 +FA*f 24

[0176] Based on the weight coefficients of different health scenarios, the third value of each health scenario is calculated.

[0177] Step S303, for each health scenario, calculate the FQI score of the target food by v=N+Y*r1+(RC)*r2+C*r3, wherein v is the FQI score, N is the adjustment constant, Y is the third value, R is the preset threshold of the target evaluation indicator, and the target evaluation indicator is one of the evaluation indicators; C is the target evaluation indicator parameter of the target food, and the target evaluation indicator parameter is one of the evaluation indicator parameters, r1 is the first condition correction coefficient, r2 is the second condition correction coefficient, and r3 is the third condition correction coefficient; the FQI score includes a score value corresponding to at least one health scenario.

[0178] It should be noted that the target evaluation indicator can be one of the above evaluation indicators. For example, the target evaluation indicator is total energy. In this case, R can be set to 100. In this case, C is the total energy value contained in the target food per unit weight or per unit serving. In other words, R and C are the same target evaluation indicator, R is the preset threshold value of the indicator, and C is the actual value of the indicator contained in the target food.

[0179] In this embodiment, the FQI score of the target food in one or more health scenarios is calculated according to the weight coefficient of the evaluation index in different health scenarios. In this way, the FQI scores in different health scenarios can intuitively and easily express the impact of the evaluation index parameters such as the nutrient level of the target food on the human body in different health scenarios, which is more conducive to guiding users to establish a personalized and long-term sustainable healthy diet pattern.

[0180] Compared to the prior art which can only score food in a single weight management scenario, the embodiments of the present application can also evaluate food in a variety of different health scenarios.

[0181] Optionally, the method may further include step S203, determining the FQL level of the target food according to a preset association relationship between the FQI score and the food quality level FQL level.

[0182] It should be noted that after obtaining the FQI score of the target food, the FQL level of the target food can be determined based on the correlation between the preset numerical range and the FQL level.

[0183] The above association relationship may be grouped and sorted. Specifically, the sorting is performed according to the FQI score.

[0184] The top n FQI scores are used as an FQL level. For example, the 100th to 90th place correspond to one level, and the 89th to 80th place correspond to another level. The association relationship can also be a relationship between a preset level and a corresponding range value.

[0185] If the FQI score of the target food includes a score value under at least one health scenario, the numerical range within which the FQI score falls under each health scenario can be determined separately, and the level corresponding to the numerical range can be used as the FQL level of the target food to obtain the FQL level of the target food in at least one health scenario, with each numerical range corresponding to a level.

[0186] As an example but not limitation, the correspondence between FQI scores and FQL levels in the weight management scenario is shown in Table 1 below.

[0187] Table 1

[0188]

[0189]

[0190] In the above Table 1, v1~v 10 These are range-defining values. The specific values ​​can be set according to actual application requirements and health scenarios and are not limited here.

[0191] In actual applications, users can choose to calculate the FQI score or FQL level in one or more health scenarios as needed.

[0192] It can be seen that the embodiment of the present application comprehensively considers important nutrients, energy, glycemic index and glycemic load that are closely related to health in target foods such as single foods, single ingredients, packaged foods or dishes, recipes, etc., simplifies the calculation and evaluation steps of nutrients related to healthy diet, and expresses the impact of the high and low content of evaluation indicators such as nutrients in food on different aspects of human health (for example, weight management, improvement of cardiovascular and cerebrovascular diseases, etc.) in an intuitive and easy-to-understand manner, namely FQI scores and FQL levels, so as to guide users to select foods and dishes, formulate diet matching plans such as recipes or diet plans, and then calculate the user's DQI score according to the diet matching plan specified by the user, thereby guiding users to establish personalized and sustainable healthy diet patterns through FQI scores and DQI scores.

[0193] Further, after obtaining the FQL level of the target food, in order for the user to more intuitively understand the FQL level of the target food, different visualization patterns can be used to express different FQL levels. As an example but not a limitation, see Figure 4 A schematic diagram of the corresponding relationship between the FQL level and the visual pattern is shown. By representing the FQL level of the target food by the visual pattern, the user can intuitively understand the impact of the target food on health.

[0194] Optionally, the method may further include step S204 of determining a visualization pattern corresponding to the FQL level of the target food according to a preset correspondence between the FQL level and the visualization pattern.

[0195] It should be noted that the above-mentioned visualization pattern can be as follows Figure 4 The corresponding pattern may also be a color gradient pattern, that is, a gradient of color depth is used to indicate the FQL level, or other types of visual patterns, which are not limited here.

[0196] If there are multiple FQL levels for health scenarios, the visualization patterns corresponding to the FQL levels of the target food in the multiple health scenarios are determined.

[0197] In order to better introduce the technical solution provided in the embodiments of the present application, an exemplary introduction will be given below using a weight management scenario.

[0198] At this time, the evaluation indicators include at least one of phytonutrient PP, anti-inflammatory index DII, advanced glycation end products AGE, energy C, nutrients, glycemic index GI and glycemic load GL, and the nutrients include protein PRO, carbohydrate CAB, dietary fiber F, saturated fat SF, unsaturated fat USF, trans fat TF, cholesterol CH, added sugar SG, sodium NA, potassium K, magnesium MG, calcium CA, phosphorus P, iron FE, zinc ZN, folic acid FA, vitamin D, and vitamin K.

[0199] In the weight management scenario, the values ​​of the weight coefficients corresponding to phytonutrient PP, anti-inflammatory index DII, advanced glycation end products AGE, carbohydrates CAB, unsaturated fats USF, trans fats TF, cholesterol CH, sodium NA, potassium K, magnesium MG, calcium CA, phosphorus P, iron FE, vitamin D, vitamin K, zinc ZN, folic acid FA, glycemic index GI and glycemic load GL are all 0.

[0200] The evaluation indicators with weight coefficients not equal to 0 are: energy C, protein PRO, dietary fiber F, saturated fat SF and added sugar SG.

[0201] First, the evaluation index parameters of each 100g of dried noodles and each 100g of spinach are obtained respectively. That is, the target foods are dried noodles and spinach.

[0202] Specifically, every 100g of noodles contains: total energy C (363Kcal), protein PRO (13g), dietary fiber F (0g), saturated fat SF (0.8g), and added sugar SG (0g).

[0203] Every 100g of spinach contains: total energy C (28Kcal), protein PRO (2.6g), dietary fiber F (1.7g), saturated fat SF (0g), and added sugar SG (0g).

[0204] Next, the condition correction coefficient is adjusted according to the first preset correction index and the second preset correction index. In this embodiment, the first preset correction index is the total energy, and the second preset correction index includes the energy average value and the energy standard deviation, that is, the condition correction coefficient is determined according to the energy average value, the energy standard deviation and the total energy.

[0205] At this time, the energy average value a=210, the energy standard deviation DEV=170, and k1=0.6, k2=-0.55.

[0206] Based on this, a+k1*DEV=210+0.6*170=312, a+k2*DEV=210+(-0.55)*170=116.5.

[0207] For dried noodles, 363>312, so r2 = 0. And r1 = 1.5, r3 = -0.7.

[0208] At this time, the final score of the noodles is: [363*(-1.1)+13*(15)+0*(50)+0.8*(-10)+0*14]*1.5+365*(-0.7)=-573.95. At this time, the adjustment constant N is 0.

[0209] For spinach, 28 < 116.5, so r3 = 0. And r1 = 1.5, r2 = 3.5.

[0210] At this time, the FQI score of spinach is: [28*(-1.1)+2.6*(15)+1.7*(50)+0*(-10)+0*(-14)]*1.5+(100-28)*3.5=406.8

[0211] Finally, the relationship between FQL level and FQI range is shown in Table 2 below.

[0212] Table 2

[0213]

[0214] Based on the above Table 2, it can be known that the food quality grade of noodles is level 1, and the food quality grade of spinach is level 9.

[0215] Further, according to Figure 4 It can be obtained that the icon of noodles is the icon corresponding to level 1, and the icon of spinach is the icon corresponding to level 9.

[0216] At this point, the FQI scores and FQL levels of noodles and spinach in the weight management scenario are calculated. Users can intuitively know through at least one of the FQI scores, FQL levels, and visualization patterns that the FQL level of noodles is very low, which is not conducive to weight loss, while the FQL level of spinach is higher, which is conducive to weight loss. In this way, if the user needs to lose weight, he can select spinach as a weight loss food according to the food quality level and icon. That is, the user can include spinach in the weight management diet plan or weight loss recipe. Accordingly, the user selects foods that meet the needs of their own diet plan according to at least one of the FQI scores, FQL levels, and visualization patterns of each food, and formulates diet matching plans such as recipes or diet plans.

[0217] It should be noted that the above only provides examples for weight management scenarios, and the processes of other health scenarios are similar to those of weight management scenarios, so they will not be repeated here.

[0218] based on Figure 1In the system architecture shown, when a user enters the names of noodles and spinach on a mobile phone, or when selecting food, or when making a recipe or diet plan, the server can push the pre-calculated food quality levels and icons of noodles and spinach in various health scenarios to the user's mobile phone, and the user's mobile phone displays the food quality levels and icons of spinach and noodles. The user adds spinach to the weight loss recipe based on the food quality levels and icons of spinach and noodles displayed on the mobile phone to make a diet plan that meets the user's weight loss plan.

[0219] See also Figure 5 Another schematic flowchart of a method for evaluating food quality is shown, and the method may specifically include the following steps:

[0220] Step S501: Determine the user's target health scenario.

[0221] In specific applications, the user's target health scenario can be selected by the user. Specifically, the corresponding options are displayed on the user's mobile phone interface, and the user selects the corresponding options according to his or her own health needs. The user's target health scenario can also be determined by means of a questionnaire survey, that is, a questionnaire survey is initiated to the user, and the questionnaire contains the content of the user's health needs or health scenarios. The user's target health scenario can be obtained by collecting the user's health questionnaire. Of course, the user's target health scenario can also be automatically determined by the system based on user information. The user information may include but is not limited to the user's illness, height, weight, age, and gender. For example, if the user suffers from diabetes and the user's weight is overweight, it is considered that the user needs to stabilize blood sugar and lose weight, and the user's target health scenario is determined to be a weight management scenario and a blood sugar stabilization scenario.

[0222] It should be pointed out that the user's target health scenario can be one health scenario or at least two health scenarios.

[0223] Step S502, obtaining evaluation index parameters contained in the target food per unit weight or unit serving, the evaluation index parameters including at least one of nutrient weight, total energy, glycemic index, glycemic load value, phytonutrient content, anti-inflammatory index and advanced glycation end product content, the target food including a single food, a single ingredient, a packaged food, a dish or a recipe.

[0224] It should be noted that the relevant introduction of this step can be found in the corresponding content above, and will not be repeated here.

[0225] Step S503: Determine the weight coefficient of each evaluation indicator in the target health scenario.

[0226] Specifically, after determining the user's target health scenario and the target food that needs to be evaluated for food quality, the weight coefficient of each evaluation indicator under the target health scenario can be determined, and then the FQI score under the target health scenario can be calculated based on the weight coefficient.

[0227] In specific applications, for each health scenario, the weight coefficient of the pre-set health scenario can be obtained by query. Each health scenario has a corresponding weight coefficient, so that each health scenario has an FQI score.

[0228] Step S504: Based on the weight coefficient of each evaluation indicator in the target health scenario, the food quality index FQI score of the target food in the target health scenario is calculated according to the evaluation indicator parameters.

[0229] It should be noted that the process of calculating the FQI score based on the weight coefficient under the target health scenario can be the process of calculating the FQI score by introducing the conditional correction coefficient mentioned above, and may not be limited to the process mentioned above. For example, the FQI scores of multiple health scenarios are calculated using any existing food scoring process and the weight coefficients under different health scenarios provided in the embodiments of the present application. Among them, if the target health scenario includes multiple health scenarios, the target food has multiple FQI scores, that is, each health scenario has an FQI score.

[0230] In order to further improve the accuracy of the FQI score of the target food, the FQI score of the target health scenario can be calculated by introducing the conditional correction coefficient as mentioned above to calculate the FQI score.

[0231] In some embodiments, the process of calculating the food quality index FQI score of the target food in the target health scenario according to the evaluation indicator parameters based on the weight coefficient of each evaluation indicator in the target health scenario may specifically include:

[0232] According to the first preset correction indicator and the second preset correction indicator, the value of the conditional correction coefficient is adjusted to obtain the adjusted conditional correction coefficient. The second preset correction indicator is an indicator or a pre-set fixed value used to characterize the data distribution law of the first preset correction indicator contained in the unit weight or unit serving of all foods in the food database; according to the adjusted conditional correction coefficient, the evaluation indicator parameters and the weight coefficient of each evaluation indicator under the target health scenario, the FQI score of the target food under the target health scenario is calculated.

[0233] In this implementation, in the process of calculating the FQI score of the target health scenario, the conditional correction coefficient is adjusted using the first preset correction indicator and the second preset correction indicator, and then the FQI score is calculated using the adjusted conditional correction coefficient, thereby improving the accuracy of food quality assessment and eliminating the need to manually adjust and correct some deviated scores after obtaining the food score.

[0234] Furthermore, the process of calculating the FQI score of the target food in the target health scenario according to the adjusted condition correction coefficient, the evaluation indicator parameter, and the weight coefficient of each evaluation indicator in the target health scenario may specifically include:

[0235] Based on the weight coefficient of each evaluation indicator in the target health scenario, each evaluation indicator parameter and the corresponding weight coefficient are multiplied to obtain a third product, and the third products corresponding to each evaluation indicator are added to obtain a third value;

[0236] The FQI score of the target food in the target health scenario is calculated by v=N+Y*r1+(RC)*r2+C*r3, wherein v is the FQI score, N is the adjustment constant, Y is the third numerical value, R is the preset threshold of the target evaluation indicator, the target evaluation indicator is one of the evaluation indicators, C is the target evaluation indicator parameter of the target food, the target evaluation indicator parameter is one of the evaluation indicator parameters, r1 is the first condition correction coefficient, r2 is the second condition correction coefficient, and r3 is the third condition correction coefficient.

[0237] In some possible implementations, the condition correction coefficient includes a first condition correction coefficient, a second condition correction coefficient and a third condition correction coefficient, and the second preset correction index includes a first index and a second index.

[0238] At this time, determining the numerical range according to the second preset correction index may include: after multiplying the first coefficient and the second index to obtain a first product, adding the first product and the first index to obtain a first numerical value; after multiplying the second coefficient and the second index to obtain a second product, adding the second product and the first index to obtain a second numerical value;

[0239] Based on the numerical range within which the first preset correction index falls, the numerical value of the target condition correction coefficient in the condition correction coefficient is adjusted to the target numerical value. The process of obtaining the adjusted condition correction coefficient may include: if the first preset correction index is greater than the first numerical value, the numerical value of the second condition correction coefficient is set to 0; if the first preset correction index is greater than or equal to the second numerical value, and less than or equal to the first numerical value, the numerical values ​​of the second condition correction coefficient and the third condition correction coefficient are both set to 0; if the first preset correction index is less than the second numerical value, the numerical value of the third condition correction coefficient is set to 0.

[0240] In some possible implementations, the first preset correction index is one of the evaluation index parameters, and the first index is the average, median or quantile of the first preset correction index contained in all unit servings or unit weights of food in the food database;

[0241] The second indicator is the variance, standard deviation or range of the first preset correction indicator contained in all unit servings or unit weights of food in the food database.

[0242] In some possible implementations, the evaluation index includes at least one of phytonutrients, anti-inflammatory index, advanced glycation end products, energy, nutrients, glycemic index and glycemic load, and the nutrients include protein, carbohydrates, dietary fiber, saturated fat, unsaturated fat, trans fat, cholesterol, added sugar, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, folic acid, vitamin D and vitamin K.

[0243] In some possible implementations, the above-mentioned health scenarios include at least one of the following: weight management scenario, blood pressure stabilization scenario, cardiovascular and cerebrovascular improvement scenario, blood sugar stabilization scenario, kidney improvement scenario, bone strengthening scenario, anti-inflammatory scenario, pregnancy scenario and children's scenario.

[0244] In the weight management scenario, the value of the weight coefficient of the first category of evaluation indicators is set to 0. The first category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the first category of nutrients. The first category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid.

[0245] In the blood pressure stabilization scenario, the value of the weight coefficient of the second category of evaluation indicators is set to 0. The second category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the second category of nutrients. The second category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid.

[0246] In the scenario of improving cardiovascular and cerebrovascular diseases, the value of the weight coefficient of the third category of evaluation indicators is set to 0. The third category of evaluation indicators includes at least one of glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and third category nutrients. The third category of nutrients includes carbohydrates, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid.

[0247] In the blood sugar stabilization scenario, the value of the weight coefficient of the fourth category of evaluation indicators is set to 0. The fourth category of evaluation indicators includes phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fourth category of nutrients. The fourth category of nutrients includes unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, folic acid, vitamin D and vitamin K.

[0248] In the kidney improvement scenario, the value of the weight coefficient of the fifth category of evaluation indicators is set to 0. The fifth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fifth category of nutrients. The fifth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, magnesium, zinc, vitamin K and folic acid.

[0249] In the strong bone scenario, the value of the weight coefficient of the sixth category of evaluation indicators is set to 0. The sixth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the sixth category of nutrients. The sixth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, phosphorus, iron, zinc and folic acid.

[0250] In the anti-inflammatory scenario, the value of the weight coefficient of the seventh category of evaluation indicators is set to 0. The seventh category of evaluation indicators includes glycemic index, glycemic load, and at least one of the seventh category of nutrients. The seventh category of nutrients includes carbohydrates, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid.

[0251] In the pregnancy scenario, the value of the weight coefficient of the eighth category of evaluation indicators is set to 0. The eighth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the eighth category of nutrients. The eighth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, zinc and vitamin K.

[0252] In the children's scenario, the value of the weight coefficient of the ninth category of evaluation indicators is set to 0. The ninth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the ninth category of nutrients. The ninth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, folic acid, and vitamin K.

[0253] In some possible implementations, after determining the food quality index FQI score of the target food in at least two health scenarios based on the evaluation index parameters as described above, it may also include: determining the FQL level of the target food in the target health scenario based on a correlation between a preset FQI score and a food quality level FQL level.

[0254] In some possible implementations, after determining the FQL level of the target food in the target health scenario, it may also include: determining a visualization pattern corresponding to the FQL level of the target food in the target health scenario based on a predetermined correspondence between the FQL level and the visualization pattern.

[0255] It should be noted that the weight coefficient for each health scenario and the introduction of the FQI score calculation process in this embodiment can be found in the corresponding content above, and will not be repeated here.

[0256] It should be noted that the same or similar points between this embodiment and the above embodiments can be referred to each other and will not be described in detail here.

[0257] Corresponding to the food quality assessment method of the above embodiment, Figure 6 The structure schematic block diagram of the food quality assessment device provided by the embodiment of the present application is shown. For the convenience of explanation, only the part related to the embodiment of the present application is shown. The device can be integrated into a server.

[0258] Reference Figure 6 , the device may include:

[0259] An evaluation index parameter acquisition module 61 is used to acquire evaluation index parameters contained in a target food per unit weight or unit serving, wherein the target food includes a single food, a single ingredient, a packaged food, a dish or a recipe;

[0260] The FQI score calculation module 62 is used to calculate the FQI score of the target food according to the condition correction coefficient, the evaluation index parameter and the weight coefficient corresponding to each evaluation index.

[0261] In some possible implementations, the score calculation module includes:

[0262] A condition correction coefficient adjustment unit, used to adjust the value of the condition correction coefficient according to a first preset correction index and a second preset correction index to obtain an adjusted condition correction coefficient, wherein the second preset correction index is an index or a preset fixed value used to characterize the data distribution law of the first preset correction index contained in the unit weight or unit serving of all foods in the food database;

[0263] The calculation unit is used to calculate the FQI score of the target food according to the adjusted condition correction coefficient, the evaluation index parameter and the weight coefficient corresponding to each evaluation index.

[0264] In some possible implementations, the condition correction coefficient adjustment unit is specifically used to:

[0265] Determine a numerical range according to the second preset correction index, each numerical range corresponds to an adjustment target, and the adjustment target includes a target condition correction coefficient to be adjusted and a target value of the target condition correction coefficient;

[0266] Based on the numerical range that the first preset correction index falls within, the numerical value of the target condition correction coefficient in the condition correction coefficient is adjusted to the target numerical value to obtain the adjusted condition correction coefficient. The first preset correction index is one of the evaluation index parameters of the target food.

[0267] In some possible implementations, the condition correction coefficient includes a first condition correction coefficient, a second condition correction coefficient, and a third condition correction coefficient, the second preset correction index includes a first index and a second index, and the condition correction coefficient adjustment unit is specifically used to:

[0268] After multiplying the first coefficient and the second index to obtain a first product, the first product and the first index are added to obtain a first value;

[0269] After multiplying the second coefficient and the second index to obtain a second product, the second product and the first index are added to obtain a second value;

[0270] If the first preset correction index is greater than the first value, the value of the second condition correction coefficient is set to 0;

[0271] If the first preset correction index is greater than or equal to the second value and less than or equal to the first value, the values ​​of the second condition correction coefficient and the third condition correction coefficient are both set to 0;

[0272] If the first preset correction index is less than the second value, the value of the third condition correction coefficient is set to 0.

[0273] In some possible implementations, the first preset correction indicator is total energy, carbohydrates or fat, the first indicator is the mean, median or quantile of the first preset correction indicator contained in all unit servings or unit weights of food in the food database; the second indicator is the variance, standard deviation or range of the first preset correction indicator contained in all unit servings or unit weights of food in the food database.

[0274] In some possible implementations, the computing unit is specifically used to:

[0275] Determine the weight coefficient of each evaluation indicator in each health scenario;

[0276] According to the weight coefficient of each evaluation indicator in each health scenario, each evaluation indicator parameter and the corresponding weight coefficient are multiplied to obtain a third product, and the third products corresponding to each evaluation indicator are added to obtain a third value of at least one health scenario;

[0277] For each health scenario, the FQI score of the target food is calculated by v=N+Y*r1+(RC)*r2+C*r3, wherein v is the FQI score, N is the adjustment constant, Y is the third value, R is the preset threshold of the target evaluation indicator, the target evaluation indicator is one of the evaluation indicators, C is the target evaluation indicator parameter of the target food, the target evaluation indicator parameter is one of the evaluation indicator parameters, r1 is the first condition correction coefficient, r2 is the second condition correction coefficient, and r3 is the third condition correction coefficient;

[0278] The FQI score includes a score value corresponding to at least one health scenario.

[0279] In some possible implementations, the evaluation index parameter includes at least one of nutrient weight, total energy, glycemic index, glycemic load value, phytonutrient content, anti-inflammatory index, and advanced glycation end product content;

[0280] The evaluation indicators include at least one of energy, nutrients, glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and the nutrients include at least one of protein, carbohydrates, dietary fiber, saturated fat, unsaturated fat, trans fat, cholesterol, added sugar, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, folic acid, vitamin D and vitamin K.

[0281] In some possible implementations, the health scenario includes at least one of the following: a weight management scenario, a blood pressure stabilization scenario, a cardiovascular and cerebrovascular improvement scenario, a blood sugar stabilization scenario, a kidney improvement scenario, a bone strengthening scenario, an anti-inflammatory scenario, a pregnancy scenario, and a children's scenario;

[0282] In the weight management scenario, the value of the weight coefficient of the first category of evaluation indicators is set to 0, the first category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the first category of nutrients, the first category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0283] In the blood pressure stabilization scenario, the value of the weight coefficient of the second category of evaluation indicators is set to 0, and the second category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the second category of nutrients, and the second category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0284] In the scenario of improving cardiovascular and cerebrovascular diseases, the value of the weight coefficient of the third category of evaluation indicators is set to 0, and the third category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the third category of nutrients, and the third category of nutrients includes carbohydrates, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0285] In the blood sugar stabilization scenario, the value of the weight coefficient of the fourth category of evaluation indicators is set to 0, and the fourth category of evaluation indicators includes phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fourth category of nutrients, and the fourth category of nutrients includes unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, folic acid, vitamin D and vitamin K;

[0286] In the kidney improvement scenario, the value of the weight coefficient of the fifth category of evaluation indicators is set to 0, the fifth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fifth category of nutrients, the fifth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, magnesium, zinc, vitamin K and folic acid;

[0287] In the strong bone scenario, the value of the weight coefficient of the sixth category of evaluation indicators is set to 0, the sixth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the sixth category of nutrients, the sixth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, phosphorus, iron, zinc and folic acid;

[0288] In the anti-inflammatory scenario, the value of the weight coefficient of the seventh evaluation index is set to 0, the seventh evaluation index includes at least one of the glycemic index, the glycemic load and the seventh nutrient, and the seventh nutrient includes carbohydrates, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0289] In the pregnancy scenario, the value of the weight coefficient of the eighth category of evaluation indicators is set to 0, the eighth category of evaluation indicators includes glycemic index, glycemic load, polyphenols, anti-inflammatory index and advanced glycation end product content, and at least one of the eighth category of nutrients, the eighth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, zinc, and vitamin K;

[0290] In the children's scenario, the value of the weight coefficient of the ninth category of evaluation indicators is set to 0. The ninth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the ninth category of nutrients. The ninth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, vitamin K and folic acid.

[0291] In some possible implementations, the above device may further include:

[0292] The FQL level determination module is used to determine the FQL level of the target food according to the association between the preset FQI score and the food quality level FQL level.

[0293] In some possible implementations, the above device may further include:

[0294] The visualization pattern determination module is used to determine the visualization pattern corresponding to the FQL level of the target food according to the preset correspondence between the FQL level and the visualization pattern.

[0295] The above-mentioned food quality assessment device has the function of implementing the above-mentioned food quality assessment method, which can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions, and the modules can be software and / or hardware.

[0296] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / modules are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0297] Corresponding to the food quality assessment method of the above embodiment, Figure 7 The structure schematic block diagram of the food quality assessment device provided by the embodiment of the present application is shown. For the convenience of explanation, only the part related to the embodiment of the present application is shown. The device can be integrated into a server.

[0298] Reference Figure 7 , the device may include:

[0299] A target health scenario determination module 71 is used to determine a user's target health scenario;

[0300] a parameter acquisition module 72, for acquiring evaluation index parameters contained in a target food per unit weight or per unit serving, wherein the evaluation index parameters include at least one of nutrient weight, total energy, glycemic index, glycemic load value, phytonutrient content, anti-inflammatory index, and advanced glycation end product content, and the target food includes a single food, a single ingredient, a packaged food, a dish, or a recipe;

[0301] A weight coefficient determination module 73, used to determine the weight coefficient of each evaluation indicator in the target health scenario;

[0302] The FQI score determination module 74 is used to calculate the food quality index FQI score of the target food in the target health scenario based on the weight coefficient of each evaluation indicator in the target health scenario and according to the evaluation indicator parameters.

[0303] In some possible implementations, the FQI score determination module is specifically used to:

[0304] According to the first preset correction index and the second preset correction index, the value of the condition correction coefficient is adjusted to obtain the adjusted condition correction coefficient, wherein the second preset correction index is an index or a preset fixed value used to characterize the data distribution law of the first preset correction index contained in the unit weight or unit serving of all foods in the food database;

[0305] The FQI score of the target food in the target health scenario is calculated based on the adjusted condition correction coefficient, evaluation indicator parameters, and the weight coefficient of each evaluation indicator in the target health scenario.

[0306] In some possible implementations, the FQI score determination module is specifically used to:

[0307] Based on the weight coefficient of each evaluation indicator in the target health scenario, each evaluation indicator parameter and the corresponding weight coefficient are multiplied to obtain a third product, and the third products corresponding to each evaluation indicator are added to obtain a third value;

[0308] The FQI score of the target food in the target health scenario is calculated by v=N+Y*r1+(RC)*r2+C*r3, where v is the FQI score, N is the adjustment constant, Y is the third value, R is the preset threshold of the target evaluation indicator, the target evaluation indicator is one of the evaluation indicators, C is the target evaluation indicator parameter of the target food, the target evaluation indicator parameter is one of the evaluation indicator parameters, r1 is the first condition correction coefficient, r2 is the second condition correction coefficient, and r3 is the third condition correction coefficient.

[0309] In some possible implementations, the condition correction coefficient includes a first condition correction coefficient, a second condition correction coefficient, and a third condition correction coefficient, and the second preset correction index includes a first index and a second index;

[0310] The weight coefficient determination module is specifically used for:

[0311] After multiplying the first coefficient and the second index to obtain a first product, the first product and the first index are added to obtain a first value;

[0312] After multiplying the second coefficient and the second index to obtain a second product, the second product and the first index are added to obtain a second value;

[0313] If the first preset correction index is greater than the first value, the value of the second condition correction coefficient is set to 0;

[0314] If the first preset correction index is greater than or equal to the second value and less than or equal to the first value, the values ​​of the second condition correction coefficient and the third condition correction coefficient are both set to 0;

[0315] If the first preset correction index is less than the second value, the value of the third condition correction coefficient is set to 0.

[0316] In some possible implementations, the first preset correction index is one of the evaluation index parameters, and the first index is the average, median or quantile of the first preset correction index contained in all unit servings or unit weights of food in the food database;

[0317] The second indicator is the variance, standard deviation or range of the first preset correction indicator contained in all unit servings or unit weights of food in the food database.

[0318] In some possible implementations, the evaluation indicators include at least one of energy, nutrients, glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and the nutrients include at least one of protein, carbohydrates, dietary fiber, saturated fat, unsaturated fat, trans fat, cholesterol, added sugar, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, folic acid, vitamin D and vitamin K.

[0319] In some possible implementations, the health scenario includes at least one of the following: a weight management scenario, a blood pressure stabilization scenario, a cardiovascular and cerebrovascular improvement scenario, a blood sugar stabilization scenario, a kidney improvement scenario, a bone strengthening scenario, an anti-inflammatory scenario, a pregnancy scenario, and a children's scenario;

[0320] In the weight management scenario, the value of the weight coefficient of the first category of evaluation indicators is set to 0, the first category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the first category of nutrients, the first category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0321] In the blood pressure stabilization scenario, the value of the weight coefficient of the second category of evaluation indicators is set to 0, and the second category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the second category of nutrients, and the second category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0322] In the scenario of improving cardiovascular and cerebrovascular diseases, the value of the weight coefficient of the third category of evaluation indicators is set to 0, and the third category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the third category of nutrients, and the third category of nutrients includes carbohydrates, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0323] In the blood sugar stabilization scenario, the value of the weight coefficient of the fourth category of evaluation indicators is set to 0, and the fourth category of evaluation indicators includes phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fourth category of nutrients, and the fourth category of nutrients includes unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, folic acid, vitamin D and vitamin K;

[0324] In the kidney improvement scenario, the value of the weight coefficient of the fifth category of evaluation indicators is set to 0, the fifth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fifth category of nutrients, the fifth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, magnesium, zinc, vitamin K and folic acid;

[0325] In the strong bone scenario, the value of the weight coefficient of the sixth category of evaluation indicators is set to 0, the sixth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the sixth category of nutrients, the sixth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, phosphorus, iron, zinc and folic acid;

[0326] In the anti-inflammatory scenario, the value of the weight coefficient of the seventh evaluation index is set to 0, the seventh evaluation index includes at least one of the glycemic index, the glycemic load and the seventh nutrient, and the seventh nutrient includes carbohydrates, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid;

[0327] In the pregnancy scenario, the value of the weight coefficient of the eighth category of evaluation indicators is set to 0, the eighth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the eighth category of nutrients, the eighth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, zinc and vitamin K;

[0328] In the children's scenario, the value of the weight coefficient of the ninth category of evaluation indicators is set to 0. The ninth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the ninth category of nutrients. The ninth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, vitamin K and folic acid.

[0329] Some possible implementations also include:

[0330] The FQL level determination module is used to determine the FQL level of the target food in the target health scenario according to the association between the preset FQI score and the food quality level FQL level.

[0331] Some possible implementations also include:

[0332] The visualization pattern determination module is used to determine the visualization pattern corresponding to the FQL level of the target food in the target health scenario according to the preset correspondence between the FQL level and the visualization pattern.

[0333] The above-mentioned food quality assessment device has the function of implementing the above-mentioned food quality assessment method, which can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions, and the modules can be software and / or hardware.

[0334] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / modules are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0335] Figure 8 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Figure 8As shown, the terminal device 8 of this embodiment includes: at least one processor 80, a memory 81, and a computer program 82 stored in the memory 81 and executable on the at least one processor 80, and when the processor 80 executes the computer program 82, the steps in any of the above-mentioned method embodiments are implemented.

[0336] The terminal device 8 may be a computing device such as a cloud server. The terminal device may include, but is not limited to, a processor 80 and a memory 81. Those skilled in the art will appreciate that Figure 8 It is only an example of the terminal device 8 and does not constitute a limitation on the terminal device 8. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.

[0337] The processor 80 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0338] In some embodiments, the memory 81 may be an internal storage unit of the terminal device 8, such as a hard disk or memory of the terminal device 8. In other embodiments, the memory 81 may also be an external storage device of the terminal device 8, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device 8. Further, the memory 81 may also include both an internal storage unit of the terminal device 8 and an external storage device. The memory 81 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory 81 may also be used to temporarily store data that has been output or is to be output.

[0339] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0340] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0341] An embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0342] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0343] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0344] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0345] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0346] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0347] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for evaluating food quality, characterized in that: include: Obtaining evaluation index parameters contained in a target food per unit weight or per unit serving, wherein the target food includes a single food, a single ingredient, a packaged food, a dish or a recipe, and the evaluation index parameters include at least one of nutrient weight, total energy, glycemic index, glycemic load value, phytonutrient content, anti-inflammatory index and advanced glycation end product content; Calculate the food quality index FQI score of the target food according to the condition correction coefficient, the evaluation index parameter and the weight coefficient corresponding to each evaluation index; The food quality index FQI score of the target food is calculated according to the condition correction coefficient, the evaluation index parameter and the weight coefficient corresponding to each evaluation index, including: Determine a numerical range according to the second preset correction index, each numerical range corresponds to an adjustment target, and the adjustment target includes a target condition correction coefficient to be adjusted and a target value of the target condition correction coefficient; Based on the numerical range that the first preset correction index falls within, the numerical value of the target condition correction coefficient in the condition correction coefficient is adjusted to the target numerical value to obtain the adjusted condition correction coefficient, wherein the first preset correction index is one of the evaluation index parameters of the target food, and the second preset correction index is an index or a preset fixed numerical value used to characterize the data distribution law of the first preset correction index contained in the unit weight or unit serving of all foods in the food database; Calculating the FQI score of the target food according to the adjusted condition correction coefficient, the evaluation index parameter and the weight coefficient corresponding to each evaluation index; The FQI score of the target food is calculated according to the adjusted condition correction coefficient, the evaluation index parameter and the weight coefficient corresponding to each evaluation index, including: Determine the weight coefficient of each evaluation indicator in each health scenario; According to the weight coefficient of each evaluation indicator in each health scenario, each evaluation indicator parameter and the corresponding weight coefficient are multiplied to obtain a third product, and the third products corresponding to each evaluation indicator are added to obtain a third value of at least one health scenario; For each health scenario, the FQI score of the target food is calculated by v=N+Y*r1+(RC)*r2+C*r3, where v is the FQI score and N is the adjustment constant. Y is the third value, R is a preset threshold value of a target evaluation indicator, wherein the target evaluation indicator is one of the evaluation indicators, C is the target evaluation index parameter of the target food, the target evaluation index parameter is one of the evaluation index parameters, r1 is the first condition correction coefficient, r2 is the second condition correction coefficient, and r3 is the third condition correction coefficient; The FQI score includes a score value corresponding to at least one health scenario.

2. The method according to claim 1, characterized in that The condition correction coefficient includes a first condition correction coefficient, a second condition correction coefficient and a third condition correction coefficient, and the second preset correction index includes a first index and a second index; Determining a numerical range according to the second preset correction index includes: After multiplying the first coefficient and the second index to obtain a first product, the first product and the first index are added to obtain a first value; After multiplying the second coefficient and the second index to obtain a second product, the second product and the first index are added to obtain a second value; Based on the numerical range within which the first preset correction index falls, adjusting the numerical value of the target condition correction coefficient in the condition correction coefficient to the target numerical value to obtain the adjusted condition correction coefficient, including: If the first preset correction index is greater than the first value, setting the value of the second condition correction coefficient to 0; If the first preset correction index is greater than or equal to the second value, and less than or equal to the first value, the values ​​of the second condition correction coefficient and the third condition correction coefficient are both set to 0; If the first preset correction index is less than the second value, the value of the third condition correction coefficient is set to 0.

3. The method according to claim 2, characterized in that The first preset correction indicator is total energy, and the first indicator is the average, median or quantile of the first preset correction indicator contained in all unit servings or unit weights of food in the food database; The second indicator is the variance, standard deviation or range of the first preset correction indicator contained in all unit servings or unit weights of food in the food database.

4. The method according to claim 1, characterized in that The evaluation index includes at least one of energy, nutrients, glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products; the nutrients include at least one of protein, carbohydrates, dietary fiber, saturated fat, unsaturated fat, trans fat, cholesterol, added sugar, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, folic acid, vitamin D and vitamin K.

5. The method according to claim 4, characterized in that The health scenarios include at least one of the following: weight management scenario, blood pressure stabilization scenario, cardiovascular and cerebrovascular improvement scenario, blood sugar stabilization scenario, kidney improvement scenario, bone strengthening scenario, anti-inflammatory scenario, pregnancy scenario and children's scenario; In the weight management scenario, the value of the weight coefficient of the first category of evaluation indicators is set to 0, the first category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the first category of nutrients, the first category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid; In the blood pressure stabilization scenario, the value of the weight coefficient of the second category of evaluation indicators is set to 0, the second category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the second category of nutrients, the second category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid; In the scenario of improving cardiovascular and cerebrovascular diseases, the value of the weight coefficient of the third category of evaluation indicators is set to 0, and the third category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the third category of nutrients, and the third category of nutrients includes carbohydrates, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid; In the blood sugar stabilization scenario, the value of the weight coefficient of the fourth category evaluation index is set to 0, the fourth category evaluation index includes phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fourth category nutrients, the fourth category nutrients include unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, folic acid, vitamin D and vitamin K; In the kidney improvement scenario, the value of the weight coefficient of the fifth category of evaluation indicators is set to 0, the fifth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fifth category of nutrients, the fifth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, magnesium, zinc, vitamin K and folic acid; In the strong bone scenario, the value of the weight coefficient of the sixth category of evaluation indicators is set to 0, the sixth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end product content, and at least one of the sixth category of nutrients, the sixth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, phosphorus, iron, zinc and folic acid; In the anti-inflammatory scenario, the value of the weight coefficient of the seventh evaluation index is set to 0, the seventh evaluation index includes the glycemic index, the glycemic load, and at least one of the seventh nutrients, the seventh nutrients include carbohydrates, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, vitamin D, vitamin K and folic acid; In the pregnancy scenario, the value of the weight coefficient of the eighth category of evaluation indicators is set to 0, the eighth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the eighth category of nutrients, the eighth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, zinc and vitamin K; In the children's scenario, the value of the weight coefficient of the ninth category of evaluation indicators is set to 0. The ninth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the ninth category of nutrients. The ninth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, vitamin K and folic acid.

6. The method according to claim 1, characterized in that After calculating the food quality index FQI score of the target food, it also includes: The FQL level of the target food is determined according to a preset correlation between the FQI score and the food quality level FQL level.

7. The method according to claim 6, characterized in that After determining the FQL level of the target food, it also includes: According to the preset correspondence between the FQL level and the visualization pattern, the visualization pattern corresponding to the FQL level of the target food is determined.

8. A method for evaluating food quality, characterized in that: include: Determining a user's target health scenario, wherein the target health scenario includes one or at least two health scenarios; Obtaining evaluation index parameters contained in a target food per unit weight or per unit serving; the evaluation index parameters include at least one of nutrient weight, total energy, glycemic index, glycemic load value, phytonutrient content, anti-inflammatory index, and advanced glycation end product content, and the target food includes a single food, a single ingredient, a packaged food, a dish, or a recipe; Determining the weight coefficient of each evaluation indicator under the target health scenario; Based on the weight coefficient of each evaluation indicator in the target health scenario, the food quality index FQI score of the target food in the target health scenario is calculated according to the evaluation indicator parameters; Wherein, based on the weight coefficient of each evaluation indicator in the target health scenario, the food quality index FQI score of the target food in the target health scenario is calculated according to the evaluation indicator parameters, including: Determine a numerical range according to the second preset correction index, each numerical range corresponds to an adjustment target, and the adjustment target includes a target condition correction coefficient to be adjusted and a target value of the target condition correction coefficient; Based on the numerical range that the first preset correction index falls within, the numerical value of the target condition correction coefficient in the condition correction coefficient is adjusted to the target numerical value to obtain the adjusted condition correction coefficient, wherein the first preset correction index is one of the evaluation index parameters of the target food, and the second preset correction index is an index or a preset fixed numerical value used to characterize the data distribution law of the first preset correction index contained in the unit weight or unit serving of all foods in the food database; Calculate the FQI score of the target food in the target health scenario according to the adjusted condition correction coefficient, the evaluation indicator parameter, and the weight coefficient of each evaluation indicator in the target health scenario; The FQI score of the target food in the target health scenario is calculated according to the adjusted condition correction coefficient, the evaluation indicator parameter, and the weight coefficient of each evaluation indicator in the target health scenario, including: Based on the weight coefficient of each evaluation indicator in the target health scenario, each evaluation indicator parameter and the corresponding weight coefficient are multiplied to obtain a third product, and the third products corresponding to each evaluation indicator are added to obtain a third value; The FQI score of the target food in the target health scenario is calculated by v=N+Y*r1+(RC)*r2+C*r3, where v is the FQI score, N is the adjustment constant, Y is the third value, R is a preset threshold value of a target evaluation indicator, wherein the target evaluation indicator is one of the evaluation indicators, C is the target evaluation index parameter of the target food, the target evaluation index parameter is one of the evaluation index parameters, r1 is the first condition correction coefficient, r2 is the second condition correction coefficient, and r3 is the third condition correction coefficient.

9. The method according to claim 8, characterized in that The health scenarios include at least one of the following: weight management scenario, blood pressure stabilization scenario, cardiovascular and cerebrovascular improvement scenario, blood sugar stabilization scenario, kidney improvement scenario, bone strengthening scenario, anti-inflammatory scenario, pregnancy scenario and children's scenario; In the weight management scenario, the value of the weight coefficient of the first category of evaluation indicators is set to 0, the first category of evaluation indicators includes at least one of glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and the first category of nutrients, the first category of nutrients including carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, vitamin D, vitamin K, zinc and folic acid; In the blood pressure stabilization scenario, the value of the weight coefficient of the second category of evaluation indicators is set to 0, the second category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the second category of nutrients, the second category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, calcium, phosphorus, iron, vitamin D, vitamin K, zinc and folic acid; In the scenario of improving cardiovascular and cerebrovascular diseases, the value of the weight coefficient of the third category of evaluation indicators is set to 0, and the third category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the third category of nutrients, and the third category of nutrients includes carbohydrates, potassium, magnesium, calcium, phosphorus, iron, vitamin D, vitamin K, zinc and folic acid; In the blood sugar stabilization scenario, the value of the weight coefficient of the fourth category evaluation index is set to 0, the fourth category evaluation index includes phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fourth category nutrients, the fourth category nutrients include unsaturated fats, trans fats, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, zinc, folic acid, vitamin D and vitamin K; In the kidney improvement scenario, the value of the weight coefficient of the fifth category of evaluation indicators is set to 0, the fifth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the fifth category of nutrients, the fifth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, magnesium, vitamin K, zinc and folic acid; In the strong bone scenario, the value of the weight coefficient of the sixth category of evaluation indicators is set to 0, the sixth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the sixth category of nutrients, the sixth category of nutrients includes carbohydrates, unsaturated fats, trans fats, cholesterol, sodium, potassium, phosphorus, iron, zinc and folic acid; In the anti-inflammatory scenario, the value of the weight coefficient of the seventh evaluation index is set to 0, the seventh evaluation index includes at least one of the glycemic index, the glycemic load and the seventh nutrient, and the seventh nutrient includes carbohydrates, cholesterol, sodium, potassium, magnesium, calcium, phosphorus, iron, vitamin D, vitamin K, zinc and folic acid; In the pregnancy scenario, the value of the weight coefficient of the eighth category of evaluation indicators is set to 0, the eighth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the eighth category of nutrients, the eighth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, vitamin K and zinc; In the children's scenario, the value of the weight coefficient of the ninth category of evaluation indicators is set to 0. The ninth category of evaluation indicators includes glycemic index, glycemic load, phytonutrients, anti-inflammatory index and advanced glycation end products, and at least one of the ninth category of nutrients. The ninth category of nutrients includes carbohydrates, saturated fat, trans fat, cholesterol, sodium, potassium, magnesium, phosphorus, vitamin K and folic acid.

10. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 or any one of claims 8 to 9 is implemented.

11. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 or any one of claims 8 to 9 is implemented.