Method and device for predicting influence of beverage on health based on package
Through AR glasses, real-time analysis of information on beverage packaging and calculating health risk index, it solves the problem of difficulty in analyzing beverage ingredients in the existing technology, provides personalized health guidance, and enhances users' health awareness and scientific dietary choices.
Patent Information
- Application Number
- CN202411222115.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-12-27
AI Technical Summary
The prior art is difficult to analyze beverage ingredients in real time and conveniently and provide suitable populations and recommended intakes, making it difficult for users to quickly determine whether the beverage is suitable for their health.
Acquire images in the user's field of view in real time through AR glasses, identify and analyze nutrients and specific ingredients on beverage packaging, calculate health risk index, and determine the appropriate population and recommended intake based on the index.
It enables users to quickly understand the health information of beverages without manually entering information, improves the immediacy and convenience of information acquisition, provides personalized health guidance, helps users make scientific and reasonable dietary choices, and enhances health awareness.
Smart Images

Figure CN119207789A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of augmented reality, and in particular to a method, system, electronic device and storage medium for predicting the health effects of beverages based on packaging. Background Art
[0002] As people's living standards improve, the consumption of beverages increases year by year. However, the nutrients and specific ingredients contained in different beverages have different effects on human health. Therefore, how to choose a beverage that suits your health condition has become an important issue.
[0003] At present, the nutritional information table is usually marked on the beverage packaging, but for ordinary consumers, this information is not intuitive and it is difficult to quickly judge whether the beverage is suitable for their health condition. Although there are some health management systems and applications on the market, they can provide dietary advice based on the information entered by users. However, these systems usually require users to manually enter the information of the consumed beverages, which is not only cumbersome to operate but also prone to errors. At the same time, these systems also lack the ability to obtain and analyze beverage packaging information in real time, and cannot provide users with health risk assessment results and recommended intake for specific beverages in a timely manner.
[0004] Therefore, there is an urgent need in the art for a method that can analyze beverage ingredients in real time and conveniently, and provide suitable populations and recommended intake amounts accordingly. Summary of the invention
[0005] The present application provides a method, system, electronic device and storage medium for predicting the health effects of beverages based on packaging, which can provide users with convenient health risk assessment services and scientific beverage selection recommendations.
[0006] In a first aspect of the present application, a method for predicting the health effects of beverages based on packaging is provided, which is applied to AR glasses. The method comprises: Acquire an image in the user's field of view in real time, and determine whether a target beverage package exists in the image; When the target beverage package exists in the image, obtaining nutritional ingredients and preset specific ingredients on the target beverage package, wherein the nutritional ingredients include calories, sugar, fat, protein and sodium per unit volume, and the preset specific ingredients include caffeine, sugar and additives; Determine the grade of the target beverage corresponding to the target beverage package according to the nutritional components, and determine the health risk index according to the grade combined with the preset specific components; The appropriate population and the recommended intake amount of the target beverage in each cycle are determined according to the health risk index.
[0007] By adopting the above technical solution, AR glasses can capture images in the user's field of view in real time, and instantly analyze the information on the beverage packaging, so that users can quickly understand the health information of the purchased or consumed beverages without manual query or carrying additional testing equipment. This instant feedback greatly improves the convenience of user experience. This application not only takes into account the basic nutritional components of beverages (such as calories, sugar, fat, protein and sodium), but also pays special attention to preset specific ingredients (such as caffeine, sugar and additives), which often have an important impact on specific populations (such as diabetics, hypertensive patients, children, etc.). Based on these detailed information, the system can provide personalized health risk index assessments and suitable population recommendations for different users, helping users make more scientific and reasonable dietary choices. By using such systems for a long time, users can gradually accumulate knowledge about the health effects of different beverages, thereby improving their overall awareness of healthy eating. The recommended intake in each cycle provided by the system also sets reasonable dietary boundaries for users, which helps prevent health problems caused by excessive intake of unhealthy beverages. By combining health risk assessment with daily consumption habits, this application encourages users to choose a healthier lifestyle. It is not only an analysis tool, but also a lifestyle guide, helping users gradually form good eating habits and healthy behaviors. Combining AR technology with health data analysis demonstrates the great potential of technology integration in improving the quality of life. This innovative application model provides new ideas and directions for future health management and personalized services.
[0008] Optionally, determining the grade of the target beverage corresponding to the target beverage package according to the nutritional components includes: comparing the predetermined ingredients to predetermined ingredient standards to determine a sub-grade for each predetermined ingredient, the predetermined ingredients comprising saturated fat, trans fat, sugars, and protein; A sub-level set is constructed according to the sub-levels of the plurality of preset ingredients, and the lowest level in the sub-level set is determined as the level of the beverage.
[0009] By adopting the above technical solution, the sub-grade of each ingredient can be determined by carefully comparing key preset ingredients such as saturated fat, trans fat, sugar and protein with the preset ingredient standards. This detailed evaluation method can more accurately reflect the performance of beverages in specific nutrients and avoid the one-sidedness that may be caused by single indicator evaluation. Constructing a set of sub-grades and taking the lowest grade as the overall grade of the beverage reflects the principle of comprehensive consideration. It ensures that even if the beverage performs well in some aspects, its overall grade will be affected accordingly if there is one or some seriously unhealthy ingredients. This comprehensive consideration method helps users understand the health risks of beverages more comprehensively. Converting complex nutritional information into intuitive grade representation allows users to easily understand and quickly judge the healthiness of the beverage. The grade system is usually simple and clear, and can quickly convey key information and improve user efficiency and satisfaction. By setting grades for beverages, this application is actually guiding users to make healthier choices. Users can judge whether the beverage is suitable for their health needs based on the grade of the beverage, so as to make more scientific and reasonable purchase and consumption decisions.
[0010] Optionally, determining the grade of the target beverage corresponding to the target beverage package according to the nutritional components includes: comparing the predetermined ingredients to predetermined ingredient standards to determine a grade score for each predetermined ingredient, the predetermined ingredients including saturated fat, trans fat, sugar, and protein; The grade points of the plurality of preset ingredients are weightedly summed to obtain a total grade point, and a target grade corresponding to the total grade point is determined according to a preset correspondence table, and the target grade is determined as the grade of the target beverage.
[0011] By adopting the above technical solution, by weighted summing up the grade points of multiple preset ingredients, the present application can comprehensively consider the influence of various key nutrients in the beverage, thereby giving a more comprehensive and accurate grade evaluation. This method avoids the one-sidedness that may be caused by a single indicator evaluation and improves the accuracy and scientificity of the evaluation. The weighted summation method allows the weights of each preset ingredient to be flexibly adjusted according to different health needs and dietary guidelines. This means that the present application can adapt to the health assessment needs of different populations, different health goals and different cultural backgrounds, and has strong flexibility and adaptability. The formulation of preset ingredient standards and preset corresponding tables makes the entire evaluation process more standardized and objective. This helps to reduce the errors and biases caused by human factors and improve the credibility and reliability of the evaluation results. At the same time, it also provides users with a unified reference standard to facilitate their understanding and comparison of the health grades of different beverages. The complex nutritional information is converted into an intuitive grade representation, so that users can easily understand and quickly judge the health of the beverage. This method not only improves the user's efficiency, but also enhances the satisfaction of the user experience. By setting grades for beverages, the method is actually guiding users to make healthier choices. Users can judge whether the beverage meets their health needs and dietary goals based on its grade, thus making more scientific and reasonable purchasing and consumption decisions. This health-oriented role helps promote the formation of healthy eating habits and improve overall health levels.
[0012] Optionally, determining the health risk index according to the level in combination with the preset specific component includes: comparing the caffeine content with a preset caffeine standard to determine a first score, comparing the sugar content with a preset sugar standard to determine a second score, and comparing the additive content with a preset additive standard to determine a third score; The grade is converted into a fourth score, and the first score, the second score, the third score and the fourth score are weightedly summed to obtain a health risk index.
[0013] By adopting the above technical solution, a multi-dimensional assessment of the health risks of beverages is achieved by simultaneously considering the caffeine content, sugar content, additive content and the overall grade of the beverage. This comprehensive assessment method can more accurately reflect the potential impact of beverages on health and provide users with more scientific health guidance. Comparing the content of caffeine, sugar and additives with the preset standards can ensure the consistency and objectivity of the assessment. This standardized comparison method reduces the errors caused by human factors and improves the accuracy and reliability of the assessment results. Converting the grade of the beverage into a score and weighted summing it with the scores of caffeine, sugar and additives is a scientific and flexible assessment method. By adjusting the weights of different ingredients, the assessment results can be fine-tuned according to specific health needs and dietary guidelines to meet the needs of different user groups. Since multiple aspects of beverages and the health needs of users are taken into account during the assessment process, this application can provide users with personalized health risk indexes and health guidance. Users can choose the type and intake of beverages that suit them according to their health status and needs to achieve better health results. By understanding the health risk index of beverages, users can pay more attention to the nutritional content and health effects of beverages, thereby enhancing overall health awareness. This increased health awareness helps users develop healthier eating habits and lifestyles.
[0014] Optionally, determining the appropriate population and the recommended intake amount of the target beverage in each cycle according to the health risk index includes: Preliminarily classify the population according to the health risk index and the preset appropriate population classification standards, wherein the preset appropriate population classification standards include age, gender and health status; Dividing the preliminarily divided population by combining the first score, the second score and the third score in the health risk index to determine the appropriate population; Determining the recommended intake of each ingredient, and calculating the basic recommended intake in each period based on the content of each ingredient in the target beverage and the recommended intake; The basic recommended intake is adjusted according to the category of the appropriate population.
[0015] By adopting the above technical solution, combined with the health risk index and the preset classification standards for suitable populations (such as age, gender and health status), the population suitable for drinking specific beverages can be more accurately divided. This personalized division helps to meet the health needs of different groups of people and improve the pertinence and effectiveness of health guidance. On the basis of the preliminary division of the population, the scores of components such as caffeine, sugar and additives in the health risk index are further refined to ensure the comprehensiveness and accuracy of the determination of suitable populations. This multi-dimensional consideration method avoids the deviation that may be caused by the judgment of a single factor and improves the scientific nature of the evaluation. Based on the content of each component in the target beverage and the recommended intake, the basic recommended intake in each cycle is calculated. This method ensures the scientificity and rationality of the recommended intake. It takes into account the effects of different ingredients in the beverage on health, as well as the human body's needs and tolerance for these ingredients, which helps users maintain healthy eating habits. Adjusting the basic recommended intake according to the category of suitable population reflects the concept of personalized health guidance. Different groups of people have different needs for beverage intake due to differences in age, gender, health status and other factors. Through personalized adjustment, this application can provide users with health advice that is more suitable for their own situation.
[0016] Optionally, the method further includes: Obtaining the user's personal health information and data on beverages consumed in the current period, the personal health information including medical history, height, weight, age and gender, and the data on beverages consumed including the volume of beverages consumed and the ingredients of beverages consumed; determining whether the target beverage is suitable for the user according to the personal health information and the consumed beverage data; When the target beverage is suitable for the user, a recommended intake amount of the target beverage in the current cycle is calculated.
[0017] By adopting the above technical solution, the user's personal health information (such as medical history, height, weight, age and gender) and the beverage data consumed in the current cycle are comprehensively considered to provide users with highly personalized health guidance. This customized service can better meet the actual needs of users and improve the pertinence and effectiveness of health advice. Based on the user's personal health information and the beverage data consumed, the system can more accurately determine whether the target beverage is suitable for the user. This helps to avoid the potential health risks caused by the user's mistaken drinking of beverages that are not suitable for their health conditions. Taking into account the beverages and their ingredients that the user has consumed in the current cycle, the system can dynamically adjust the recommended intake of the target beverage. This dynamic adjustment mechanism ensures that the user can maintain a balanced diet throughout the cycle and avoid excessive or insufficient intake. By monitoring the user's beverage intake and combining it with their personal health information, the system can promptly detect and prevent potential health risks. For example, for diabetic patients, the system may limit the amount of high-sugar beverages they consume; for hypertensive patients, the system may recommend reducing the intake of beverages containing high sodium ingredients.
[0018] Optionally, the method further includes: Reading the QR code on the target beverage package to obtain the batch of the target beverage, and querying whether there is a problem with the target beverage in the batch; When there is no problem with the target beverage in the batch, reading the production date and shelf life on the package of the target beverage, and determining the remaining days of the target beverage according to the production date and the shelf life; The display color of the remaining days on the AR glasses is determined according to the ratio of the remaining days to the shelf life.
[0019] By adopting the above technical solution, scanning the QR code to query the batch information of the target beverage and verifying whether there is a problem with the batch, this step effectively enhances food safety assurance. It enables users to quickly understand the safety status of beverages before purchasing or consuming, avoiding potential health risks. Combined with AR glasses to display different colors of the remaining days, this innovative method not only provides practical information, but also increases the fun and convenience of user interaction with the product. Users can intuitively understand the freshness and shelf life of the beverage without manually calculating or checking the small print on the package. By showing the color changes of the remaining days, the method encourages users to pay more attention to the shelf life of the beverage, thereby avoiding health problems caused by eating expired food. It promotes the concept of healthy consumption and guides users to form more scientific and reasonable eating habits. By promptly reminding users of the shelf life of beverages, this application helps to reduce food resources wasted due to expiration. Users can reasonably arrange consumption plans based on the remaining days prompt to avoid unnecessary waste.
[0020] In a second aspect of the present application, a system for predicting the health effects of beverages based on packaging is provided, comprising a judgment module, a collection module, a calculation module and a suggestion module, wherein: A judgment module, configured to obtain an image in the user's field of view in real time, and judge whether a target beverage package exists in the image; a collection module configured to obtain nutritional ingredients and preset specific ingredients on the target beverage package when there is a target beverage package in the image, wherein the nutritional ingredients include calories, sugar, fat, protein and sodium per unit volume, and the preset specific ingredients include caffeine, sugar and additives; a calculation module configured to determine the grade of the target beverage corresponding to the target beverage package according to the nutritional components, and determine a health risk index according to the grade combined with the preset specific components; The recommendation module is configured to determine the appropriate population and the recommended intake amount of the target beverage in each cycle according to the health risk index.
[0021] In the third aspect of the present application, an electronic device is provided, including a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes any one of the methods described above.
[0022] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any of the methods described above is executed.
[0023] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. The AR glasses can obtain images in the user's field of view in real time and automatically determine whether the target beverage package exists. This method greatly improves the immediacy and convenience of information acquisition. Users do not need to manually input or search for information, but can simply observe through the glasses to obtain relevant information about the beverage; 2. Not only does it take into account the basic nutritional content of beverages (such as calories, sugar, fat, protein and sodium), but it also pays special attention to preset specific ingredients (such as caffeine, sugar and additives), so as to more comprehensively evaluate the potential impact of beverages on health. This comprehensive evaluation method helps users understand the health value of beverages more accurately; 3. According to the grade and health risk index of the beverage, it can provide users with personalized health guidance. By determining the appropriate population and the recommended intake in each cycle, users can reasonably adjust the intake of beverages according to their health status and needs to achieve better health effects; 4. Applying this method to AR glasses not only improves the efficiency of information acquisition, but also enhances the user experience. Users can intuitively see the relevant information of the beverage through the glasses and perform further interactive operations as needed, such as viewing a detailed nutritional table, adjusting intake, etc.; 5. By providing real-time health assessment and guidance for beverages, it helps to improve users' health awareness. Users will pay more attention to the nutritional content and health risks of the beverages they consume, and thus pay more attention to the health and balance of their diet in daily life. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 is a flow chart of a method for predicting the health effects of beverages based on packaging disclosed in an embodiment of the present application; Figure 2 is a schematic diagram of modules of a system for predicting the health effects of beverages based on packaging disclosed in an embodiment of the present application; Figure 3 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application.
[0025] Explanation of the reference numerals: 201, judgment module; 202, acquisition module; 203, calculation module; 204, suggestion module; 301, processor; 302, communication bus; 303, user interface; 304, network interface; 305, memory. DETAILED DESCRIPTION
[0026] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0027] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0028] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0029] This embodiment discloses a method for predicting the health effects of beverages based on packaging, which is applied to AR glasses. Figure 1 is a flow chart of a method for predicting the health effects of beverages based on packaging disclosed in an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps: S110, acquiring an image in the user's field of view in real time, and determining whether a target beverage package exists in the image; AR (augmented reality) glasses are usually equipped with a high-frame-rate RGB camera to capture images within the user's field of view. These images can include static backgrounds and dynamic moving objects such as people, animals, vehicles, and target beverage packages. In addition, AR glasses may also contain smart sensors such as inertial measurement units to provide motion data such as angular velocity and acceleration to improve the accuracy and stability of image capture. When a user wears AR glasses and looks at the target beverage package, the camera of the glasses captures the images in the field of view in real time. These images are then transmitted to a processor inside or connected to the glasses for processing. The processing process may include image preprocessing (such as denoising, contrast enhancement, etc.), feature extraction (identifying key points, edges, etc. in the image), and the application of image recognition algorithms. In the image recognition stage, AR glasses use pre-trained machine learning models or deep learning algorithms to analyze the captured images. These models or algorithms have been trained to identify specific types of beverage packaging. By comparing the features in the image with the predefined target beverage package features, the system can determine whether the target beverage package exists in the image. When the system detects the target beverage package, the AR glasses can provide real-time feedback in a variety of ways. For example, it can overlay virtual information (such as product introduction, nutritional information table, etc.) around beverage packaging, or remind users through voice prompts, vibrations, etc. This interactive method not only provides instant information feedback, but also enhances the user's experience and immersion.
[0030] S120, when a target beverage package exists in the image, obtaining nutritional ingredients and preset specific ingredients on the target beverage package, wherein the nutritional ingredients include calories, sugar, fat, protein, and sodium per unit volume, and the preset specific ingredients include caffeine, sugar, and additives; Nutritional ingredients refer to the basic nutrients contained in each unit volume (such as per 100 ml or per serving) of a beverage, which have an important impact on human health. In the embodiment of the present application, the nutritional ingredients include calories, sugars, fats, proteins and sodium per unit volume. This information is usually presented in the form of labels or lists in a prominent position on the beverage packaging so that consumers can easily view it. AR glasses can recognize and read these nutritional information on the beverage packaging through their built-in cameras and image recognition technology. This may require the use of optical character recognition (OCR) technology to parse the text on the packaging, or quickly locate and extract relevant information through predefined template matching. Preset specific ingredients refer to ingredients that require special attention based on specific health concerns or regulatory requirements. In the embodiment of the present application, the preset specific ingredients include caffeine, sugars and additives. These ingredients may have potential health risks for certain groups of people (such as children, pregnant women, people who are sensitive to caffeine, etc.), or be restricted by regulations in specific regions. Similar to nutritional ingredients, information about preset specific ingredients may also appear in text form on the label or instructions of the beverage packaging. AR glasses can recognize and extract this information through image recognition and text parsing technology. In some cases, if the information about a specific ingredient is not clear enough or not directly marked on the packaging, the system may make inferences and estimates based on known databases or algorithms.
[0031] S130, determining the grade of the target beverage corresponding to the target beverage package according to the nutritional components, and determining a health risk index according to the grade combined with the preset specific components; The embodiment of the present application can analyze ingredients and nutrition labels through a transform model to provide consumers with tailored health information. The grade of the beverage is determined based on the nutritional information marked on the target beverage package. This process may involve a preset evaluation standard or algorithm that takes into account factors such as the weight of different nutrients, the recommended intake range, and their impact on human health. Specifically, the system may compare the content of nutrients such as calories, sugars, fats, proteins, and sodium with preset reference values or ranges, and then give a comprehensive score or grade based on the comparison results. This grade may be a continuous scale from "healthy" to "unhealthy", or it may be a specific classification (such as A+, A, B, C, etc.). After determining the grade of the target beverage, the system will further consider the impact of preset specific ingredients (such as caffeine, sugar, and additives) to evaluate the health risk index of the beverage. This process may involve separate evaluations of specific ingredients, such as checking whether the caffeine content exceeds the recommended value for safe intake, whether excessive sugar content may lead to an increased risk of obesity or diabetes, and whether the use of additives complies with relevant regulations and safety standards. The system then combines the beverage's rating with the assessment results of specific ingredients and calculates a comprehensive health risk index through an algorithm or model. This index may be a numerical value or a classification label (such as "low risk", "medium risk", "high risk", etc.) to indicate the health risk level of the beverage under specific conditions.
[0032] Optionally, determining the grade of the target beverage corresponding to the target beverage package according to the nutritional components includes: comparing the predetermined ingredients to predetermined ingredient standards to determine a sub-grade for each predetermined ingredient, the predetermined ingredients comprising saturated fat, trans fat, sugars, and protein; A sub-level set is constructed according to the sub-levels of the plurality of preset ingredients, and the lowest level in the sub-level set is determined as the level of the beverage.
[0033] Assume that the target beverage packaging has the following nutritional information: Saturated fat: 2 g / 100 ml; Trans fat: 0 g / 100 ml; Sugar: 15 g / 100 ml; Protein: 1 g / 100 ml.
[0034] There is also a set of preset ingredient criteria that assess the healthiness of each ingredient and give it a sub-grade rating: Saturated fat: ≤1 g / 100 ml is Grade A, 1-3 g / 100 ml is Grade B, and >3 g / 100 ml is Grade C; Trans fat: 0 g / 100 ml is Grade A, and >0 g / 100 ml is Grade C (because trans fat is harmful to health, the standards are stricter); Sugar: ≤5 g / 100 ml is Grade A, 5-10 g / 100 ml is Grade B, and >10 g / 100 ml is Grade C; Protein: ≥3 g / 100 ml is Grade A, 1-3 g / 100 ml is Grade B, and <1 g / 100 ml is Grade C.
[0035] Based on the nutritional content of the beverage and the preset standards, a sub-grade can be determined for each preset ingredient: Saturated fat: 2 g / 100 ml, corresponding to grade B; trans fat: 0 g / 100 ml, corresponding to grade A; sugar: 15 g / 100 ml, corresponding to grade C; protein: 1 g / 100 ml, corresponding to grade B.
[0036] These sub-grades are constructed into a set: [B, A, C, B]. According to the rule, the lowest grade in the set (i.e., grade C) is determined as the grade of the beverage. Therefore, the grade of this target beverage is determined to be grade C. This means that although it performs relatively well in terms of saturated fat and trans fat (grades B and A), the high sugar content (grade C) pulls down the overall grade. Consumers may notice this when making a choice and consider whether there are healthier alternatives.
[0037] By comparing key nutrients in beverages (such as saturated fat, trans fat, sugar and protein) with preset health standards, each ingredient can be accurately assigned a sub-grade. This precision helps consumers understand the health effects of various ingredients in beverages more accurately, so as to make more informed purchasing and consumption decisions. This method of constructing a sub-grade set and determining the lowest grade in the set as the overall grade of the beverage ensures the comprehensiveness and comprehensiveness of the evaluation. Even if a beverage performs well on some ingredients, its overall grade will be affected as long as one or more ingredients are below the health standard. This comprehensive evaluation method helps to highlight the potential health risks in beverages and remind consumers to pay attention. By displaying the grade of the beverage and the sub-grades of each ingredient, the technology also plays a role in consumer education. It helps consumers recognize the impact of different ingredients on health and enhances their health awareness and knowledge. This educational effect helps to promote the popularization and development of a healthy eating culture. For beverage manufacturers, the technology provides an objective evaluation standard to prompt them to pay attention to the nutrients and health risks in their products. In order to improve the grade of their products and attract more health-conscious consumers, manufacturers may actively optimize their formulas, reduce the use of unhealthy ingredients, and launch healthier alternatives. This will help promote the healthy transformation of the entire beverage industry and enhance market competitiveness. In the application scenarios of smart devices such as AR glasses, this technology can achieve instant feedback and personalized services. Consumers can immediately obtain the grade and related information of the beverage by simply scanning the beverage packaging, without having to consult complex nutritional information tables or perform tedious calculations. This convenience improves consumers' shopping experience and satisfaction.
[0038] Optionally, determining the grade of the target beverage corresponding to the target beverage package according to the nutritional components includes: comparing the predetermined ingredients to predetermined ingredient standards to determine a grade score for each predetermined ingredient, the predetermined ingredients including saturated fat, trans fat, sugar, and protein; The grade points of the plurality of preset ingredients are weightedly summed to obtain a total grade point, and a target grade corresponding to the total grade point is determined according to a preset correspondence table, and the target grade is determined as the grade of the target beverage.
[0039] Assume that the nutritional composition of the target beverage is as follows: Saturated fat: 2 g / 100 ml; Trans fat: 0 g / 100 ml; Sugar: 12 g / 100 ml; Protein: 2 g / 100 ml.
[0040] At the same time, the following preset ingredient standards and their corresponding grade points are set: Saturated fat: <1 g / 100 ml = 10 points, 1-3 g / 100 ml = 5 points, >3 g / 100 ml = 0 points; Trans fat: 0 g / 100 ml = 10 points, >0 g / 100 ml = 0 points; Sugar: <5 g / 100 ml = 10 points, 5-10 g / 100 ml = 5 points, >10 g / 100 ml = 0 points; Protein: ≥3 g / 100 ml = 10 points, 1-3 g / 100 ml = 5 points, <1 g / 100 ml = 0 points.
[0041] Furthermore, different weights are assigned to each component: Saturated fat: 20%; Trans fat: 30%; Sugar: 30%; Protein: 20%.
[0042] According to the preset criteria, the grade of each component can be determined: Saturated fat: 2 g / 100 ml, corresponding to 5 points; Trans fat: 0 g / 100 ml, corresponding to a 10-point rating; Sugar content: 12 g / 100 ml. Since it falls between 5-10 g / 100 ml and >10 g / 100 ml, but is closer to the latter, 3 points may be given as appropriate (for simplicity here, the actual situation may require a more detailed division); Protein: 2 g / 100 ml, corresponding to 5 points; Perform weighted summation of the rating points according to the weights: Total grade points = (5*20%) + (10*30%) + (3*30%) + (5*20%) = 1+3+0.9+1=5.9.
[0043] Determine the target level corresponding to the total level score according to the preset correspondence table. Assume that the correspondence table is as follows: A grade is A if the total grade score ≥ 8; B grade is B if the total grade score 6≤<8; C grade is C if the total grade score 4≤<6; D grade is D.
[0044] Since the total grade is 5.9, it falls between 4 and 6, so the target beverage is graded as C.
[0045] By comparing the preset ingredients with the preset ingredient standards, the determination of the grade points is ensured to be scientifically based and objective. The grade points of each ingredient are derived based on clear standards and rules, which reduces the influence of subjective judgment and personal preference, making the grade assessment more fair and accurate. Not only the impact of a single ingredient is considered, but also the grade points of multiple ingredients are combined by weighted summation to obtain the total grade point. This comprehensive evaluation method can fully reflect the comprehensive performance of various nutrients in the beverage and avoid the one-sidedness of focusing only on a single ingredient. The total grade point is mapped to a specific target grade through a preset correspondence table, and the technology can be adjusted and optimized according to different needs and scenarios. The preset correspondence table can be updated based on the latest scientific research, health guidelines or market trends to adapt to changing health needs and consumer preferences.
[0046] Optionally, determining the health risk index according to the level in combination with the preset specific component includes: comparing the caffeine content with a preset caffeine standard to determine a first score, comparing the sugar content with a preset sugar standard to determine a second score, and comparing the additive content with a preset additive standard to determine a third score; The grade is converted into a fourth score, and the first score, the second score, the third score and the fourth score are weightedly summed to obtain a health risk index.
[0047] Assume that the target beverage is graded B, and the specific values of its caffeine content, sugar content, and additive content are known. To simplify the description, the following preset standards and corresponding score ranges are set: Caffeine Content: <50 mg / 100 mL = 5 points (low risk); 50-100 mg / 100 mL = 3 points (medium risk); 100 mg / 100 mL = 1 point (high risk); Sugar Content: <5 g / 100 ml = 5 points (low risk); 5-10 g / 100 ml = 3 points (medium risk); 10 g / 100 ml = 1 point (high risk); Additive content: No additives = 5 points (low risk); small amounts of additives (specific amounts to be defined according to regulations or industry standards) = 3 points (medium risk); large amounts of additives = 1 point (high risk); At the same time, the grades are also converted into scores. Assume that the corresponding relationship between grades and scores is as follows: Grade A = 10 points; Grade B = 7 points; Grade C = 4 points; Grade D = 1 point.
[0048] Now, suppose the target beverage has the following specific values: Caffeine content: 80 mg / 100 ml; Sugar content: 12 g / 100 ml; Additive content: small amount (small amount of additives in compliance with regulatory requirements).
[0049] Since the caffeine content is 80 mg / 100 ml, which falls within the range of 50-100 mg, the first score is 3 points. The sugar content is 12 g / 100 ml, which exceeds 10 g, so the second score is 1 point. The additive content is a small amount, which meets the regulatory requirements for a small amount of additives, so the third score is 3 points. The grade is B, and the corresponding fourth score is 7 points.
[0050] Assign weights to each score (for simplicity, assume that each score has an equal weight, i.e. 25% each): Health risk index = (3*0.25) + (1*0.25) + (3*0.25) + (7*0.25) = 0.75+0.25+0.75+1.75=3.5.
[0051] By combining the beverage's grade (based on a comprehensive evaluation of multiple nutrients) and the individual assessment of specific ingredients (such as caffeine, sugar, additives), a comprehensive health risk index is provided. This comprehensive assessment method can more accurately reflect the overall health risk of beverages and provide consumers with more valuable reference information. By setting specific preset standards and corresponding score ranges for different ingredients, the technology can more accurately assess the potential impact of each ingredient on health. This accuracy helps consumers better understand the health risks of various ingredients in beverages and make more reasonable dietary choices accordingly. The preset standards and score ranges can be adjusted and optimized based on the latest scientific research, health guidelines or market demand. This flexibility ensures that the technology can keep up with the changes of the times and adapt to changing health needs and consumer preferences. By clearly displaying the health risk index, the technology helps to increase consumers' attention to the health attributes of beverages. Consumers can more intuitively understand the health differences between different beverages, thereby enhancing their awareness and motivation for healthy eating.
[0052] S140, determining suitable population groups and the recommended intake amount of the target beverage in each cycle according to the health risk index.
[0053] If the target beverage has a low health risk index, it indicates that its overall health risk is small and suitable for most people. Such beverages may contain less caffeine, sugar and additives, while having a higher level of nutrients. Therefore, it is suitable for generally healthy people, children (under the premise of properly controlling the amount), the elderly and people with special dietary needs but not allergic or intolerant to the ingredients of the beverage. For beverages with a medium health risk index, it is necessary to be more cautious in determining the appropriate population. Such beverages may contain a certain amount of caffeine, sugar or additives, but still within the acceptable range. It may be suitable for healthy adults, but those who are sensitive to caffeine, sugar or have related health problems (such as diabetes, high blood pressure) are advised to reduce their intake or avoid drinking. If the target beverage has a high health risk index, it indicates that it may contain high caffeine, sugar, additives or other ingredients that are not good for health. Such beverages may not be suitable for all people, especially children, pregnant women, the elderly, people with chronic diseases (such as cardiovascular disease, diabetes) or people who need special dietary control. For these high-risk groups, it is recommended to avoid drinking or strictly limit the intake. Different recommended intakes can be set according to the high and low health risk indexes. Generally speaking, the lower the risk index, the larger the recommended intake can be; conversely, the higher the risk index, the smaller the recommended intake should be. In addition to the health risk index, individual differences also need to be considered. Different people's age, gender, weight, health status, activity level and other factors will affect their response and metabolic capacity to the ingredients in the beverage. Therefore, when formulating recommended intakes, these individual differences should be taken into account as much as possible. The recommended intake should generally be set based on a reasonable period, such as daily, weekly or monthly. This period should be determined based on the characteristics of the beverage, the consumer's drinking habits, and health goals. For example, for beverages containing caffeine, the recommended daily intake may be lower; while for some functional beverages or supplements, the recommended intake may need to be set based on a longer period.
[0054] Optionally, determining the appropriate population and the recommended intake amount of the target beverage in each cycle according to the health risk index includes: Preliminarily classify the population according to the health risk index and the preset appropriate population classification standards, wherein the preset appropriate population classification standards include age, gender and health status; Dividing the preliminarily divided population by combining the first score, the second score and the third score in the health risk index to determine the appropriate population; Determining the recommended intake of each ingredient, and calculating the basic recommended intake in each period based on the content of each ingredient in the target beverage and the recommended intake; The basic recommended intake is adjusted according to the category of the appropriate population.
[0055] According to the health risk index and the preset suitable population classification standards (including age, gender and health status), potential consumers are preliminarily divided into different groups. This step is based on general health knowledge and epidemiological data to roughly divide the population into different categories, such as children, adolescents, adults (which can be further divided into men and women), the elderly, and people with specific health conditions (such as diabetes, hypertension, heart disease, etc.). On the basis of the preliminary division, the population is further divided into detailed groups based on the specific scores in the health risk index (i.e., the first score, second score and third score of caffeine, sugar and additives). This step takes into account the health risks of specific ingredients in the target beverage and the potential impact of these risks on different populations. For example, for people who are sensitive to caffeine, even if the overall health risk index is not high, but the caffeine score is high, they may be classified as suitable people who need to limit their intake. It is necessary to determine the recommended intake of ingredients such as caffeine, sugar and additives. These recommended intakes are usually based on the recommendations of authoritative health institutions or research institutions, taking into account the human body's tolerance to these ingredients and potential health risks. For example, the World Health Organization (WHO) and health departments of various countries usually issue guidelines on caffeine and sugar intake. Based on the content of each ingredient in the target beverage and the recommended intake mentioned above, the basic recommended intake for each period can be calculated. This calculation process needs to take into account the actual content of each ingredient in the beverage and their proportion in the recommended intake. For example, if the sugar content of the target beverage is close to or exceeds half of the recommended daily intake, the recommended intake needs to be reduced accordingly. The basic recommended intake is adjusted according to the category of suitable people. This step takes into account the differences in sensitivity and metabolic capacity of different populations to beverage ingredients. For example, for children, the elderly or people with specific diseases, it may be necessary to further reduce the intake of caffeine, sugar or additives. At the same time, factors such as individual weight and activity level also need to be considered to provide more personalized advice.
[0056] By comprehensively considering the health risk index, the preset classification standards for suitable populations (age, gender, health status) and the content of specific ingredients in the target beverages, the accurate division of suitable populations and the formulation of personalized recommended intakes are achieved. This personalized and precise method can better meet the health needs of different populations and improve the pertinence and effectiveness of health guidance. Based on the recommended intake of authoritative health institutions or research institutions, combined with the actual content of ingredients in the target beverages, the basic recommended intake for each cycle is obtained through scientific calculation methods. This process ensures the scientificity and rationality of the recommended intake, and helps to avoid the adverse effects of excessive or insufficient intake on health. Not only the health risks of specific ingredients such as caffeine, sugar and additives in the target beverages are considered, but also the age, gender and health status of the population are combined for a comprehensive assessment. This comprehensive approach can more accurately reflect the adaptability and potential risks of different populations to target beverages, and provide a more comprehensive basis for formulating suitable populations and recommended intakes.
[0057] Optionally, the method further includes: Obtaining the user's personal health information and data on beverages consumed in the current period, the personal health information including medical history, height, weight, age and gender, and the data on beverages consumed including the volume of beverages consumed and the ingredients of beverages consumed; determining whether the target beverage is suitable for the user according to the personal health information and the consumed beverage data; When the target beverage is suitable for the user, a recommended intake amount of the target beverage in the current cycle is calculated.
[0058] Personal health information includes key information such as the user's medical history, height, weight, age, and gender. This information is crucial for assessing the user's health status, metabolic capacity, and potential health risks. For example, users with diabetes need to pay special attention to the sugar content in beverages; and the elderly may have a low tolerance for caffeine. The data on beverages consumed includes the volume of beverages that the user has consumed in the current cycle and the specific ingredients of these beverages. This data helps to understand the user's current beverage intake, including whether the recommended upper limit of intake of certain ingredients has been reached, or whether there is a lack of certain ingredients. This data can be obtained through AR glasses or input by the user. After obtaining the user's personal health information and the data on beverages consumed, the next step is to comprehensively evaluate whether the target beverage is suitable for the user based on this information. This evaluation process may involve the following considerations: checking whether the ingredients in the target beverage match the user's health needs. For example, if the user needs to control sugar intake, high-sugar beverages may not be suitable; combining the user's beverage data to evaluate whether the user has enough room to consume the target beverage in the current cycle without exceeding the recommended upper limit of intake of various ingredients; considering whether the ingredients in the target beverage may aggravate the user's health condition or cause adverse reactions. For example, caffeine may have potential risks for certain groups of people (such as heart patients).
[0059] If it is determined that the target beverage is suitable for the user, then the next step is to calculate the target amount of beverage that the user is recommended to consume in the current cycle. This calculation process will be based on the following factors: based on the beverage data that the user has consumed and the recommended upper limit of intake of various ingredients, calculate the remaining amount that the user can consume in the current cycle; combined with the content of various ingredients in the target beverage, calculate the target amount of beverage that the user can consume in the current cycle to ensure that it does not exceed the recommended upper limit of intake of various ingredients. The recommended intake is personalized according to the user's personal health information and needs. For example, for users who need to control their weight, the intake of beverages can be appropriately reduced; for users who need to supplement specific nutrients, the intake of beverages containing such nutrients can be appropriately increased.
[0060] By collecting the user's personal health information (such as medical history, height, weight, age, gender) and the data of beverages consumed, the user's health status and beverage intake habits can be understood more accurately. This helps to provide users with more personalized health guidance and ensure that the recommended intake meets the user's actual needs and health status. Combining the user's personal health information and beverage intake data, it is possible to more scientifically evaluate whether the target beverage is suitable for the user. This avoids the health risks that may be caused by blind recommendations or excessive intake, and improves the scientificity and effectiveness of health management. By calculating the recommended intake in the current cycle, it can help users better manage their beverage intake. It takes into account the amount and ingredients of beverages that the user has already consumed, ensuring that the user does not exceed the recommended intake limit of various ingredients when consuming the target beverage, thereby maintaining a healthy dietary balance. By providing personalized health guidance and recommended intake, users can manage their beverage intake more conveniently. It reduces user confusion and uncertainty and improves user satisfaction and experience.
[0061] Optionally, the method further includes: Reading the QR code on the target beverage package to obtain the batch of the target beverage, and querying whether there is a problem with the target beverage in the batch; When there is no problem with the target beverage in the batch, reading the production date and shelf life on the package of the target beverage, and determining the remaining days of the target beverage according to the production date and the shelf life; The display color of the remaining days on the AR glasses is determined according to the ratio of the remaining days to the shelf life.
[0062] The user uses AR glasses to scan the QR code on the target beverage package. This QR code usually contains detailed information about the beverage, the most important of which is the batch number. The batch number allows the system to quickly locate a specific batch of target beverages for subsequent quality checks. When the system obtains the batch number, it will automatically query a backend database or quality management system to confirm whether there are any quality problems with the batch of target beverages, such as recalls, contamination, or expiration. Ensure that consumers can know whether the beverage is safe to drink before purchasing to avoid potential health risks. If the query result shows that there is no problem with the batch of beverages, the system will then read the production date and shelf life information on the beverage packaging. Based on these two dates, the system will calculate the remaining days of the beverage. In order to more intuitively display the remaining shelf life of the beverage, the system will calculate the ratio of the remaining days to the shelf life (for example, remaining days / shelf life*100%). Then, depending on the size of this ratio, the remaining days are displayed in different colors on the AR glasses. For example, if the ratio is high (indicating a long remaining time), it may be displayed in green; if the ratio is moderate, it may be displayed in yellow; if the ratio is low (indicating that it is about to expire), it may be displayed in red. Through the intuitive display of colors, consumers can quickly understand the freshness and shelf life of the beverage, so as to make more informed purchasing and consumption decisions.
[0063] By scanning the QR code to directly obtain the batch information of the target beverage, consumers can easily query the details of the batch of beverages, including whether there are any quality problems. This instant information query mechanism increases the transparency of product information, allowing consumers to make more informed choices before purchasing. After querying the batch information to confirm that there is no problem with the beverage, the remaining shelf life is further obtained and calculated. This process effectively helps consumers avoid purchasing expired or quality-prone beverages, thereby ensuring the health and safety of consumers. The entire process is implemented by digital means, and consumers do not need to manually calculate or find the production date and shelf life, which greatly saves time and energy. At the same time, using AR glasses for information display allows consumers to intuitively see the remaining shelf life of the beverage, further improving the convenience of shopping. For manufacturers, this technical process also helps them better manage product quality and conduct product recalls. Through the quick query and feedback mechanism of batch information, manufacturers can promptly discover and solve potential quality problems and reduce consumer complaints and market risks caused by product problems. Displaying the remaining days on AR glasses in different colors not only provides intuitive visual feedback, but also increases the fun and interactivity of shopping. This innovative display method helps to enhance users' shopping experience and brand loyalty.
[0064] This embodiment also discloses a system for predicting the health effects of beverages based on packaging. Figure 2is a schematic diagram of a module of a system for predicting the health effects of beverages based on packaging disclosed in an embodiment of the present application, such as Figure 2 As shown, the system includes a judgment module 201, a collection module 202, a calculation module 203 and a suggestion module 204, wherein: A judgment module 201 is configured to obtain an image in the user's field of view in real time and judge whether a target beverage package exists in the image; The acquisition module 202 is configured to acquire the nutritional components and preset specific components on the target beverage package when there is a target beverage package in the image, wherein the nutritional components include calories, sugar, fat, protein and sodium per unit volume, and the preset specific components include caffeine, sugar and additives; A calculation module 203 is configured to determine the grade of the target beverage corresponding to the target beverage package according to the nutritional components, and determine a health risk index according to the grade combined with the preset specific components; The recommendation module 204 is configured to determine suitable groups of people and the recommended intake amount of the target beverage in each cycle according to the health risk index.
[0065] Optionally, the calculation module 203 is configured to: comparing the predetermined ingredients to predetermined ingredient standards to determine a sub-grade for each predetermined ingredient, the predetermined ingredients comprising saturated fat, trans fat, sugars, and protein; A sub-level set is constructed according to the sub-levels of the plurality of preset ingredients, and the lowest level in the sub-level set is determined as the level of the beverage.
[0066] Optionally, the calculation module 203 is configured to: comparing the predetermined ingredients to predetermined ingredient standards to determine a grade score for each predetermined ingredient, the predetermined ingredients including saturated fat, trans fat, sugar, and protein; The grade points of the plurality of preset ingredients are weightedly summed to obtain a total grade point, and a target grade corresponding to the total grade point is determined according to a preset correspondence table, and the target grade is determined as the grade of the target beverage.
[0067] Optionally, the calculation module 203 is configured to: comparing the caffeine content with a preset caffeine standard to determine a first score, comparing the sugar content with a preset sugar standard to determine a second score, and comparing the additive content with a preset additive standard to determine a third score; The grade is converted into a fourth score, and the first score, the second score, the third score and the fourth score are weightedly summed to obtain a health risk index.
[0068] Optionally, the suggestion module 204 is configured to: Preliminarily classify the population according to the health risk index and the preset appropriate population classification standards, wherein the preset appropriate population classification standards include age, gender and health status; Dividing the preliminarily divided population by combining the first score, the second score and the third score in the health risk index to determine the appropriate population; Determining the recommended intake of each ingredient, and calculating the basic recommended intake in each period based on the content of each ingredient in the target beverage and the recommended intake; The basic recommended intake is adjusted according to the category of the appropriate population.
[0069] Optionally, the system further comprises a personal module, wherein the personal module is configured to: Obtaining the user's personal health information and data on beverages consumed in the current period, the personal health information including medical history, height, weight, age and gender, and the data on beverages consumed including the volume of beverages consumed and the ingredients of beverages consumed; determining whether the target beverage is suitable for the user according to the personal health information and the consumed beverage data; When the target beverage is suitable for the user, a recommended intake amount of the target beverage in the current cycle is calculated.
[0070] Optionally, the system further comprises a display module, wherein the display module is configured to: Reading the QR code on the target beverage package to obtain the batch of the target beverage, and querying whether there is a problem with the target beverage in the batch; When there is no problem with the target beverage in the batch, reading the production date and shelf life on the package of the target beverage, and determining the remaining days of the target beverage according to the production date and the shelf life; The display color of the remaining days on the AR glasses is determined according to the ratio of the remaining days to the shelf life.
[0071] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0072] This embodiment also discloses an electronic device, referring to Figure 3The electronic device may include: at least one processor 301 , at least one communication bus 302 , a user interface 303 , a network interface 304 , and at least one memory 305 .
[0073] The communication bus 302 is used to realize the connection and communication between these components.
[0074] The user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0075] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0076] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.
[0077] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may also be optionally at least one storage device located away from the aforementioned processor 301. As Figure 3 As shown, the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program for a method for predicting the health effects of beverages based on packaging.
[0078] exist Figure 3 In the electronic device shown, the user interface 303 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 301 can be used to call the application program stored in the memory 305 for the method of predicting the health effects of beverages based on packaging. When executed by one or more processors 301, the electronic device executes one or more methods in the above-mentioned embodiments.
[0079] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0080] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0081] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which 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 service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0082] 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.
[0083] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0084] 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 memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory 305 and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory 305 includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk.
[0085] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A method for predicting the health effects of beverages based on packaging, characterized in that: Applied to AR glasses, the method comprises: Acquire an image in the user's field of view in real time, and determine whether a target beverage package exists in the image; When the target beverage package exists in the image, obtaining nutritional ingredients and preset specific ingredients on the target beverage package, wherein the nutritional ingredients include calories, sugar, fat, protein and sodium per unit volume, and the preset specific ingredients include caffeine, sugar and additives; Determine the grade of the target beverage corresponding to the target beverage package according to the nutritional components, and determine the health risk index according to the grade combined with the preset specific components; The appropriate population and the recommended intake amount of the target beverage in each cycle are determined according to the health risk index.
2. The method for predicting the health effects of beverages based on packaging according to claim 1, characterized in that: The step of determining the grade of the target beverage corresponding to the target beverage package according to the nutritional components includes: comparing the predetermined ingredients to predetermined ingredient standards to determine a sub-grade for each predetermined ingredient, the predetermined ingredients comprising saturated fat, trans fat, sugars, and protein; A sub-level set is constructed according to the sub-levels of the plurality of preset ingredients, and the lowest level in the sub-level set is determined as the level of the beverage.
3. The method for predicting the health effects of beverages based on packaging according to claim 1, characterized in that: The step of determining the grade of the target beverage corresponding to the target beverage package according to the nutritional components includes: comparing the predetermined ingredients to predetermined ingredient standards to determine a grade score for each predetermined ingredient, the predetermined ingredients including saturated fat, trans fat, sugar, and protein; The grade points of the plurality of preset ingredients are weightedly summed to obtain a total grade point, and a target grade corresponding to the total grade point is determined according to a preset correspondence table, and the target grade is determined as the grade of the target beverage.
4. The method for predicting the health effects of beverages based on packaging according to claim 1, characterized in that: Determining the health risk index according to the level combined with the preset specific component includes: comparing the caffeine content with a preset caffeine standard to determine a first score, comparing the sugar content with a preset sugar standard to determine a second score, and comparing the additive content with a preset additive standard to determine a third score; The grade is converted into a fourth score, and the first score, the second score, the third score and the fourth score are weightedly summed to obtain a health risk index.
5. The method for predicting the health effects of beverages based on packaging according to claim 4, characterized in that: Determining the appropriate population and the recommended intake amount of the target beverage in each cycle according to the health risk index includes: Preliminarily classify the population according to the health risk index and the preset appropriate population classification standards, wherein the preset appropriate population classification standards include age, gender and health status; Dividing the preliminarily divided population by combining the first score, the second score and the third score in the health risk index to determine the appropriate population; Determining the recommended intake of each ingredient, and calculating the basic recommended intake in each period based on the content of each ingredient in the target beverage and the recommended intake; The basic recommended intake is adjusted according to the category of the appropriate population.
6. The method for predicting the health effects of beverages based on packaging according to claim 1, characterized in that: The method further comprises: Obtaining the user's personal health information and data on beverages consumed in the current period, the personal health information including medical history, height, weight, age and gender, and the data on beverages consumed including the volume of beverages consumed and the ingredients of beverages consumed; determining whether the target beverage is suitable for the user according to the personal health information and the consumed beverage data; When the target beverage is suitable for the user, a recommended intake amount of the target beverage in the current cycle is calculated.
7. The method for predicting the health effects of beverages based on packaging according to claim 1, characterized in that: The method further comprises: Reading the QR code on the target beverage package to obtain the batch of the target beverage, and querying whether there is a problem with the target beverage in the batch; When there is no problem with the target beverage in the batch, reading the production date and shelf life on the package of the target beverage, and determining the remaining days of the target beverage according to the production date and the shelf life; The display color of the remaining days on the AR glasses is determined according to the ratio of the remaining days to the shelf life.
8. A system for predicting the health effects of beverages based on packaging, characterized in that: It includes a judgment module, a collection module, a calculation module and a suggestion module, among which: A judgment module, configured to obtain an image in the user's field of view in real time, and judge whether a target beverage package exists in the image; a collection module configured to obtain nutritional ingredients and preset specific ingredients on the target beverage package when there is a target beverage package in the image, wherein the nutritional ingredients include calories, sugar, fat, protein and sodium per unit volume, and the preset specific ingredients include caffeine, sugar and additives; a calculation module configured to determine the grade of the target beverage corresponding to the target beverage package according to the nutritional components, and determine a health risk index according to the grade combined with the preset specific components; The recommendation module is configured to determine the appropriate population and the recommended intake amount of the target beverage in each cycle according to the health risk index.
9. An electronic device, characterized in that: It includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 7 is executed.
