CN112632935A - Food nutrition label generation method, computer device and storage medium - Google Patents

Food nutrition label generation method, computer device and storage medium Download PDF

Info

Publication number
CN112632935A
CN112632935A CN202011541584.5A CN202011541584A CN112632935A CN 112632935 A CN112632935 A CN 112632935A CN 202011541584 A CN202011541584 A CN 202011541584A CN 112632935 A CN112632935 A CN 112632935A
Authority
CN
China
Prior art keywords
nutrient
food
interaction page
human
nutritional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011541584.5A
Other languages
Chinese (zh)
Other versions
CN112632935B (en
Inventor
黄利华
陈林
陈巧明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou City Polytechnic
Original Assignee
Guangzhou City Polytechnic
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou City Polytechnic filed Critical Guangzhou City Polytechnic
Priority to CN202011541584.5A priority Critical patent/CN112632935B/en
Publication of CN112632935A publication Critical patent/CN112632935A/en
Application granted granted Critical
Publication of CN112632935B publication Critical patent/CN112632935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses a food nutrition label generation method, a computer device and a storage medium, wherein the food nutrition label generation method comprises the steps of obtaining the input of a food metering unit and the like through a first human-computer interaction page, displaying a second human-computer interaction page and a nutrition ingredient table, obtaining the input of the content of nutrition ingredients through the second human-computer interaction page, displaying a third human-computer interaction page, a nutrition reference value%, and the like, obtaining the input of a food variety through the third human-computer interaction page, displaying a fourth human-computer interaction page, a nutrition claim and a nutrition function claim and the like. The invention can provide scientific and reliable nutrition reference for consumers when food nutrition labels are not printed on food packages or the consumers choose the food nutrition labels printed on the food packages without trust, does not need to occupy materials to manufacture the food nutrition labels, and has the advantages of high convenience, high efficiency, high accuracy, wide popularity, environmental friendliness and the like. The invention is widely applied to the technical field of computers.

Description

Food nutrition label generation method, computer device and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a food nutrition label generation method, a computer device and a storage medium.
Background
The food nutrition label is a description for providing food nutrition information and characteristics for consumers, and is an effective way for consumers to visually know the nutritional components and characteristics of food. Although the content of the food nutrition label printed on the food package is concise, the food nutrition label is made by a set of complete national standard specifications, and the food nutrition label has certain difficulty and complexity, so that a part of food production units do not have strict execution standards at present, and the food nutrition label printed on the food package produced or sold by the food production units has the problems of inaccurate numerical value and the like, and cannot provide scientific food nutrition information for consumers. However, consumers generally lack professional nutrition knowledge, and if the consumers choose food nutrition labels printed on food packages without reliance, the consumers cannot easily obtain the food nutrition labels for reference by means of operation of the consumers.
Disclosure of Invention
In view of at least one of the above technical problems, it is an object of the present invention to provide a food nutrition tag generation method, a computer device and a storage medium.
In one aspect, embodiments of the present invention include a method for generating a food nutrition label, including:
displaying a first human-computer interaction page;
acquiring the input of food measuring units, food measuring quantity and food forms through the first human-computer interaction page;
displaying a second man-machine interaction page; the second human-computer interaction page comprises a nutrient composition table, the nutrient composition table at least comprises energy and four nutrient compositions, and the four nutrient compositions are determined according to the food metering unit, the food metering quantity and the food form;
acquiring the input of the content of the nutrient components through the second human-computer interaction page, and determining the corresponding relation between the content of the nutrient components and the nutrient components in the nutrient component table;
displaying a third man-machine interaction page; the third man-machine interaction page comprises the nutrient composition table, the nutrient composition content and the nutrient reference value corresponding to each nutrient composition; the nutrient reference value% is determined according to the nutrient content;
acquiring the input of food varieties through the third human-computer interaction page;
displaying a fourth man-machine interaction page; the fourth human-computer interaction page comprises the nutrient composition table, nutrient claims corresponding to each nutrient composition and nutrient function claims corresponding to each nutrient composition; the nutritional claims and nutritional ingredient functional claims are determined from the nutritional reference% values.
Further, the food nutrition label generation method further comprises the following steps:
acquiring modification operation on the food metering unit through the second man-machine interaction page;
modifying the food unit of measure in response to the modifying operation;
and displaying the modified food metering unit on the second man-machine interaction page.
Further, the food nutrition label generation method further comprises the following steps:
acquiring adding operation and/or deleting operation of the nutritional ingredients in the nutritional ingredient list through the second human-computer interaction page;
adding a new nutrient to the nutrient table in response to the adding operation;
deleting part or all of the original nutrients in the nutrient composition table in response to the deletion operation;
and displaying the nutrient composition list after addition and/or deletion on the second human-computer interaction page.
Further, the food nutrition label generation method further comprises the following steps:
obtaining the confirmation operation of the content of the nutrient components through the second human-computer interaction page;
and responding to the confirmation operation, when all the nutrient components in the nutrient component table have the corresponding nutrient component content, skipping to execute the step of displaying the third man-machine interaction page, otherwise, displaying a prompt message through the second man-machine interaction page, wherein the prompt message comprises information for prompting that the nutrient component content is not filled.
Further, the food nutrition label generation method further comprises the following steps:
ranking each of the nutritional components in the nutritional component list;
sorting the content of each nutrient component according to the sorted sequence of each nutrient component and the corresponding relation between each nutrient component and the content of each nutrient component and the nutrient reference value percent, and sorting the nutrient reference value percent;
displaying each nutrient component, each nutrient component content and each nutrient reference value% after being sequenced on the third human-computer interaction page.
Further, the ranking each of the nutrients in the nutrient table includes:
acquiring a national nutrition label formulation standard by accessing a cloud server;
ordering each of the nutritional components according to the national nutritional label established criteria.
Further, the food nutrition label generation method further comprises the following steps:
obtaining a reduction operation on the nutrition reference value% through the third human-computer interaction page;
responding to the reduction operation, and acquiring input of a reduction interval numerical value through the third human-computer interaction page;
pruning the nutrient reference value% according to the pruning interval value;
displaying the amended nutritional reference value% on the third human-computer interaction page.
Further, the food nutrition label generation method further comprises the following steps:
acquiring clearing operation of the nutritional ingredients in the nutritional ingredient list through the fourth human-computer interaction page;
in response to the clearing operation, detecting an absence of a nutritional component of the respective nutritional claim and/or of the respective nutritional component functional claim from the fourth human-computer interaction page display;
removing said nutritional components absent the respective nutritional claim and/or the respective nutritional component functional claim;
and displaying the nutrient composition list after being cleared on the fourth man-machine interaction page.
In another aspect, embodiments of the present invention further include a computer device including a memory for storing at least one program and a processor for loading the at least one program to perform the food nutrition label generation methods of the embodiments.
In another aspect, the present invention further includes a storage medium in which a processor-executable program is stored, the processor-executable program being configured to perform the food nutrition tag generation method according to the embodiment when executed by a processor.
The invention has the beneficial effects that: according to the food nutrition label generation method in the embodiment, the necessary information for generating the food nutrition label is acquired through the first human-computer interaction page, the second human-computer interaction page, the third human-computer interaction page and the fourth human-computer interaction page, and the intermediate result and the final generated result of the food nutrition label are displayed, so that a scientific and reliable nutrition reference can be provided for a consumer when the food nutrition label is not printed on a food package or the consumer selects the food nutrition label printed on the food package without trust. The food nutrition label generation method in the embodiment is operated by using the intelligent terminal such as the mobile phone, does not need to occupy materials to manufacture the food nutrition label, does not require a user to have food nutrition professional knowledge, and has the advantages of high convenience, high efficiency, high accuracy, wide popularity, environmental friendliness and the like.
Drawings
FIG. 1 is a flow chart of a method for generating a food nutrition label in an embodiment;
FIG. 2, FIG. 3 and FIG. 4 are schematic diagrams of sub-page contents of a first human-machine interaction page in an embodiment, respectively;
FIG. 5, FIG. 6, FIG. 7, FIG. 8, FIG. 9, FIG. 10, FIG. 11 and FIG. 12 are sub-page content diagrams of a second human-machine interaction page in an embodiment, respectively;
FIG. 13, FIG. 14, FIG. 15 and FIG. 16 are sub-page content diagrams of a third human-computer interaction page in the embodiment, respectively;
FIG. 17, FIG. 18, and FIG. 19 are diagrams illustrating sub-page contents of a fourth human-computer interaction page in the embodiment, respectively.
Detailed Description
In this embodiment, an independent personal computer application program or a mobile phone APP may be developed by writing a computer program to run the food nutrition tag generation method, or an applet integrated in a WeChat may be developed in languages such as wxss to run the food nutrition tag generation method. The user can use a mobile phone running the APP or the applet to input necessary data to the APP or the applet under the prompt of the page of the APP or the applet, and the APP or the applet processes the data and then displays the processing result to the user for viewing.
In this embodiment, referring to fig. 1, the method for generating a food nutrition label includes the following steps:
s1, displaying a first human-computer interaction page;
s2, acquiring input of food metering units, food metering quantity and food forms through a first man-machine interaction page;
s3, displaying a second man-machine interaction page; the second human-computer interaction page comprises a nutrient composition table, wherein the nutrient composition table at least comprises energy and four nutrient compositions, and the four nutrient compositions are determined according to food metering units, food metering quantities and food forms;
s4, acquiring the input of the content of the nutrient components through a second man-machine interaction page, and determining the corresponding relation between the content of the nutrient components and the nutrient components in the nutrient component table;
s5, displaying a third man-machine interaction page; the third human-computer interaction page comprises a nutrient composition table, nutrient composition contents corresponding to all nutrient compositions and nutrient reference values; the nutrient reference value% is determined according to the content of the nutrient components;
s6, acquiring the input of food varieties through a third man-machine interaction page;
s7, displaying a fourth man-machine interaction page; the fourth human-computer interaction page comprises a nutrient composition table, nutrient claims corresponding to all nutrient compositions and nutrient function claims corresponding to all nutrient compositions; the nutritional claims are determined in% from nutritional reference values and the nutritional component function claims are determined from nutritional claims.
In step S1, the content of the first human-machine interaction page is as shown in fig. 2, 3 and 4. Wherein, fig. 2, fig. 3 and fig. 4 are sub-pages of the first human-machine interaction page, respectively.
In step S2, the APP or the applet respectively obtains the food measuring unit, the food measuring amount and the food form input by the user through the sub-pages shown in fig. 2, fig. 3 and fig. 4.
In the sub-page shown in fig. 2, the APP or applet requests confirmation of the food metering unit, in particular confirmation of the use of the portion metering unit or the use of other metering units. When the measured units by portion are selected for use, the first human-machine-interaction page jumps to the sub-page shown in fig. 3, requesting the input of a measured quantity of food, specifically the content of each food. When other units of measure are selected for use, the first human interaction page may request to enter the content in units of 100g/ml as a measured quantity of food.
In the sub-page shown in fig. 4, the APP or applet requests confirmation of the food form, in particular whether the food is liquid or not. APP or the applet will determine the nutritional content of the food product in a subsequent step depending on whether the food product is liquid or not.
In step S3, the contents of the second human-machine interaction page are as shown in fig. 5, 6, 7, 8, 9, 10, 11, and 12. Wherein fig. 5, 6, 7, 8, 9, 10, 11 and 12 are sub-pages of a second human-machine interaction page, respectively, in which sub-pages a nutritional ingredient list is displayed, the nutritional ingredient list including energy and at least four nutritional ingredients including protein, fat, carbohydrate, sodium, etc., the nutritional ingredients being measured in food measuring units and food measuring quantities of 50mL per serving. In this embodiment, the types of the nutritional components specifically included in the nutritional component table are determined by referring to a data table or the like based on the food measurement unit, the measured amount of the food, and the food form obtained in step S2.
In step S4, the APP or applet obtains the input of the nutrient content through the sub-page shown in fig. 5, and determines the correspondence between the nutrient content and the nutrients in the nutrient table. In the sub-page shown in fig. 5, an input box is provided behind each nutrient component, prompt information of "please input" is displayed in the input box, and units such as "kilojoule" and "gram" are displayed outside the input box to prompt the user to input the content of the nutrient component. The user inputs the contents of various nutritional ingredients into an input box behind the corresponding nutritional ingredients, after a confirmation key is clicked, the APP or the small program obtains specific numerical values of the contents of the nutritional ingredients, and the corresponding relation between the contents of the nutritional ingredients and the nutritional ingredients is determined through the input box where the contents of the nutritional ingredients are located.
In this embodiment, the APP or the applet further obtains the modification operation of the food metering unit by the user through the sub-page shown in fig. 6. The user can click "modify calculation unit" in the sub-page shown in fig. 6 and input a new food measurement unit, so as to modify the food measurement unit, and the APP or the applet displays the modified food measurement unit on the second man-machine interaction page.
In this embodiment, the APP or the applet further obtains the operation of adding the nutritional components in the nutritional component table through the sub-pages shown in fig. 7, fig. 8, fig. 9, and fig. 10.
In the sub-page shown in fig. 7, the user clicks "add component" to send an add operation, the user can select a drop-down box to add a required nutrient component according to the requirement, or manually input a corresponding nutrient component, and the APP or applet adds a new nutrient component to the nutrient component table in response to the add operation.
In this embodiment, if the user inputs the correct nutritional ingredients to be added, or the nutritional ingredients selected by the drop-down box do not exist in the original nutritional ingredient list, the APP or applet adds a row to the original nutritional ingredient list. For example, the nutrient composition table in the sub-page shown in fig. 7 does not have the nutrient composition of "saturated fatty acid", and the user selects to add the nutrient composition of "saturated fatty acid", then the APP or the applet adds the nutrient composition of "saturated fatty acid" to the nutrient composition table in response to the adding operation, and displays the added nutrient composition table on the second human-computer interaction page, so as to obtain the sub-page of the second human-computer interaction page shown in fig. 8.
In this embodiment, if the nutritional ingredient added by the user is incorrectly input, for example, the user inputs an incorrect nutritional ingredient name, the APP or the applet prompts an error message through the sub-page shown in fig. 9 to remind the user to re-input the correct nutritional ingredient.
In this embodiment, if the nutrient added by the user is already in the original nutrient table, for example, the nutrient of "sodium" already exists in the original nutrient table, and the user repeatedly inputs the nutrient of "sodium", the APP or the applet prompts an error message through the sub-page shown in fig. 10 to remind the user that the nutrient exists in the original nutrient table.
In this embodiment, the APP or the applet further obtains, through the sub-page shown in fig. 11, the operation of deleting the nutritional components in the nutritional component table by the user. For example, the user may select a nutrient "fat" in the nutrient list to perform a deletion operation, and the APP or applet deletes the nutrient "fat" in the nutrient list in response to the deletion operation; the user may select two nutrients "fat" and "protein" in the nutrient list to perform a deletion operation, and the APP or applet deletes the two nutrients "fat" and "protein" in the nutrient list in response to the deletion operation. And the APP or the applet displays the deleted food metering units on a second man-machine interaction page.
In this embodiment, the APP or the applet further obtains the confirmation operation of the user on the content of the nutrient component through the sub-page shown in fig. 12. The user can perform confirmation by clicking the "generate composition table" button in the sub page shown in fig. 12And (5) operating. If the input box behind each nutrient in the nutrient list has filled the corresponding nutrient content, the APP or applet skips to step S5, i.e., the step of displaying a third human-computer interaction page. If "vitamin B" is present in the nutrient profile as shown in FIG. 121If the user clicks the "create ingredient table" button and the corresponding nutrient content is not filled in the input box behind the nutrient, the APP or applet displays a message "content value is not filled in" through the sub-page shown in fig. 12 to prompt the user that the nutrient content is not filled in, and the APP or applet does not jump to step S5, that is, the step of displaying a third human-computer interaction page. When the user fills the corresponding nutrient content in all the input boxes which do not fill the nutrient content and clicks the button "create composition table" again, the APP or the applet jumps to step S5, i.e., the step of displaying a third human-computer interaction page.
In step S5, the content of the third human-computer interaction page is as shown in fig. 13, 14, 15, and 16. Fig. 13, 14, 15, and 16 are sub-pages of the third human-computer interaction page, respectively, and the nutrient composition table, the nutrient content corresponding to each nutrient, and the nutrient reference value% are displayed in the sub-pages shown in fig. 13 and 14. In this embodiment, the nutrient reference value% is represented in the form of NRV%, and the nutrient reference value% is determined according to the content of the nutrient component input by the user in step S4, specifically, the APP or the applet obtains the total daily required amount of the nutrient component corresponding to the content of the nutrient component input by the user as a denominator by connecting to the cloud server, and calculates the nutrient reference value% represented in the form of NRV% by using the content of the nutrient component input by the user in step S4 as a numerator.
In step S5, the APP or applet accesses the cloud server to obtain national nutritional label formulation standards such as GB28050-2011 national food safety standard-general rules for prepackaged food nutritional label, and determines the order of each nutritional component in the nutritional component list according to the national nutritional label formulation standards. In this embodiment, after the operations such as addition and deletion by the user, the nutrient composition table is updatedComprises energy, protein, fat, carbohydrate, sodium, saturated fatty acid, trans fatty acid, vitamin A and vitamin B1Waiting for the nutritional ingredients, the APP or the applet automatically orders the nutritional ingredients in the nutritional ingredient list according to the national nutritional label customized standards to obtain the displayed order of the nutritional ingredients in the sub-page as shown in FIG. 13, i.e., energy, protein, fat, saturated fatty acids, trans fatty acids, carbohydrates, sodium, vitamin A and vitamin B1. After the sorting of the nutritional ingredients in the nutritional ingredient list is completed, the nutritional ingredient content and the nutritional reference value% corresponding to each nutritional ingredient are adjusted accordingly, so that the nutritional ingredient content and the nutritional reference value% corresponding to each nutritional ingredient are displayed immediately after each nutritional ingredient in the sub-page shown in fig. 13.
In step S5, the APP or applet also obtains the user' S reduction operation on the% nutrition reference value through the sub-page as shown in fig. 14. The reduction operation comprises a reduction interval value input by a user, and specifically, the reduction interval values corresponding to different nutrient components can be different. The APP or applet prunes the% nutritional reference shown in the sub-page of fig. 13 according to the pruning interval value, specifically, the APP or applet automatically modifies the data according to the pruning interval value input by the user, converts the data in standard units, rounds the excess, and displays the% nutritional reference after pruning in the sub-page of fig. 14.
In step S6, the APP or applet confirms to the user whether the food item is meat through the subpage as shown in fig. 15, if the user selects "yes", the APP or applet determines to the user whether the food item is dairy when it obtains claims for nutrition and claims for nutritional ingredient functionality, if the user selects "no", the APP or applet confirms to the user whether the food item is dairy through the subpage as shown in fig. 16, if the user selects "yes", the APP or applet determines to the user whether the food item is dairy when it obtains claims for nutrition and claims for nutritional ingredient functionality, and if the user selects "no", the APP or applet determines to the user when it obtains claims for nutrition and claims for nutritional ingredient functionality.
In step S7, the contents of the fourth human-computer interaction page are as shown in fig. 17, 18, and 19. Fig. 17, fig. 18, and fig. 19 are sub-pages of the fourth human-computer interaction page, respectively, and a nutrient table, a nutrient claim corresponding to each nutrient, and a nutrient function claim corresponding to each nutrient are displayed in the sub-page shown in fig. 17. In this embodiment, the nutritional claims and the nutritional component functions are determined according to the% nutritional reference, specifically, the APP or the applet determines the nutritional claims and the nutritional component functions of each nutritional component according to the% nutritional reference of each nutritional component by connecting to a cloud server, by looking up a data table, and the like.
In this embodiment, there may be a nutritional ingredient not found in the corresponding nutritional claim and nutritional ingredient function claim due to the fact that the cloud server does not store corresponding data, in this case, the APP or the applet obtains a purge operation of the user for a nutritional ingredient in the nutritional ingredient table through the sub-page shown in fig. 18, the user may execute the purge operation by clicking a "delete silent ingredient" button in the sub-page shown in fig. 18, the APP or the applet detects, in response to the purge operation, that there is no nutritional ingredient with the corresponding nutritional claim and/or corresponding nutritional ingredient function claim displayed in the sub-page shown in fig. 18, in this embodiment, there is no corresponding nutritional claim and/or nutritional ingredient function claim for nutritional ingredients such as energy, fat, saturated fatty acid, trans fatty acid, carbohydrate, and sodium, and the APP or the applet uses the energy, or the applet uses the data obtained by the method, The nutrient components such as fat, saturated fatty acids, trans fatty acids, carbohydrates, and sodium were removed from the nutrient component list, and the removed nutrient component list was displayed on the fourth human-computer interaction page, and the result is shown in fig. 19.
In this embodiment, fig. 14 or fig. 19 may be used as a final result of the food nutrition label displayed to the user, and the user may obtain the nutrient content contained in the food and the information such as the% nutrient reference value of each nutrient content by reading the content in fig. 14; by reading the contents in fig. 19, the user can obtain the nutritional ingredients contained in the food, and information such as nutritional claims and nutritional function claims of each nutritional ingredient.
In the food nutrition label generation method in this embodiment, by acquiring necessary information for generating the food nutrition label and displaying the intermediate result and the final generated result of the food nutrition label through the first human-computer interaction page, the second human-computer interaction page, the third human-computer interaction page and the fourth human-computer interaction page, a scientific and reliable nutrition reference can be provided for a consumer when the food nutrition label is not printed on a food package or the consumer selects a food nutrition label printed on an untrusted food package. The food nutrition label generation method in the embodiment is operated by using the intelligent terminal such as the mobile phone, does not need to occupy materials to manufacture the food nutrition label, does not require a user to have food nutrition professional knowledge, and has the advantages of high convenience, high efficiency, high accuracy, wide popularity, environmental friendliness and the like.
In this embodiment, a computer device includes a memory for storing at least one program and a processor for loading the at least one program to perform the food nutrition tag generation method in the embodiment, and achieves the same technical effects as those described in the embodiment.
In the present embodiment, a storage medium in which a processor-executable program is stored, the processor-executable program being configured to perform the food nutrition tag generation method in the embodiments when executed by a processor, achieves the same technical effects as described in the embodiments.
It should be noted that, unless otherwise specified, when a feature is referred to as being "fixed" or "connected" to another feature, it may be directly fixed or connected to the other feature or indirectly fixed or connected to the other feature. Furthermore, the descriptions of upper, lower, left, right, etc. used in the present disclosure are only relative to the mutual positional relationship of the constituent parts of the present disclosure in the drawings. As used in this disclosure, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. In addition, unless defined otherwise, all technical and scientific terms used in this example have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in the description of the embodiments herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this embodiment, the term "and/or" includes any combination of one or more of the associated listed items.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element of the same type from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the present disclosure. The use of any and all examples, or exemplary language ("e.g.," such as "or the like") provided with this embodiment is intended merely to better illuminate embodiments of the invention and does not pose a limitation on the scope of the invention unless otherwise claimed.
It should be recognized that embodiments of the present invention can be realized and implemented by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer readable memory. The methods may be implemented in a computer program using standard programming techniques, including a non-transitory computer-readable storage medium configured with the computer program, where the storage medium so configured causes a computer to operate in a specific and predefined manner, according to the methods and figures described in the detailed description. Each program may be implemented in a high level procedural or object oriented programming language to communicate with a computer system. However, the program(s) can be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language. Furthermore, the program can be run on a programmed application specific integrated circuit for this purpose.
Further, operations of processes described in this embodiment can be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The processes described in this embodiment (or variations and/or combinations thereof) may be performed under the control of one or more computer systems configured with executable instructions, and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) collectively executed on one or more processors, by hardware, or combinations thereof. The computer program includes a plurality of instructions executable by one or more processors.
Further, the method may be implemented in any type of computing platform operatively connected to a suitable interface, including but not limited to a personal computer, mini computer, mainframe, workstation, networked or distributed computing environment, separate or integrated computer platform, or in communication with a charged particle tool or other imaging device, and the like. Aspects of the invention may be embodied in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optically read and/or write storage medium, RAM, ROM, or the like, such that it may be read by a programmable computer, which when read by the storage medium or device, is operative to configure and operate the computer to perform the procedures described herein. Further, the machine-readable code, or portions thereof, may be transmitted over a wired or wireless network. The invention described in this embodiment includes these and other different types of non-transitory computer-readable storage media when such media include instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor. The invention also includes the computer itself when programmed according to the methods and techniques described herein.
A computer program can be applied to input data to perform the functions described in the present embodiment to convert the input data to generate output data that is stored to a non-volatile memory. The output information may also be applied to one or more output devices, such as a display. In a preferred embodiment of the invention, the transformed data represents physical and tangible objects, including particular visual depictions of physical and tangible objects produced on a display.
The above description is only a preferred embodiment of the present invention, and the present invention is not limited to the above embodiment, and any modifications, equivalent substitutions, improvements, etc. within the spirit and principle of the present invention should be included in the protection scope of the present invention as long as the technical effects of the present invention are achieved by the same means. The invention is capable of other modifications and variations in its technical solution and/or its implementation, within the scope of protection of the invention.

Claims (10)

1. A method for generating a food nutrition label, comprising:
displaying a first human-computer interaction page;
acquiring the input of food measuring units, food measuring quantity and food forms through the first human-computer interaction page;
displaying a second man-machine interaction page; the second human-computer interaction page comprises a nutrient composition table, the nutrient composition table at least comprises energy and four nutrient compositions, and the four nutrient compositions are determined according to the food metering unit, the food metering quantity and the food form;
acquiring the input of the content of the nutrient components through the second human-computer interaction page, and determining the corresponding relation between the content of the nutrient components and the nutrient components in the nutrient component table;
displaying a third man-machine interaction page; the third man-machine interaction page comprises the nutrient composition table, the nutrient composition content and the nutrient reference value corresponding to each nutrient composition; the nutrient reference value% is determined according to the nutrient content;
acquiring the input of food varieties through the third human-computer interaction page;
displaying a fourth man-machine interaction page; the fourth human-computer interaction page comprises the nutrient composition table, nutrient claims corresponding to each nutrient composition and nutrient function claims corresponding to each nutrient composition; the nutritional claims and nutritional ingredient functional claims are determined from the nutritional reference% values.
2. The food nutrition label generation method of claim 1, further comprising:
acquiring modification operation on the food metering unit through the second man-machine interaction page;
modifying the food unit of measure in response to the modifying operation;
and displaying the modified food metering unit on the second man-machine interaction page.
3. The food nutrition label generation method of claim 1, further comprising:
acquiring adding operation and/or deleting operation of the nutritional ingredients in the nutritional ingredient list through the second human-computer interaction page;
adding a new nutrient to the nutrient table in response to the adding operation;
deleting part or all of the original nutrients in the nutrient composition table in response to the deletion operation;
and displaying the nutrient composition list after addition and/or deletion on the second human-computer interaction page.
4. The food nutrition label generation method of claim 1, further comprising:
obtaining the confirmation operation of the content of the nutrient components through the second human-computer interaction page;
and responding to the confirmation operation, when all the nutrient components in the nutrient component table have the corresponding nutrient component content, skipping to execute the step of displaying the third man-machine interaction page, otherwise, displaying a prompt message through the second man-machine interaction page, wherein the prompt message comprises information for prompting that the nutrient component content is not filled.
5. The food nutrition label generation method of claim 1, further comprising:
ranking each of the nutritional components in the nutritional component list;
sorting the content of each nutrient component according to the sorted sequence of each nutrient component and the corresponding relation between each nutrient component and the content of each nutrient component and the nutrient reference value percent, and sorting the nutrient reference value percent;
displaying each nutrient component, each nutrient component content and each nutrient reference value% after being sequenced on the third human-computer interaction page.
6. The method of claim 5, wherein the ranking each of the nutrients in the nutrient table comprises:
acquiring a national nutrition label formulation standard by accessing a cloud server;
ordering each of the nutritional components according to the national nutritional label established criteria.
7. The food nutrition label generation method of claim 1, further comprising:
obtaining a reduction operation on the nutrition reference value% through the third human-computer interaction page;
responding to the reduction operation, and acquiring input of a reduction interval numerical value through the third human-computer interaction page;
pruning the nutrient reference value% according to the pruning interval value;
displaying the amended nutritional reference value% on the third human-computer interaction page.
8. The food nutrition tag generation method of any one of claims 1 to 7, further comprising:
acquiring clearing operation of the nutritional ingredients in the nutritional ingredient list through the fourth human-computer interaction page;
in response to the clearing operation, detecting an absence of a nutritional component of the respective nutritional claim and/or of the respective nutritional component functional claim from the fourth human-computer interaction page display;
removing said nutritional components absent the respective nutritional claim and/or the respective nutritional component functional claim;
and displaying the nutrient composition list after being cleared on the fourth man-machine interaction page.
9. A computer device comprising a memory for storing at least one program and a processor for loading the at least one program to perform the food nutrition label generation method of any of claims 1-8.
10. A storage medium having stored therein a processor-executable program, wherein the processor-executable program, when executed by a processor, is configured to perform the food nutrition tag generation method of any of claims 1-8.
CN202011541584.5A 2020-12-23 2020-12-23 Food nutrition label generating method, computer device and storage medium Active CN112632935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011541584.5A CN112632935B (en) 2020-12-23 2020-12-23 Food nutrition label generating method, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011541584.5A CN112632935B (en) 2020-12-23 2020-12-23 Food nutrition label generating method, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN112632935A true CN112632935A (en) 2021-04-09
CN112632935B CN112632935B (en) 2024-02-09

