CN110019718A - Method, terminal device and the storage medium of the more wheel question answering systems of modification - Google Patents

Method, terminal device and the storage medium of the more wheel question answering systems of modification Download PDF

Info

Publication number
CN110019718A
CN110019718A CN201711346539.2A CN201711346539A CN110019718A CN 110019718 A CN110019718 A CN 110019718A CN 201711346539 A CN201711346539 A CN 201711346539A CN 110019718 A CN110019718 A CN 110019718A
Authority
CN
China
Prior art keywords
question
answer
node
interaction
knowledge point
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
CN201711346539.2A
Other languages
Chinese (zh)
Other versions
CN110019718B (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.)
Shanghai Xiaoi Robot Technology Co Ltd
Shanghai Zhizhen Intelligent Network Technology Co Ltd
Original Assignee
Shanghai Zhizhen Intelligent Network Technology 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 Shanghai Zhizhen Intelligent Network Technology Co Ltd filed Critical Shanghai Zhizhen Intelligent Network Technology Co Ltd
Priority to CN201711346539.2A priority Critical patent/CN110019718B/en
Priority to US16/106,680 priority patent/US11341422B2/en
Publication of CN110019718A publication Critical patent/CN110019718A/en
Application granted granted Critical
Publication of CN110019718B publication Critical patent/CN110019718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses method, terminal device and storage mediums that question answering system is taken turns in a kind of modification more.The amending method includes: the modification information for obtaining and taking turns more for target and setting system component in question answering system;Wherein, the modification information includes any one of following or multinomial combination: modification thematic knowledge point corresponding with the target mostly wheel question answering system, modification target corresponding with the target mostly wheel question answering system takes turns question and answer process module, and modification knowledge point corresponding with setting interaction node in the target mostly wheel question and answer process module more;According to the modification information, the corresponding update target takes turns question answering system more.The modification modes of the existing more wheel question answering systems of the scheme optimization of the embodiment of the present invention, realize the quick modification and update of more wheel question answering systems, avoid and introduce developer during mostly wheel question answering systems are modified, greatly reduce the workload of developer.

Description

