CN108630293A - A kind of nutrient diet method and apparatus - Google Patents

A kind of nutrient diet method and apparatus Download PDF

Info

Publication number
CN108630293A
CN108630293A CN201810220605.XA CN201810220605A CN108630293A CN 108630293 A CN108630293 A CN 108630293A CN 201810220605 A CN201810220605 A CN 201810220605A CN 108630293 A CN108630293 A CN 108630293A
Authority
CN
China
Prior art keywords
added
food product
user
nutritional
kinds
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.)
Pending
Application number
CN201810220605.XA
Other languages
Chinese (zh)
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.)
Zhongan Information Technology Service Co Ltd
Original Assignee
Zhongan Information Technology Service Co Ltd
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 Zhongan Information Technology Service Co Ltd filed Critical Zhongan Information Technology Service Co Ltd
Priority to CN201810220605.XA priority Critical patent/CN108630293A/en
Publication of CN108630293A publication Critical patent/CN108630293A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/60ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to nutrition control, e.g. diets

Landscapes

  • Health & Medical Sciences (AREA)
  • Nutrition Science (AREA)
  • Engineering & Computer Science (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention discloses a kind of nutrient diet method and apparatus, belong to nutrition dietary field, and method includes:All kinds of nutritional requirements of user are calculated by multiple sign informations of user and all kinds of nutritional requirement appraising models in advance;It receives user and is directed to the food product information to be added of recipe input on mobile terminals, and obtain the corresponding nutritional ingredient data of food product information to be added;Same nutritional ingredient in the nutritional ingredient data for having added food product of recipe nutritional ingredient data corresponding with food product information to be added is carried out corresponding cumulative, obtains the accumulation result of all kinds of nutritional ingredients;According to all kinds of nutritional requirements of the accumulation result of all kinds of nutritional ingredients and user, it is determined whether food product information to be added is added in permission in recipe.Compared with prior art, the embodiment of the present invention can realize that simplified people obtain the approach of healthy diet;Meanwhile, it is capable in conjunction with user's individual difference, rational diet collocation is carried out for different users, realizes the purpose of nutrient diet.

Description

A kind of nutrient diet method and apparatus
Technical field
The present invention relates to nutrition dietary field, more particularly to a kind of nutrient diet method and apparatus.
Background technology
With the development of economy with the continuous improvement of social progress and living standard, diet nutritional is increasingly by people Concern and attention, how to design one day or one week recipe of collocation, the nutrition of human body intake made to reach balance, more adduction Diet, healthy living are managed, current people's common concern is become.
According to the research of modern nutriology, the various nutrients of needed by human body are divided into six classes, i.e., protein, fat, carbohydrate, Water, inorganic salts and vitamin.Demand of the individual to these nutrients not only amount of having, and should also have between each nutrient it is suitable Proportioning needs to be allocated for Man's Demands by nutritionist, can just make the intake of various nutrients that can be more conform with itself Demand.However, it is costly needed for personal recipe to be arranged in pairs or groups for demands of individuals by nutritionist, therefore also have by seeking on the market Foster teacher mixes more common diet inventory, and due to the difference of individual physical qualification, for the Absorption of different foods Also it differs, therefore, no matter whether nutritionist for demands of individuals carries out the allotment of diet, nutritionist can not simultaneously mix true Just it is being suitble to the food of demand.
In conclusion for how user to be made not have to the nutritionist for spending high cost to engage profession, and can be square Just the problem of getting the nutritious recipe of suitable self-demand, it is necessary to propose improved technological means, one be asked to solve this Topic.
Invention content
In order to solve problems in the prior art, an embodiment of the present invention provides a kind of nutrient diet method and apparatus, with energy User is set not have to the nutritionist for spending high cost to engage profession, and suitable self-demand can easily be got by realizing The purpose of nutritious recipe.The technical solution is as follows:
In a first aspect, a kind of nutrient diet method is provided, the method includes:
All kinds of battalion of the user are calculated by multiple sign informations of user and all kinds of nutritional requirement appraising models in advance Support demand;
It receives the user and is directed to the food product information to be added of recipe input on mobile terminals, and obtain described to be added The corresponding nutritional ingredient data of food product information;
To the nutrition corresponding with the food product information to be added of the nutritional ingredient data for having added food product of the recipe at Same nutritional ingredient in divided data correspond to and is added up, and obtains the accumulation result of all kinds of nutritional ingredients;
According to all kinds of nutritional requirements of the accumulation result of all kinds of nutritional ingredients and the user, it is determined whether allow The food product information to be added is added in the recipe.
With reference to first aspect, in the first possible implementation, the multiple sign information includes the user Height, weight, age, health degree and labor intensity;
The calculation formula of all kinds of nutritional requirement appraising models is:
Wherein, W indicates the standard energy demand of user, LrIndicate the height of user, WrIndicate the weight of user, XiTable Show the demand of the i-th nutritional ingredient, miIndicate the i-th nutritional ingredient occupy family standard energy demand W percentage, i be 1 to The integer of N, F1(a) it indicates using the age a of user as the function of variable, F2(b) it indicates using the health degree b of user as the letter of variable Number, F3(c) it indicates using the labor intensity c of user as the function of variable, W1For F1(a) weight coefficient, W2For F2(b) weight system Number, W3For F3(c) weight coefficient.
With reference to first aspect, described to receive the user for recipe input in second of possible realization method Before food product information Step to be added, the method further includes:
Judge whether the nutritional ingredient data for having added food product of the recipe are not up to the corresponding all kinds of nutrition and need The amount of asking then receives the food product information to be added if it is determined that being yes.
With reference to first aspect to second of first aspect any one possible realization method, in the third possible reality In existing mode, the food product information to be added includes the image and weight of food product to be added, and the reception is described input by user Food product information to be added includes:
It receives and image that the food product to be added obtains is shot by the camera of the mobile terminal or from the movement The image loaded in the local picture library of terminal;And
Receive the weight input by user.
The third possible realization method with reference to first aspect, in the 4th kind of possible realization method, the acquisition The corresponding nutritional ingredient data of the food product information to be added include:
The image of the food product to be added is identified, determines the food product classification of the food product to be added;
In the database, the corresponding nutritional ingredient of the food product classification is inquired;
According to the weight of the food product classification corresponding nutritional ingredient and the food product to be added, the meal to be added is obtained The nutritional ingredient data of product.
Wherein, the image of the food product to be added is identified, determines that the food product classification of the food product to be added includes:
Feature extraction is carried out to the image of the food product to be added, obtains the characteristic information of described image;
According to preset disaggregated model and the characteristic information of described image, the food product classification of the food product to be added is determined, The disaggregated model for previously according to sample image characteristic information and the sample image corresponding food product classification training obtain The model obtained;
Wherein, convolutional neural networks CNN models may be used in preset disaggregated model.
With reference to first aspect, described according to the cumulative of all kinds of nutritional ingredients in the 5th kind of possible realization method As a result with all kinds of nutritional requirements of the user, it is determined whether permission the food product information to be added is added in the recipe Including:
All kinds of nutritional requirements of the user are corresponded to the accumulation result for subtracting all kinds of nutritional ingredients, are obtained multiple Difference;
If the multiple difference is all higher than or is equal to zero, permission is added the food product to be added in the recipe and is believed Breath;
If there are minus at least one differences in the multiple difference, and the absolute value of at least one difference is equal When being less than predetermined threshold value, the food product information to be added is added in permission in the recipe;
Otherwise, refusal adds the food product information to be added in the recipe.
The 5th kind of possible realization method with reference to first aspect, in the 6th kind of possible realization method, the method Further include:
After adding the food product information to be added in the recipe, the multiple difference is preserved, and export the first information, The first information includes the multiple difference;
After refusal adds the food product information to be added, the second information is exported, second packet contains based on institute It states multiple differences and suggests the food product information that the user adds in the recipe.
Second aspect, provides a kind of nutrition catering device, and described device includes:
Computing module is used in advance described in multiple sign informations of user and the calculating of all kinds of nutritional requirement appraising models All kinds of nutritional requirements of user;
Receiving module is directed to the food product information to be added of recipe input for receiving the user on mobile terminals;
Acquisition module, for obtaining the corresponding nutritional ingredient data of the food product information to be added;
Accumulator module, for the nutritional ingredient data for having added food product and the food product information to be added to the recipe Same nutritional ingredient in corresponding nutritional ingredient data correspond to and is added up, and obtains the accumulation result of all kinds of nutritional ingredients;
Determining module, for according to the accumulation result of all kinds of nutritional ingredients and all kinds of nutritional needs of the user Amount, it is determined whether the food product information to be added is added in permission in the recipe.
In conjunction with second aspect, in the first possible implementation, the multiple user's sign information includes the use Height, weight, age, health degree and the labor intensity at family;
The calculation formula of all kinds of nutritional requirement appraising models is:
Wherein, W indicates the standard energy demand of user, LrIndicate the height of user, WrIndicate the weight of user, XiTable Show the demand of the i-th nutritional ingredient, miIndicate the i-th nutritional ingredient occupy family standard energy demand W percentage, i be 1 to The integer of N, F1(a) it indicates using the age a of user as the function of variable, F2(b) it indicates using the health degree b of user as the letter of variable Number, F3(c) it indicates using the labor intensity c of user as the function of variable, W1For F1(a) weight coefficient, W2For F2(b) weight system Number, W3For F3(c) weight coefficient.
In conjunction with second aspect, in second of possible realization method, described device further includes:
Judgment module, for judging whether the nutritional ingredient data for having added food product of the recipe reach corresponding described All kinds of nutritional requirements, if it is determined that being yes, the receiving module receives the food product information to be added.
In conjunction with second of second aspect to second aspect any one possible realization method, in the third possible reality In existing mode, the food product information to be added includes the image and weight of food product to be added, and the receiving module is specifically used for:
It receives and image that the food product to be added obtains is shot by the camera of the mobile terminal or from the movement The image loaded in the local picture library of terminal;And
Receive the weight input by user.
In conjunction with the third possible realization method of second aspect, in the 4th kind of possible realization method, the acquisition Module includes:
It identifies submodule, is identified for the image to the food product to be added, determines the meal of the food product to be added Category is other;
Submodule is inquired, in the database, inquiring the corresponding nutritional ingredient of the food product classification;
Acquisition submodule is used for the weight according to the food product classification corresponding nutritional ingredient and the food product to be added, Obtain the nutritional ingredient data of the food product to be added.
In conjunction with second aspect, in the 5th kind of possible realization method, the determining module is specifically used for:
All kinds of nutritional requirements of the user are corresponded to the accumulation result for subtracting all kinds of nutritional ingredients, are obtained multiple Difference;
If the multiple difference is all higher than or is equal to zero, permission is added the food product to be added in the recipe and is believed Breath;
If there are minus at least one differences in the multiple difference, and the absolute value of at least one difference is equal When being less than predetermined threshold value, the food product information to be added is added in permission in the recipe;
Otherwise, refusal adds the food product information to be added in the recipe.
In conjunction with the 5th kind of possible realization method of second aspect, in the 6th kind of possible realization method, described device Further include preserving module and message output module;
The preserving module preserves the multiple difference after adding the food product information to be added in the recipe Value;
Described information output module, after adding the food product information to be added in the recipe, the first letter of output Breath, the first information includes the multiple difference;
Described information output module is additionally operable to after refusal adds the food product information to be added, exports the second information, institute It states the second packet and contains and food product information that the user adds in the recipe is suggested based on the multiple difference.
An embodiment of the present invention provides a kind of nutrient diet method and apparatus, including:Believed in advance by multiple signs of user Breath and all kinds of nutritional requirement appraising models calculate all kinds of nutritional requirements of user;It receives user and is directed to food on mobile terminals The food product information to be added of input is composed, and obtains the corresponding nutritional ingredient data of food product information to be added;Addition to recipe Same nutritional ingredient in the nutritional ingredient data of food product nutritional ingredient data corresponding with food product information to be added carries out corresponding It is cumulative, obtain the accumulation result of all kinds of nutritional ingredients;According to all kinds of nutrition need of the accumulation result of all kinds of nutritional ingredients and user The amount of asking, it is determined whether food product information to be added is added in permission in recipe.Compared with prior art, user does not have to spend high Cost engages the nutritionist of profession, but obtains science health using mobile terminals such as smart mobile phones by user oneself Thus recipe largely simplifies the approach that people obtain healthy diet;Meanwhile, it is capable in conjunction with user's individual difference, Rational diet collocation is carried out for different users to realize the purpose of nutrient diet, and the diet to ensure user is strong Health.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is a kind of nutrient diet method flow diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of nutrition catering device frame diagram provided in an embodiment of the present invention.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention Figure, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only this Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist The every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a kind of nutrient diet method, this method is rational to be carried out for different users Diet is arranged in pairs or groups, to realize the purpose of nutrient diet.Wherein, this method realize dependent in server a certain program module or Plug-in unit can be the executable code being built in the corresponding application programs of server or independently of the independent of any application program Executable application program can be defined in specific application program and execute, and can also run on the application of various compatibilities In program, the specific implementation form of program module or plug-in unit is not as the specific restriction to the present invention.In addition, the embodiment of the present invention Described in mobile terminal can be communicated with server, can to server send recipe food product information to be added, and Whether allowing in recipe to the information for adding food product information to be added for server return received, wherein mobile terminal includes not Mobile phone, personal digital assistant, tablet computer, game console, wearable device are limited, the present invention is to specific mobile terminal It is not limited.
Fig. 1 is a kind of nutrient diet method flow diagram shown according to embodiments of the present invention, shown referring to Fig.1, this method Include the following steps:
101, all kinds of battalion of user are calculated by multiple sign informations of user and all kinds of nutritional requirement appraising models in advance Support demand.
Wherein, multiple sign informations of user are used to characterize the physical trait of user, may include height, the body of user Weight, age, health degree and labor intensity.
In embodiments of the present invention, the characteristic information of user can pass through according to user on the input interface of mobile terminal It is manually entered the mode of information and obtains, for example, obtaining gender, age, height, weight health degree, labor that user is manually entered The information such as fatigue resistance;In addition, height, weight information can also be by the electronic metering equipments that are connect with mobile terminal to user's Height, weight are measured and are obtained, and are such as measured by electronic scale and electronic height measuring instrument;Health degree information can be with The heartbeat heart rate and blood pressure for the user that sensor device senses are calculated by analysis by obtain;Labor intensity can also pass through analysis It calculates occupational information input by user and obtains.The embodiment of the present invention is not limited the acquisition modes of sign information.
In the embodiment of the present invention, the calculation formula of nutritional requirement appraising model can be:
Wherein, W indicates the standard energy demand of user, LrIndicate the height of user, WrIndicate the weight of user, XiTable Show that the demand of the i-th nutritional ingredient, m indicate that the i-th nutritional ingredient occupies the percentage of the standard energy demand W at family, F1(a) table Show using the age a of user as the function of variable, F2(b) it indicates using the health degree b of user as the function of variable, F3(c) indicate with The labor intensity c at family is the function of variable, W1For F1(a) weight coefficient, W2For F2(b) weight coefficient, W3For F3(c) power Weight coefficient.
For above-mentioned calculation formula (2), according to F1(a)、F2(b) and F3(c) important power of each parameter for entire function It reassigns to determine W1、W2、W3Each weight coefficient, specifically, for the age, gender (human body foundation organism attribute), labour Intensity, health status etc. build hierarchical structure Judgement Matricies using exponential scale method according to its significance level to θ As shown in table 1 below:
Table 1
A-B Body attribute B1 Health status B2 Labor intensity B3
Body attribute B1 1 1/5 1/5
Health status B2 5 1 1/3
Labor intensity B3 5 3 1
Wherein, as shown in table 2 below according to the standard energy of 30~40 years old Chinese Male Adults intake table when matrix scale 5:
Table 2
According to table 2, it is assumed that matrix scale is normal space 5, and obtains other scales by multi-group data optimum experimental and be Table 1, by uniting, a large number of users nutrition clinical data models to obtain the value of each weight coefficient in above-mentioned calculation formula (2), point It is not:W1=0.0856307, w2=0.2968651, w3=0.6175042;In addition, in embodiments of the present invention, setting F1 (a) function on the basis of 30 years old 1 often rises 5 years old plus 1, often declines 5 years old and declines 10%, F2(b) health degree in and user's heartbeat The indexs such as heart rate and blood pressure are related, and the normal health degree of indices is 1, other abnormal index health degree registrations are 0.5, F3(c) related with labor intensity coefficient, extremely slight labour coefficient is 0.3, and slight labour coefficient is 0.5, moderate labour system Number is 1, and heavy physical labour coefficient is 1.2.
According to multiple sign informations of some user and all kinds of nutritional requirement appraising models, the user can be calculated Daily all kinds of nutritional requirements, as shown in table 3 is the content for the nutrient that personal per weight needs.
Table 3
Nutrient Per weight demand content (g/kg)
Protein 2
Fat 6
Carbohydrate 2
Vitamin V A 5
Vitamin V D 5
Vitamin V C 6
…… ……
For personal nutritional need, only each nutrition all reaches equilibrium state, could meet final strong of human body Health and physiological status.All kinds of nutritional need appraising models provided by the invention combine age of user, weight, height, labour The each influence factor of intensity, health status, therefore using all kinds of nutritional need appraising models to everyone daily required battalion It supports and is calculated, can ensure that the daily nutritional requirement being calculated can accurately characterize user daily to nutriment Demand, so as to by all kinds of nutritional requirements of user, targetedly carry out rational diet collocation to the user, into And realize the purpose of nutrient diet.
102, it receives user and is directed to the food product information to be added of recipe input on mobile terminals, and obtain food product to be added The corresponding nutritional ingredient data of information.
Specifically, food product information to be added includes the image and weight of food product to be added, receives user and inputted for recipe The process of food product information to be added may include:
It receives and image that food product to be added obtains is shot by the camera of mobile terminal or from this map of mobile terminal The image loaded in valut;And receive weight input by user.
In this present embodiment, for the recipe created, user can add food product into the recipe on mobile terminals It is arranged in pairs or groups with the diet daily to its.Wherein, user can be added by being directed to recipe input food product information to be added Food product can clap food product by the camera of mobile terminal when user adds oneself into recipe wants the food product eaten It takes to obtain the picture of food product, it can also be by way of loading the image of food product in the local picture library in mobile terminal to food Spectrum is added, and inputs the food product weight for wanting to eat, for example, user inputs the image information and its edible weight of apple into recipe The information that amount is 200 grams.Illustratively, user opens the camera of smart mobile phone, is taken pictures by Camer functions, and lead to It crosses http agreements photo is transferred in remote data storage, which is convenient for upper-layer service system pair The interface of the utilization of storage, encapsulation is REST API formats.
Specifically, the process for obtaining the corresponding nutritional ingredient data of food product information to be added may include:
The image of food product to be added is identified, determines the food product classification of food product to be added, and in the database, is inquired The corresponding nutritional ingredient of food product classification, and according to the weight nutrition corresponding with the food product classification inquired of food product to be added at Point, obtain the nutritional ingredient data of food product to be added.Wherein, the image of food product to be added is identified, determines meal to be added The process of the food product classification of product may include:
Feature extraction is carried out to the image of food product to be added, obtains the characteristic information of image, and according to preset classification mould The characteristic information of type and image determines that the food product classification of food product to be added, disaggregated model are the feature previously according to sample image Information and the model of the corresponding food product classification training of sample image and acquisition;Wherein, preset disaggregated model can be convolution god Through network C NN models.
For ease of calculation, can store in the database in advance all kinds of nutrition contained by 100 gram weight of various foods at Point data, and then by weight to food product to be added and with the data of each nutritional ingredient of pre-stored corresponding food into Row calculates the nutritional ingredient data that can obtain food product to be added.It can be according to pre-stored number in specific calculating process According to unit and the unit of weight of food product to be added make corresponding change, be not specifically limited herein.
Optionally, before step 102, method can also include:
Judge whether the nutritional ingredient data for having added food product of recipe are not up to corresponding all kinds of nutritional requirements, if sentencing Being set to is, thens follow the steps 102, otherwise, end operation.
In the embodiment of the present invention, by receiving user on mobile terminals for the food product information to be added of recipe input Before, first judge whether the nutritional ingredient data for having added food product of recipe are not up to corresponding all kinds of nutritional requirements, eating When the nutritional ingredient data for having added food product of spectrum reach corresponding all kinds of nutritional requirements, without executing follow-up step, from And data calculation amount during nutrient diet can be reduced so that user can quickly determine the nutrition shape in current recipe Condition.
103, to the nutritional ingredient data for having added food product of recipe nutritional ingredient number corresponding with food product information to be added Same nutritional ingredient in correspond to and is added up, and obtains the accumulation result of all kinds of nutritional ingredients.
Wherein, the food product of having added of recipe includes all food products being successfully added in recipe, in user every time to food Spectrum addition food product when, can by the nutritional ingredient data to the food product acquisition of information of the food product food product, and the food product by After work(is added to recipe, the nutritional ingredient data of the food product are preserved.
Specifically, pressing nutritional ingredient classification, the nutritional ingredient data for having added food product and food product to be added of recipe are believed It ceases the same nutritional ingredient in corresponding nutritional ingredient data and carries out corresponding cumulative, obtain the accumulation result of all kinds of nutritional ingredients.
For example, for this nutritional ingredient of protein, albumen in the nutritional ingredient data for having added food product of recipe Matter total content is 100 grams, and protein content is 20 grams in the corresponding nutritional ingredient data of food product information to be added, obtains protein Accumulation result be 120 grams.
104, according to all kinds of nutritional requirements of the accumulation result of all kinds of nutritional ingredients and user, it is determined whether permission is being eaten Food product information to be added is added in spectrum.
Specifically, the process may include:
All kinds of nutritional requirements of user are corresponded to the accumulation result for subtracting every class nutritional ingredient, obtain multiple differences;If When multiple differences are all higher than or are equal to zero, food product information to be added is added in permission in recipe;
If there are minus at least one difference in multiple differences, and the absolute value of at least one difference be less than it is pre- If when threshold value, food product information to be added is added in permission in recipe;
Otherwise, refusal adds food product information to be added in recipe.
Wherein, predetermined threshold value can be configured according to actual needs, and the nutritional ingredient that all categories can be arranged corresponds to Predetermined threshold value all same or differ, for example the corresponding predetermined threshold value of nutritional ingredient of all categories is disposed as 5 grams, this hair Bright embodiment is not limited this.
Illustratively, the protein content of recipe added contained by food product and the protein content contained by food product to be added It is 120 grams to carry out cumulative accumulation result, and the daily Optimum dietary protein level of user is 110 grams, at this time the difference of protein content It it is -10 grams, and the absolute value of the difference is more than 5 grams of predetermined threshold value, then does not allow to add food product information to be added in recipe.
Optionally, after step 104, method further includes:
After adding food product information to be added in recipe, multiple differences are preserved, and export the first information, the first information includes There are multiple differences, and after refusal adds food product information to be added, export the second information, the second packet contains based on multiple Difference suggests the food product information that user adds in recipe.
In the embodiment of the present invention, after food product information to be added is added in recipe, if multiple differences are equal to zero, then it represents that Nutritional ingredient data in current recipe have met the same day nutritional need of user, then in order to ensure the nutrient health of user, It then will not continue to receive user when inputting food product information to be added again for the recipe;And if multiple differences are when being all higher than zero, It then indicates that the nutritional ingredient data in current recipe do not meet the same day nutritional need of user also, needs to continue to add to current recipe Snack product, under such situation, the first information of output can also include suggesting that user continue to add in recipe based on multiple differences The food product information added.
An embodiment of the present invention provides a kind of nutrient diet methods, compared with prior art, by the nutrient diet method, User does not have to the nutritionist for spending high cost to engage profession, but mobile eventually using smart mobile phone etc. by user oneself It holds and thus largely simplifies the approach that people obtain healthy diet to obtain the recipe of science health;Meanwhile, it is capable to In conjunction with user's individual difference, rational diet collocation is carried out for different users to realize the purpose of nutrient diet, to protect The healthy diet of user is hindered..
Fig. 2 is a kind of nutrition catering device frame diagram shown according to embodiments of the present invention, with reference to shown in Fig. 2, the device 2 Including:
Computing module 21 is used for being calculated in advance by multiple sign informations of user and all kinds of nutritional requirement appraising models All kinds of nutritional requirements at family;
Receiving module 22 is directed to the food product information to be added of recipe input for receiving user on mobile terminals;
Acquisition module 23, for obtaining the corresponding nutritional ingredient data of food product information to be added;
Accumulator module 24, it is corresponding with food product information to be added for the nutritional ingredient data for having added food product to recipe Same nutritional ingredient in nutritional ingredient data correspond to and is added up, and obtains the accumulation result of all kinds of nutritional ingredients;
Determining module 25, for according to the accumulation result of all kinds of nutritional ingredients and all kinds of nutritional requirements of user, determining Whether allow to add food product information to be added in recipe.
Optionally, multiple user's sign informations include height, weight, age, health degree and the labor intensity of user;
The calculation formula of all kinds of nutritional requirement appraising models is:
Wherein, W indicates the standard energy demand of user, LrIndicate the height of user, WrIndicate the weight of user, XiTable Show the demand of the i-th nutritional ingredient, miIndicate the i-th nutritional ingredient occupy family standard energy demand W percentage, i be 1 to The integer of N, F1(a) it indicates using the age a of user as the function of variable, F2(b) it indicates using the health degree b of user as the letter of variable Number, F3(c) it indicates using the labor intensity c of user as the function of variable, W1For F1(a) weight coefficient, W2For F2(b) weight system Number, W3For F3(c) weight coefficient.
Optionally, device 2 further includes:
Judgment module 26, for judging whether the nutritional ingredient data for having added food product of recipe reach corresponding all kinds of battalion Demand is supported, if it is determined that being yes, receiving module receives food product information to be added.
Optionally, food product information to be added includes the image and weight of food product to be added, and receiving module 22 is specifically used for:
It receives and image that food product to be added obtains is shot by the camera of mobile terminal or from this map of mobile terminal The image loaded in valut;And
Receive weight input by user.
Optionally, acquisition module 23 includes:
It identifies submodule 231, is identified for the image to food product to be added, determines the food product class of food product to be added Not;
Submodule 232 is inquired, in the database, inquiring the corresponding nutritional ingredient of food product classification;
Acquisition submodule 233, for the weight according to food product classification corresponding nutritional ingredient and food product to be added, acquisition waits for Add the nutritional ingredient data of food product.
Optionally, determining module 25 is specifically used for:
All kinds of nutritional requirements of user are corresponded to the accumulation result for subtracting all kinds of nutritional ingredients, obtain multiple differences;
If multiple differences are all higher than or are equal to zero, food product information to be added is added in permission in recipe;
If there are minus at least one difference in multiple differences, and the absolute value of at least one difference be less than it is pre- If when threshold value, food product information to be added is added in permission in recipe;
Otherwise, refusal adds food product information to be added in recipe.
Optionally, device 2 further includes preserving module 27 and message output module 28;
Preserving module 27 preserves multiple differences after adding food product information to be added in recipe;
Message output module 28 exports the first information, the first information after adding food product information to be added in recipe Include multiple differences;
Message output module 28 is additionally operable to after refusal adds food product information to be added, exports the second information, the second information Include the food product information added in recipe based on multiple difference suggestion users.
An embodiment of the present invention provides a kind of nutrition catering devices, and compared with prior art, by the device, user does not have to It spends high cost to engage the nutritionist of profession, but is obtained using mobile terminals such as smart mobile phones by user oneself Thus the recipe of science health largely simplifies the approach that people obtain healthy diet;Meanwhile, it is capable in conjunction with user Individual difference carries out rational diet collocation to realize the purpose of nutrient diet, to ensure user for different users Healthy diet..
The alternative embodiment that any combination forms the present invention may be used, herein no longer in above-mentioned all optional technical solutions It repeats one by one.
It should be noted that:Above-described embodiment provide nutrition catering device when executing nutrient diet method, only more than The division progress of each function module is stated for example, in practical application, it can be as needed and by above-mentioned function distribution by difference Function module complete, i.e., the internal structure of equipment is divided into different function modules, with complete it is described above whole or Person's partial function.In addition, the nutrition catering device that above-described embodiment provides belongs to same design with nutrient diet embodiment of the method, Its specific implementation process refers to embodiment of the method, and which is not described herein again.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware Complete, relevant hardware can also be instructed to complete by program, program can be stored in a kind of computer-readable storage In medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of nutrient diet method, which is characterized in that the method includes:
Calculating all kinds of nutrition of the user by multiple sign informations of user and all kinds of nutritional requirement appraising models in advance needs The amount of asking;
It receives the user and is directed to the food product information to be added of recipe input on mobile terminals, and obtain the food product to be added The corresponding nutritional ingredient data of information;
Nutritional ingredient number corresponding with the food product information to be added to the nutritional ingredient data for having added food product of the recipe Same nutritional ingredient in correspond to and is added up, and obtains the accumulation result of all kinds of nutritional ingredients;
According to all kinds of nutritional requirements of the accumulation result of all kinds of nutritional ingredients and the user, it is determined whether allow in institute It states and adds the food product information to be added in recipe.
2. according to the method described in claim 1, it is characterized in that, the multiple sign information include the user height, Weight, age, health degree and labor intensity;
The calculation formula of all kinds of nutritional requirement appraising models is:
Wherein, W indicates the standard energy demand of user, LrIndicate the height of user, WrIndicate the weight of user, XiIndicate i-th The demand of nutritional ingredient, miIndicate the i-th nutritional ingredient occupy family standard energy demand W percentage, i be 1 to N it is whole Number, F1(a) it indicates using the age a of user as the function of variable, F2(b) it indicates using the health degree b of user as the function of variable, F3 (c) it indicates using the labor intensity c of user as the function of variable, W1For F1(a) weight coefficient, W2For F2(b) weight coefficient, W3 For F3(c) weight coefficient.
3. method according to claim 1 or 2, which is characterized in that the food product information to be added includes food product to be added Image and weight, it is described to receive the food product information to be added input by user and include:
It receives and image that the food product to be added obtains is shot by the camera of the mobile terminal or from the mobile terminal Local picture library in the image that loads;And
Receive the weight input by user.
4. according to the method described in claim 3, it is characterized in that, described obtain the corresponding nutrition of the food product information to be added Compositional data includes:
The image of the food product to be added is identified, determines the food product classification of the food product to be added;
In the database, the corresponding nutritional ingredient of the food product classification is inquired;
According to the weight of the food product classification corresponding nutritional ingredient and the food product to be added, the food product to be added is obtained Nutritional ingredient data.
5. according to the method described in claim 1, it is characterized in that, the accumulation result according to all kinds of nutritional ingredients and All kinds of nutritional requirements of the user, it is determined whether permission adds the food product information to be added in the recipe and includes:
All kinds of nutritional requirements of the user are corresponded to the accumulation result for subtracting all kinds of nutritional ingredients, obtain multiple differences Value;
If the multiple difference is all higher than or is equal to zero, the food product information to be added is added in permission in the recipe;
If there are minus at least one differences in the multiple difference, and the absolute value of at least one difference does not surpass When crossing predetermined threshold value, the food product information to be added is added in permission in the recipe;
Otherwise, refusal adds the food product information to be added in the recipe.
6. a kind of nutrition catering device, which is characterized in that described device includes:
Computing module, for calculating the user by multiple sign informations of user and all kinds of nutritional requirement appraising models in advance All kinds of nutritional requirements;
Receiving module is directed to the food product information to be added of recipe input for receiving the user on mobile terminals;
Acquisition module, for obtaining the corresponding nutritional ingredient data of the food product information to be added;
Accumulator module, it is corresponding with the food product information to be added for the nutritional ingredient data for having added food product to the recipe Nutritional ingredient data in same nutritional ingredient carry out corresponding cumulative, obtain the accumulation result of all kinds of nutritional ingredients;
Determining module is used for according to the accumulation result of all kinds of nutritional ingredients and all kinds of nutritional requirements of the user, really It is fixed whether to allow to add the food product information to be added in the recipe.
7. device according to claim 6, which is characterized in that the multiple user's sign information includes the body of the user Height, weight, age, health degree and labor intensity;
The calculation formula of all kinds of nutritional requirement appraising models is:
Wherein, W indicates the standard energy demand of user, LrIndicate the height of user, WrIndicate the weight of user, XiIndicate i-th The demand of nutritional ingredient, miIndicate the i-th nutritional ingredient occupy family standard energy demand W percentage, i be 1 to N it is whole Number, F1(a) it indicates using the age a of user as the function of variable, F2(b) it indicates using the health degree b of user as the function of variable, F3 (c) it indicates using the labor intensity c of user as the function of variable, W1For F1(a) weight coefficient, W2For F2(b) weight coefficient, W3 For F3(c) weight coefficient.
8. the device described according to claim 6 or 7, which is characterized in that the food product information to be added includes food product to be added Image and weight, the receiving module be specifically used for:
It receives and image that the food product to be added obtains is shot by the camera of the mobile terminal or from the mobile terminal Local picture library in the image that loads;And
Receive the weight input by user.
9. device according to claim 8, which is characterized in that the acquisition module includes:
It identifies submodule, is identified for the image to the food product to be added, determines the food product class of the food product to be added Not;
Submodule is inquired, in the database, inquiring the corresponding nutritional ingredient of the food product classification;
Acquisition submodule is obtained for the weight according to the food product classification corresponding nutritional ingredient and the food product to be added The nutritional ingredient data of the food product to be added.
10. device according to claim 6, which is characterized in that the determining module is specifically used for:
All kinds of nutritional requirements of the user are corresponded to the accumulation result for subtracting all kinds of nutritional ingredients, obtain multiple differences Value;
If the multiple difference is all higher than or is equal to zero, the food product information to be added is added in permission in the recipe;
If there are minus at least one differences in the multiple difference, and the absolute value of at least one difference does not surpass When crossing predetermined threshold value, the food product information to be added is added in permission in the recipe;
Otherwise, refusal adds the food product information to be added in the recipe.
CN201810220605.XA 2018-03-16 2018-03-16 A kind of nutrient diet method and apparatus Pending CN108630293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810220605.XA CN108630293A (en) 2018-03-16 2018-03-16 A kind of nutrient diet method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810220605.XA CN108630293A (en) 2018-03-16 2018-03-16 A kind of nutrient diet method and apparatus

Publications (1)

Publication Number Publication Date
CN108630293A true CN108630293A (en) 2018-10-09

Family

ID=63706363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810220605.XA Pending CN108630293A (en) 2018-03-16 2018-03-16 A kind of nutrient diet method and apparatus

Country Status (1)

Country Link
CN (1) CN108630293A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659420A (en) * 2019-09-25 2020-01-07 广州西思数字科技有限公司 Personalized catering method based on deep neural network Monte Carlo search tree
CN111261261A (en) * 2020-02-24 2020-06-09 江苏大学 Online intelligent sensing and blending method for raw material ratio of coarse cereal rice
CN111387821A (en) * 2020-03-27 2020-07-10 厦门优尔智能科技股份有限公司 Personalized beverage preparation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577671A (en) * 2012-07-26 2014-02-12 刘晓东 Method and system for generating personalized meal schemes
CN104731846A (en) * 2014-11-17 2015-06-24 陕西师范大学 Individuation catering recommendation method and system based on multiple targets
US20150242468A1 (en) * 2014-02-26 2015-08-27 James William Shoemaker Nutritional Assessment Tool
CN105092006A (en) * 2014-05-08 2015-11-25 上海市同济医院 Portable nutritional-recipe electronic scale and weighing data processing method therefor
WO2016202274A1 (en) * 2015-06-16 2016-12-22 株式会社日立制作所 Recipe designing device and recipe designing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577671A (en) * 2012-07-26 2014-02-12 刘晓东 Method and system for generating personalized meal schemes
US20150242468A1 (en) * 2014-02-26 2015-08-27 James William Shoemaker Nutritional Assessment Tool
CN105092006A (en) * 2014-05-08 2015-11-25 上海市同济医院 Portable nutritional-recipe electronic scale and weighing data processing method therefor
CN104731846A (en) * 2014-11-17 2015-06-24 陕西师范大学 Individuation catering recommendation method and system based on multiple targets
WO2016202274A1 (en) * 2015-06-16 2016-12-22 株式会社日立制作所 Recipe designing device and recipe designing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659420A (en) * 2019-09-25 2020-01-07 广州西思数字科技有限公司 Personalized catering method based on deep neural network Monte Carlo search tree
CN110659420B (en) * 2019-09-25 2022-05-20 广州西思数字科技有限公司 Personalized catering method based on deep neural network Monte Carlo search tree
CN111261261A (en) * 2020-02-24 2020-06-09 江苏大学 Online intelligent sensing and blending method for raw material ratio of coarse cereal rice
CN111261261B (en) * 2020-02-24 2023-05-09 江苏大学 Online intelligent sensing and blending method for coarse cereal rice raw material proportion
CN111387821A (en) * 2020-03-27 2020-07-10 厦门优尔智能科技股份有限公司 Personalized beverage preparation method

Similar Documents

Publication Publication Date Title
AU2013101802A4 (en) Systems and methods for user-specific modulation of nutrient intake
US20130273509A1 (en) Method of Monitoring Nutritional Intake by Image Processing
CN108630293A (en) A kind of nutrient diet method and apparatus
KR102310493B1 (en) Diet care service method
CN108665960A (en) A kind of health control method and device
CN112002388A (en) Diet recommendation method and device
CN111210894B (en) Diet health management method, device, equipment and medium
CN109461490A (en) The processing method of healthy diet data, apparatus and system
CN115985470A (en) Intelligent nutrition management method and intelligent management system
JP2022530263A (en) Food measurement methods, equipment and programs
JP2023522599A (en) Systems and methods for providing personalized recommendations for a healthy microbiome
EP2787459A1 (en) Method of monitoring nutritional intake by image processing
CN111128342A (en) Artificial intelligence recommended dish collocation platform and dish collocation customizing method
KR20020013999A (en) System and method for offering customized diet information and media for storing program source thereof
CN114023419A (en) Recipe recommendation method and device and nonvolatile storage medium
CN115335914A (en) Indicating dependency nutrient calculation and preservation platform
CN113569140A (en) Information recommendation method and device, electronic equipment and computer-readable storage medium
CN113220995A (en) Dish making method and device, electronic equipment and storage medium
KR102567850B1 (en) Apparatus and method of providing personal customized referral information based on medical examination data
WO2024060967A1 (en) Meal plan generating method, apparatus, and computer implemented algorithm thereof
JP7505731B2 (en) Nutrition management system, nutrition management method, and nutrition management program
KR20240139932A (en) Method, system and non-transitory computer-readable recording medium for supporting dietary management
KR20240139931A (en) Method, system and non-transitory computer-readable recording medium for supporting dietary management
Muley et al. A Review on IMfit Application: A Healthcare Implementation
CN114743640A (en) Menu acquisition method and device, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181009

RJ01 Rejection of invention patent application after publication