Family

ID=75321821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011541584.5A Active CN112632935B (en) 2020-12-23 2020-12-23 Food nutrition label generating method, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN112632935B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2365654Y (en) * 1999-03-24 2000-02-23 马正方 Diet nutrient electronic weighing apparatus
CN1596753A (en) * 2004-08-13 2005-03-23 刘全坤 Integral combined nutritive food
US7620531B1 (en) * 2005-12-12 2009-11-17 Condenet, Inc. Method for determining and representing food products based on nutrient density rating and predicted satiating effect
CN102592159A (en) * 2012-01-09 2012-07-18 北京奥信通科技发展有限公司 Nutrition label, reader, food package, and identification and authentication method and system
CN104866849A (en) * 2015-04-30 2015-08-26 天津大学 Food nutrition label identification method based on mobile terminal
CN105760674A (en) * 2016-02-22 2016-07-13 东华大学 Balanced nutrient management system
CN106156189A (en) * 2015-04-21 2016-11-23 阿里巴巴集团控股有限公司 A kind of label generating method and device, information getting method and device
CN106234515A (en) * 2016-08-05 2016-12-21 武汉生物工程学院 A kind of latke and preparation method thereof that is in harmonious proportion
CN107358049A (en) * 2017-07-18 2017-11-17 成都脉安科健生物科技有限公司 Cuisine trophic analysis method and device
US20180046972A1 (en) * 2016-08-10 2018-02-15 Label Insight Information management system for product ingredients
CN109460279A (en) * 2018-12-14 2019-03-12 平安城市建设科技(深圳)有限公司 Forms pages development approach, device, equipment and storage medium based on small routine
CN109493944A (en) * 2018-10-09 2019-03-19 珠海亿联德源信息技术有限公司 A kind of dietary management system
CN110163635A (en) * 2019-04-30 2019-08-23 长威信息科技发展股份有限公司 Actively trace the intelligent refrigerator and its food security supervision method of food security information
CN111261259A (en) * 2020-01-06 2020-06-09 王睿琪 Method, system, background and display terminal for controlling nutrient intake
CN111902878A (en) * 2018-03-23 2020-11-06 美敦力泌力美公司 System and method for food analysis, personalized recommendation and health management
CN112053428A (en) * 2020-08-07 2020-12-08 联保(北京)科技有限公司 Method and device for identifying nutritional information contained in food

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2365654Y (en) * 1999-03-24 2000-02-23 马正方 Diet nutrient electronic weighing apparatus
CN1596753A (en) * 2004-08-13 2005-03-23 刘全坤 Integral combined nutritive food
US7620531B1 (en) * 2005-12-12 2009-11-17 Condenet, Inc. Method for determining and representing food products based on nutrient density rating and predicted satiating effect
CN102592159A (en) * 2012-01-09 2012-07-18 北京奥信通科技发展有限公司 Nutrition label, reader, food package, and identification and authentication method and system
CN106156189A (en) * 2015-04-21 2016-11-23 阿里巴巴集团控股有限公司 A kind of label generating method and device, information getting method and device
CN104866849A (en) * 2015-04-30 2015-08-26 天津大学 Food nutrition label identification method based on mobile terminal
CN105760674A (en) * 2016-02-22 2016-07-13 东华大学 Balanced nutrient management system
CN106234515A (en) * 2016-08-05 2016-12-21 武汉生物工程学院 A kind of latke and preparation method thereof that is in harmonious proportion
US20180046972A1 (en) * 2016-08-10 2018-02-15 Label Insight Information management system for product ingredients
CN107358049A (en) * 2017-07-18 2017-11-17 成都脉安科健生物科技有限公司 Cuisine trophic analysis method and device
CN111902878A (en) * 2018-03-23 2020-11-06 美敦力泌力美公司 System and method for food analysis, personalized recommendation and health management
CN109493944A (en) * 2018-10-09 2019-03-19 珠海亿联德源信息技术有限公司 A kind of dietary management system
CN109460279A (en) * 2018-12-14 2019-03-12 平安城市建设科技(深圳)有限公司 Forms pages development approach, device, equipment and storage medium based on small routine
CN110163635A (en) * 2019-04-30 2019-08-23 长威信息科技发展股份有限公司 Actively trace the intelligent refrigerator and its food security supervision method of food security information
CN111261259A (en) * 2020-01-06 2020-06-09 王睿琪 Method, system, background and display terminal for controlling nutrient intake
CN112053428A (en) * 2020-08-07 2020-12-08 联保(北京)科技有限公司 Method and device for identifying nutritional information contained in food

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
JUNWEN MA 等: "Evaluation of the fate of nutrients, antibiotics, and antibiotic resistance genes in sludge treatment wetlands", 《SCIENCE OF THE TOTAL ENVIRONMENT》, vol. 712, pages 1 - 9 *
方伟旋 等: "基于JSON的食品营养标签生成实例", 《电脑编程技巧与维护》, no. 05, pages 46 - 50 *
王宏伟 等: "定性分析与在线识别相结合的农产品溯源方法", 《现代农业科技》, no. 39, pages 223 - 227 *
黄利华 等: "水产加工副产物高值化利用的研究现状与展望", 《食品安全导刊》, no. 30, pages 155 - 157 *