Method, terminal device and the storage medium of the more wheel question answering systems of modification
Technical field
The present embodiments relate to method, terminals that question answering system is taken turns in intelligent answer technology more particularly to a kind of modification more Equipment and storage medium.
Background technique
Human-computer interaction is the science of the interactive relation between research system and user.System can be various machines Device is also possible to the system and software of computerization.For example, various artificial intelligence system (intelligence may be implemented by human-computer interaction Energy customer service system, speech control system etc.).Artificial intelligence semantics recognition is the basis of human-computer interaction, can be to human language Identified, to be converted into machine it will be appreciated that language.
Intelligent Answer System is a kind of typical case of human-computer interaction, wherein after user's proposition problem, intelligent answer system System provides the answer of the problem.More wheel question answering systems are one of very important intelligent Answer Systems, generally require with User carries out the question and answer interactions taken turns more.And the interaction content inputted in a certain wheel question answering process according to user, determine next round The feedback information of user is supplied to when question and answer.Question and answer process is taken turns one correspondingly, taking turns question answering system more one and often corresponding to more, from Root nodes in more wheel question and answer processes start, according to the customer interaction information received in multiple interaction nodes (judging node), The next trends for constantly determining much more entire wheel question and answer processes to the last arrive at finish node as expected and complete entire more wheels Question and answer process.
With the continuous progress of technology, people constantly mention to more wheel question answering systems and for the modification demand of more wheel systems The modification technology of height, existing more wheel question answering systems can no longer meet the modification of the growing personalization of people, facilitation Demand.
Summary of the invention
The embodiment of the invention provides a kind of modification more take turns question answering system method, terminal device and storage medium, with Optimize the technology that question answering system is taken turns in existing modification more, improves the modification efficiency and modification convenience of more wheel question answering systems.
In a first aspect, being applied to more wheel question and answer the embodiment of the invention provides a kind of method that question answering system is taken turns in modification more In system;
More wheel question answering systems include: more wheel question and answer process modules corresponding with mostly wheel question and answer flow chart, more wheels It include multiple graphic assemblies in question and answer flow chart, the graphic assembly includes: multiple interaction nodes;
It is stored in knowledge base, there is corresponding relationship with each interaction node in more wheel question and answer flow charts One or more knowledge points, knowledge point corresponding with the interaction node include: interaction problems and interaction answer, and the interaction is asked Topic with the customer interaction information received for being matched, and the interactive answer is for determining more wheel question and answer process modules Next trend;And
The thematic knowledge point being stored in the knowledge base, the thematic knowledge point include problem of subject and theme answer, The problem of subject is used to indicate the trigger condition with the matched more wheel question and answer process modules of more wheel question answering systems, the master Topic answer is used to establish the triggering relationship of the thematic knowledge point and more wheel question and answer process modules;
The method that question answering system is taken turns in the modification more, comprising:
Obtain the modification information taken turns more for target and set system component in question answering system;
Wherein, the modification information includes any one of following or multinomial combination: modification takes turns question answering system with the target more Corresponding thematic knowledge point, modification target corresponding with the target mostly wheel question answering system take turns question and answer process module, Yi Jixiu more Change knowledge point corresponding with setting interaction node in the target mostly wheel question and answer process module;
According to the modification information, the corresponding update target takes turns question answering system more.
Second aspect, the embodiment of the invention also provides a kind of terminal device, the terminal device includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the method that question answering system is taken turns in the modification as described in any embodiment of the present invention more.
The third aspect, the embodiment of the invention also provides a kind of computer storage mediums, are stored thereon with computer program, The method that question answering system is taken turns in the modification as described in any embodiment of the present invention more is realized when the program is executed by processor.
The embodiment of the invention provides method, terminal device and storage mediums that question answering system is taken turns in a kind of modification more, lead to Cross the modification information for obtaining and taking turns more for target and setting system component in question answering system;Wherein, the modification information includes following Any one or multinomial combination: modification thematic knowledge point corresponding with the target mostly wheel question answering system, modification and the target are more It takes turns the corresponding target of question answering system and takes turns question and answer process module more, and modification is taken turns in question and answer process module more with the target and set The corresponding knowledge point of interaction node;According to the modification information, the corresponding technological means for updating the target and taking turns question answering system more, A kind of concrete mode modified to more wheel question answering systems is proposed, user is greatly met and more wheel question answering systems is repaired Change demand, optimize the method that question answering system is taken turns in existing modification more, the modification efficiency for improving more wheel question and answer and modification are just Victory realizes the quick modification and update of more wheel question answering systems, avoids and introduce during mostly wheel question answering system modification Developer greatly reduces the workload of developer.
Detailed description of the invention
Fig. 1 a is the flow chart of the generation method for more wheel question answering systems that the embodiment of the present invention is applicable in;
Fig. 1 b is the schematic diagram for the patterned more wheel question and answer flow charts of one kind that the embodiment of the present invention is applicable in;
Fig. 1 c is a kind of schematic diagram for custom-configuring information for input interaction node that the embodiment of the present invention is applicable in;
Fig. 1 d is a kind of schematic diagram for custom-configuring information for input casting node that the embodiment of the present invention is applicable in;
Fig. 1 e is a kind of schematic diagram for custom-configuring information for input pad that the embodiment of the present invention is applicable in;
Fig. 2 is the flow chart of the method for the more wheel question answering systems of one of embodiment of the present invention one modification;
Fig. 3 is the flow chart of the method for the more wheel question answering systems of one of embodiment of the present invention two modification;
Fig. 4 is the flow chart of the method for the more wheel question answering systems of one of embodiment of the present invention three modification;
Fig. 5 is the structural schematic diagram of one of the embodiment of the present invention four computer equipment.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing rather than Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart, It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing. The processing can correspond to method, function, regulation, subroutine, subprogram etc..
The content of embodiment to facilitate the understanding of the present invention first introduces question and answer knowledge point and language in intelligent answer The related notion of adopted expression formula is simply introduced:
1, question and answer knowledge point
Question and answer knowledge point most original and simplest form in knowledge base are exactly usually common FAQ, general form It is that " ask-answer " is right.For example, " rate of CRBT " are exactly that clearly standard asks description for expression.Here " asking " should not be by narrowly It is interpreted as " inquiring ", and should broadly understand one " input ", being somebody's turn to do " input " has corresponding " output ".For example, for being used for For the semantics recognition of control system, the instruction of user, such as " opening radio " should also be understood to be one " asking ", corresponding at this time " answering " can be the calling for executing the control program accordingly controlled.
User to machine when inputting, the most ideal situation is that asked using standard, then the intelligent semantic identifying system of machine At once it will be appreciated that the meaning of user.However, user often not uses standard to ask, but some deformations for asking of standard Form.For example, if being " changing a radio station " for the standard form of asking of the radio station switching of radio, then what user may use Order is " switching one radio station ", and what machine was also required to can to identify user's expression is the same meaning.
For intelligent semantic identification, the extension that the standard that needs in knowledge base is asked is asked, which, which asks, asks table with standard There is slight difference up to form, but expresses identical meaning.
It therefore, include multiple question and answer knowledge points in knowledge base, each question and answer knowledge point includes problem and answer, and problem includes Standard, which is asked, asks that the problems in question and answer knowledge point shows generally by the form of semantic formula with multiple extensions.
2, semantic formula
Semantic formula is mainly made of word, part of speech and their "or" relationship, and core depends on " part of speech ", part of speech Simple to understand to be one group of word for having general character, these words can be similar or dissimilar semantically, these words can also be with It is noted as important or inessential.Semantic formula and user's question sentence relationship and traditional template matching have very big difference, In conventional template matching, template and user's question sentence are only matched and not matched relationship, and semantic formula and user's question sentence Between relationship be indicated by the value (similarity) of quantization, while this quantization value between similar question sentence and user's question sentence Similarity can mutually compare.Since semantic formula will participate in together similarity calculation with similar question sentence, so mould The definition of plate grammer is unsuitable complicated, but has enough ability expression semantic again.
In addition, giving the method for the more wheel question answering systems of modification in various embodiments of the present invention, wherein more wheels are asked The system of answering specifically includes:
It is corresponding with more wheel question and answer flow charts to take turns question and answer process module more, it include multiple figures in more wheel question and answer flow charts Shape component, the graphic assembly include: multiple interaction nodes;
It is stored in knowledge base, there is corresponding relationship with each interaction node in more wheel question and answer flow charts One or more knowledge points, knowledge point corresponding with the interaction node include: interaction problems and interaction answer, and the interaction is asked Topic with the customer interaction information received for being matched, and the interactive answer is for determining more wheel question and answer process modules Next trend;And
The thematic knowledge point being stored in the knowledge base, the thematic knowledge point include problem of subject and theme answer, The problem of subject is used to indicate the trigger condition with the matched more wheel question and answer process modules of more wheel question answering systems, the master Topic answer is used to establish the triggering relationship of the thematic knowledge point and more wheel question and answer process modules.
In order to make it easy to understand, the generation method of above-mentioned more wheel question answering systems is simply introduced first.
As shown in Figure 1a, the generation method of more wheel question answering systems specifically includes:
S110, patterned one or more more wheel question and answer flow charts are obtained.
Wherein, more wheel question and answer flow chart specifically can be selection and combine provided in setting process editing interface it is each A graphic assembly, obtained patterned flow chart.
Wherein, graphic assembly may include node and the connector (typical, connecting line) for connecting different nodes. It include interaction node in the node, the interaction node specifically refers to that question and answer can have been carried out with interactive user (can to ask with one One answers, and can also ask answer with one more) node of interaction, under the interaction node, the customer interaction information that can be inputted according to user, Determine next trend of more wheel question and answer flow charts.
For the overall structure of more wheel question and answer flow charts, it may include having a root node that question and answer flow chart is taken turns one more The beginning of process is represented, one or more terminal nodes represent the end of process.In addition, can also mostly be wrapped in wheel question and answer flow chart Multilayer interaction node is included, every layer of interaction node includes one or more interaction nodes.Wherein, one layer of interaction node, it is one corresponding The question and answer stage.
It is, of course, understood that the node other than it may include interaction node, can also include casting section Node or recording node etc. is arranged in point, variable, and the present embodiment is not limited thereto, and in general, question and answer is taken turns one more Root node in flow chart is interaction node, and terminal node is casting node.
In order to make it easy to understand, showing a kind of patterned more wheel question and answer flow charts in Figure 1b.As shown in Figure 1 b, described The graphic assemblies of diamond shape are interaction node (such as: inquiry age node 101), rectangular graphic assembly in more wheel question and answer flow charts For casting node (such as: the age is unsatisfactory for terms of loan node 102).Pass through the connecting line of node-to-node between each node It is connected.It wherein, include four layers of interaction node in more wheel question and answer flow charts described in Fig. 1 b.It include an interaction in each layer Node, namely: include: inquiry age node 101 (root node) in first layer, represents the inquiry stage at age, the second layer includes asking It asks the node 103 that whether has car and house, represents the garage inquiry stage, third layer includes the node 106 for inquiring the amount of the loan, representative loan The money amount of money inquires that stage and the 4th layer include inquiry several sections of points 107 by stages, represents and counts the inquiry stages by stages.Each interaction It can accordingly determine that more the different of wheel question and answer flow chart are moved towards according to the different interaction contents of input in node.In addition, this is more Taking turns question and answer flow chart includes multiple terminal nodes, namely: the age is unsatisfactory for terms of loan node 102, reminds excess node 109, oversubscription issue node 108 and casting loan result node 10A by stages are reminded.
S120, according to each graphic assembly for including in each more wheel question and answer flow charts, generate and take turns question and answer with described more The matched standardized codes frame of flow chart, wherein the graphic assembly includes: multiple interaction nodes.
Therein it is proposed that a kind of more wheel question and answer process modules that can be automatically generated.Correspondingly, being provided previously and inhomogeneity The standard implementation code that type graphic assembly matches, such as: establish standard corresponding with interaction node and casting node Realization code wrap pre-establishes the corresponding pass between standard implementation code and corresponding graphic assembly in different library files System.Typically, it can be previously written in the process editing interface and realize code with the matched standardization of each graphic assembly Storage address (or reference address), correspondingly, can be for the more wheel question and answer processes drawn based on the process editing interface Each graphic assembly for including in figure, the automatic corresponding matched standardized codes frame of generation.
It should be noted that the embodiment of the present invention concern is primarily with taking turns the generation method of question answering system more, it is therefore, take turns more It may include having multiple interaction nodes in question and answer flow chart, still, the technical solution of the embodiment of the present invention theoretically may be implemented Corresponding standardization generation can be obtained as long as drawing corresponding flow chart as needed in the generation of any kind of question answering system Code frame, and corresponding process module is obtained in turn.
S130, according to each graphic assemblies in more wheel question and answer flow charts are matched custom-configures information, Generate custom code corresponding with each graphic assembly make an addition in the standardized codes frame with graphic assembly At associated position, to generate mostly wheel question and answer process modules corresponding with more wheel question and answer flow charts.
It is understood that only including corresponding graphic assembly with the matched standard implementation code of each graphic assembly The general utility functions that can be realized.Such as: it is directed to an interaction node, includes decision logic in corresponding standard implementation code, Or it is directed to a casting node, it include casting logic etc. in corresponding standard implementation code.In order to enable a graphical set Part can be realized the functions that it is assigned in more wheel question and answer flow charts, needs to input and custom-configures parameter accordingly.
It cites a plain example, is unsatisfactory for terms of loan node 102 for the age in Fig. 1 b, the age is needed to be unsatisfactory for Terms of loan node 102 in a triggered, can broadcast content " age is unsatisfactory for the terms of loan ", correspondingly, above-mentioned, " age is not Meet the terms of loan " it is exactly the function that the imparting of terms of loan node 102 is unsatisfactory for the age, in order to enable the age is unsatisfactory for providing a loan Condition node 102 can be realized above-mentioned function, need that the standard is added using above-mentioned casting content as information is custom-configured Change in code skeleton.
Typically, blank code can be reserved with the setting position in the matched standard implementation code of each graphic assembly Section is being obtained for the graphic assemblies input in more wheel question and answer flow charts when custom-configuring parameter (for example, passing through stream The parameter configuration interface input that journey editing interface provides), the matched custom code addition pair of parameter is custom-configured by described In the blank code segment answered, to realize customized graphic assembly function.
Optionally, information (such as: the age is unsatisfactory for the terms of loan) can will be custom-configured to make by oneself directly as described Adopted code makes an addition in the standardized codes frame, (can also preferentially select for example, opening rejection according to information is custom-configured Item opens knowledge priority option), what matching was write in advance adds from the different custom codes for custom-configuring information matches It is added in the standardized codes frame, the present embodiment is to this and is not limited.
Correspondingly, if completing customized set to the whole graphic assemblies for including in question and answer flow chart are taken turns one more It sets, then the realization code that can be realized more wheel question and answer flow chart functions can be generated, namely: generate institute of the embodiment of the present invention The more wheel question and answer process modules stated.
S140, the corresponding relationship for establishing one or more knowledge points in each interaction node and knowledge base, and it is described The corresponding knowledge point of interaction node includes: interaction problems and interaction answer, and the interaction problems are used to hand over the user received Mutual information is matched, and the interactive answer is used to determine next trend of more wheel question and answer process modules.
Wherein, interaction node needs to determine the next of the more wheel question and answer process modules established according to customer interaction information Trend.Namely: interaction node includes at least two branches, and the difference that different branches correspond to more wheel question and answer process modules is walked To.Therefore, it is necessary to be the different branch condition of different branch establishings in more wheel question and answer process modules, such as: such as Fig. 1 b institute Show, on inquiry age node 101, if it is determined that customer interaction information is " having reach 20 years old ", then to take turns question and answer process module edge more Branch A circulate to asking whether this trend of node 103 that has car and house, if it is determined that customer interaction information is " less than 20 Year ", then more wheel question and answer process modules can circulate along branch B is unsatisfactory for this trend of terms of loan node 102 to the age.
In fact, interactive user (namely: the user that question and answer interact is carried out with more wheel question answering systems) in an interaction node The expression-form of the customer interaction information of lower input may be not unique, and customer interaction informations multiple and different in other words can be with The corresponding same branch condition.It as in the previous example, for example, can be with prespecified customer interaction information for " having reach 20 years old ", " adult " Or when " meeting age condition ", question and answer process modules of taking turns can circulate more along branch A, then in addition to (connecting branch A Part) Dynamic trigger condition setting be " reach 20 years old " except, it is also necessary in knowledge base establish and the matched friendship of interaction node Mutual knowledge point: (having reach 20 years old, completely 20 years old), (having grown up, completely 20 years old) and (meeting age condition, completely 20 years old).And Above-mentioned interactive knowledge point is established respectively and inquires the corresponding relationship of age node 101.Similarly, for " less than 20 years old " this point Branch, it is also desirable to be established in knowledge base and interaction node is matched interacts knowledge point: (less than 20 years old, less than 20 years old), (not at Year, less than 20 years old) and (be unsatisfactory for age condition, less than 20 years old).Therefore, inquiry age node 101 altogether need to be with six interactions Corresponding relationship is established in knowledge point.It is understood that knowledge point corresponding with interaction node and question and answer knowledge in the prior art It is distinguishing for putting, and therefore, for the ease of difference, knowledge point corresponding with interaction node is known as interaction knowledge point hereinafter.
Wherein, first half in each bracket represents the interaction problems of interaction knowledge point, for the user that receives Interactive information is matched, and the latter half in each bracket represents the interaction answer of the interaction knowledge point, described in determining Next trend of more wheel question and answer process modules.
By aforesaid operations, when mostly wheel question and answer process modules circulate to the inquiry age node 101, no matter interactive user Input " having reach 20 years old " still " has been grown up ", and " having reach 20 years old " this interaction answer can be matched in knowledge base, is being obtained After taking " having reach 20 years old " this interaction answer, question answering systems of taking turns can determine the dynamic contact of the interaction answer and branch A setting more Clockwork spring part matches, then more wheel question and answer process modules continue circulation downwards by branch A.
Need it is once more emphasized that, the interactive knowledge point corresponding with interaction node stored in the knowledge base be different from institute The question and answer knowledge point stored in knowledge base is stated, as previously mentioned, so-called question and answer knowledge point, generally comprises problematic and corresponding answers Case (alternatively referred to as " ask-answer " to), wherein the question and answer knowledge point is primarily adapted for use in the scene that question and answer are carried out with interactive user In, the problems in question and answer knowledge point with the customer interaction information of interactive user for being matched, if successful match, to the friendship Answer in mutual user feedback question and answer knowledge point, or execute the calling with the control program of the answer content matching.
Namely: question and answer knowledge point can directly determine interaction process result corresponding with customer interaction information (for example, feedback Answer content or the calling for executing setting control program), and interacting knowledge point is the branch for determining more wheel question answering systems Condition, the two purposes is different.For the ease of being distinguished in different application scene to above-mentioned two class knowledge point, can will hand over Mutual knowledge point and question and answer knowledge point are stored at storage location different in the knowledge base, or are added in interaction knowledge point Add the knowledge point label etc. distinguished with question and answer knowledge point.
In fact, the main purpose that interaction knowledge point is arranged allows for the user received for same interaction node The content of interactive information may be diversified, for example, " reach 20 years old " described in precedent or " adult " etc., still, In order to guarantee to take turns the terseness of question answering system one, generally when a branch condition of interaction node is arranged, being used only single more One conditional content, such as: " having reach 20 years old " therefore introduces the concept of interactive knowledge point.It is same by being directed in knowledge base Multiple interactive knowledge points are arranged in the same branch condition of one interaction node, namely: by multiple distinct interactions for being directed toward same branch Problem, the same interactive answer in correspondence, can be realized and allow multiple approximate expression contents that can correspond to a branch condition.
In other embodiments of the invention, question and answer knowledge point with interact knowledge point not it is also possible to not to the two It distinguishes, all within protection scope of the present invention.
As in the previous example, take turns one in question and answer process module may include multiple connectors to connect different nodes more, therefore, Information can be custom-configured by configuring the target connector that one is used to connect upper layer interaction node and lower level node, Realize the determination of next trend to more wheel question and answer process modules.
Correspondingly, the information that custom-configures may include: and the matched dynamic condition configuration information of target connector; The target connector is interaction section for connecting association upper layer node and association lower level node, the association upper layer node Point;
Wherein, the dynamic condition configuration information is that more wheel question and answer process modules circulate from the association upper layer node To the condition of the association lower level node, the dynamic condition configuration information and the association upper layer node in the knowledge base Interaction answer in a corresponding knowledge point matches.
S150, addition with each described takes turns the corresponding thematic knowledge point of question and answer process module, the master more in knowledge base Topic knowledge point includes problem of subject and theme answer, and the problem of subject is used to indicate to take turns the triggering item of question and answer process module more Part, the theme answer are used to establish the triggering relationship of the thematic knowledge point and more wheel question and answer process modules.
Wherein, more wheel question and answer process modules (code for realizing more wheel question and answer flow charts) is being generated, and in knowledge base It establishes after interaction node and the corresponding relationship of one or more knowledge point, in order to realize to more wheel question and answer process modules Normal use, needs further that addition with each described takes turns the corresponding thematic knowledge point of question and answer process module more in knowledge base.
It should be noted that foregoing present one kind to firstly generate more wheel question and answer process modules, theme is established later The implementation of knowledge point, and it will be appreciated by persons skilled in the art that the establishment process of thematic knowledge point can not office It is limited to execute after generating more wheel question and answer process modules, is not defined here.For example, thematic knowledge can be initially set up Point is establishing corresponding more wheel question and answer process modules etc. later.
In fact, thematic knowledge point and the difference of the question and answer knowledge point in knowledge base are: when the use of interactive user input When the problems in family interactive information and question and answer knowledge point match, can directly export the answer of the question and answer knowledge point, or execute with The calling of the control program of the answer content matching, and when the customer interaction information of interactive user input (is referred to as just hereinafter Beginning solicited message) when being matched with the problem of subject of a thematic knowledge point, then it can correspond to and trigger more wheel question and answer process module (examples Such as, the root node of more wheel question and answer process modules is directly triggered).
Typically, the theme answer in a thematic knowledge point can be the corresponding more wheel question and answer processes of the thematic knowledge point The information of more wheel question and answer process modules can be accurately positioned in storage address or call address of module etc..
Foregoing present a kind of generation sides of more wheel question answering systems that can be realized by way of What You See Is What You Get Method optimizes the implementation of existing more wheel question answering systems, realizes rapid build and the update of more wheel question answering systems, keeps away Exempt to introduce developer in more wheel question answering system generating process, greatly reduced the workload of developer, reduce costs, Improve accuracy rate and efficiency.
Specifically, the information that custom-configures may further include: rejection priority option corresponding with interaction node.
Wherein, it circulates in more wheel question and answer process modules to configuration and opens the first interaction node of rejection priority function When, if it is determined that the customer interaction information received at least one knowledge corresponding with first interaction node in knowledge base Interaction problems in point mismatch, then provide rejection response, and the customer interaction information is re-entered in request.
Namely: if an interaction node is configured for rejection priority option, identification base is only capable of in the interaction node In the interaction problems of the interaction node.Typically, it is refused if be provided with for an interaction nodes for taking turns question and answer flow charts more Know priority option, then obtain write in advance with the matched custom code of rejection priority function, and by above-mentioned custom code It makes an addition in the standardized codes frame and at the associated position of the interaction node.
By the way that rejection priority option is arranged, it ensure that more wheel question answering systems can be held according to pre-designed process sequence Row arbitrarily will not be jumped or be fed back because of some unrecognized problems of more wheel question answering systems that user inputs, So that regular, the secondary sequence of entire more wheel question answering systems is more preferable.
Unlike rejection priority option, the information that custom-configures can also include: corresponding with interaction node Knowledge priority option;
Wherein, it circulates in more wheel question and answer process modules to configuration and opens the second interaction node of knowledge priority function When, if it is determined that received customer interaction information at least one knowledge point corresponding with second interaction node in knowledge base In interaction problems mismatch, then global search is carried out to the customer interaction information in the knowledge base, and according to complete Office's lookup result executes corresponding interactive operation.
Namely: if an interaction node is configured for knowledge priority option, base is identified first in the interaction node In the interaction problems of the interaction node, if recognition failures, will continue to identify problem in other knowledge points in knowledge base.Allusion quotation Type, if being provided with knowledge priority option for an interaction node of more wheel question and answer flow charts, acquisition is write in advance With the matched custom code of knowledge priority function, and above-mentioned custom code is made an addition in the standardized codes frame At the associated position of the interaction node.
By the way that knowledge priority option is arranged, it ensure that the execution flexibility of more wheel question answering systems, can be handed over determining user When mutual information is mismatched with the node currently to circulate, also question and answer can be carried out with user well and interacted, to further increase user Satisfaction.
In a specific example, for the corresponding more wheel interactive systems of flow chart of such as Fig. 1 b, for the inquiry age 101 this interaction node of point are corresponding with 6 interactive knowledge points, and the interaction problems of this 6 interactive knowledge points are respectively " to have expired 20 Year ", " adult ", " meeting age condition ", " less than 20 years old ", " teenage " and " not meeting age condition ", when input When customer interaction information and above-mentioned 6 interaction problems mismatch, such as: " today, weather was how ", if the inquiry age Node 101 is provided with rejection priority option, then more wheel question answering systems will not provide corresponding feedback for the customer interaction information, And it rests on and inquires that continuing waiting for user on age node 101 re-enters new interactive information;If the inquiry age node The problem of 101 are provided with knowledge priority option, then more wheel question answering systems can be searched in knowledge base with the inquiry weather is corresponding Question and answer knowledge point, and the answer of the question and answer knowledge point is fed back.
Specifically, the information that custom-configures can further include: back track function choosing corresponding with interaction node ?;
Wherein, when more wheel question and answer process modules circulate and open the third interaction node of back track function to configuration, such as Fruit determines the interaction problems of received customer interaction information upper layer node corresponding with the third interaction node in knowledge base Match, then more wheel question and answer process modules circulates upper layer node corresponding to the third interaction node.
By the way that back track function is arranged, the versatility for more taking turns question answering system can be made stronger, in mostly wheel question answering system and used Family carries out in question and answer interactive process, and the content that can be inputted at any time according to user readjusts walking for entire more wheel question answering systems To being re-executed especially it is possible to return to the interaction node executed to one, and redefine based on the interaction Next trend of node, to better meet practical more wheel question and answer demands of user.
In a specific example, for the corresponding more wheel interactive systems of flow chart of such as Fig. 1 b, for the inquiry age Point 101, user has input " less than 20 years old " this customer interaction information, correspondingly, more wheel question answering systems are circulated by branch B It is unsatisfactory for terms of loan node 102 to the age, and plays corresponding casting content to user.At this point, if user re-enters " having reach 20 years old " this customer interaction information, then more wheel question answering systems can circulate (backtracking) to inquiring age node 101 again, and According to the above content that user inputs, question answering systems of taking turns circulate again through branch A to asking whether the node 103 that has car and house more Continue to interact with user's progress question and answer.
Specifically, the graphic assembly can further include: casting node.Correspondingly, described custom-configure letter Breath may include: casting content corresponding with node, and the node includes: interaction node and casting node;
Wherein, if more wheel question and answer process modules circulate to the fourth node configured with casting content, correspondence is broadcast Report casting content corresponding with the fourth node.
In a specific example, as shown in Figure 1 b, when mostly wheel question answering systems circulate to asking whether the node that has car and house When 103 this interaction node, which can broadcast preset casting content first, for example, " may I ask whether you have vehicle Have room ", next trend of more wheel question answering systems can be determined based on the customer interaction information of receipt of subsequent later;When more wheel question and answer systems To when meeting this casting node of 200,000 terms of loan, which can directly be broadcasted in preset casting for system circulation Hold, such as: " you meet 200,000 terms of loan ".
Content is broadcasted by setting, effective question and answer can be carried out with user and interacted, and user can be needed in next step The interaction content of input is effectively prompted.
Specifically, the information that custom-configures can further include: corresponding with node to interrupt function choosing-item;
Wherein, more wheel question and answer process modules circulate to open interrupt five node of function when, if with institute Before stating the corresponding casting content casting of the 5th node and terminating, customer interaction information is received, then is stopped to the casting content Continue broadcast.
It is arranged and interrupts the benefit of function choosing-item and be: if the familiar entire more wheel question answering systems of a user interacted Journey terminates to broadcast, the information of interaction needed for can rapidly inputting, into one without waiting for a node in more wheel question answering systems Step improves the efficiency of human-computer interaction.
In a specific example, as shown in Figure 1 b, when mostly wheel question answering systems circulate to asking whether the node that has car and house When 103 this interaction node, during the interaction node broadcasts " may I ask whether you have car and house ", if receiving user " having vehicle without room " of input will not then be further continued for broadcasting above-mentioned casting content, but circulation extremely meets 200,000 terms of loan rapidly Node 104 is interacted with user, has saved entire question and answer interaction time.
Wherein, the various function needs that may be used for more wheel question answering systems, it is corresponding to write and encapsulate corresponding Realization code, process design personnel can be made according to actual design requirement, needed for convenient selection or input from Define configuration needs, further improve the generation method of more wheel question answering systems of the embodiment of the present invention versatility and User satisfaction.
Wherein, in order to make it easy to understand, showing a kind of input interaction node in figure 1 c custom-configures showing for information It is intended to.As illustrated in figure 1 c, the schematic diagram for custom-configuring information for the inquiry age node 101 in Fig. 1 b is given.Its In, in input frame corresponding with " knowledge ", whole interaction problems corresponding with the inquiry age node 101 can be inputted.
A kind of schematic diagram for custom-configuring information of input casting node is shown in Fig. 1 d.As shown in Figure 1 d, it gives The schematic diagram for custom-configuring information for the prompting excess node 109 in Fig. 1 b is gone out.It wherein, can be in answer frame Input casting content corresponding with the prompting excess node 109.
A kind of schematic diagram for custom-configuring information of input pad is shown in Fig. 1 e.As shown in Figure 1 d, it provides For the schematic diagram for custom-configuring information of connector corresponding with branch A in Fig. 1 b, wherein corresponding with " condition " Input frame in, can input branch by selection execute condition.
Typically, can be when user double-click or click a graphic assembly in more wheel question and answer flow charts, corresponding bullet The above-mentioned input template for custom-configuring information out, process design personnel are by simply selecting and inputting operation, Ji Keshi Now different graphic assemblies is inputted and different custom-configures information.
Embodiment one
The flow chart of the method for the more wheel question answering systems of one of embodiment of the present invention one modification, this reality are shown in Fig. 2 The basis for applying amending method described in example is more wheel question answering systems above-mentioned, and the present embodiment is applicable to modification and has been successfully generated More wheel question answering systems the case where, this method can be executed more by taking turns the modification device of question answering system, which can be by soft Part and/or hardware are realized, and generally can integrate in the terminal devices or server for modifying more wheel question answering systems, And the terminal device or server are directly or indirectly connected with knowledge base.
Wherein, more wheel question answering systems include: more wheel question and answer process modules corresponding with mostly wheel question and answer flow chart, described It include multiple graphic assemblies in more wheel question and answer flow charts, the graphic assembly includes: multiple interaction nodes;
It is stored in knowledge base, there is corresponding relationship with each interaction node in more wheel question and answer flow charts One or more knowledge points, knowledge point corresponding with the interaction node include: interaction problems and interaction answer, and the interaction is asked Topic with the customer interaction information received for being matched, and the interactive answer is for determining more wheel question and answer process modules Next trend;And
The thematic knowledge point being stored in the knowledge base, the thematic knowledge point include problem of subject and theme answer, The problem of subject is used to indicate the trigger condition with the matched more wheel question and answer process modules of more wheel question answering systems, the master Topic answer is used to establish the triggering relationship of the thematic knowledge point and more wheel question and answer process modules;
The method that question answering system is taken turns in the modification more specifically includes:
S210, the modification information taken turns more for target and set system component in question answering system is obtained.
In the present embodiment, the system component may include: taken turns with target more the corresponding thematic knowledge point of question answering system, Target corresponding with target mostly wheel question answering system takes turns question and answer process module more or takes turns the friendship in question and answer process module more with target Mutual one or more corresponding knowledge point of node.
Wherein, the modification information includes any one of following or multinomial combination: modification takes turns question answering system with the target more Corresponding thematic knowledge point, modification target corresponding with the target mostly wheel question answering system take turns question and answer process module, Yi Jixiu more Change knowledge point corresponding with setting interaction node in the target mostly wheel question and answer process module.
S220, according to the modification information, it is corresponding to update the target and take turns question answering system more.
In the present embodiment, according to the different modification informations for being directed to different system components, different update modes is taken The corresponding update target takes turns question answering system more.
For example, if modification information is adjustment thematic knowledge point corresponding with target mostly wheel question answering system, it can be direct According to the problem of subject of modification and/or theme answer, the corresponding thematic knowledge point updated in the knowledge base, if repaired Change content to delete thematic knowledge point corresponding with target mostly wheel question answering system, then can delete directly in the knowledge base should Thematic knowledge point.
The embodiment of the invention provides a kind of methods that question answering system is taken turns in modification more, take turns question and answer for target by obtaining more The modification information of system component is set in system;Wherein, the modification information includes any one of following or multinomial combination: modification with The target takes turns the corresponding thematic knowledge point of question answering system more, and modification target corresponding with the target mostly wheel question answering system is taken turns more Question and answer process module, and modification knowledge point corresponding with setting interaction node in the target mostly wheel question and answer process module;Root According to the modification information, the corresponding technological means for updating the target and taking turns question answering system more is proposed a kind of to more wheel question and answer systems The concrete mode that system is modified greatly meets user to the modification demands of more wheel question answering systems, optimizes existing repair Change the methods for taking turns question answering systems more, improves the modification efficiency and modification convenience of more wheel question and answer, realize more wheel question and answer systems The quick modification and update of system avoid and introduce developer during mostly wheel question answering system modification, greatly reduce out The workload of hair personnel.
Embodiment two
Fig. 3 is the flow chart for the method that question answering system is taken turns in a kind of modification provided by Embodiment 2 of the present invention more, the present embodiment It is optimized based on above-described embodiment, is that modification and the target take turns question and answer system by modification content more in the present embodiment Corresponding target of uniting updates the target mostly wheel question answering system more operation when taking turns question and answer process module carries out further specific Change, correspondingly, the method for the embodiment of the present invention includes:
S310, the modification information taken turns more for target and set system component in question answering system is obtained.
Wherein, the modification information specifically includes: modification target corresponding with the target mostly wheel question answering system is taken turns more asks Answer process module.Specifically, modification target corresponding with the target mostly wheel question answering system is taken turns question and answer process module more and be can wrap It includes: increasing, deletes and/or adjust the interaction node that the target takes turns question and answer process module more newly.
In general, process design personnel are not developers, can not be done directly to more wheel question and answer process modules ( That is: realize code) modification, correspondingly, can pre-establish between more wheel question and answer flow charts and more wheel question and answer process modules Corresponding relationship, by obtaining the modification for more wheel question and answer flow charts, the corresponding modification obtained for more wheel question and answer process modules.
S320, the modification mode that question and answer process module more is taken turns for target is determined: if modification mode is newly-increased interaction section Point, then execute S330;If the mode of modification is to delete interaction node, S340 is executed;If the mode of modification is adjustment interaction section Point, then execute S350.
S330, increased newly according at least one interaction node with the target more than wheel question answering system is corresponding takes turns question and answer streams more Point of addition in journey figure, and with the newly-increased interaction node is matched custom-configures information, it is corresponding to update and the mesh The corresponding more wheel question and answer process modules of the more wheel question answering systems of mark, and one or more is established in the newly-increased interaction node and knowledge base The corresponding relationship of a knowledge point.
S340, delete that interaction node wheel question answering system more than the target is corresponding to take turns question and answer processes more according at least one Delete position in figure, corresponding update is corresponding with the target mostly wheel question answering system to take turns question and answer process module more, and deletes institute State the corresponding relationship for deleting one or more knowledge points in interaction node and knowledge base.
In an optional embodiment of the present embodiment, delete the deletions interaction node with one in knowledge base or The corresponding relationship of multiple knowledge points may include:
One or more knowledge point corresponding with the deletion of node is searched in the knowledge base is used as knowledge to be deleted Point;
If it is determined that the knowledge point to be deleted only corresponds to the deletion interaction node, then in the knowledge base described in deletion Knowledge point to be deleted, and delete the deletion interaction node and described wait delete the corresponding relationship between knowledge point;
If it is determined that the knowledge point to be deleted other corresponding interaction nodes simultaneously, then retain in the knowledge base it is described to Knowledge point is deleted, the deletion interaction node and described wait delete the corresponding relationship between knowledge point is only deleted.
S350, according at least one adjustment interaction node, wheel question answering system is corresponding more than the target takes turns question and answer processes more Position after home position and adjustment in figure, corresponding update take turns the corresponding more wheel question and answer process moulds of question answering system with the target more Block.
The technical solution of the embodiment of the present invention gives a kind of modification and the target mostly corresponding target of wheel question answering system When more wheel question and answer process modules, target takes turns the update method of question answering system more, so that process design personnel be not proficient in code volume When writing, it can easily also realize to the modification of more wheel question and answer process modules, reduce the workload of developer to the greatest extent.
On the basis of the various embodiments described above, modification target corresponding with the target mostly wheel question answering system takes turns question and answer stream more Journey module may include: it is newly-increased, delete and/or adjust the target more take turns question and answer process module casting node and/or connection Part;
Accordingly according to the modification information, the corresponding update target takes turns question answering system more, may include:
According at least one newly-increased casting node and/or newly-increased connector with the target more than wheel question answering system it is corresponding Point of addition in more wheel question and answer flow charts, and it is matched certainly with the newly-increased casting node and/or the newly-increased connector Definition configuration information, corresponding update and the target mostly wheel question answering system are corresponding to take turns question and answer process modules more;
Casting node is deleted according at least one and/or to delete connector wheel question answering system more than the target corresponding more Delete position in wheel question and answer flow chart, corresponding update and the target mostly wheel question answering system are corresponding to take turns question and answer process moulds more Block;
It is corresponding more that casting node and/or adjustment connector the wheel question answering system more than the target are adjusted according at least one Take turns in question and answer flow chart position after home position and adjustment, corresponding update takes turns that question answering system is corresponding to take turns more with the target more Question and answer process module.
The benefit being arranged in this way is: giving another modification target corresponding with the target mostly wheel question answering system and takes turns more When question and answer process module, target takes turns the update method of question answering system more, so that process design personnel are when being proficient in written in code, Also it can easily realize to the modification of more wheel question and answer process modules, reduce the workload of developer to the greatest extent.
Embodiment three
Fig. 4 is the flow chart for the method that question answering system is taken turns in a kind of modification that the embodiment of the present invention three provides more, the present embodiment It is optimized based on above-described embodiment, is to take turns question and answer with modification and the target by modification content more in the present embodiment The operation that update target when setting the corresponding knowledge point of interaction node in process module takes turns question answering system more is carried out into one The materialization of step, correspondingly, the method for the embodiment of the present invention includes:
S410, the modification information taken turns more for target and set system component in question answering system is obtained.
In the present embodiment, the modification information that setting system component in question answering system more is taken turns for target is specifically wrapped It includes: modification knowledge point corresponding with setting interaction node in the target mostly wheel question and answer process module.Specifically, the modification letter Breath includes: knowledge point that is newly-increased, deleting and/or adjust the interaction node.
S420, it determines for the modification mode for setting the corresponding knowledge point of interaction node: if modification mode is known to be newly-increased Know point, then executes S430;If the mode of modification is to delete knowledge point, S440 is executed;If the mode of modification is adjustment knowledge point, Then execute S450.
S430, it obtains for described at least one newly-increased knowledge point for setting interaction node, if it is determined that the knowledge base In there are the newly-increased knowledge points, then established in the knowledge base between the newly-increased knowledge point and the setting interaction node Corresponding relationship;If it is determined that the newly-increased knowledge point is not present in the knowledge base, then created in the knowledge base described Newly-increased knowledge point, and establish the corresponding relationship between the newly-increased knowledge point and the setting interaction node.
S440, it obtains and deletes knowledge point at least one described for setting interaction node;If it is determined that in the knowledge Deletion knowledge point described in library only corresponds to the setting interaction node, then the deletion knowledge point is deleted in the knowledge base, And delete the setting interaction node and the corresponding relationship deleted between knowledge point;If it is determined that the deletion knowledge point is same When correspond to other interaction nodes, then retain the deletion knowledge point in the knowledge base, only delete the setting interaction node With the corresponding relationship between the deletion knowledge point.
S450, obtain for it is described setting interaction node at least one change knowledge point and knowledge base in it is described more Change the corresponding original knowledge point in knowledge point;If it is determined that the original knowledge point only corresponds to the setting interaction node, then by institute The original knowledge point stated in knowledge base replaces with the change knowledge point;If it is determined that the original knowledge point is corresponding simultaneously Other interaction nodes then only delete the corresponding relationship between the original knowledge point and the setting interaction node, and described It increases the change knowledge point in knowledge base newly and establishes corresponding between the change knowledge point and the setting interaction node Relationship.
The technical solution of the embodiment of the present invention give it is a kind of modification with the target mostly wheel question and answer process module in set When the corresponding knowledge point of interaction node, target takes turns the update method of question answering system more, so that process design personnel be not proficient in generation When code is write, it can easily also realize and knowledge point corresponding with setting interaction node is modified, reduce exploitation to the greatest extent The workload of personnel.
Example IV
Fig. 5 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention four provides.Fig. 5, which is shown, to be suitable for being used to Realize the block diagram of the exemplary computer device 12 of embodiment of the present invention.The computer equipment 12 that Fig. 5 is shown is only one Example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 5, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with Including but not limited to: one or more processor or processing unit 16, system storage 28 connect different system components The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by The usable medium that computer equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing not Movably, non-volatile magnetic media (Fig. 5 do not show, commonly referred to as " hard disk drive ").It, can be with although being not shown in Fig. 5 The disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") is provided, and non-volatile to moving The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving Device can be connected by one or more data media interfaces with bus 18.Memory 28 may include that at least one program produces Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention each The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28 In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs It may include the realization of network environment in module and program data, each of these examples or certain combination.Program mould Block 42 usually executes function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 Deng) communication, can also be enabled a user to one or more equipment interact with the computer equipment 12 communicate, and/or with make The computer equipment 12 any equipment (such as network interface card, the modulatedemodulate that can be communicated with one or more of the other calculating equipment Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also To pass through network adapter 20 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network Network, such as internet) communication.As shown, network adapter 20 is logical by other modules of bus 18 and computer equipment 12 Letter.It should be understood that other hardware and/or software module, packet can be used in conjunction with computer equipment 12 although being not shown in Fig. 5 It includes but is not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic tape drive Device and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and Data processing, such as the method for realizing the more wheel question answering systems of modification provided by the embodiment of the present invention.
Namely: obtain the modification information taken turns more for target and set system component in question answering system;
Wherein, the modification information includes any one of following or multinomial combination: modification takes turns question answering system with the target more Corresponding thematic knowledge point, modification target corresponding with the target mostly wheel question answering system take turns question and answer process module, Yi Jixiu more Change knowledge point corresponding with setting interaction node in the target mostly wheel question and answer process module;It is corresponding according to the modification information It updates the target and takes turns question answering system more.
Embodiment five
The embodiment of the present invention five provides a kind of computer readable storage medium, is stored thereon with computer program, the journey The method that question answering system is taken turns in the modification provided such as all inventive embodiments of the application more is realized when sequence is executed by processor:
Namely: obtain the modification information taken turns more for target and set system component in question answering system;
Wherein, the modification information includes any one of following or multinomial combination: modification takes turns question answering system with the target more Corresponding thematic knowledge point, modification target corresponding with the target mostly wheel question answering system take turns question and answer process module, Yi Jixiu more Change knowledge point corresponding with setting interaction node in the target mostly wheel question and answer process module;It is corresponding according to the modification information It updates the target and takes turns question answering system more.
It can be using any combination of one or more computer-readable media.Computer-readable medium can be calculating Machine readable signal medium or computer readable storage medium.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example (non exhaustive list) of machine readable storage medium storing program for executing includes: electrical connection with one or more conducting wires, just Taking formula computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In this document, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, which can send, propagate or Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (12)

1. a kind of method that question answering system is taken turns in modification more is applied in more wheel question answering systems characterized by comprising
Obtain the modification information taken turns more for target and set system component in question answering system;
Wherein, the modification information includes any one of following or multinomial combination: it is corresponding that question answering system is taken turns in modification with the target more Thematic knowledge point, modification takes turns the corresponding target of question answering system more with the target and takes turns question and answer process module more, and modification and The target takes turns the corresponding knowledge point of setting interaction node in question and answer process module more;
According to the modification information, the corresponding update target takes turns question answering system more.
2. the method according to claim 1, wherein more wheel question answering systems include:
It is corresponding with more wheel question and answer flow charts to take turns question and answer process module more, it include multiple graphical sets in more wheel question and answer flow charts Part, the graphic assembly include: multiple interaction nodes;
It is stored in knowledge base, there is one of corresponding relationship with each interaction node in more wheel question and answer flow charts Or multiple knowledge points, knowledge point corresponding with the interaction node include: interaction problems and interaction answer, the interaction problems are used It is matched in the customer interaction information received, the interactive answer is for determining under more wheel question and answer process modules One trend;And
The thematic knowledge point being stored in the knowledge base, the thematic knowledge point include problem of subject and theme answer, described Problem of subject is used to indicate the trigger condition with the matched more wheel question and answer process modules of more wheel question answering systems, and the theme is answered Case is used to establish the triggering relationship of the thematic knowledge point and more wheel question and answer process modules.
3. according to the method described in claim 2, it is characterized in that, more wheel question and answer process moulds corresponding with more wheel question and answer flow charts Block, comprising:
It is generated to be matched with more wheel question and answer flow charts according to each graphic assembly for including in more wheel question and answer flow charts Standardized codes frame;And
According to each graphic assemblies in more wheel question and answer flow charts are matched custom-configures information, it is generated with Each graphic assembly is corresponding, make an addition in the standardized codes frame at the associated position of graphic assembly from Definition code.
4. according to the method described in claim 3, it is characterized in that, the information that custom-configures includes: and interaction node pair The rejection priority option answered;
Wherein, when more wheel question and answer process modules circulate and open the first interaction node of rejection priority function to configuration, such as Fruit determines in customer interaction information at least one knowledge point corresponding with first interaction node in knowledge base received Interaction problems mismatch, then provide rejection response, request re-enter the customer interaction information.
5. according to the method described in claim 3, it is characterized in that, the information that custom-configures includes: and interaction node pair The knowledge priority option answered;
Wherein, when more wheel question and answer process modules circulate and open the second interaction node of knowledge priority function to configuration, such as Fruit determines in received customer interaction information at least one knowledge point corresponding with second interaction node in knowledge base Interaction problems mismatch, then carry out global search to the customer interaction information in the knowledge base, and look into according to the overall situation Result is looked for execute corresponding interactive operation.
6. according to the method described in claim 3, it is characterized in that, the information that custom-configures includes: and interaction node pair The back track function option answered;
Wherein, when more wheel question and answer process modules circulate and open the third interaction node of back track function to configuration, if really The interaction problems phase of fixed received customer interaction information upper layer node corresponding with the third interaction node in knowledge base Match, then more wheel question and answer process modules circulates upper layer node corresponding to the third interaction node.
7. according to the method described in claim 2, it is characterized in that, modification target corresponding with the target mostly wheel question answering system More wheel question and answer process modules include: interaction node that is newly-increased, deleting and/or adjust the target mostly wheel question and answer process module;
According to the modification information, the corresponding update target takes turns question answering system more, comprising:
According at least one increase newly interaction node with the target more than in the corresponding more wheel question and answer flow charts of wheel question answering system Point of addition, and with the newly-increased interaction node is matched custom-configures information, corresponding update is asked with the target mostly wheel The corresponding more wheel question and answer process modules of system are answered, and establish one or more knowledge points in the newly-increased interaction node and knowledge base Corresponding relationship;
Interaction node, which is deleted, according at least one is taking turns deleting in the corresponding more wheel question and answer flow charts of question answering system more the target Except position, corresponding update is corresponding with the target mostly wheel question answering system to take turns question and answer process module more, and deletes the deletion friendship The corresponding relationship of one or more knowledge points in mutual node and knowledge base;
It is original in taking turns question answering system corresponding more wheel question and answer flow charts the target according at least one adjustment interaction node more Position behind position and adjustment, corresponding update take turns the corresponding more wheel question and answer process modules of question answering system with the target more.
8. the method according to the description of claim 7 is characterized in that delete the deletions interaction node with one in knowledge base or The corresponding relationship of multiple knowledge points, comprising:
One or more knowledge point corresponding with the deletion of node is searched in the knowledge base is used as knowledge point to be deleted;
If it is determined that the knowledge point to be deleted only corresponds to the deletion interaction node, then deleted in the knowledge base described wait delete Knowledge point, and delete the deletion interaction node and described wait delete the corresponding relationship between knowledge point;
If it is determined that the knowledge point to be deleted corresponds to other interaction nodes simultaneously, then reservation is described in the knowledge base knows wait delete Know point, only deletes the deletion interaction node and described wait delete the corresponding relationship between knowledge point.
9. according to the method described in claim 2, it is characterized in that, modification target corresponding with the target mostly wheel question answering system More wheel question and answer process modules include: it is newly-increased, delete and/or adjust the target take turns more question and answer process module casting node and/ Or connector;
According to the modification information, the corresponding update target takes turns question answering system more, comprising:
According at least one newly-increased casting node and/or newly-increased connector with the target more than the corresponding more wheels of wheel question answering system Point of addition in question and answer flow chart, and it is matched customized with the newly-increased casting node and/or the newly-increased connector Configuration information, corresponding update is corresponding with the target mostly wheel question answering system to take turns question and answer process module more;
Casting node, which is deleted, according at least one and/or deletes the corresponding more wheels of connector wheel question answering system more than the target asks The delete position in flow chart is answered, corresponding update is corresponding with the target mostly wheel question answering system to take turns question and answer process module more;
The corresponding more wheels of casting node and/or adjustment connector the wheel question answering system more than the target are adjusted according at least one to ask Answer in flow chart position after home position and adjustment, corresponding update takes turns the corresponding more wheel question and answer of question answering system with the target more Process module.
10. according to the method described in claim 2, it is characterized in that, being set in modification and the target mostly wheel question and answer process module Determining the corresponding knowledge point of interaction node includes: knowledge point that is newly-increased, deleting and/or adjust the interaction node;
According to the modification information, the corresponding update target takes turns question answering system more, comprising:
Obtain at least one newly-increased knowledge point for the setting interaction node;If it is determined that existing in the knowledge base described Newly-increased knowledge point, then in the corresponding pass established in the knowledge base between the newly-increased knowledge point and the setting interaction node System;If it is determined that the newly-increased knowledge point is not present in the knowledge base, then the newly-increased knowledge is created in the knowledge base Point, and establish the corresponding relationship between the newly-increased knowledge point and the setting interaction node;
Obtain at least one deletion knowledge point for the setting interaction node;If it is determined that being deleted described in the knowledge base Except knowledge point only corresponds to the setting interaction node, then the deletion knowledge point is deleted in the knowledge base, and described in deletion Set interaction node and the corresponding relationship deleted between knowledge point;If it is determined that the deletion knowledge point corresponds to other simultaneously Interaction node then retains the deletion knowledge point in the knowledge base, only deletes the setting interaction node and the deletion Corresponding relationship between knowledge point;
It obtains and is directed in described at least one change knowledge point and knowledge base for setting interaction node and the change knowledge point Corresponding original knowledge point;If it is determined that the original knowledge point only corresponds to the setting interaction node, then by the knowledge base In the original knowledge point replace with the change knowledge point;If it is determined that the original knowledge point other interactions corresponding simultaneously Node then only deletes the corresponding relationship between the original knowledge point and the setting interaction node, and in the knowledge base It increases the change knowledge point newly and establishes the corresponding relationship between the change knowledge point and the setting interaction node.
11. a kind of terminal device, which is characterized in that the terminal device includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The method that question answering system is taken turns in the now modification as described in any in claim 1-10 more.
12. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the program is executed by processor The method that question answering system is taken turns in modification of the Shi Shixian as described in any in claim 1-10 more.
CN201711346539.2A 2017-12-15 2017-12-15 Method for modifying multi-turn question-answering system, terminal equipment and storage medium Active CN110019718B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711346539.2A CN110019718B (en) 2017-12-15 2017-12-15 Method for modifying multi-turn question-answering system, terminal equipment and storage medium
US16/106,680 US11341422B2 (en) 2017-12-15 2018-08-21 Multi-round questioning and answering methods, methods for generating a multi-round questioning and answering system, and methods for modifying the system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711346539.2A CN110019718B (en) 2017-12-15 2017-12-15 Method for modifying multi-turn question-answering system, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110019718A true CN110019718A (en) 2019-07-16
CN110019718B CN110019718B (en) 2021-04-09

Family

ID=67186963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711346539.2A Active CN110019718B (en) 2017-12-15 2017-12-15 Method for modifying multi-turn question-answering system, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110019718B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650797A (en) * 2009-09-14 2010-02-17 中国科学院计算技术研究所 Movable service knowledge base system and working method thereof
EP2691876A2 (en) * 2011-03-31 2014-02-05 Microsoft Corporation Personalization of queries, conversations, and searches
US20150095849A1 (en) * 2013-09-30 2015-04-02 Microsoft Corporation Dialogs positioned with action visualization
CN105051761A (en) * 2013-03-15 2015-11-11 谷歌公司 Questions answering to populate knowledge base
CN105975286A (en) * 2016-06-16 2016-09-28 中国建设银行股份有限公司 Method and system for generating interface for man-machine interaction
CN106503242A (en) * 2016-11-08 2017-03-15 上海智臻智能网络科技股份有限公司 A kind of intelligent interactive method, device and server
CN106776649A (en) * 2015-11-24 2017-05-31 镇江诺尼基智能技术有限公司 Exchange method and system are taken turns a kind of intelligent answer based on visible process figure more

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650797A (en) * 2009-09-14 2010-02-17 中国科学院计算技术研究所 Movable service knowledge base system and working method thereof
EP2691876A2 (en) * 2011-03-31 2014-02-05 Microsoft Corporation Personalization of queries, conversations, and searches
CN105051761A (en) * 2013-03-15 2015-11-11 谷歌公司 Questions answering to populate knowledge base
US20150095849A1 (en) * 2013-09-30 2015-04-02 Microsoft Corporation Dialogs positioned with action visualization
CN106776649A (en) * 2015-11-24 2017-05-31 镇江诺尼基智能技术有限公司 Exchange method and system are taken turns a kind of intelligent answer based on visible process figure more
CN105975286A (en) * 2016-06-16 2016-09-28 中国建设银行股份有限公司 Method and system for generating interface for man-machine interaction
CN106503242A (en) * 2016-11-08 2017-03-15 上海智臻智能网络科技股份有限公司 A kind of intelligent interactive method, device and server

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
任萍萍: "《智能客服机器人》", 31 August 2017 *
张威: "《Stateflow逻辑系统建模》", 31 October 2007 *
许智超,等: "电子商务订单手以人化实时处理的人机对话软件机器人研究", 《哈尔滨工业大学学报》 *

