CN109815326A - Dialog control method and device - Google Patents

Dialog control method and device Download PDF

Info

Publication number
CN109815326A
CN109815326A CN201910067893.4A CN201910067893A CN109815326A CN 109815326 A CN109815326 A CN 109815326A CN 201910067893 A CN201910067893 A CN 201910067893A CN 109815326 A CN109815326 A CN 109815326A
Authority
CN
China
Prior art keywords
node
tree
intention
intended
slot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910067893.4A
Other languages
Chinese (zh)
Other versions
CN109815326B (en
Inventor
张林箭
刘勇
毛晓曦
席亚东
范长杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910067893.4A priority Critical patent/CN109815326B/en
Publication of CN109815326A publication Critical patent/CN109815326A/en
Application granted granted Critical
Publication of CN109815326B publication Critical patent/CN109815326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of dialog control method and devices.Wherein, this method comprises: obtaining intention tree corresponding with current session, wherein be intended to the task that tree instruction current session needs to complete, it is intended that the attribute node in tree is associated with word slot;Traversal is intended to tree, obtains traversing result;When traversing result indicates the attribute node for being intended to have vacant position in tree, system acting corresponding with the attribute node of vacancy is inquired, and send conversation content corresponding with system acting;After the completion of traversing result indicates all properties node being intended in tree filling, dialogue result corresponding with tree is intended to is sent.The present invention solves in the related technology the technical issues of taking turns in dialogue Task more, cannot achieve effective filling of conjunctive word slot in complex relationship.

Description

Dialog control method and device
Technical field
The present invention relates to technical field of information processing, in particular to a kind of dialog control method and device.
Background technique
Task takes turns dialogue more and refers generally to user and when system is chatted, need the dialogue through excessively taking turns that could complete certain One specific tasks (such as weather, flight), these tasks are commonly referred to as field, and each field can be related to one or more field phase Close be intended to (such as weather field may relate to inquiry weather be intended to, inquiry air quality be intended to), it is each be intended to again and zero or The multiple slot position associations of person (as inquiry weather is intended to be associated with time, two, city slot).
In the related technology, handle Task more take turns dialogue when, can by be pre-configured be intended to essential information and with intention Associated word slot, to complete to talk with.Fig. 1 is the schematic diagram of the optional dialogue control of one kind according to prior art, such as Fig. 1 institute Show, intention essential information can be pre-configured with, including be intended to title and be intended to alias, user can be inputted corresponding by input frame Information;Fig. 2 is the schematic diagram of another optional dialogue control according to prior art, as shown in Fig. 2, intention can be set Conjunctive word slot, inquiry date for being related to of weather and two, city word slot, each word slot must be filled with completing, and just be able to achieve weather Inquiry feedback text corresponding with " clarification words art " can be sent, so that user feedback be allowed to believe accordingly if lacking word slot Breath triggers corresponding movement after slot fills up, and can reply a Duan Wenben, or executes function (as called ambient weather inquiry Interface), talk with accordingly to user as a result, such as feeding back a certain city in the weather forecast of some day.
Above-mentioned Task takes turns the open platform of dialogue in the conjunctive word slot that configuration is intended to more, by the way that " whether word slot must Fill out " relationship between Lai Tixian word slot, weather is this to pertain only to a small amount of word slot to this method for looking into, and relationship letter between word slot Single task can be very good to handle.However the task comprising complex word slot relationship can not be handled, as in flight preplanned mission " out Hair time " and " arrival time " two word slots only need to meet one, and " city of setting out " and " reaching city " must be complete Portion is filled up, and the complex relationship in this task between multiple word slots can not use the conjunctive word slot configuration method of existing open platform To realize, it is necessary to take other word slot management methods.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of dialog control method and devices, at least to solve in the related technology in Task The technical issues of taking turns in dialogue more, cannot achieve effective filling of conjunctive word slot in complex relationship.
According to an aspect of an embodiment of the present invention, a kind of dialog control method is provided, comprising: acquisition and current session Corresponding intention tree, wherein being intended to the tree instruction current session and needing to complete for the task, the attribute being intended in tree Node is associated with word slot;The intention tree is traversed, traversing result is obtained;It indicates to have time in the intention tree in the traversing result When scarce attribute node, system acting corresponding with the attribute node of the vacancy is inquired, and is sent and the system acting pair The conversation content answered;After the completion of the traversing result indicates all properties node filling being intended in tree, transmission and institute It states intention and sets corresponding dialogue result.
Further, obtain that set with the corresponding intention of current session include: building multiple fields corresponding with different field Forest, wherein an intention tree is included at least in each field forest;Determine that field corresponding with the current session is gloomy Intention tree under woods and the field forest.
Further, the intention tree includes multiple nodes, and the multiple node includes at least one following: being intended to section Point, is used to indicate intended target, corresponding with the task that the current session needs to complete;Relationship node is used to indicate the meaning The logical relation between each intention node and attribute node in figure tree;Attribute node, it is corresponding with each word slot, it is used to indicate The attribute of institute's predicate slot, wherein the corresponding attribute node of a word slot, each attribute node are corresponding with system acting.
Further, an intention node, the intentional node identification of the intention node are corresponding in every intention tree;Institute The relationship node of stating is corresponding with relationship node identification or attribute node mark.
Further, the attribute node is shared between the target intention tree in the field forest.
Further, obtaining intention tree corresponding with current session includes: the parsing current session, obtains parsing knot Fruit, wherein included at least in the parsing result: field forest, intended target, slot value;According to the parsing result, inquire Intention tree corresponding with the field forest, and intended target is corresponding with the intention node, the slot value is filled to right In the word slot and attribute node answered.
Further, intention tree corresponding with current session is obtained further include: obtain history and fill out slot information, wherein is described History fill out slot information include intention described in historical time Duan Zhongyu set associated each word slot fill out slot information;It is gone through according to described in History fills out slot information, updates the attribute node being intended in tree and sets the slot value of associated word slot with the intention.
Further, the intention tree is traversed, obtaining traversing result includes: initialization multilayer sky list;From intention node It sets out, access is intended to the child node of node, and the child node that access obtains is added in the empty list, obtains element column Table, wherein the child node includes: relationship node and/or attribute node;Whether judge in the element list only comprising attribute Node;In the case where not only including attribute node in the element list, each element in the element list is traversed, is obtained To traversing result, wherein the element includes at least one following: with element, and or element, be and element in the element In the case where, the child node is removed from the element list, and the element list is expanded by the child node;In the member Element be or element in the case where, statistics or the corresponding child node quantity n of element replicate element list n times, and from empty list The element list is removed, to the element list of each duplication, is replaced respectively by different child nodes or node, and by n A element list is added in the empty list, wherein n is natural number.
Further, inquiring system acting corresponding with the attribute node of the vacancy includes: to refer in the traversing result When showing the attribute node having vacant position in the intention tree, according to the traversing result, a variety of word slots combinations are determined, wherein described The combination for the vacancy word slot that the combination instruction of word slot needs to fill;It is minimum to obtain the vacancy word slot number for including in the combination of word slot Word slot combination;A vacancy word slot is chosen in the least word slot combination of vacancy word slot number, and determines that the vacancy word slot is corresponding System acting.
Further, each intention tree is corresponding with an intention movement, the intention movement be used to indicate with it is described The corresponding dialog text of task, alternatively, intention movement is used to indicate that the corresponding slot value of word slot is passed to calling is default After interface, query information corresponding with the task is got, wherein the dialogue result includes the dialog text and described Query information.
According to another aspect of an embodiment of the present invention, a kind of session control is additionally provided, comprising: acquiring unit is used It is set in obtaining intention corresponding with current session, wherein being intended to the tree instruction current session and needing to complete for the task, institute It states the attribute node being intended in tree and is associated with word slot;Traversal Unit obtains traversing result for traversing the intention tree;Inquiry Unit, for inquiring the category with the vacancy when the traversing result indicates the attribute node having vacant position in the intention tree Property the corresponding system acting of node, and send corresponding with system acting conversation content;Transmission unit, at described time It goes through after the completion of all properties node filling that result indicates in the intention tree, sends dialogue knot corresponding with the intention tree Fruit.
Further, the acquiring unit includes: construction unit, gloomy for constructing multiple fields corresponding with different field Woods, wherein an intention tree is included at least in each field forest;Determination unit, for the determining and current session Intention tree under corresponding field forest and the field forest.
Further, the intention tree includes multiple nodes, and the multiple node includes at least one following: being intended to section Point, is used to indicate intended target, corresponding with the task that the current session needs to complete;Relationship node is used to indicate the meaning The logical relation between each intention node and attribute node in figure tree;Attribute node, it is corresponding with each word slot, it is used to indicate The attribute of institute's predicate slot, wherein the corresponding attribute node of a word slot, each attribute node are corresponding with system acting.
Further, an intention node, the intentional node identification of the intention node are corresponding in every intention tree;Institute The relationship node of stating is corresponding with relationship node identification or attribute node mark.
Further, the attribute node is shared between the target intention tree in the field forest.
Further, the acquiring unit includes: parsing module, for parsing the current session, obtains parsing result, Wherein, it is included at least in the parsing result: field forest, intended target, slot value;First enquiry module, for according to described in Parsing result inquires intention tree corresponding with the field forest, and intended target is corresponding with the intention node, by institute Slot value is stated to fill into corresponding word slot and attribute node.
Further, the acquiring unit further include: first obtains module, fills out slot information for obtaining history, wherein institute State history fill out slot information include intention described in historical time Duan Zhongyu set associated each word slot fill out slot information;First updates Module, for filling out slot information according to the history, updating the attribute node being intended in tree and being set with the intention associated The slot value of word slot.
Further, the Traversal Unit includes: initialization module, for initializing multilayer sky list;Access modules are used In from node is intended to, access is intended to the child node of node, and the child node that access obtains is added in the empty list, Obtain element list, wherein the child node includes: relationship node and/or attribute node;Judgment module, it is described for judging It whether only include attribute node in element list;Spider module, for not only including attribute node in the element list In the case of, traverse each element in the element list, obtain traversing result, wherein the element include it is following at least it One: with element, and or element, the element be with element in the case where, the child node is removed from the element list, And the element list is expanded by the child node;It is or in the case where element statistics or the corresponding son of element in the element Element list is replicated n times, and removes the element list from empty list by number of nodes n, is arranged the element of each duplication Table, is replaced by different child nodes or node respectively, and n element list is added in the empty list, wherein n For natural number.
Further, the query unit comprises determining that module, for indicating in the intention tree in the traversing result When the attribute node having vacant position, according to the traversing result, a variety of word slot combinations are determined, wherein the combination instruction of institute's predicate slot needs The combination of the vacancy word slot to be filled;Second obtains module, for obtaining the vacancy word slot number for including in the combination of word slot Least word slot combination;Module is chosen, for choosing a vacancy word slot in the least word slot combination of vacancy word slot number, and really The fixed corresponding system acting of vacancy word slot.
Further, each intention tree is corresponding with an intention movement, the intention movement be used to indicate with it is described The corresponding dialog text of task, alternatively, intention movement is used to indicate that the corresponding slot value of word slot is passed to calling is default After interface, query information corresponding with the task is got, wherein the dialogue result includes the dialog text and described Query information.
According to another aspect of an embodiment of the present invention, a kind of electronic equipment is additionally provided, comprising: processor;And storage Device, for storing the executable instruction of the processor;Wherein, the processor is configured to via the execution executable instruction To execute dialog control method described in above-mentioned any one.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, the storage medium includes storage Program, wherein equipment where controlling the storage medium in described program operation executes described in above-mentioned any one pair Call control method.
In embodiments of the present invention, it is set using acquisition intention corresponding with current session, wherein it is currently right to be intended to tree instruction Words need completing for task, it is intended that the attribute node in tree is associated with word slot, and traversal is intended to tree, obtains traversing result, traversing As a result when instruction is intended to the attribute node having vacant position in tree, system acting corresponding with the attribute node of vacancy is inquired, and send Conversation content corresponding with system acting is sent after the completion of traversing result indicates all properties node being intended in tree filling Dialogue result corresponding with tree is intended to.In this embodiment it is possible to complete more wheel dialogues using tree is intended to, complex relationship is coped with, The attribute node of vacancy can be filled, and then word slot is filled and is completed, realization also can to the conjunctive word slot of complex relationship It fast and efficiently fills, and then solves taking turns in dialogue Task in the related technology more, cannot achieve conjunctive word in complex relationship The technical issues of effective filling of slot.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the optional dialogue control of one kind according to prior art;
Fig. 2 is the schematic diagram of another optional dialogue control according to prior art;
Fig. 3 is a kind of flow chart of dialog control method according to an embodiment of the present invention;
Fig. 4 is a kind of optional schematic diagram for being intended to tree according to an embodiment of the present invention;
Fig. 5 is another optional schematic diagram for being intended to tree according to an embodiment of the present invention;
Fig. 6 is the schematic diagram of another optional dialogue control according to an embodiment of the present invention;
Fig. 7 is a kind of schematic diagram of session control according to an embodiment of the present invention;
Fig. 8 is a kind of schematic diagram of optional electronic equipment according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
To understand the present invention convenient for user, solution is made to part term or noun involved in various embodiments of the present invention below It releases:
NLU:Neural Language Understanding natural language understanding.
The tracking of DST:Dialog State Tracking dialogue state.
The study of DPL:Dialog Policy Learning dialog strategy.
NLG:Neural Language Generation spatial term.
In the environment for more taking turns dialogue this application can be applied to various Tasks, by completing a certain task (such as day gas phase Pass task, flight inter-related task etc.), realize the dialogue of user and system.Relative to cannot achieve complex relationship in the related technology Under word slot filling the technical issues of, the application can be solved by each embodiment.
It can be applied in the present embodiment in various softwares or hardware dialogue, such as be applied to customer service system, intelligent sound box.
The present embodiment can be related to Task and take turns dialogue more, and Task takes turns dialogue more and is usually directed to NLU, DST, DPL, NLG Etc. technologies, wherein NLU will be parsed into structural data if user, DST is used to track the shape during user and system dialog State, such as the intention at user's current time and historical juncture, the slot position information of user's current time and historical juncture offer, The state that DPL is tracked according to DST executes corresponding system acting.NLG is acted according to this and is further generated natural language feedback To user, such as directly generates one section of text or the data of the external interface of calling are returned into user.The application is following each Also it can be related to these technologies in implementation steps.
According to embodiments of the present invention, a kind of dialog control method embodiment is provided, it should be noted that in the stream of attached drawing The step of journey illustrates can execute in a computer system such as a set of computer executable instructions, although also, flowing Logical order is shown in journey figure, but in some cases, it can be to be different from shown or described by sequence execution herein The step of.
Fig. 3 is a kind of flow chart of dialog control method according to an embodiment of the present invention, as shown in figure 3, this method includes Following steps:
Step S302 obtains intention tree corresponding with current session, wherein is intended to what tree instruction current session needed to complete Task, it is intended that the attribute node in tree is associated with word slot;
Step S304, traversal are intended to tree, obtain traversing result;
Step S306, when traversing result indicates the attribute node for being intended to have vacant position in tree, the attribute section of inquiry and vacancy The corresponding system acting of point, and send conversation content corresponding with system acting;
Step S308 sends after the completion of traversing result indicates all properties node being intended in tree filling and is intended to set Corresponding dialogue result.
Through the above steps, available intention tree corresponding with current session, wherein being intended to tree instruction current session needs Being completed for task, it is intended that the attribute node in tree is associated with word slot, and traversal is intended to tree, traversing result is obtained, in traversing result When indicating the attribute node for being intended to have vacant position in tree, system acting corresponding with the attribute node of vacancy is inquired, and sends and is System acts corresponding conversation content, after the completion of traversing result indicates all properties node filling in intention tree, sends and anticipates Figure sets corresponding dialogue result.In this embodiment it is possible to complete more wheel dialogues using tree is intended to, complex relationship is coped with, it can be with The attribute node of vacancy is filled, and then word slot is filled and is completed, realize to the conjunctive word slot of complex relationship also can quickly, Efficient filling, and then solve taking turns in dialogue Task in the related technology, it cannot achieve conjunctive word slot in complex relationship. more The technical issues of effectively filling.
In the embodiment of the present application, dialogue mostly taken turns to Task, a field forest can be constructed in advance, i.e., obtain with currently When talking with corresponding intention tree, multiple fields forest corresponding with different field can be first constructed, wherein in each field forest extremely It less include an intention tree;Then the intention tree under field corresponding with current session forest and the field forest is determined. I.e. the application can construct field corresponding with an every field forest in advance, if user initiates a current session, Field corresponding with current session forest can be first determined, then, it is determined that intention corresponding with the current session is set.
Wherein, field forest refers to that the needs of corresponding different field are completed between the word slot and word slot filled required for dialogue The field forest established of relationship correspond to the meeting of flight field for example, corresponding to music field has the forest of " music field " There is the forest etc. in " flight field ".It include at least one intention tree in one field forest, for example " music field " may include The intention tree relevant with music such as " music ", " music query ".
Above-mentioned each step is illustrated below.
Step S302 obtains intention tree corresponding with current session, wherein is intended to what tree instruction current session needed to complete Task, it is intended that the attribute node in tree is associated with word slot.
Wherein, current session can be the dialog text that user is obtained by input frame or speech analysis, as user askes Ask " what the weather forecast of tomorrow is ", after current session parsing, available corresponding field forest and intention tree.
Optionally, it is intended that tree includes multiple nodes, in this application mainly includes three classes node, and each node includes section Point identification (such as node serial number, be used for unique identification node, generally described with positive integer), nodename (pet name of node), (corresponding three classes node, wherein being intended to node major class can be Root, relationship node major class can be Logic, attribute to node major class Node major class can be Slot), node type, nodal value, joint constraint condition, child node number etc. attributes.
Wherein, above-mentioned multiple nodes include at least one following:
1, it is intended to node, is used to indicate intended target, it is corresponding with the task that current session needs to complete;Intended target refers to What task is, such as flight inquiring, flight are predetermined, weather lookup, and this kind of node has in an intention is set and only one, Without definition, child node number has and only one, and is necessary for relationship for its node type, nodal value and joint constraint condition Node serial number.Optionally, it is intended that the intentional node identification of node, comply with one's wishes node of graph number.
2, relationship node, the logical relation being used to indicate between each intention node and attribute node being intended in tree;Belong to Property node managed with corresponding word barrel, i.e., relationship node can indicate the logic between the target intention slot involved close System, such as relationships such as "AND", "or", the nodal value and joint constraint condition of relationship node without definition, node type be "AND", One of two kinds of logical relations of "or", child node number is relationship node serial number or attribute node number, and is at least contained One child node.Optionally, relationship node is corresponding with relationship node identification or attribute node mark, such as the relationship section in child node Point number and attribute node number.
3, attribute node, it is corresponding with each word slot, it is used to indicate the attribute of word slot, wherein the corresponding category of a word slot Property node, each attribute node are corresponding with system acting.Attribute node indicates the specific object of the word slot of target intention, such as weather " time " and " city " that query intention is related to, the two corresponding attribute nodes of word slot were time and city, attribute node Node type be " character string ", " integer ", " floating number ", " date ", the type that " time " etc. can customize, for describing this The type of nodal value, nodal value indicate the value of the node actual storage, such as " city " this attribute node can store " Hangzhou " this A value, type " character string " type of the value, joint constraint condition are used to describe the range of nodal value, such as category of " date " type Property node can range within a definite time, attribute node is centainly intended to the leaf node of tree, so the child node of this kind of node Number is empty.
Fig. 4 is a kind of optional schematic diagram for being intended to tree according to an embodiment of the present invention, as shown in figure 4, gloomy in the field Two intention trees are shown in woods, it is to close with the associated relationship node of node 1 is intended to that first intention tree is corresponding, which to be intended to node 1, Set section point 1, set section point 2 related with the associated node of relationship node 1 and attribute node 3, and the associated node of relationship node 2 has category Property node 1 and attribute node 2, wherein attribute node 1 is corresponding with system acting 1, and attribute node 2 is corresponding with system acting 2;And Second intention tree is corresponding to be intended to node 2, is relationship node 3 with the associated relationship node of node 2 is intended to, is associated with relationship node 3 Node be attribute node 3 and attribute node 4, wherein attribute node 3 is corresponding with system acting 3, and attribute node is corresponding with system Movement 4.
Two intentions tree shown in Fig. 4 respectively corresponds intentional movement 1 and intention movement 2.
In the embodiment of the present application, shared attribute node between the target intention tree in the forest of field, so as to same More easily interactive experience is provided in one field for user.As shown in figure 4, two intention trees can be with shared attribute node 3, i.e., The content that attribute node 3 indicates, this two intention trees can use.
Each attribute node in above-mentioned intention tree can have nodal value, node type and node serial number, wherein nodal value The value that can be filled with word slot is adapted, can be identical, for example, a city name or time are filled in word slot, in corresponding category Corresponding city name or time can be also filled in the nodal value of property node.
And it is intended to the corresponding system acting of each attribute node in tree, system acting is the section that system obtains attribute node Point value can indicate the information that system is fed back according to the filling situation of attribute node to user terminal according to the system acting, with Attribute value (slot value corresponding to word slot) corresponding with the attribute node is got, is fed back in a text form, the system Acting corresponding text can be set one or more, when triggering the movement, one can be returned at random in multiple texts As reply.For example, being intended to include time and two, city attribute looking into weather, the text of the system acting of " time " attribute can Think " may I ask you to want to look into weather when? ", " look into when? " Deng from the corresponding text of these preconfigured system actings It randomly selects one and returns to user terminal, to obtain attribute value.
In another optional example of the application, each intention tree is corresponding with an intention movement, it is intended that movement is for referring to Show dialog text corresponding with task, or, it is intended that movement is used to indicate that the corresponding slot value of word slot is passed to calling is default After interface, query information corresponding with task is got, wherein dialogue result includes dialog text and query information.
Above-mentioned intention movement, indicates when meeting the trigger condition of intended target, and it is corresponding dynamic to execute the intended target Make, a Duan Wenben (similar with system acting) can be fed back or calls external interface to assist the execution of the movement.Outside this Portion's interface can be arbitrary addressable service, when such as looking into weather, when the value of " time " and " city " two attribute nodes is filled out After filling, " inquiry weather interface " this intention movement will be triggered, using the value of " time " and " city " two slots as ginseng Number passes to weather interface, returns to Weather information, finally feeds back to user again.
Intention movement in the application is divided into two kinds: the first, directly one Duan Wenben of feedback, this is as system acting; Second, external interface is called, this interface can be what user oneself built, be also possible to ready-made on network;When the meaning The slot value of figure is all filled with, for example is looked into two slots { " time ": " today ", " city ": " Hangzhou " } that weather is intended to and be all filled with value, The parameter of slot just directly can be passed to interface to return to the weather in Hangzhou today by that, then reply to user terminal.
In the application, by configuring a field forest, the more intentions in the same field are managed using field forest Tree realizes the word slot information sharing between same field difference intention, manages word slot using the form for being intended to tree, realize The expression of complex word slot relationship compensates for the deficiency that conjunctive word slot configures on existing line, improves the possibility of complex task configuration Property.
For above-mentioned steps S302, obtaining intention tree corresponding with current session includes: parsing current session, is parsed As a result, wherein included at least in parsing result: field forest, intended target, slot value;According to parsing result, inquire and field The corresponding intention tree of forest, and intended target is corresponding with node is intended to, slot value is filled to corresponding word slot and attribute node In.
It can determine that user wants what is inquired after parsing current session, affiliated field forest and intended target, And it determines the slot value having determined, then can determine to set with current corresponding intention, transfer corresponding in the forest of field It is intended to tree, determines attribute node and associated word slot that the intention tree needs to fill, the slot value having determined is filled to correspondence Word slot and attribute node attribute value in.
As another optional example of the application, intention tree corresponding with current session is obtained further include: obtain history and fill out Slot information, wherein history fills out slot information and fills out slot information included in the associated each word slot of historical time Duan Zhongyu intention tree;According to Slot information is filled out according to history, the attribute node in update intent tree and the slot value with the associated word slot of intention tree.
Can according to got in historical process fill out slot information update this intention tree attribute node category Property value and be intended to set the slot value of associated word slot.For example, can by the way of " be intended to inherit " or " slot value succession " come Realize more perfect context management, it is therefore an objective to solve the problems, such as that the confidence level being intended in NLU parsing result is too low, pass through at this time Being intended to inherit can inherit the last round of intention of user to the dialogue for working as front-wheel, will by " being intended to inherit " or " slot value succession " " Cha Tianqi " of upper wheel dialogue is intended to inherit, and is intended to tree so as to continue to access " Cha Tianqi ", promotes current session institute The completion of corresponding task.
Step S304, traversal are intended to tree, obtain traversing result.
When traversal is intended to tree, it can be and the slot value being put into word slot is traversed, and slot value is put into corresponding attribute In " nodal value " attribute of node, then determined according to the attribute value occupied state for the attribute node for being intended to tree, specifically, I Can be traversed by the way of breadth first search intention tree, with determine which attribute node " nodal value " and associated word Slot needs to fill.
Optionally, traversal is intended to tree, and obtaining traversing result includes: initialization multilayer sky list;From node is intended to, visit It asks the child node for being intended to node, and the child node that access obtains is added in sky list, obtain element list, wherein sub- section Point includes: relationship node and/or attribute node;Whether judge in element list only comprising attribute node;In element list not Only comprising traversing each element in element list, obtaining traversing result, wherein under element includes in the case where attribute node At least one state: with element, and or element the child node is removed from element list in the case where element is with element, And element list is expanded by the child node;It is or in the case where element statistics or the corresponding child node quantity of element in element Element list is replicated n times, and removes element list from empty list by n, to the element list of each duplication, respectively by not With child node replace or node, and n element list is added in sky list, wherein n is natural number.
Wherein, two layers of empty list can be referred in the multilayer sky list of the application.In traversal, including following four step, The first step initializes two layers of empty list L:[[]], then its child node can be accessed from node is intended to, and by the sub- section Point is added in sky list.Corresponding to Fig. 4 it is found that being intended to its available son after the intention node 1 set traverses from first Node includes: relationship node 1, its available child node includes: relationship after the intention node 2 for being intended to tree from second traverses Node 3;So sequentially traverse.After traversal, the relationship between the node traversed and corresponding node can be stored in column In table, element list is obtained.
Second step checks that whether each element list only includes attribute node in L, if it is skips to the 4th step, if It is no, into third step.
Third step traverses each element list list in L, firstly, each element of traversal element list list is (to close Set section point or attribute node), 1, if element is "AND" element, child node is first removed from list, is then expanded with its child node Fill list;2, if element is "or" element, the number of child nodes n of OR node is first counted, element list list is replicated n times, And element list list is removed from L and is replaced respectively with different child nodes then for each element list list of duplication "or" element is changed, finally this n list is added in L.Secondly, cyclic query list L.
4th step, is exited.After traversal, the combination of available multiple word slot lists.
After having traversed intention tree, there are two types of as a result, the first, is intended to all properties node of tree and sets with intention for meeting Associated word slot, which is filled, to be finished, at this time, it is only necessary to be called preset external interface or be returned preconfigured and be intended to set Associated dialogue result;Second, it is that attribute node is finished with being intended to set associated word slot to be not filled by other words, at this point, Necessarily word slot and attribute node are still lacked, need system to return to conversation content, just at this moment to obtain corresponding attribute Value or slot value.
Corresponding to the first above-mentioned situation, step S308 is executed, corresponds to above-mentioned second situation, executes step S306.
Step S306, when traversing result indicates the attribute node for being intended to have vacant position in tree, the attribute section of inquiry and vacancy The corresponding system acting of point, and send conversation content corresponding with system acting.
When i.e. traversing result instruction is intended to the attribute node having vacant position in tree, inquiry system is needed to act, optionally, inquiry When system acting corresponding with the attribute node of vacancy includes: the attribute node having vacant position in traversing result indicates that intention is set, According to traversing result, a variety of word slot combinations are determined, wherein the combination for the vacancy word slot that the combination instruction of word slot needs to fill; Obtain the least word slot combination of the vacancy word slot number for including in the combination of word slot;In the least word slot combination of vacancy word slot number A vacancy word slot is chosen, and determines the corresponding system acting of vacancy word slot.
In above-mentioned traversed, unfilled word slot can be combined and attribute node all inquires, selected and do not fill out slot number That least combination of mesh as finally need to inquire user word slot combine, when do not fill out slot number mesh it is least combination have it is more When kind mode, one kind can be selected at random.Finally for the word slot do not filled out in this word slot combination selected come feedback user, I.e. which word slot is not filled out, then the corresponding system acting of the feedback user slot illustrates the intention tree when not filling out slot number mesh is zero All necessary conditions have all met, and just the movement of triggering intention carrys out feedback user at this time.
Step S308 sends after the completion of traversing result indicates all properties node being intended in tree filling and is intended to set Corresponding dialogue result.
Wherein, text corresponding with tree is intended to is stored in advance in the interface or calling system outside dialogue result instruction calling This, returns to user terminal for corresponding information.For example, user needs to inquire the weather of some day, then time and city are being determined After the word slot in city is all filled, weather lookup interface can be called, transfers the particular content of weather, which is returned into use Family terminal.
By the above-mentioned means, can use field forest to manage more of same field intention trees, realize same Word slot information sharing between the difference intended target of field manages word slot using the form for being intended to tree, realizes complex word slot A possibility that expression of relationship compensates for the deficiency that conjunctive word slot configures on existing line, improves complex task configuration.
Illustrate the application below by a kind of example of optional dialogue control.
Fig. 5 is another optional schematic diagram for being intended to tree according to an embodiment of the present invention, as shown in figure 5, this builds " boat The field forest in class field ", field forest can be flight field, have an intention tree in flight field, i.e., " flight is pre- It is fixed " it is intended to tree.
" flight is predetermined " shown in Fig. 5 is intended to tree, in total includes 8 attribute nodes, and it is corresponding to list " freight space " in figure System acting, the corresponding system acting of other attribute nodes is similar, is not listed one by one in this application.
Optionally, the intention node in the intention tree in Fig. 5 is " flight is predetermined ", the corresponding intention movement of the intention node The intention can be called to act necessarily after the nodal value filling of attribute node for " calling book flight API ".
Fig. 6 is the schematic diagram of another optional dialogue control according to an embodiment of the present invention, as shown in fig. 6, in user First dialog text " help my predetermined tomorrow from Hangzhou to Pekinese's aircraft " is issued, after the parsing of NLU module, is obtained To structural data, such as the result in this example are as follows: { " field ": " flight ", " intended target ": " flight reservation ", " attribute section Point ": [{ " date ": " tomorrow " }, { " city of setting out ": " Hangzhou " }, { " reaching city ": " Beijing " }] }, pass through current nature Language analysis mode, available each above-mentioned information.
Optionally, field forest receives parsing result, and is filtered to the parsing result, and specific practice is: visiting first It asks that " flight reservation " under " flight " field is intended to tree, obtains the attribute node of the intention tree, be then based on parsing result, will solve It analyses obtained numerical value to retain, to prepare for Subsequent attributes node and the filling of word slot, finally obtained slot value information is denoted as ti (i indicates the i-th wheel dialogue).
Receive the slot value information t in parsing resulti, slot information T is filled out in conjunction with historyi-1(it is current that T contains current area All slot value information being intended under tree), update total slot value information Ti=f (TI-1,ti), wherein f indicates slot value more new strategy letter Number, most direct way is exactly tiIn slot value all cover to Ti-1In, namely to Ti-1In every a pair of of slot value, if the slot In tiIn occurred and slot value and Ti-1In it is different, then Ti-1In the value be substituted for tiIn value, otherwise retain Ti-1's Slot value is constant.The result of DST can indicate in such example are as follows: { " field ": " flight ", " intention ": " flight reservation ", " attribute section Point ": [{ " date ": " tomorrow " }, { " city of setting out ": " Hangzhou " }, { " reaching city ": " Beijing " }, " freight space ": " sky "], { " departure time ": " sky " }, { " reaching the time ": " sky " }, { " airline ": " sky " }, { " flight ": " sky " }] }.
" flight reservation " is traversed by way of breadth first search to be intended to tree and set associated word slot with intention, obtains 4 Kind word slot combination, comprising: the first, [[" freight space ", " date ", " city of setting out ", " reaching city ", " departure time ", " airline "], second, [" freight space ", " date ", " city of setting out ", " reaching city ", " arrival time ", " aviation is public Department "], the third, [" freight space ", " date ", " city of setting out ", " reaching city ", " departure time ", " flight "], the 4th kind, [" freight space ", " date ", " city of setting out ", " reaching city ", " departure time ", " flight "]].
In conjunction with above-mentioned DST's as a result, counting the number that every kind of word slot combination do not fill out slot are as follows: [3,3,3,3].Because Number is all identical, it is possible to randomly select a kind of word slot combination, fill out slot mode as final, such as choose the first: What [" freight space ", " date ", " city of setting out ", " reach in city ", " departure time ", " airline "] obtained optimal fills out slot group It closes, in conjunction with DST's as a result, obtaining the word slot list for not filling out slot also are as follows: [" freight space ", " departure time ", " airline "].
In the word slot list that determination must fill out, there are three the word slot lists for not filling out slot are as follows: [" freight space ", " departure time ", " airline "], the corresponding system acting of a word slot then can be therefrom randomly choosed as feedback, such as select " freight space " right The system acting answered, thus user receive system feedback message be " may I ask you and want which kind of freight space ordered? ".
I.e. after parsing above-mentioned current session, can feed back a conversation content to user terminal " may I ask you and wants which kind of cabin ordered Position? ", to obtain the nodal value or slot value of corresponding freight space.
By above embodiment, it can use the intention tree of " flight is predetermined " in flight field to realize dialogue, utilize It is intended to the form of tree to manage word slot, realizes the expression of complex word slot relationship, it, can be to not after being parsed to current session The word slot of filling, which feeds back the corresponding text of corresponding system acting, can be filled by text feedback to user by inquiring three times It finishes word slot and is intended to the attribute node of tree, to transfer intention movement, realize " calling book flight API " interface, help to use The predetermined of flight is realized at family, completes the scheduled task of flight.
Illustrate the application below by an alternative embodiment.
Fig. 7 is a kind of schematic diagram of session control according to an embodiment of the present invention, as shown in fig. 7, the device can be with It include: acquiring unit 71, Traversal Unit 73, query unit 75, transmission unit 77, wherein
Acquiring unit 71, for obtaining intention tree corresponding with current session, wherein be intended to tree instruction current session and need The task of completion, it is intended that the attribute node in tree is associated with word slot;
Traversal Unit 73 is intended to tree for traversing, obtains traversing result;
Query unit 75, for inquiring and vacancy when traversing result indicates the attribute node for being intended to have vacant position in tree The corresponding system acting of attribute node, and send conversation content corresponding with system acting;
Transmission unit 77, for traversing result indicate be intended to tree in all properties node filling after the completion of, send with It is intended to set corresponding dialogue result.
Above-mentioned session control can obtain intention corresponding with current session by acquiring unit 71 and set, wherein meaning The task that figure tree instruction current session needs to complete, it is intended that the attribute node in tree is associated with word slot, passes through Traversal Unit 73 times Intention tree is gone through, traversing result is obtained, through query unit 75 when traversing result indicates the attribute node for being intended to have vacant position in tree, System acting corresponding with the attribute node of vacancy is inquired, and sends conversation content corresponding with system acting, it is single by sending Member 77 sends dialogue corresponding with tree is intended to and ties after the completion of traversing result indicates all properties node being intended in tree filling Fruit.In this embodiment it is possible to complete more wheel dialogues using tree is intended to, complex relationship is coped with, it can be to the attribute node of vacancy It is filled, and then word slot is filled and is completed, realization also can fast and efficiently fill the conjunctive word slot of complex relationship, in turn It solves in the related technology in the dialogue of wheel more than Task, the technology effectively filled that cannot achieve conjunctive word slot in complex relationship is asked Topic.
Optionally, acquiring unit includes: construction unit, for constructing multiple fields forest corresponding with different field, In, an intention tree is included at least in each field forest;Determination unit, for determining field corresponding with current session forest With the intention tree under the field forest.
In this application, it is intended that tree includes multiple nodes, and multiple nodes include at least one following: being intended to node, be used for Indicate intended target, it is corresponding with the task that current session needs to complete;Relationship node is used to indicate each intention being intended in tree Logical relation between node and attribute node;Attribute node, it is corresponding with each word slot, it is used to indicate the attribute of word slot, wherein The corresponding attribute node of one word slot, each attribute node are corresponding with system acting.
As the optional example of the application one, an intention node is corresponding in every intention tree, it is intended that node is intentional Node identification;Relationship node is corresponding with relationship node identification or attribute node mark.
As the optional example of the application one, shared attribute node between the target intention tree in the forest of field.
As the optional example of the application one, acquiring unit includes: parsing module, for parsing current session, is solved Analyse result, wherein include at least in parsing result: field forest, intended target, slot value;First enquiry module, for according to solution Analysis is set as a result, inquiring intention corresponding with field forest, and intended target is corresponding with node is intended to, and slot value is filled to right In the word slot and attribute node answered.
As the optional example of the application one, acquiring unit further include: first obtains module, fills out slot letter for obtaining history Breath, wherein history fills out slot information and fills out slot information included in the associated each word slot of historical time Duan Zhongyu intention tree;First more New module, for filling out slot information according to history, the attribute node in update intent tree and the slot value with the associated word slot of intention tree.
As the optional example of the application one, Traversal Unit includes: initialization module, for initializing multilayer sky list; Access modules, for from node is intended to, access to be intended to the child node of node, and the child node that access obtains is added to sky In list, element list is obtained, wherein child node includes: relationship node and/or attribute node;Judgment module, for judging member It whether only include attribute node in plain list;Spider module, in the case where for not only including attribute node in element list, Each element in element list is traversed, obtains traversing result, wherein element includes at least one following: with element, Yi Jihuo Element removes the child node, and expand element column by the child node in the case where element is with element from element list Table;It is in element or in the case where element, statistics or the corresponding child node quantity n of element replicates element list n times, and from Element list is removed in empty list, to the element list of each duplication, is replaced respectively by different child nodes or node, and N element list is added in sky list, wherein n is natural number.
As the optional example of the application one, query unit comprises determining that module, is intended to tree for indicating in traversing result In have vacant position attribute node when, according to traversing result, determine a variety of word slots combinations, wherein the combination instruction of word slot needs to fill Vacancy word slot combination;Second obtains module, least for obtaining the vacancy word slot number for including in the combination of word slot The combination of word slot;Module is chosen, for choosing a vacancy word slot in the least word slot combination of vacancy word slot number, and determines the sky Lack the corresponding system acting of word slot.
As the optional example of the application one, each intention tree is corresponding with an intention movement, it is intended that movement is used to indicate Dialog text corresponding with task, or, it is intended that movement is used to indicate passing to word slot corresponding slot value that calling is default to be connect After mouthful, query information corresponding with task is got, wherein dialogue result includes dialog text and query information.
Above-mentioned session control can also include processor and memory, above-mentioned acquiring unit 71, Traversal Unit 73, Query unit 75, transmission unit 77 is equal to be stored in memory as program unit, is stored in memory by processor execution In above procedure unit realize corresponding function.
Include kernel in above-mentioned processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set One or more is come after the completion of traversing result indicates all properties node being intended in tree filling by adjusting kernel parameter, Send dialogue result corresponding with tree is intended to.
Above-mentioned memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes extremely A few storage chip.
According to another aspect of an embodiment of the present invention, a kind of electronic equipment is additionally provided, Fig. 8 is according to embodiments of the present invention A kind of optional electronic equipment schematic diagram, as shown in figure 8, the electronic equipment 810 include memory 820 and processor 830, wherein memory, for the executable instruction of storage processor, and processor is configured to come via execution executable instruction It executes the program of following steps: obtaining intention tree corresponding with current session, wherein be intended to tree instruction current session and need to complete Task, it is intended that the attribute node in tree is associated with word slot;Traversal is intended to tree, obtains traversing result;It indicates to anticipate in traversing result When the attribute node having vacant position in figure tree, system acting corresponding with the attribute node of vacancy, and transmission and system acting are inquired Corresponding conversation content;After the completion of traversing result indicates all properties node being intended in tree filling, sends and be intended to tree pair The dialogue result answered.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, storage medium includes the journey of storage Sequence, wherein equipment where control storage medium executes the dialog control method of above-mentioned any one in program operation.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (13)

1. a kind of dialog control method characterized by comprising
Obtain intention tree corresponding with current session, wherein being intended to the tree instruction current session and needing to complete for the task, The attribute node being intended in tree is associated with word slot;
The intention tree is traversed, traversing result is obtained;
When the traversing result indicates the attribute node having vacant position in the intention tree, the attribute node of inquiry and the vacancy Corresponding system acting, and send conversation content corresponding with the system acting;
After the completion of the traversing result indicates all properties node filling being intended in tree, send and intention tree pair The dialogue result answered.
2. the method according to claim 1, wherein acquisition intention tree corresponding with current session includes:
Construct multiple fields forest corresponding with different field, wherein an intention is included at least in each field forest Tree;
Determine the intention tree under field corresponding with current session forest and the field forest.
3. according to the method described in claim 2, it is characterized in that, intention tree includes multiple nodes, the multiple node Including at least one following:
It is intended to node, is used to indicate intended target, it is corresponding with the task that the current session needs to complete;
Relationship node, the logical relation being used to indicate between each intention node and attribute node being intended in tree;
Attribute node, it is corresponding with each word slot, it is used to indicate the attribute of institute's predicate slot, wherein the corresponding attribute of a word slot Node, each attribute node are corresponding with system acting.
4. according to the method described in claim 3, it is characterized in that,
An intention node, the intentional node identification of the intention node are corresponding in every intention tree;
The relationship node is corresponding with relationship node identification or attribute node mark.
5. according to the method described in claim 3, it is characterized in that, sharing institute between target intention tree in the field forest State attribute node.
6. according to the method described in claim 3, it is characterized in that, acquisition intention tree corresponding with current session includes:
Parse the current session, obtain parsing result, wherein include at least in the parsing result: field forest is intended to mesh Mark, slot value;
According to the parsing result, corresponding with field forest intention tree is inquired, and by intended target and the intention Node is corresponding, and the slot value is filled into corresponding word slot and attribute node.
7. according to the method described in claim 6, it is characterized in that, obtaining intention tree corresponding with current session further include:
It obtains history and fills out slot information, wherein the history fills out slot information included in intention tree association described in historical time Duan Zhongyu Each word slot fill out slot information;
Slot information is filled out according to the history, update the attribute node being intended in tree and is intended to set associated word slot with described Slot value.
8. according to the method described in claim 6, it is characterized in that, the traversal intention tree, obtaining traversing result includes:
Initialize the list of multilayer sky;
From node is intended to, access is intended to the child node of node, and the child node that access obtains is added to the empty list In, obtain element list, wherein the child node includes: relationship node and/or attribute node;
Whether judge in the element list only comprising attribute node;
In the case where not only including attribute node in the element list, each element in the element list is traversed, is obtained To traversing result, wherein the element includes at least one following: with element, and or element, be and element in the element In the case where, the child node is removed from the element list, and the element list is expanded by the child node;In the member Element be or element in the case where, statistics or the corresponding child node quantity n of element replicate element list n times, and from empty list The element list is removed, to the element list of each duplication, is replaced respectively by different child nodes or node, and by n A element list is added in the empty list, wherein n is natural number.
9. according to the method described in claim 8, it is characterized in that, inquiry system corresponding with the attribute node of the vacancy is dynamic Work includes:
When the traversing result indicates the attribute node having vacant position in the intention tree, according to the traversing result, determination is more Kind word slot combination, wherein the combination for the vacancy word slot that the combination instruction of institute's predicate slot needs to fill;
Obtain the least word slot combination of the vacancy word slot number for including in the combination of word slot;
A vacancy word slot is chosen in the least word slot combination of vacancy word slot number, and determines that the corresponding system of vacancy word slot is dynamic Make.
10. the method according to claim 1, wherein each intention tree is corresponding with an intention movement, institute It states intention movement and is used to indicate dialog text corresponding with the task, alternatively, intention movement is used to indicate by word slot After corresponding slot value passes to calling preset interface, query information corresponding with the task is got, wherein the dialogue knot Fruit includes the dialog text and the query information.
11. a kind of session control characterized by comprising
Acquiring unit, for obtaining intention tree corresponding with current session, wherein the intention tree indicates that the current session needs Being completed for task, the attribute node being intended in tree are associated with word slot;
Traversal Unit obtains traversing result for traversing the intention tree;
Query unit, for the traversing result indicate it is described be intended to tree in have vacant position attribute node when, inquiry with it is described The corresponding system acting of the attribute node of vacancy, and send conversation content corresponding with the system acting;
Transmission unit, for sending after the completion of the traversing result indicates all properties node filling being intended in tree Dialogue result corresponding with the intention tree.
12. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to carry out any one of perform claim requirement 1 to 10 via the execution executable instruction The dialog control method.
13. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When control the storage medium where equipment perform claim require any one of 1 to 10 described in dialog control method.
CN201910067893.4A 2019-01-24 2019-01-24 Conversation control method and device Active CN109815326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910067893.4A CN109815326B (en) 2019-01-24 2019-01-24 Conversation control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910067893.4A CN109815326B (en) 2019-01-24 2019-01-24 Conversation control method and device

Publications (2)

Publication Number Publication Date
CN109815326A true CN109815326A (en) 2019-05-28
CN109815326B CN109815326B (en) 2021-09-10

Family

ID=66603171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910067893.4A Active CN109815326B (en) 2019-01-24 2019-01-24 Conversation control method and device

Country Status (1)

Country Link
CN (1) CN109815326B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188185A (en) * 2019-06-05 2019-08-30 网易(杭州)网络有限公司 Processing method, device, equipment and the storage medium of more wheel dialogues
CN110297616A (en) * 2019-05-31 2019-10-01 百度在线网络技术(北京)有限公司 Talk about generation method, device, equipment and the storage medium of art
CN110532361A (en) * 2019-08-09 2019-12-03 深圳追一科技有限公司 Recognition methods, device, computer equipment and the storage medium that user is intended to
CN110609618A (en) * 2019-08-26 2019-12-24 杭州城市大数据运营有限公司 Man-machine conversation method and device, computer equipment and storage medium
CN111209381A (en) * 2020-01-03 2020-05-29 北京搜狗科技发展有限公司 Time management method and device in conversation scene
CN111914073A (en) * 2020-07-15 2020-11-10 中国联合网络通信集团有限公司 Customer service response method, device, equipment and storage medium
CN113190668A (en) * 2021-05-19 2021-07-30 平安国际智慧城市科技股份有限公司 Man-machine interaction method, device and equipment based on multi-turn conversation and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030059750A1 (en) * 2000-04-06 2003-03-27 Bindler Paul R. Automated and intelligent networked-based psychological services
CN105513593A (en) * 2015-11-24 2016-04-20 南京师范大学 Intelligent human-computer interaction method drove by voice
CN106528613A (en) * 2016-05-26 2017-03-22 中科鼎富(北京)科技发展有限公司 Intelligent question-answer (Q&A) method and device
CN107169034A (en) * 2017-04-19 2017-09-15 畅捷通信息技术股份有限公司 A kind of method and system of many wheel man-machine interactions
CN107688614A (en) * 2017-08-04 2018-02-13 平安科技(深圳)有限公司 It is intended to acquisition methods, electronic installation and computer-readable recording medium
CN108052547A (en) * 2017-11-27 2018-05-18 华中科技大学 Natural language question-answering method and system based on question sentence and knowledge graph structural analysis
CN108416051A (en) * 2018-03-20 2018-08-17 杭州声讯网络科技有限公司 A kind of Intelligent dialogue logical algorithm for sector application
CN108920434A (en) * 2018-06-06 2018-11-30 武汉酷犬数据科技有限公司 A kind of general Web page subject method for extracting content and system
CN111813961A (en) * 2020-08-25 2020-10-23 腾讯科技(深圳)有限公司 Data processing method and device based on artificial intelligence and electronic equipment
CN112131360A (en) * 2020-09-04 2020-12-25 交通银行股份有限公司太平洋信用卡中心 Intelligent multi-turn dialogue customization method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030059750A1 (en) * 2000-04-06 2003-03-27 Bindler Paul R. Automated and intelligent networked-based psychological services
CN105513593A (en) * 2015-11-24 2016-04-20 南京师范大学 Intelligent human-computer interaction method drove by voice
CN106528613A (en) * 2016-05-26 2017-03-22 中科鼎富(北京)科技发展有限公司 Intelligent question-answer (Q&A) method and device
CN107169034A (en) * 2017-04-19 2017-09-15 畅捷通信息技术股份有限公司 A kind of method and system of many wheel man-machine interactions
CN107688614A (en) * 2017-08-04 2018-02-13 平安科技(深圳)有限公司 It is intended to acquisition methods, electronic installation and computer-readable recording medium
CN108052547A (en) * 2017-11-27 2018-05-18 华中科技大学 Natural language question-answering method and system based on question sentence and knowledge graph structural analysis
CN108416051A (en) * 2018-03-20 2018-08-17 杭州声讯网络科技有限公司 A kind of Intelligent dialogue logical algorithm for sector application
CN108920434A (en) * 2018-06-06 2018-11-30 武汉酷犬数据科技有限公司 A kind of general Web page subject method for extracting content and system
CN111813961A (en) * 2020-08-25 2020-10-23 腾讯科技(深圳)有限公司 Data processing method and device based on artificial intelligence and electronic equipment
CN112131360A (en) * 2020-09-04 2020-12-25 交通银行股份有限公司太平洋信用卡中心 Intelligent multi-turn dialogue customization method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
E. V. POLYAKOV 等: ""Investigation and development of the intelligent voice assistant for the Internet of Things using machine learning"", 《2018 MOSCOW WORKSHOP ON ELECTRONIC AND NETWORKING TECHNOLOGIES (MWENT)》 *
徐阿衡: ""多轮对话之对话管理(Dialog Management)"", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/32716205》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110297616A (en) * 2019-05-31 2019-10-01 百度在线网络技术(北京)有限公司 Talk about generation method, device, equipment and the storage medium of art
CN110297616B (en) * 2019-05-31 2023-06-02 百度在线网络技术(北京)有限公司 Method, device, equipment and storage medium for generating speech technology
CN110188185A (en) * 2019-06-05 2019-08-30 网易(杭州)网络有限公司 Processing method, device, equipment and the storage medium of more wheel dialogues
CN110532361A (en) * 2019-08-09 2019-12-03 深圳追一科技有限公司 Recognition methods, device, computer equipment and the storage medium that user is intended to
CN110609618A (en) * 2019-08-26 2019-12-24 杭州城市大数据运营有限公司 Man-machine conversation method and device, computer equipment and storage medium
CN110609618B (en) * 2019-08-26 2023-06-20 杭州城市大数据运营有限公司 Man-machine conversation method and device, computer equipment and storage medium
CN111209381A (en) * 2020-01-03 2020-05-29 北京搜狗科技发展有限公司 Time management method and device in conversation scene
CN111209381B (en) * 2020-01-03 2023-12-12 北京搜狗科技发展有限公司 Time management method and device in dialogue scene
CN111914073A (en) * 2020-07-15 2020-11-10 中国联合网络通信集团有限公司 Customer service response method, device, equipment and storage medium
CN113190668A (en) * 2021-05-19 2021-07-30 平安国际智慧城市科技股份有限公司 Man-machine interaction method, device and equipment based on multi-turn conversation and storage medium

Also Published As

Publication number Publication date
CN109815326B (en) 2021-09-10

Similar Documents

Publication Publication Date Title
CN109815326A (en) Dialog control method and device
CN110750971B (en) Context-based auto-completion suggestion
CN109003605A (en) Intelligent sound interaction processing method, device, equipment and storage medium
US20090024965A1 (en) Graphical method of semantic oriented model analysis and transformation design
CN103404111B (en) For providing the method and system of session in isomerous environment
CN109614474A (en) Process configuration unit, method and the intelligent robot interactive system of more wheel sessions
CN109545205A (en) Virtual assistant based on context is realized
CN107402927A (en) A kind of enterprise's incidence relation topology method for building up and querying method based on graph model
CN109933214A (en) Context-prediction keys in query suggestion in advance
CN105786460B (en) A kind of software development methodology and device based on Services Composition
CN106407178A (en) Session abstract generation method and device
CN109240670A (en) Modular software development methodology, system, equipment and medium
CN110309289A (en) A kind of sentence generation method, sentence generation device and smart machine
CN110088751A (en) With the search result of dialog interaction service interface integration
CN104462429B (en) The generation method and device of query sentence of database
CN110489198A (en) A kind of method and system of worksheet
CN111090728A (en) Conversation state tracking method and device and computing equipment
CN110472030A (en) Man-machine interaction method, device and electronic equipment
CN109313668B (en) System and method for constructing session understanding system
CN110457011A (en) Software application method for customizing and exploitation server-side
CN108664568A (en) Semantic technical ability creation method and device
CN110096516A (en) The dialogue generation method and system of customized database interaction
US8433053B2 (en) Voice user interfaces based on sample call descriptions
US20200152182A1 (en) Dialogue system and a dialogue method
CN109582289A (en) The processing method of regular flow, system, storage medium and processor in regulation engine

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