Also Published As

Publication number Publication date
CN112632935B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
US20180053234A1 (en) Description information generation and presentation systems, methods, and devices
CN108255897B (en) Visualized chart data conversion processing method and device
WO2016069946A1 (en) Page processing for mobile app
US20170192877A1 (en) Mobile application development and deployment
KR20190065197A (en) Method for creating web documents and Apparatus thereof
CN106919625A (en) A kind of internet customer attribute recognition methods and device
CN109298864A (en) The method and electronic equipment of automation generation project skeleton screen under teaching platform
CN111144078B (en) Method, device, server and storage medium for determining positions to be marked in PDF (portable document format) file
CN111210492A (en) Picture processing method and device
CN107515866B (en) Data operation method, device and system
CN110795181A (en) Application program interface display method and device based on skip protocol and electronic equipment
CN110837366A (en) Form generation method, electronic device and computer readable storage medium
CN110069573A (en) Product data integration method, apparatus, computer equipment and storage medium
CN108874384B (en) Terminal device, server, web page data processing method, and computer storage medium
CN110633220A (en) Debugging information display method and device, storage medium and electronic equipment
CN111274516A (en) Page display method, page configuration method and device
CN113296769A (en) Data processing method, visual draft processing method, system and electronic equipment
CN105023139A (en) Onsite collection method and device of enterprise quality data
CN112632935A (en) Food nutrition label generation method, computer device and storage medium
CN110058996B (en) Program debugging method, device, equipment and storage medium
CN114968228A (en) Page construction method and device, electronic equipment and computer readable storage medium
CN115860877A (en) Product marketing method, device, equipment and medium
CN115238652A (en) Table data generation method and device, electronic equipment and readable storage medium
KR20190132789A (en) Apparatus and method for providing an application service of agricultural products, and method for controlling an integrated event of famhouses
CN112508284A (en) Display material preprocessing method, putting method, system, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant