CN105825048B - A kind of diet method and device for planning - Google Patents
A kind of diet method and device for planning Download PDFInfo
- Publication number
- CN105825048B CN105825048B CN201610140744.2A CN201610140744A CN105825048B CN 105825048 B CN105825048 B CN 105825048B CN 201610140744 A CN201610140744 A CN 201610140744A CN 105825048 B CN105825048 B CN 105825048B
- Authority
- CN
- China
- Prior art keywords
- menu
- user
- multiple optional
- parameters
- target
- 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.)
- Active
Links
Classifications
-
- G06F19/3475—
Abstract
The embodiment of the invention discloses a kind of diet planing method, the method includes:The menu name keyword that user inputs at calendar application interface is obtained, and obtains the weather parameters on the same day, the weather parameters includes at least one of temperature, humidity, ultraviolet index;Detect the physical sign parameters of user;According to the physical sign parameters, the menu name keyword input by user and the weather parameters on the same day detected, multiple optional menus are determined;Recommend the multiple optional menu to the user.The embodiment of the invention also discloses a kind of diet device for planning.Using the present invention, it may be implemented according to the specific requirements of the physical sign parameters and weather condition of each user and user to be that user makes rational planning for diet, contribute to user health to live, promote user experience.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of diet method and device for planning.
Background technology
With the development of electronics technology and mobile Internet, the function of intelligent mobile terminal is stronger and stronger, as long as with
Various mobile applications (mobile app) are installed in family according to the demand of itself on intelligent mobile terminal, can obtain very much
Consultation information, it might even be possible to complete many things with staying indoors, people's lives increasingly be unable to do without intelligent mobile terminal.
In many scenes, user is frequently necessary to check calendar information using mobile terminal, such as date information, almanac information
Deng, however, often function is fairly simple for existing calendar applications, even if add notepad function, propitious date inquiry,
The functions such as the critical events such as birthday prompting, but the daily life of user can only be given to provide unilateral directive function, and root can not be solved
According to user personal considerations be user's reasonable arrangement diet the problem of.
Invention content
Technical problem to be solved of the embodiment of the present invention is, provides a kind of diet method and device for planning, the present invention
It can be that user makes rational planning for diet according to the specific requirements of the physical sign parameters and weather condition of each user and user, contribute to
User health is lived, and user experience is promoted.
In order to solve the above-mentioned technical problem, an embodiment of the present invention provides a kind of diet planing method, the method includes:
The menu name keyword that user inputs at calendar application interface is obtained, and obtains the weather parameters on the same day, it is described
Weather parameters includes at least one of temperature, humidity, ultraviolet index;
Detect the physical sign parameters of user;
According to physical sign parameters, the menu name keyword input by user and the weather on the same day ginseng detected
Number, determines multiple optional menus;
Recommend the multiple optional menu to the user.
Correspondingly, the embodiment of the present invention additionally provides a kind of diet device for planning, including:
Acquisition module, the menu name keyword inputted at calendar application interface for obtaining user, and obtain the same day
Weather parameters, the weather parameters include at least one of temperature, humidity, ultraviolet index;
Detection module, the physical sign parameters for detecting user;
Determining module, for according to physical sign parameters, the menu name keyword input by user and described detected
The weather parameters on the same day determines multiple optional menus;
Recommending module, for recommending the multiple optional menu to the user.
Implement the embodiment of the present invention, has the advantages that:Terminal obtain first user terminal calendar application journey
The menu name keyword of the interface input of sequence, and the weather parameters on the same day, such as temperature, humidity, ultraviolet index are obtained, so
The physical sign parameters for detecting user afterwards, further according to physical sign parameters, menu name keyword input by user and the same day detected
Weather parameters determines multiple optional menus, and recommends the multiple optional menu to the user.In the prior art, day
Going through application program, often function is fairly simple, is carried even if adding the critical events such as notepad function, propitious date inquiry, birthday
The functions such as awake, but unilateral directive function can only be provided to the daily life of user, and a human feelings according to user can not be solved
The problem of condition is user's reasonable arrangement diet, compared with prior art, the present invention can according to the physical sign parameters of each user and
Weather condition and the specific requirements of user are that user makes rational planning for diet, contribute to user health to live, promote user experience.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow diagram of diet planing method in the embodiment of the present invention;
Fig. 2 is the recommendation menu display interface schematic diagram in the embodiment of the present invention;
Fig. 3 is the recommendation menu display interface schematic diagram in another embodiment of the present invention;
Fig. 4 is the flow diagram of the diet planing method in another embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of diet device for planning in the embodiment of the present invention;
Fig. 6 is the structural schematic diagram of the recommending module of diet device for planning in the embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the recommending module of diet device for planning in another embodiment of the present invention;
Fig. 8 is a kind of Organization Chart for the computer system executing above-mentioned diet planing method in the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
Specific requirements and body according to user can not be solved to solve calendar applications in traditional technology mentioned above
Sign parameter be user make rational planning for diet the technical issues of, spy of the embodiment of the present invention proposes a kind of diet planing method, the party
Method can be dependent on computer program realization, can run in the computer system based on von Neumann system.The computer system
It can integrate in the application, also can be used as independent tool-class application operation.The computer system can be smart mobile phone, notebook
The mobile devices such as computer, tablet computer, PC.
It should be noted that the term used in embodiments of the present invention is the mesh only merely for description specific embodiment
, it is not intended to limit the invention." the one of the embodiment of the present invention and singulative used in the attached claims
Kind ", " described " and "the" are also intended to including most forms, unless context clearly shows that other meanings.It is also understood that this
Term "and/or" used herein refers to and includes one or more associated any or all possible group of list items purposes
It closes.
It makes a concrete analysis of below.
Fig. 1 is a kind of flow diagram of diet planing method in the embodiment of the present invention, in the present embodiment as shown in the figure
Diet planing method flow may include:
Step S101 obtains the menu name keyword that user inputs at calendar application interface, and obtains the weather on the same day
Parameter, the weather parameters include at least one of temperature, humidity, ultraviolet index.
Specifically, application interface input menu title such as " potato ", " western red of the user in the calendar applications of terminal
The keywords such as persimmon ", terminal detect keyword input by user and obtain corresponding key word information.Meanwhile terminal also obtains and works as
It Weather information, such as temperature, humidity, ultraviolet index, rainfall parameter information, can be examined by terminal weather application
It surveys or relevant sensor acquires the Weather information, be not especially limited herein.
Step S102 detects the physical sign parameters of user.
Specifically, physical sign parameters include in user's heart rate, user's shell temperature, user's pulse frequency and user's pressure value
At least one.Terminal preset sensor, such as heart rate sensor, temperature sensor, pulse transducer and blood pressure sensor,
User's heart rate can be detected by heart rate sensor, user's shell temperature is detected by temperature sensor, passes through pulse transducer
The pulse frequency for detecting user detects the pressure value of user by blood pressure sensor.
Optionally, include user's heart rate, user's shell temperature, user's pulse frequency and user in the physical sign parameters of user
When a kind of in pressure value, terminal carries out multiple sampling detection in preset duration to the physical sign parameters of user, obtains multiple inspections
It surveys as a result, the average value of the multiple testing result is calculated, using the average value as the physical sign parameters of user, such as preset duration
5 detections are carried out in the t periods, testing result is respectively a, b, c, d, e, by average value x=(a+b+c+d+e)/5 as use
The physical sign parameters at family.Include user's heart rate, user's shell temperature, user's pulse frequency and user's blood in the physical sign parameters of user
When a variety of in pressure value, the multiple physical sign parameters of terminal-pair are sampled detection respectively, calculate separately being averaged for each physical sign parameters
Value.In the present embodiment, preset duration can be 1 minute, 2 minutes, 3 minutes etc., be not especially limited herein.
Optionally, the mode of the physical sign parameters of terminal detection user can be diversified, such as can be every default week
The physical sign parameters of phase detection user can also detect the physical sign parameters of user in real time.
Step S103, according to the physical sign parameters, the menu name keyword input by user and the same day detected
Weather parameters, determine multiple optional menus.
Specifically, physical sign parameters result, keyword input by user and the acquisition of the user detected in conjunction with sensor
The same day weather parameters, obtain multiple menus, the menu can be single product, or set meal.
If for example, detecting that the physical sign parameters result of user is:Heart rate is 80 beats/min, and shell temperature is 36.2 DEG C, blood
Pressure is 60mmHg, and keyword input by user is:" balsam pear ", weather parameters are:38 DEG C of temperature, 57%, fine day, in conjunction with these ginsengs
Number information, obtains multiple optional menus:1, balsam pear, cold and dressed with sauce tomato are fried;2, balsam pear edge meat, sweet mung bean soup;3, fragrant prince wife's balsam pear, west
Melon juice;4, bitter mellon and sparerib soup;5, balsam pear scrambled egg, chrysanthemum tea.By single product or set meal combination can help the pure and fresh relieving restlessness of user,
Arousing brain, raising spirit, and can improve a poor appetite, golden spleen stomach invigorating.
Step S104 recommends the multiple optional menu to the user.
Specifically, obtaining the number of the multiple optional menu, judge whether the number of the menu is more than screen
Maximum shows number threshold value, and when the number of the menu is more than the maximum display number threshold value of the screen, circulating rolling is aobvious
Show the multiple optional menu, when the number of the menu is less than or equal to the maximum display number threshold value of the screen,
Directly expansion display.
For example, if display screen can at most show 10 menus, when optional menu has 8, then display mode such as Fig. 2
Shown, if optional menu has 12, display mode is as shown in Figure 3.According to any one display side in this 2 kinds of modes
Formula is come when showing, when the user clicks after target menu, terminal shows the information of corresponding target menu.
Optionally, described to include to the multiple optional menu of user recommendation:
The multiple optional menu is traversed, the mesh for existing with being cached is searched whether in the multiple optional menu
The mark menu menu that matches matches if existing in the multiple optional menu with the target menu being cached
Menu then shows the dish to match with the target menu being cached in the multiple optional menu in different ways
Spectrum.
Specifically, when user reuses this function, 10 menus are recommended, if recommending to have " balsam pear chop in menu
Soup ", and when also having this course in the menu cached before, terminal then by this course and remaining 9 recommend menus in different ways
It shows user, such as different colours, different fonts, different font sizes or terminal output to put forward information etc., does not limit specifically herein
It is fixed.
Terminal obtains the menu name that user inputs at the interface of the calendar applications of terminal first in the embodiment of the present invention
Claim keyword, and obtain the weather parameters on the same day, such as temperature, humidity, ultraviolet index, then detects the sign ginseng of user
Number, further according to the physical sign parameters, menu name keyword input by user and the weather parameters on the same day detected, determine it is multiple can
The menu of choosing, and recommend the multiple optional menu to the user.In the prior art, calendar applications often function ratio
It is relatively simple, even if adding the functions such as the critical events such as notepad function, propitious date inquiry, birthday prompting, but it can only give and use
The daily life at family provides unilateral directive function, and can not solve according to the personal considerations of user to be user's reasonable arrangement diet
The problem of, compared with prior art, the present invention can be according to the specific of the physical sign parameters and weather condition of each user and user
Demand is that user makes rational planning for diet, contributes to user health to live, promotes user experience.
Fig. 4 is the flow diagram of the diet planing method in another embodiment of the present invention, in the present embodiment as shown in the figure
The flow diagram of diet planing method may include:
Step S201 obtains the menu name keyword that user inputs at calendar application interface, and obtains the weather on the same day
Parameter, the weather parameters include at least one of temperature, humidity, ultraviolet index.
Specifically, application interface input menu title such as " potato ", " western red of the user in the calendar applications of terminal
The keywords such as persimmon ", terminal detect keyword input by user and obtain corresponding key word information.Meanwhile terminal also obtains and works as
It Weather information, such as temperature, humidity, ultraviolet index, rainfall parameter information, can be examined by terminal weather application
It surveys or relevant sensor acquires the Weather information, be not especially limited herein.
Step S202 detects the physical sign parameters of user.
Specifically, physical sign parameters include in user's heart rate, user's shell temperature, user's pulse frequency and user's pressure value
At least one.Terminal preset sensor, such as heart rate sensor, temperature sensor, pulse transducer and blood pressure sensor,
User's heart rate can be detected by heart rate sensor, user's shell temperature is detected by temperature sensor, passes through pulse transducer
The pulse frequency for detecting user detects the pressure value of user by blood pressure sensor.
Optionally, include user's heart rate, user's shell temperature, user's pulse frequency and user in the physical sign parameters of user
When a kind of in pressure value, terminal carries out multiple sampling detection in preset duration to the physical sign parameters of user, obtains multiple inspections
It surveys as a result, the average value of the multiple testing result is calculated, using the average value as the physical sign parameters of user, such as preset duration
5 detections are carried out in the t periods, testing result is respectively a, b, c, d, e, by average value x=(a+b+c+d+e)/5 as use
The physical sign parameters at family.Include user's heart rate, user's shell temperature, user's pulse frequency and user's blood in the physical sign parameters of user
When a variety of in pressure value, the multiple physical sign parameters of terminal-pair are sampled detection respectively, calculate separately being averaged for each physical sign parameters
Value.In the present embodiment, preset duration can be 1 minute, 2 minutes, 3 minutes etc., be not especially limited herein.
Optionally, the mode of the physical sign parameters of terminal detection user can be diversified, such as can be every default week
The physical sign parameters of phase detection user can also detect the physical sign parameters of user in real time.
Step S203, according to the physical sign parameters, the menu name keyword input by user and the same day detected
Weather parameters, determine multiple optional menus.
Specifically, physical sign parameters result, keyword input by user and the acquisition of the user detected in conjunction with sensor
The same day weather parameters, obtain multiple menus, the menu can be single product, or set meal.
If for example, detecting that the physical sign parameters result of user is:Heart rate is 80 beats/min, and shell temperature is 36.2 DEG C, blood
Pressure is 60mmHg, and keyword input by user is:" balsam pear ", weather parameters are:38 DEG C of temperature, 57%, fine day, in conjunction with these ginsengs
Number information, obtains multiple optional menus:1, balsam pear, cold and dressed with sauce tomato are fried;2, balsam pear edge meat, sweet mung bean soup;3, fragrant prince wife's balsam pear, west
Melon juice;4, bitter mellon and sparerib soup;5, balsam pear scrambled egg, chrysanthemum tea.By single product or set meal combination can help the pure and fresh relieving restlessness of user,
Arousing brain, raising spirit, and can improve a poor appetite, golden spleen stomach invigorating.
Step S204 recommends the multiple optional menu to the user.
Specifically, obtaining the number of the multiple optional menu, judge whether the number of the menu is more than screen
Maximum shows number threshold value, and when the number of the menu is more than the maximum display number threshold value of the screen, circulating rolling is aobvious
Show the multiple optional menu, when the number of the menu is less than or equal to the maximum display number threshold value of the screen,
Directly expansion display.
For example, if display screen can at most show 10 menus, when optional menu has 8, then display mode such as Fig. 2
Shown, if optional menu has 12, display mode is as shown in Figure 3.According to any one display side in this 2 kinds of modes
Formula is come when showing, when the user clicks after target menu, terminal shows the information of corresponding target menu.
Step S205 obtains selection of the user to the multiple menu, obtains the target menu chosen, and cache institute
State target menu.
Specifically, in the information for multiple menus that terminal is shown, when user selects mesh in a manner of clicking or press etc.
After marking menu, terminal obtains the target menu of user's selection, and is cached to the target menu.
For example, existing terminal has elected 5 menus:1, Chinese yam spareribs broth;2, tomato scrambled eggs+bulbus fritilariae snow pear juice;3, wax gourd
Fry meat+honey kumquat tea 4, daikon & sparerib soup;5, Chinese cabbage with sweet & sour sauce+loquat syrup, if user selects No. 3 menus, terminal is by No. 3
Menu caches.
Step S206 periodically removes the target menu of the caching.
Specifically, terminal is purged the target menu cached before according to the preset period.Such as it is default with week (7
It) be the period, then terminal often spends 7 days and just removes caching, and to recommending menu to plan again and delaying according to the user's choice
It deposits.
Terminal obtains the menu name that user inputs at the interface of the calendar applications of terminal first in the embodiment of the present invention
Claim keyword, and obtain the weather parameters on the same day, such as temperature, humidity, ultraviolet index, then detects the sign ginseng of user
Number, further according to the physical sign parameters, menu name keyword input by user and the weather parameters on the same day detected, determine it is multiple can
The menu of choosing, and recommend the multiple optional menu to the user.In the prior art, calendar applications often function ratio
It is relatively simple, even if adding the functions such as the critical events such as notepad function, propitious date inquiry, birthday prompting, but it can only give and use
The daily life at family provides unilateral directive function, and can not solve according to the personal considerations of user to be user's reasonable arrangement diet
The problem of, compared with prior art, the present invention can be according to the specific of the physical sign parameters and weather condition of each user and user
Demand is that user makes rational planning for diet, contributes to user health to live, promotes user experience.
Fig. 5 is a kind of structural schematic diagram of diet device for planning in the embodiment of the present invention, and the present invention is implemented as shown in the figure
Example in diet device for planning may include:
Acquisition module 510, the menu name keyword inputted at calendar application interface for obtaining user, and obtain the same day
Weather parameters, the weather parameters includes at least one of temperature, humidity, ultraviolet index.
Specifically, application interface input menu title such as " potato ", " western red of the user in the calendar applications of terminal
The keywords such as persimmon ", terminal detect keyword input by user and obtain corresponding key word information.Meanwhile terminal also obtains and works as
It Weather information, such as temperature, humidity, ultraviolet index, rainfall parameter information, can be examined by terminal weather application
It surveys or relevant sensor acquires the Weather information, be not especially limited herein.
Detection module 520, the physical sign parameters for detecting user.
Specifically, physical sign parameters include in user's heart rate, user's shell temperature, user's pulse frequency and user's pressure value
At least one.Terminal preset sensor, such as heart rate sensor, temperature sensor, pulse transducer and blood pressure sensor,
User's heart rate can be detected by heart rate sensor, user's shell temperature is detected by temperature sensor, passes through pulse transducer
The pulse frequency for detecting user detects the pressure value of user by blood pressure sensor.
Optionally, include user's heart rate, user's shell temperature, user's pulse frequency and user in the physical sign parameters of user
When a kind of in pressure value, terminal carries out multiple sampling detection in preset duration to the physical sign parameters of user, obtains multiple inspections
It surveys as a result, the average value of the multiple testing result is calculated, using the average value as the physical sign parameters of user, such as preset duration
5 detections are carried out in the t periods, testing result is respectively a, b, c, d, e, by average value x=(a+b+c+d+e)/5 as use
The physical sign parameters at family.Include user's heart rate, user's shell temperature, user's pulse frequency and user's blood in the physical sign parameters of user
When a variety of in pressure value, the multiple physical sign parameters of terminal-pair are sampled detection respectively, calculate separately being averaged for each physical sign parameters
Value.In the present embodiment, preset duration can be 1 minute, 2 minutes, 3 minutes etc., be not especially limited herein.
Optionally, the mode of the physical sign parameters of terminal detection user can be diversified, such as can be every default week
The physical sign parameters of phase detection user can also detect the physical sign parameters of user in real time.
Determining module 530, for according to physical sign parameters, the menu name keyword input by user and the institute detected
The weather parameters for stating the same day, determines multiple optional menus.
Specifically, physical sign parameters result, keyword input by user and the acquisition of the user detected in conjunction with sensor
The same day weather parameters, obtain multiple menus, the menu can be single product, or set meal.
If for example, detecting that the physical sign parameters result of user is:Heart rate is 80 beats/min, and shell temperature is 36.2 DEG C, blood
Pressure is 60mmHg, and keyword input by user is:" balsam pear ", weather parameters are:38 DEG C of temperature, 57%, fine day, in conjunction with these ginsengs
Number information, obtains multiple optional menus:1, balsam pear, cold and dressed with sauce tomato are fried;2, balsam pear edge meat, sweet mung bean soup;3, fragrant prince wife's balsam pear, west
Melon juice;4, bitter mellon and sparerib soup;5, balsam pear scrambled egg, chrysanthemum tea.By single product or set meal combination can help the pure and fresh relieving restlessness of user,
Arousing brain, raising spirit, and can improve a poor appetite, golden spleen stomach invigorating.
Recommending module 540, for recommending the multiple optional menu to the user.
Optionally, as shown in fig. 6, the recommending module 540 includes:
Number acquiring unit 541, the number for obtaining the multiple optional menu;
Judging unit 542 shows number threshold value for judging whether the number of the menu is more than the maximum of screen;
First display unit 543, when the maximum for being more than the screen in the number of the menu shows number threshold value,
Circulating rolling shows the multiple optional menu.
For example, if display screen can at most show 10 menus, when optional menu has 8, then display mode such as Fig. 2
Shown, if optional menu has 12, display mode is as shown in Figure 3.According to any one display side in this 2 kinds of modes
Formula is come when showing, when the user clicks after target menu, terminal shows the information of corresponding target menu.
Optionally, described device further includes cache module 550, for obtaining choosing of the user to the multiple menu
It selects, obtains the target menu chosen, and cache the target menu.
Specifically, in the information for multiple menus that terminal is shown, when user selects mesh in a manner of clicking or press etc.
After marking menu, terminal obtains the target menu of user's selection, and is cached to the target menu.
For example, existing terminal has elected 5 menus:1, Chinese yam spareribs broth;2, tomato scrambled eggs+bulbus fritilariae snow pear juice;3, wax gourd
Fry meat+honey kumquat tea 4, daikon & sparerib soup;5, Chinese cabbage with sweet & sour sauce+loquat syrup, if user selects No. 3 menus, terminal is by No. 3
Menu caches.
Optionally, as shown in fig. 7, the recommending module 550 includes:
Traversal Unit 544, for traversing the multiple optional menu;
Searching unit 545, the target menu for searching whether to exist be cached in the multiple optional menu
The menu to match;
Second display unit 546, for existing and the target menu being cached in the multiple optional menu
When the menu to match, show in different ways in the multiple optional menu with the target menu phase being cached
The menu matched.
Optionally, described device further includes:Cache module 560 is removed, the target dish for periodically removing the caching
Spectrum.
Specifically, terminal is purged the target menu cached before according to the preset period.Such as it is default with week (7
It) be the period, then terminal often spends 7 days and just removes caching, and to recommending menu to plan again and delaying according to the user's choice
It deposits.
Terminal obtains the menu name that user inputs at the interface of the calendar applications of terminal first in the embodiment of the present invention
Claim keyword, and obtain the weather parameters on the same day, such as temperature, humidity, ultraviolet index, then detects the sign ginseng of user
Number, further according to the physical sign parameters, menu name keyword input by user and the weather parameters on the same day detected, determine it is multiple can
The menu of choosing, and recommend the multiple optional menu to the user.In the prior art, calendar applications often function ratio
It is relatively simple, even if adding the functions such as the critical events such as notepad function, propitious date inquiry, birthday prompting, but it can only give and use
The daily life at family provides unilateral directive function, and can not solve according to the personal considerations of user to be user's reasonable arrangement diet
The problem of, compared with prior art, the present invention can be according to the specific of the physical sign parameters and weather condition of each user and user
Demand is that user makes rational planning for diet, contributes to user health to live, promotes user experience.
In one embodiment, as shown in figure 8, Fig. 8 illustrate a kind of above-mentioned diet planing method of operation based on Feng Nuo
According to the computer system 10 of graceful system.The computer system 10 can be smart mobile phone, tablet computer, palm PC, notebook
The terminal devices such as computer or PC.Specifically, may include the outer input interface 1001 connected by system bus, processing
Device 1002, memory 1003 and output interface 1004.Wherein, outer input interface 1001 optionally may include mouse 10012, key
At least one of disk 10014, touch tablet 10016 or network interface 10018.Memory 1003 may include external memory 10032
(such as hard disk, CD or floppy disk etc.) and built-in storage 10034.Output interface 1004 may include display screen, 10042 and sound equipment/
The equipment such as loudspeaker 10044.
In the present embodiment, the operation of this method is based on computer program, and the program file of the computer program is stored in
In the external memory 10032 of the aforementioned computer system 10 based on von Neumann system, it is loaded into built-in storage at runtime
It in 10034, is then compiled as being transferred in processor 1002 after machine code executing, so that being based on von Neumann system
Computer system 10 in form acquisition module 510 in logic, detection module 520, determining module 530, recommending module 540.
And in above-mentioned diet planing method implementation procedure, the parameter of input is received by outer input interface 1001, and is transferred to
It is cached in memory 1003, is then input in processor 1002 and is handled, the result data of processing or be cached in memory
It is subsequently handled in 1003, or is passed to output interface 1004 and is exported.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (10)
1. a kind of diet planing method, which is characterized in that including:
The menu name keyword that user inputs at calendar application interface is obtained, and obtains the weather parameters on the same day, the weather
Parameter includes at least one of temperature, humidity, ultraviolet index;
Detect the physical sign parameters of user;
According to the physical sign parameters, the menu name keyword input by user and the weather parameters on the same day detected, really
Fixed multiple optional menus;
Recommend the multiple optional menu to the user.
2. the method as described in claim 1, which is characterized in that described to recommend the multiple optional menu packet to the user
It includes:
Obtain the number of the multiple optional menu;
Judge whether the number of the menu is more than the maximum of screen and shows number threshold value;
When the number of the menu is more than the maximum display number threshold value of the screen, circulating rolling shows the multiple optional
Menu.
3. the method as described in claim 1, which is characterized in that it is described to the user recommend the multiple optional menu it
Afterwards, further include:
Selection of the user to the multiple optional menu is obtained, obtains the target menu chosen, and cache the target
Menu.
4. method as claimed in claim 3, which is characterized in that described to recommend the multiple optional menu packet to the user
It includes:
Traverse the multiple optional menu;
Search whether there is the menu to match with the target menu being cached in the multiple optional menu;
If there is the menu to match with the target menu being cached in the multiple optional menu, with different
Mode shows the menu to match with the target menu being cached in the multiple optional menu.
5. method as claimed in claim 3, which is characterized in that after the caching target menu, further include:
Periodically remove the target menu of the caching.
6. a kind of diet device for planning, which is characterized in that including:
Acquisition module, the menu name keyword inputted at calendar application interface for obtaining user, and obtain the weather on the same day
Parameter, the weather parameters include at least one of temperature, humidity, ultraviolet index;
Detection module, the physical sign parameters for detecting user;
Determining module, for according to physical sign parameters, the menu name keyword input by user and the same day detected
Weather parameters, determine multiple optional menus;
Recommending module, for recommending the multiple optional menu to the user.
7. device as claimed in claim 6, which is characterized in that the recommending module includes:
Number acquiring unit, the number for obtaining the multiple optional menu;
Judging unit shows number threshold value for judging whether the number of the menu is more than the maximum of screen;
First display unit, when the maximum for being more than the screen in the number of the menu shows number threshold value, cycle rolling
Dynamic the multiple optional menu of display.
8. device as claimed in claim 6, which is characterized in that described device further includes:
Cache module obtains the target menu chosen for obtaining selection of the user to the multiple optional menu, and
Cache the target menu.
9. device as claimed in claim 8, which is characterized in that the recommending module includes:
Traversal Unit, for traversing the multiple optional menu;
Searching unit matches for searching whether in the multiple optional menu to exist with the target menu being cached
Menu;
Second display unit matches for existing in the multiple optional menu with the target menu being cached
When menu, the dish to match with the target menu being cached in the multiple optional menu is shown in different ways
Spectrum.
10. device as claimed in claim 8, which is characterized in that described device further includes:
Cache module is removed, the target menu for periodically removing the caching.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610140744.2A CN105825048B (en) | 2016-03-11 | 2016-03-11 | A kind of diet method and device for planning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610140744.2A CN105825048B (en) | 2016-03-11 | 2016-03-11 | A kind of diet method and device for planning |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105825048A CN105825048A (en) | 2016-08-03 |
CN105825048B true CN105825048B (en) | 2018-10-26 |
Family
ID=56987184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610140744.2A Active CN105825048B (en) | 2016-03-11 | 2016-03-11 | A kind of diet method and device for planning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105825048B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018027826A1 (en) * | 2016-08-11 | 2018-02-15 | 张焰焰 | Data collection method for use in food recommendation technology, and recommendation system |
WO2018027824A1 (en) * | 2016-08-11 | 2018-02-15 | 张焰焰 | Method for recommending food and drink according to weather, and recommendation system |
WO2018027825A1 (en) * | 2016-08-11 | 2018-02-15 | 张焰焰 | Ownership information display method for dietary recommendation technology, and recommendation system |
CN107870581A (en) * | 2017-10-10 | 2018-04-03 | 广东美的厨房电器制造有限公司 | Cooking control method and cooking equipment |
CN111048181A (en) * | 2019-12-11 | 2020-04-21 | 珠海格力电器股份有限公司 | Method and device for predicting consumption of food materials, electrical equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103260437A (en) * | 2010-10-14 | 2013-08-21 | 阿莎营养科学公司 | Optimized nutritional formulations, methods for selection of tailored diets therefrom, and methods of use thereof |
CN104506629A (en) * | 2014-12-25 | 2015-04-08 | 广东美的厨房电器制造有限公司 | Food nutrition analysis and health management system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100235184A1 (en) * | 2009-03-10 | 2010-09-16 | Searete Llc | Computational systems and methods for health services planning and matching |
WO2015066051A2 (en) * | 2013-10-31 | 2015-05-07 | Dexcom, Inc. | Adaptive interface for continuous monitoring devices |
-
2016
- 2016-03-11 CN CN201610140744.2A patent/CN105825048B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103260437A (en) * | 2010-10-14 | 2013-08-21 | 阿莎营养科学公司 | Optimized nutritional formulations, methods for selection of tailored diets therefrom, and methods of use thereof |
CN104506629A (en) * | 2014-12-25 | 2015-04-08 | 广东美的厨房电器制造有限公司 | Food nutrition analysis and health management system |
Also Published As
Publication number | Publication date |
---|---|
CN105825048A (en) | 2016-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105825048B (en) | A kind of diet method and device for planning | |
Tibebu et al. | Adherence to recommended lifestyle modifications and factors associated for hypertensive patients attending chronic follow-up units of selected public hospitals in Addis Ababa, Ethiopia | |
Palla et al. | Masked hypertension and cardiovascular outcomes: an updated systematic review and meta-analysis | |
Arici et al. | Hypertension incidence in Turkey (HinT): a population-based study | |
Roman-Viñas et al. | International physical activity questionnaire: reliability and validity in a Spanish population | |
Chan et al. | Dietary patterns and risk of pancreatic cancer in a large population-based case-control study in the San Francisco Bay Area | |
Zhang et al. | Validity of Wrist-Worn photoplethysmography devices to measure heart rate: a systematic review and meta-analysis | |
CN107705834A (en) | A kind of dietary recommendations continued system based on Recognition with Recurrent Neural Network | |
Misra et al. | Risk factor profile for non-communicable diseases among Mishing tribes in Assam, India: Results from a WHO STEPs survey | |
Asgari et al. | Incidence and risk factors of isolated systolic and diastolic hypertension: a 10 year follow-up of the Tehran Lipids and Glucose Study | |
Wang et al. | Dietary fiber, whole grains, carbohydrate, glycemic index, and glycemic load in relation to risk of prostate cancer | |
Ripoll et al. | Comparison of MELD, HVPG, and their changes to predict clinically relevant endpoints in cirrhosis | |
Simons et al. | Fluid intake and colorectal cancer risk in the Netherlands Cohort Study | |
Zhou et al. | The inter-arm systolic blood pressure difference and risk of cardiovascular mortality: a meta-analysis of cohort studies | |
Li et al. | Egg consumption and risk of bladder cancer: a meta-analysis | |
KR20190074474A (en) | An apparatus for managing user-customized feeding behavior based on genetic anaysis data, and an operational method thereof | |
Carlson et al. | Day-level sedentary pattern estimates derived from hip-worn accelerometer cut-points in 8–12-year-olds: Do they reflect postural transitions? | |
Li et al. | Obesity, albuminuria, and gamma-glutamyl transferase predict incidence of hypertension in Indigenous Australians in rural and remote communities in northern Australia | |
Park | Smoking-related differential influence of alcohol consumption on the metabolic syndrome | |
Mazzeffi et al. | Hypothyroidism and the risk of lower extremity arterial disease | |
Zheng et al. | Risk of progression to hypertension across baseline blood pressure in nonhypertensive participants among rural Chinese adults: a prospective study | |
Verlinden et al. | The associations of alcohol, coffee and tobacco consumption with gait in a community-dwelling population | |
Liu et al. | Validation of a diet quality screening tool for use in the oldest old | |
Vaughan et al. | Global cognitive function before, surrounding, and after ischemic stroke: the role of risk and protective factors varies with time among ischemic stroke survivors | |
Zhou et al. | Copper and zinc concentrations in human hair and popular foodstuffs in China |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190509 Address after: 518000 Yuanzheng Industrial Park, North of Fifth Avenue, Bantian Street, Longgang District, Shenzhen City, Guangdong Province Patentee after: Yuanzheng Science and Technology Co., Ltd., Shenzhen City Address before: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.) Patentee before: HESVIT HEALTH TECH CO., LTD. |