Also Published As

Publication number Publication date
CN110019718B (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN108090177B (en) Multi-round question-answering system generation method, equipment, medium and multi-round question-answering system
US20180341396A1 (en) Transactional Conversation-Based Computing System
CN107977236B (en) Question-answering system generation method, terminal device, storage medium and question-answering system
CN110019716A (en) More wheel answering methods, terminal device and storage medium
CN109101545A (en) Natural language processing method, apparatus, equipment and medium based on human-computer interaction
US20140036022A1 (en) Providing a conversational video experience
US20140028780A1 (en) Producing content to provide a conversational video experience
CN104809197A (en) On-line question and answer method based on intelligent robot
CN114880441B (en) Visual content generation method, device, system, equipment and medium
CN110019723A (en) Answering method, terminal device and storage medium based on question answering system
CN110019731A (en) Intelligent interactive method, device, terminal device and storage medium
CN115129878B (en) Conversation service execution method, device, storage medium and electronic equipment
KR102076793B1 (en) Method for providing electric document using voice, apparatus and method for writing electric document using voice
CN111210816B (en) Intelligent voice configuration management method and device and electronic equipment
CN110069606A (en) Man-machine conversation's method, apparatus, electronic equipment and storage medium
CN109960489B (en) Method, device, equipment, medium and question-answering system for generating intelligent question-answering system
CN112784024B (en) Man-machine conversation method, device, equipment and storage medium
CN110211576A (en) A kind of methods, devices and systems of speech recognition
CN112487170B (en) Man-machine interaction dialogue robot system facing scene configuration
CN110019718A (en) Method, terminal device and the storage medium of the more wheel question answering systems of modification
CN110019727A (en) Intelligent interactive method, device, terminal device and storage medium
CN109933314A (en) The generating means of more wheel question answering systems
CN112163078B (en) Intelligent response method, device, server and storage medium
CN110020014A (en) More wheel question and answer systems
WO2013181633A1 (en) Providing a converstional video experience

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