CN107292109A - Diet planning method and device - Google Patents
Diet planning method and device Download PDFInfo
- Publication number
- CN107292109A CN107292109A CN201710503046.9A CN201710503046A CN107292109A CN 107292109 A CN107292109 A CN 107292109A CN 201710503046 A CN201710503046 A CN 201710503046A CN 107292109 A CN107292109 A CN 107292109A
- Authority
- CN
- China
- Prior art keywords
- information
- diet
- demand
- dialog
- planning
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Machine Translation (AREA)
Abstract
The present invention proposes a kind of diet planning method and device, and this method includes the dialog information for receiving user's input, and obtains the contextual information of dialog information;Demand analysis is carried out to dialog information based on contextual information, the demand information matched with dialog information is obtained;Multinomial diet planning information is determined based on the demand information matched;Show multinomial diet planning information.By the invention enables diet planning information can be preferably with dialog information demand match, lifting diet planning effect.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of diet planning method and device.
Background technology
User may input the dialog information of general demand, this is general when planning the related service that class is applied using diet
The dialog information of demand may include multiple fuzzy demands, i.e. not only comprising food, food in the dialog information of the general demand
These clear and definite information of material, menu.
In correlation technique, when user inputs the dialog information of general demand, diet planning effect is not good.
The content of the invention
It is contemplated that at least solving one of technical problem in correlation technique to a certain extent.
Therefore, it is an object of the present invention to propose a kind of diet planing method so that diet planning information can be compared with
The good demand with dialog information matches, lifting diet planning effect.
It is another object of the present invention to propose a kind of diet device for planning.
It is another object of the present invention to propose a kind of non-transitorycomputer readable storage medium.
It is another object of the present invention to propose a kind of computer program product.
To reach above-mentioned purpose, the diet planing method that first aspect present invention embodiment is proposed, including:Receive user defeated
The dialog information entered, and obtain the contextual information of the dialog information;Based on the contextual information to the dialog information
Demand analysis is carried out, the demand information matched with the dialog information is obtained;Determined based on the matched demand information
Multinomial diet planning information;Show the multinomial diet planning information.
The diet planing method that first aspect present invention embodiment is proposed, by receiving the dialog information that user inputs, and
Obtain the contextual information of dialog information;Demand analysis is carried out to dialog information based on contextual information, obtained and dialog information
The demand information matched;Multinomial diet planning information is determined based on the demand information matched;Show multinomial diet planning letter
Breath, by multinomial diet planning information is determined according to the demand information matched with dialog information, and, the demand matched
Information, which is contextual information, to be carried out demand analysis to dialog information and obtains, therefore so that diet planning information can be compared with
The good demand with dialog information matches, lifting diet planning effect.
To reach above-mentioned purpose, the diet device for planning that second aspect of the present invention embodiment is proposed, including:Receiving module,
For receiving the dialog information of user's input, and obtain the contextual information of the dialog information;Requirement analysis module, for base
Demand analysis is carried out to the dialog information in the contextual information, the demand letter matched with the dialog information is obtained
Breath;Determining module, for determining multinomial diet planning information based on the matched demand information;Display module, for opening up
Show the multinomial diet planning information.
The diet device for planning that second aspect of the present invention embodiment is proposed, by receiving the dialog information that user inputs, and
Obtain the contextual information of dialog information;Demand analysis is carried out to dialog information based on contextual information, obtained and dialog information
The demand information matched;Multinomial diet planning information is determined based on the demand information matched;Show multinomial diet planning letter
Breath, by multinomial diet planning information is determined according to the demand information matched with dialog information, and, the demand matched
Information, which is contextual information, to be carried out demand analysis to dialog information and obtains, therefore so that diet planning information can be compared with
The good demand with dialog information matches, lifting diet planning effect.
For up to above-mentioned purpose, third aspect present invention embodiment proposes another diet device for planning, including:Processing
Device;Memory for storing the processor-executable instruction;Wherein, the processor is configured as:Receive user's input
Dialog information, and obtain the contextual information of the dialog information;The dialog information is entered based on the contextual information
Row demand analysis, obtains the demand information matched with the dialog information;Determined based on the matched demand information many
Item diet planning information;Show the multinomial diet planning information.
The diet device for planning that third aspect present invention embodiment is proposed, by receiving the dialog information that user inputs, and
Obtain the contextual information of dialog information;Demand analysis is carried out to dialog information based on contextual information, obtained and dialog information
The demand information matched;Multinomial diet planning information is determined based on the demand information matched;Show multinomial diet planning letter
Breath, by multinomial diet planning information is determined according to the demand information matched with dialog information, and, the demand matched
Information, which is contextual information, to be carried out demand analysis to dialog information and obtains, therefore so that diet planning information can be compared with
The good demand with dialog information matches, lifting diet planning effect.
To achieve these goals, fourth aspect present invention embodiment proposes a kind of computer-readable storage of non-transitory
Medium, when the instruction in the storage medium is performed by the processor of server end so that server end is able to carry out one
Diet planing method is planted, methods described includes:The dialog information of user's input is received, and obtains the context of the dialog information
Information;Demand analysis is carried out to the dialog information based on the contextual information, obtains what is matched with the dialog information
Demand information;Multinomial diet planning information is determined based on the matched demand information;Show the multinomial diet planning letter
Breath.
The non-transitorycomputer readable storage medium that fourth aspect present invention embodiment is proposed, is inputted by receiving user
Dialog information, and obtain the contextual information of dialog information;Demand analysis is carried out to dialog information based on contextual information, obtained
To the demand information matched with dialog information;Multinomial diet planning information is determined based on the demand information matched;Displaying is more
Item diet planning information, by multinomial diet planning information is determined according to the demand information matched with dialog information, and,
The demand information matched is that contextual information is obtained to dialog information progress demand analysis, therefore so that diet is advised
Draw information can be preferably with dialog information demand match, lifting diet planning effect.
To achieve these goals, fifth aspect present invention embodiment proposes a kind of computer program product, when described
When instruction processing unit in computer program product is performed, a kind of diet planing method is performed, methods described includes:Receive user
The dialog information of input, and obtain the contextual information of the dialog information;The dialogue is believed based on the contextual information
Breath carries out demand analysis, obtains the demand information matched with the dialog information;It is true based on the matched demand information
Fixed multinomial diet planning information;Show the multinomial diet planning information.
The computer program product that fifth aspect present invention embodiment is proposed, by receiving the dialog information that user inputs,
And obtain the contextual information of dialog information;Demand analysis is carried out to dialog information based on contextual information, obtains believing with dialogue
The matched demand information of breath;Multinomial diet planning information is determined based on the demand information matched;Show multinomial diet planning
Information, by multinomial diet planning information is determined according to the demand information matched with dialog information, and, the need matched
It is that contextual information is obtained to dialog information progress demand analysis to seek information, therefore so that diet planning information can
Demand preferably with dialog information matches, lifting diet planning effect.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Substantially and be readily appreciated that, wherein:
Fig. 1 is the schematic flow sheet for the diet planing method that one embodiment of the invention is proposed;
Fig. 2 is the schematic flow sheet for the diet planing method that another embodiment of the present invention is proposed;
Fig. 3 is the structural representation for the diet device for planning that one embodiment of the invention is proposed;
Fig. 4 is the structural representation for the diet device for planning that another embodiment of the present invention is proposed.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.On the contrary, this
All changes in the range of spirit and intension that the embodiment of invention includes falling into attached claims, modification and equivalent
Thing.
Fig. 1 is the schematic flow sheet for the diet planing method that one embodiment of the invention is proposed.
The present embodiment is configured as illustrating in diet planning device for planning with the diet planing method.
Diet planning device for planning in the present embodiment can be set in the server, or can also be arranged on electronics and set
In standby, this is not restricted.
The present embodiment is so that diet planning device for planning is configured in the electronic device as an example.
Diet planning class application program in the electronic equipment can be planned the diet of user.
Wherein, electronic equipment has various operations such as smart mobile phone, tablet personal computer, personal digital assistant, e-book
The hardware device of system.Application program can refer to run software program on an electronic device.
Can be, for example, the center of electronic equipment on hardware it should be noted that the executive agent of the embodiment of the present invention
Processor (Central Processing Unit, CPU), can be, for example, the diet planning class in electronic equipment on software
The related service of application, is not restricted to this.
Referring to Fig. 1, this method includes:
S11:The dialog information of user's input is received, and obtains the contextual information of dialog information.
Diet planing method in the embodiment of the present invention is applied particularly to, based on user more than wheel dialogue interaction in
Dialog information is planned the diet of user.
Wherein, the dialog information of user's input can be the dialog information that user inputs in being interacted when previous round.
The dialog information can be inputted by user by the form of text, or, voice can also be passed through by user
Form inputted, this is not restricted.
It is understood that user may input general demand when planning the related service that class is applied using diet
Dialog information, the dialog information of the general demand may include multiple fuzzy demands, i.e. in the dialog information of the general demand not only
Only comprising food, food materials, menu these clear and definite information.
In an embodiment of the present invention, user's diet plans the demand of class in being matched for maximum possible, using combination pair
The mode of the contextual information of information is talked about, so as to lift demand matching precision.
S12:Demand analysis is carried out to dialog information based on contextual information, the demand letter matched with dialog information is obtained
Breath.
Wherein, demand information includes:The scene tag and/or matching degree of many wheel dialogues.
Specifically, contextual information carries out demand analysis to dialog information based on determined by previous step, specifically,
Natural language processing technique can be used, demand analysis is carried out to dialog information based on contextual information.
It is alternatively possible to which the scene tag for determining to be matched with dialog information based on contextual information, scene tag is used for
Mark produces the classification of the scene of many wheel dialogue interactions, for example, the classification of the scene can be culinary art scene, dietary recommendation
Scape, or daily consulting scene;Multiple keywords corresponding with scene tag are extracted from dialog information;Calculate each crucial
The matching degree of word and scene tag, obtains the demand information matched with dialog information.
Specifically, natural language processing technique can be used, participle, syntactic analysis are carried out to dialog information, therefrom taken out
Take out multiple keywords, then, from the multiple keywords extracted, it is determined that with the scene mark based on determined by contextual information
Corresponding keyword is signed, and then, calculate the matching degree of each corresponding keyword and the scene tag.
In general, user has some usual keywords under each scene tag, so that each scene
Multiple conventional keywords are corresponded to.Under the corresponding scene of dialog information, the key of matching is determined from these keywords
Word, enable to keyword largely with context information match, that is to say, that the keyword of matching can relatively be defined
Really indicate the user's request that dialog information is met by.
S13:Multinomial diet planning information is determined based on the demand information matched.
Wherein, also include in demand information:User's characteristic information.
User's characteristic information can be, for example, sex, occupation, the feature such as age.
In general, the user of different user characteristic information, the demand planned diet also can be different, for example, young
The not busy peppery culinary art taste of the possible preference of user, and older may the light culinary art taste of preference.Therefore, the embodiment of the present invention
In can based on user input dialog information and contextual information analyze user's characteristic information.
Specifically, scene tag and/or the matching of demand using pre-set level as foundation, can be matched according to dialog information
Degree, determines multinomial diet planning information from default index database, and selected multinomial diet planning information out should try one's best
Diversification, so as at utmost cover the demand of user, improves the matching degree with user's request.
Or, can also be from search engine in order to further such that the diet planning information more diversification determined
Search for multinomial diet planning information.That is, from search engine the scene tags and/or matching degree of search and many wheel dialogues, with
And the diet planning information that the multinomial diet planning information of user's characteristic information is matched, and as needed for the embodiment of the present invention
The multinomial diet planning information wanted.
S14:Show multinomial diet planning information.
For example, multinomial diet planning information can be played to by user by the form of speech play, or, can also
Using the form of output text, multinomial diet planning information is showed into user, this is not restricted.
In the present embodiment, by receiving the dialog information that user inputs, and the contextual information of dialog information is obtained;It is based on
Contextual information carries out demand analysis to dialog information, obtains the demand information matched with dialog information;Based on what is matched
Demand information determines multinomial diet planning information;Multinomial diet planning information is shown, because multinomial diet planning information is basis
What the demand information matched with dialog information was determined, and, the demand information matched is that contextual information is believed dialogue
Breath carries out what demand analysis was obtained, therefore so that the demand that diet planning information can be preferably with dialog information matches, and carries
Rise diet planning effect.
Fig. 2 is the schematic flow sheet for the diet planing method that another embodiment of the present invention is proposed.
Referring to Fig. 2, this method includes:
S21:To the keyword employed in the dialogue of wheel more than history, classified according to session operational scenarios, to obtain each scene
Corresponding keyword.
S22:For each scene, the keyword corresponding to scene is analyzed, the corresponding scene tag of scene is obtained.
Scene tag is used for the classification for marking the scene for producing many wheel dialogue interactions, for example, the classification of the scene can be
Cook scene, dietary recommendation scene, or daily consulting scene.
In general, user has some usual keywords under each scene tag, so that each scene
Multiple conventional keywords are corresponded to.
In an embodiment of the present invention, can be using the pass employed in wheel dialogue more than the offline history of off-line system progress
The excavation of keyword, i.e. analyze specific scene keyword characteristic distributions in user session information respectively in advance, so as to
When family carries out diet planning using many wheel dialog informations, it is possible to increase the efficiency of user's request in matching.
In an embodiment of the present invention, the scene variable of some scenes can be pre-established, the scene variable can include
Opening flag position, user's request information list, setting dialogue time out timer, dialogue time-out detection, and end mark, and
Afterwards, from each round dialogue in the dialogue of wheel more than history, scene variable is therefrom extracted, is identified with the scene to every wheel dialogue,
Lift scene Recognition precision.
S23:The dialog information of user's input is received, and obtains the contextual information of dialog information.
S24:Demand analysis is carried out to dialog information based on contextual information, the demand letter matched with dialog information is obtained
Breath.
S25:Multinomial diet planning information is determined based on the demand information matched.
S26:Show multinomial diet planning information.
S23-S26 implementation procedure may refer to above-described embodiment, will not be repeated here.
In the present embodiment, by receiving the dialog information that user inputs, and the contextual information of dialog information is obtained;It is based on
Contextual information carries out demand analysis to dialog information, obtains the demand information matched with dialog information;Based on what is matched
Demand information determines multinomial diet planning information;Multinomial diet planning information is shown, because multinomial diet planning information is basis
What the demand information matched with dialog information was determined, and, the demand information matched is that contextual information is believed dialogue
Breath carries out what demand analysis was obtained, therefore so that the demand that diet planning information can be preferably with dialog information matches, and carries
Rise diet planning effect.By to the keyword employed in the dialogue of wheel more than history, being classified according to session operational scenarios, to obtain
The corresponding keyword of each scene;For each scene, the keyword corresponding to scene is analyzed, the corresponding field of scene is obtained
Scape label, when user carries out diet planning using many wheel dialog informations, it is possible to increase the efficiency of user's request in matching.
Fig. 3 is the structural representation for the diet device for planning that one embodiment of the invention is proposed.
Referring to Fig. 3, the device 300 includes:Receiving module 301, requirement analysis module 302, determining module 303, Yi Jizhan
Show module 304, wherein,
Receiving module 301, for receiving the dialog information of user's input, and obtains the contextual information of dialog information.
Requirement analysis module 302, for carrying out demand analysis to dialog information based on contextual information, obtains believing with dialogue
The matched demand information of breath.
Alternatively, requirement analysis module 302, specifically for:
Using natural language processing technique, demand analysis is carried out to dialog information based on contextual information.
Determining module 303, for determining multinomial diet planning information based on the demand information matched.
Display module 304, for showing multinomial diet planning information.
Alternatively, in some embodiments, demand information includes:The scene tag and/or matching degree of many wheel dialogues, ginseng
See Fig. 4, requirement analysis module 302, including:
Determination sub-module 3021, for the scene tag for determining to be matched with dialog information based on contextual information.
Submodule 3022 is extracted, for extracting multiple keywords corresponding with scene tag from dialog information.
Calculating sub module 3023, the matching degree for calculating each keyword and scene tag, is obtained and dialog information
The demand information matched.
Alternatively, also include in demand information:User's characteristic information, determining module 303, specifically for:
According to user's characteristic information, multiple keywords, and each keyword and scene tag matching degree, from default
Multinomial diet planning information is determined in index database.
Optionally it is determined that module 303, also particularly useful for:
According to user's characteristic information, multiple keywords, and each matching degree of keyword and scene tag, from search
Multinomial diet planning information is searched in engine.
Alternatively, in some embodiments, referring to Fig. 4, the device 300 also includes:
Sort module 305, for the keyword employed in the dialogue of wheel more than history, being classified according to session operational scenarios,
To obtain the corresponding keyword of each scene.
Scene tag acquisition module 306, for for each scene, analyzing the keyword corresponding to scene, obtaining
To the corresponding scene tag of scene.
It should be noted that being also suitable in earlier figures 1- Fig. 2 embodiments to the explanation of diet planing method embodiment
In the diet device for planning 300 of the embodiment, its realization principle is similar, and here is omitted.
In the present embodiment, by receiving the dialog information that user inputs, and the contextual information of dialog information is obtained;It is based on
Contextual information carries out demand analysis to dialog information, obtains the demand information matched with dialog information;Based on what is matched
Demand information determines multinomial diet planning information;Multinomial diet planning information is shown, because multinomial diet planning information is basis
What the demand information matched with dialog information was determined, and, the demand information matched is that contextual information is believed dialogue
Breath carries out what demand analysis was obtained, therefore so that the demand that diet planning information can be preferably with dialog information matches, and carries
Rise diet planning effect.
In order to realize above-described embodiment, the present invention also proposes a kind of non-transitorycomputer readable storage medium, works as storage
Instruction in medium by the computing device of terminal when so that terminal is able to carry out a kind of diet planing method, and method includes:
The dialog information of user's input is received, and obtains the contextual information of dialog information;
Demand analysis is carried out to dialog information based on contextual information, the demand information matched with dialog information is obtained;
Multinomial diet planning information is determined based on the demand information matched;
Show multinomial diet planning information.
Non-transitorycomputer readable storage medium in the present embodiment, by receiving the dialog information that user inputs, and
Obtain the contextual information of dialog information;Demand analysis is carried out to dialog information based on contextual information, obtained and dialog information
The demand information matched;Multinomial diet planning information is determined based on the demand information matched;Show multinomial diet planning letter
Breath, by multinomial diet planning information is determined according to the demand information matched with dialog information, and, the demand matched
Information, which is contextual information, to be carried out demand analysis to dialog information and obtains, therefore so that diet planning information can be compared with
The good demand with dialog information matches, lifting diet planning effect.
In order to realize above-described embodiment, the present invention also proposes a kind of computer program product, when in computer program product
Instruction when being executed by processor, perform a kind of diet planing method, method includes:
The dialog information of user's input is received, and obtains the contextual information of dialog information;
Demand analysis is carried out to dialog information based on contextual information, the demand information matched with dialog information is obtained;
Multinomial diet planning information is determined based on the demand information matched;
Show multinomial diet planning information.
Computer program product in the present embodiment, by receiving the dialog information that user inputs, and obtains dialog information
Contextual information;Demand analysis is carried out to dialog information based on contextual information, the demand matched with dialog information is obtained
Information;Multinomial diet planning information is determined based on the demand information matched;Multinomial diet planning information is shown, due to multinomial drink
Food planning information is determined according to the demand information matched with dialog information, and, the demand information matched is according to upper
Context information carries out what demand analysis was obtained to dialog information, therefore so that diet planning information preferably can be believed with dialogue
The demand of breath matches, lifting diet planning effect.
It should be noted that in the description of the invention, term " first ", " second " etc. are only used for describing purpose, without
It is understood that to indicate or imply relative importance.In addition, in the description of the invention, unless otherwise indicated, the implication of " multiple "
It is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include
Module, fragment or the portion of the code of one or more executable instructions for the step of realizing specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not be by shown or discussion suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage
Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried
Rapid to can be by program to instruct the hardware of correlation to complete, described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing module, can also
That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The integrated module is such as
Fruit is realized using in the form of software function module and as independent production marketing or in use, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means to combine specific features, structure, material or the spy that the embodiment or example are described
Point is contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not
Necessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be any
One or more embodiments or example in combine in an appropriate manner.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example
Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, changed, replacing and modification.
Claims (14)
1. a kind of diet planing method, it is characterised in that comprise the following steps:
The dialog information of user's input is received, and obtains the contextual information of the dialog information;
Demand analysis is carried out to the dialog information based on the contextual information, the need matched with the dialog information are obtained
Seek information;
Multinomial diet planning information is determined based on the matched demand information;
Show the multinomial diet planning information.
2. diet planing method as claimed in claim 1, it is characterised in that described to be based on the contextual information to described right
Talk about information and carry out demand analysis, including:
Using natural language processing technique, demand analysis is carried out to the dialog information based on the contextual information.
3. diet planing method as claimed in claim 1 or 2, it is characterised in that the demand information includes:Many wheel dialogues
Scene tag and/or matching degree, it is described based on the contextual information to the dialog information carry out demand analysis, obtain
The demand information matched with the dialog information, including:
The scene tag for determining to be matched with the dialog information based on the contextual information;
Multiple keywords corresponding with the scene tag are extracted from the dialog information;
The matching degree of each keyword and the scene tag is calculated, the demand matched with the dialog information is obtained
Information.
4. diet planing method as claimed in claim 3, it is characterised in that also include in the demand information:User characteristics
Information, it is described that multinomial diet planning information is determined based on the matched demand information, including:
According to of the user's characteristic information, the multiple keyword, and each keyword and the scene tag
With degree, the multinomial diet planning information is determined from default index database.
5. diet planing method as claimed in claim 4, it is characterised in that described true based on the matched demand information
Fixed multinomial diet planning information, in addition to:
According to of the user's characteristic information, the multiple keyword, and each keyword and the scene tag
With degree, the multinomial diet planning information is searched for from search engine.
6. the diet planing method as described in claim any one of 1-5, it is characterised in that in pair of the reception user input
Before words information, in addition to:
To the keyword employed in the dialogue of wheel more than history, classified according to session operational scenarios, to obtain, each scene is corresponding to close
Keyword;
For each scene, the keyword corresponding to the scene is analyzed, the corresponding scene tag of the scene is obtained.
7. a kind of diet device for planning, it is characterised in that including:
Receiving module, for receiving the dialog information of user's input, and obtains the contextual information of the dialog information;
Requirement analysis module, for based on the contextual information to the dialog information carry out demand analysis, obtain with it is described
The demand information that dialog information is matched;
Determining module, for determining multinomial diet planning information based on the matched demand information;
Display module, for showing the multinomial diet planning information.
8. diet device for planning as claimed in claim 7, it is characterised in that the requirement analysis module, specifically for:
Using natural language processing technique, demand analysis is carried out to the dialog information based on the contextual information.
9. diet device for planning as claimed in claim 7 or 8, it is characterised in that the demand information includes:Many wheel dialogues
Scene tag and/or matching degree, the requirement analysis module, including:
Determination sub-module, for the scene tag for determining to be matched with the dialog information based on the contextual information;
Submodule is extracted, for extracting multiple keywords corresponding with the scene tag from the dialog information;
Calculating sub module, the matching degree for calculating each keyword and the scene tag obtains the described and dialogue
The demand information that information is matched.
10. diet device for planning as claimed in claim 9, it is characterised in that also include in the demand information:User characteristics
Information, the determining module, specifically for:
According to of the user's characteristic information, the multiple keyword, and each keyword and the scene tag
With degree, the multinomial diet planning information is determined from default index database.
11. diet device for planning as claimed in claim 10, it is characterised in that the determining module, also particularly useful for:
According to of the user's characteristic information, the multiple keyword, and each keyword and the scene tag
With degree, the multinomial diet planning information is searched for from search engine.
12. the diet device for planning as described in claim any one of 7-11, it is characterised in that also include:
Sort module, for the keyword employed in the dialogue of wheel more than history, being classified according to session operational scenarios, to obtain respectively
The corresponding keyword of scene;
Scene tag acquisition module, for for each scene, analyzing the keyword corresponding to the scene, obtains institute
State the corresponding scene tag of scene.
13. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the program
The diet planing method as any one of claim 1-6 is realized when being executed by processor.
14. a kind of computer program product, when the instruction in the computer program product is by computing device, performs one kind
Diet planing method, methods described includes:
The dialog information of user's input is received, and obtains the contextual information of the dialog information;
Demand analysis is carried out to the dialog information based on the contextual information, the need matched with the dialog information are obtained
Seek information;
Multinomial diet planning information is determined based on the matched demand information;
Show the multinomial diet planning information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710503046.9A CN107292109B (en) | 2017-06-27 | 2017-06-27 | Diet planning method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710503046.9A CN107292109B (en) | 2017-06-27 | 2017-06-27 | Diet planning method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107292109A true CN107292109A (en) | 2017-10-24 |
CN107292109B CN107292109B (en) | 2021-04-20 |
Family
ID=60098199
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710503046.9A Active CN107292109B (en) | 2017-06-27 | 2017-06-27 | Diet planning method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107292109B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103413549A (en) * | 2013-07-31 | 2013-11-27 | 深圳创维-Rgb电子有限公司 | Voice interaction method and system and interaction terminal |
WO2014108923A9 (en) * | 2013-01-14 | 2014-10-23 | Tewari Kiran | Method and system for suggesting at least one edible item to one or more customers |
US20150161355A1 (en) * | 2013-12-11 | 2015-06-11 | Damodar Karra | System and Methods for Generating a Diet Plan |
CN104836720A (en) * | 2014-02-12 | 2015-08-12 | 北京三星通信技术研究有限公司 | Method for performing information recommendation in interactive communication, and device |
CN105030041A (en) * | 2015-06-27 | 2015-11-11 | 广东天际电器股份有限公司 | Intelligent cooking system capable of autonomously judging user preferences and application thereof |
CN105512196A (en) * | 2015-11-27 | 2016-04-20 | 朱威 | Personalized nutritional recipe recommendation method and system based on users' conditions |
CN105741212A (en) * | 2016-03-28 | 2016-07-06 | 美的集团股份有限公司 | Health management system, platform and method |
CN105809467A (en) * | 2015-04-28 | 2016-07-27 | 成都鹏业软件股份有限公司 | Instant communication tool-based commodity recommending system |
CN106228004A (en) * | 2016-07-19 | 2016-12-14 | 海尔优家智能科技(北京)有限公司 | A kind of healthy diet method for pushing and device, Smart Home server |
CN106708802A (en) * | 2016-12-20 | 2017-05-24 | 西南石油大学 | Information recommendation method and system |
-
2017
- 2017-06-27 CN CN201710503046.9A patent/CN107292109B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014108923A9 (en) * | 2013-01-14 | 2014-10-23 | Tewari Kiran | Method and system for suggesting at least one edible item to one or more customers |
CN103413549A (en) * | 2013-07-31 | 2013-11-27 | 深圳创维-Rgb电子有限公司 | Voice interaction method and system and interaction terminal |
US20150161355A1 (en) * | 2013-12-11 | 2015-06-11 | Damodar Karra | System and Methods for Generating a Diet Plan |
CN104836720A (en) * | 2014-02-12 | 2015-08-12 | 北京三星通信技术研究有限公司 | Method for performing information recommendation in interactive communication, and device |
CN105809467A (en) * | 2015-04-28 | 2016-07-27 | 成都鹏业软件股份有限公司 | Instant communication tool-based commodity recommending system |
CN105030041A (en) * | 2015-06-27 | 2015-11-11 | 广东天际电器股份有限公司 | Intelligent cooking system capable of autonomously judging user preferences and application thereof |
CN105512196A (en) * | 2015-11-27 | 2016-04-20 | 朱威 | Personalized nutritional recipe recommendation method and system based on users' conditions |
CN105741212A (en) * | 2016-03-28 | 2016-07-06 | 美的集团股份有限公司 | Health management system, platform and method |
CN106228004A (en) * | 2016-07-19 | 2016-12-14 | 海尔优家智能科技(北京)有限公司 | A kind of healthy diet method for pushing and device, Smart Home server |
CN106708802A (en) * | 2016-12-20 | 2017-05-24 | 西南石油大学 | Information recommendation method and system |
Also Published As
Publication number | Publication date |
---|---|
CN107292109B (en) | 2021-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112164391B (en) | Statement processing method, device, electronic equipment and storage medium | |
JP6440732B2 (en) | Automatic task classification based on machine learning | |
US20170164049A1 (en) | Recommending method and device thereof | |
CN105869640B (en) | Method and device for recognizing voice control instruction aiming at entity in current page | |
US11030400B2 (en) | System and method for identifying and replacing slots with variable slots | |
KR20170001550A (en) | Human-computer intelligence chatting method and device based on artificial intelligence | |
US11720759B2 (en) | Electronic apparatus, controlling method of thereof and non-transitory computer readable recording medium | |
US10783879B2 (en) | System and method for rule based modifications to variable slots based on context | |
CN108288467A (en) | A kind of audio recognition method, device and speech recognition engine | |
CN110110577A (en) | Identify method and device, the storage medium, electronic device of name of the dish | |
CN112633976B (en) | Data processing method based on big data and cloud service server | |
CN105608069A (en) | Information extraction supporting apparatus and method | |
CN109582788A (en) | Comment spam training, recognition methods, device, equipment and readable storage medium storing program for executing | |
CN113792212B (en) | Multimedia resource recommendation method, device, equipment and storage medium | |
CN104239445A (en) | Method and device for representing search results | |
CN113806588A (en) | Method and device for searching video | |
CN113486661A (en) | Text understanding method, system, terminal equipment and storage medium | |
CN111933107A (en) | Speech recognition method, speech recognition device, storage medium and processor | |
KR101134615B1 (en) | User adaptive image management system and user adaptive image management method | |
CN111488913A (en) | Data analysis method based on multiple analysis tasks and electronic equipment | |
CN114647739B (en) | Entity chain finger method, device, electronic equipment and storage medium | |
CN107292109A (en) | Diet planning method and device | |
CN113535970A (en) | Information processing method and apparatus, electronic device, and computer-readable storage medium | |
CN111222011A (en) | Video vector determination method and device | |
KR102630487B1 (en) | Customer Complaint Analysis System and Method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |