CN110019723A - Answering method, terminal device and storage medium based on question answering system - Google Patents
Answering method, terminal device and storage medium based on question answering system Download PDFInfo
- Publication number
- CN110019723A CN110019723A CN201711396315.2A CN201711396315A CN110019723A CN 110019723 A CN110019723 A CN 110019723A CN 201711396315 A CN201711396315 A CN 201711396315A CN 110019723 A CN110019723 A CN 110019723A
- Authority
- CN
- China
- Prior art keywords
- target
- question
- node
- answer
- transaction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 182
- 230000008569 process Effects 0.000 claims abstract description 128
- 238000012545 processing Methods 0.000 claims abstract description 71
- 230000001960 triggered effect Effects 0.000 claims abstract description 27
- 238000005266 casting Methods 0.000 claims description 53
- 230000003993 interaction Effects 0.000 claims description 51
- 238000000605 extraction Methods 0.000 claims description 8
- 238000010276 construction Methods 0.000 claims description 7
- 230000000712 assembly Effects 0.000 claims description 4
- 238000000429 assembly Methods 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 2
- 235000013399 edible fruits Nutrition 0.000 claims description 2
- 230000006870 function Effects 0.000 description 17
- 230000002452 interceptive effect Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 241000208340 Araliaceae Species 0.000 description 7
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 7
- 235000003140 Panax quinquefolius Nutrition 0.000 description 7
- 235000008434 ginseng Nutrition 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 230000005291 magnetic effect Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000011144 upstream manufacturing Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000013139 quantization Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 229910003460 diamond Inorganic materials 0.000 description 1
- 239000010432 diamond Substances 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000010304 firing Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/332—Query formulation
- G06F16/3329—Natural language query formulation or dialogue systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/02—Knowledge representation; Symbolic representation
Abstract
The embodiment of the invention discloses a kind of answering method based on question answering system, equipment and media.Answering method includes: acquisition original request message, and is matched according to original request message with the knowledge point in knowledge base;If it is determined that original request message is matched with the problem of subject in target topic knowledge point, then according to the theme answer in target topic knowledge point, target question and answer process module corresponding with target topic knowledge point is triggered;When target transaction node in question and answer process module is triggered, target transaction node is sent to destination service call address according to the target dynamic structure's variable target transaction information of input, and the target transaction processing result that the destination service call address is fed back is back to the target question and answer process module.The scheme of the embodiment of the present invention proposes a kind of specific implementation interacted based on the question answering system for including transaction node with user's progress question and answer, greatly meets the question and answer demand of user, improves question and answer efficiency and accuracy.
Description
Technical field
The present embodiments relate to intelligent answer technology more particularly to a kind of answering methods based on question answering system, terminal
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.In the prior art, process design personnel can ask according to different question and answer Demand Designs is different
Flow chart is answered, and is realized above-mentioned question and answer flow chart in the form of code by developer, to finally obtain corresponding intelligence
It can question answering system.
With the continuous progress of technology, people are continuously improved to question answering system and for the question and answer demand of system, existing
Question and answer technology can no longer meet the question and answer demand of the growing personalization of people, facilitation.
Summary of the invention
The embodiment of the invention provides a kind of answering method based on question answering system, terminal device and storage mediums, with excellent
Change the existing answering method based on question answering system, improves question and answer efficiency and accuracy.
In a first aspect, being applied to question answering system the embodiment of the invention provides a kind of answering method based on question answering system
In, comprising:
The original request message of user's input is obtained, and according to the knowledge point in the original request message and knowledge base
It is matched, multiple knowledge points is stored in the knowledge base, each knowledge point includes problem and answer;
If it is determined that the original request message of user's input and the problem of subject phase in target topic knowledge point
Match, then according to the theme answer in the target topic knowledge point, triggers target corresponding with the target topic knowledge point and ask
The root node of process module is answered, includes at least one transaction node in the target question and answer process module;
When target transaction node in the question and answer process module is triggered, the target transaction node is according to input
At least one target dynamic structure's variable target transaction information to own node is sent to corresponding destination service calling ground
Location, and the target transaction processing result that the destination service call address is fed back is back to the target question and answer process module,
So that the target question and answer process module is continued to execute according to the target transaction processing result.
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 places
Manage answering method based on question answering system of the device realization as described in any embodiment of the present invention.
The third aspect, the embodiment of the invention also provides a kind of computer storage mediums, are stored thereon with computer journey
Sequence realizes the answering method based on question answering system as described in any embodiment of the present invention when the program is executed by processor.
The embodiment of the invention provides a kind of answering method based on question answering system, terminal device and storage mediums, pass through
The original request message of user's input is obtained, and is matched according to the original request message with the knowledge point in knowledge base;
If it is determined that the original request message of user's input matches with the problem of subject in target topic knowledge point, then according to
Theme answer in target topic knowledge point triggers target question and answer process module corresponding with the target topic knowledge point
Root node;When target transaction node in question and answer process module is triggered, target transaction node is according to being input to own node
At least one target dynamic structure's variable target transaction information be sent to corresponding destination service call address, and will be described
The target transaction processing result of destination service call address feedback is back to the technological means of the target question and answer process module,
A kind of specific implementation interacted based on the question answering system for including transaction node with user's progress question and answer is proposed, greatly
The question and answer demand for meeting user, improve question and answer efficiency and accuracy.
Detailed description of the invention
Fig. 1 a is a kind of flow chart of the generation method for question answering system that the embodiment of the present invention is applicable in;
Fig. 1 b is a kind of schematic diagram for patterned question and answer flow chart 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 transaction node that the embodiment of the present invention is applicable in;
Fig. 2 is the flow chart of the generation method for another question answering system that the embodiment of the present invention is applicable in;
Fig. 3 is the flow chart of answering method of one of the embodiment of the present invention one based on question answering system;
Fig. 4 is the flow chart of answering method of one of the embodiment of the present invention two based on question answering system;
Fig. 5 is the structural schematic diagram of one of the embodiment of the present invention three terminal device.
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
Convenient for describing, only the parts related to the present invention are shown rather than entire infrastructure in attached drawing.
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 weighed
It is new to arrange.The processing can be terminated when its operations are completed, it is also possible to have the extra step being not included in attached drawing
Suddenly.The processing can correspond to method, function, regulation, subroutine, subprogram etc..
The content of embodiment to facilitate the understanding of the present invention, first introduce question and answer knowledge point in intelligent answer and
The related notion of semantic 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 that standard is asked
Form.For example, if being " changing a radio station " for the standard form of asking of the radio station switching of radio, then user may make
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, problem packet
The standard of including, 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 ", word
Class simply understands to be one group of word for having general character, these words can be similar or dissimilar semantically, these words can also
It is important or inessential to be noted as.Semantic formula and user's question sentence relationship and traditional template matching have it is very big not
Together, in conventional template matching, template and user's question sentence are only matched and not matched relationship, and semantic formula and user
Relationship is to be indicated by the value (similarity) of quantization, while the value of this quantization is asked to similar question sentence and user between question sentence
Similarity between sentence can mutually compare.Since semantic formula will participate in together similarity calculation with similar question sentence,
So the definition of template grammar is unsuitable complicated, but there are enough ability expression semantic again.
In addition, giving the answering method for setting question answering system, wherein described to ask in various embodiments of the present invention
The system of answering specifically includes:
Question and answer process module corresponding with question and answer flow chart includes multiple graphic assemblies in the question and answer flow chart, described
Graphic assembly includes: at least one transaction node, and the transaction node is related to the setting service interface of type of service is executed
Connection;
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 for indicating and the trigger condition of the matched question and answer process module of question answering system, the theme answer
For establishing the triggering relationship of the thematic knowledge point and the question and answer process module.
Further, the question answering system further include:
It is stored in the knowledge point corresponding with transaction node is set in the question and answer process module in the knowledge base;With
The corresponding knowledge point of the transaction node includes: transaction issues and transaction answer, and the transaction answer includes: connected transaction section
Point, the type of at least one incoming parameter, the type of at least one default parameters, and the type with the default parameters
The rhetorical question content matched;
The transaction issues are matched for inputting information with received user;
The type of the incoming parameter, the type for inputting the dynamic variable for including in information with the user carry out
Matching;The type of the default parameters and rhetorical question content with the type matching of the default parameters, for it is determining with it is described
User inputs the corresponding rhetorical question content of type of institute's default parameters in information;The connected transaction node, for determining the use
The incoming transaction node of the dynamic variable for including in family input information.
Further, question and answer process module corresponding with question and answer flow chart, specifically includes:
It is generated matched with the question and answer flow chart according to each graphic assembly for including in the question and answer flow chart
Standardized codes frame;And
According to each graphic assembly in the question and answer flow chart is matched custom-configures information, it is generated
It is corresponding with each graphic assembly, it makes an addition in the standardized codes frame and at the associated position of graphic assembly
Custom code;
Wherein, and the matched information that custom-configures of the transaction node includes: service call corresponding with transaction node
Address, the service call address are directed toward and the associated service interface of the transaction node.
In order to make it easy to understand, the generation method of above-mentioned question answering system is simply introduced first.
Fig. 1 a is the flow chart of the generation method of above-mentioned question answering system, and the present embodiment is applicable to according to question and answer flow chart
The case where generating question answering system, the question answering system specifically refer to that the system that question and answer interact, the party can be carried out with interactive user
Method can be executed by question and answer system, and the mode which can be used software and/or hardware is realized, and generally can integrate
In terminal device or server for generating question answering system.As shown in Fig. 1 a, the method for the present embodiment is specifically included:
S110, patterned one or more question and answer flow charts are obtained.
The question and answer flow chart specifically can be selection and combine each graphical set provided in setting process editing interface
Part, obtained patterned flow chart.
Wherein, graphic assembly may include node and connector (typical, the connection for connecting different nodes
Line).It include one or more transaction node in the node.
The transaction node, it is associated with the setting service interface of type of service is executed, the transaction is input to for basis
The dynamic variable construction Transaction Information of node is sent to associated service interface, and receives the transaction of the service interface feedback
Processing result.
The service interface is obtained at corresponding transaction for the Transaction Information according to input by itself processing logic
Reason as a result, for example, one for completing the scheduled service interface of meeting room, may be implemented according to the predetermined ginseng of the meeting room of input
Number (such as: XX time and XX meeting room) it is used as Transaction Information, the predetermined behaviour to meeting room is completed by itself processing logic
Make, and returns and make a reservation for successfully or make a reservation for unsuccessfully wait meeting rooms predetermined result as trading processing result;Alternatively, one is used for
The service interface for completing meeting room inquiry, may be implemented according to the meeting room query argument of input (such as: XX time, XX people
Count, with or without the meeting room of projector) it is used as Transaction Information, it is completed by itself processing logic to available conference room
Inquiry operation, and the meeting room information for meeting querying condition is returned as trading processing result.
By above-mentioned analysis it is found that if necessary to be had been carried out using one or more in a question answering system
Service function, such as: meeting room is predetermined, network orders train or plane ticket or hospital registers, and can be traded by introducing
The mode of node, calling and the matched service interface of the service function, without repeating to write in the question answering system or move
Program code corresponding in required service function is planted, under the premise of streamlining procedures code significantly, reduces and realizes the question and answer
Workload needed for system.
In addition, it should be noted that, a service interface that can be called by transaction node, is also possible to based on one
It include that the process codes that automatically generate of service flow diagram of multiple nodes realizes that above-mentioned service flow diagram and the present invention are real
The difference for applying the question and answer flow chart in example essentially consists in, and the question and answer flow chart of the embodiment of the present invention is in process implementation procedure, root
It is interacted according to question and answer are carried out with user, according to the content that user inputs, the difference of control question and answer flow chart interior joint is moved towards, and right
It for a service flow diagram, only needs to start in process, receives one or more Transaction Information, be later exactly to press
It is executed according to the set execution sequence of the service flow diagram, inputs any content again without user.
For the overall structure of question and answer flow chart, a question and answer flow chart may include having a root nodes stand stream
The beginning of journey, one or more terminal nodes represent the end of process.It is, of course, understood that the node is in addition to can be with
It can also include interaction node, casting node, variable setting node or record except one or more transaction node
In syllable point one or more etc., the present embodiment is not limited thereto, in general, in a question and answer flow chart
Root node be transaction node or interaction node, terminal node be casting node.
In order to make it easy to understand, showing a kind of patterned question and answer flow chart in Figure 1b.As shown in Figure 1 b, described to ask
Answer graphic assembly oval in flow chart be transaction node (such as: the predetermined section of meeting room query node 101 and meeting room
105), rectangular graphic assembly is casting node (such as: broadcasting predetermined successful node 106) to point, and the graphic assembly of diamond shape is to hand over
Mutual node (such as: ask whether to determine destined node 104).Pass through the connecting line (example of node-to-node between each node
Such as, connecting line A and connecting line B) it is connected.Wherein, about interaction node and broadcast node related notion will below into
Row is introduced.
S120, according to each graphic assembly for including in each question and answer flow chart, generate and the question and answer flow chart
The standardized codes frame matched, wherein the graphic assembly includes: at least one transaction node, the transaction node and execution
The service interface for setting type of service is associated.
Therein it is proposed that a kind of question and answer process module that can be automatically generated.Correspondingly, being provided previously and different type
The standard implementation code that graphic assembly matches, such as: it is right respectively with transaction node, casting node and casting node to establish
The standard implementation code wrap answered in different library files, and pre-establish standard implementation code and corresponding graphic assembly it
Between corresponding relationship.Typically, it can be previously written in the process editing interface and the matched standardization of each graphic assembly
It realizes the storage address (or reference address) of code, is asked correspondingly, can be directed to based on what the process editing interface was drawn
Each graphic assembly for including in flow chart is answered, the automatic corresponding matched standardized codes frame of generation.
It should be noted that the embodiment of the present invention is concern is primarily with including the answering method of transaction node, therefore,
It include one or more transaction node in question and answer flow chart, still, any class theoretically may be implemented in above-mentioned technical proposal
Corresponding standardized codes frame can be obtained as long as drawing corresponding flow chart as needed in the question and answer of type, and in turn
To corresponding process module.
S130, according to each graphic assembly in the question and answer flow chart is matched custom-configures information, generate
Custom code corresponding with each graphic assembly makes an addition in the standardized codes frame to be associated with graphic assembly
Position at, to generate corresponding with question and answer flow chart question and answer process module.
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 a transaction node, includes parameter transmitting in corresponding standard time code
Logic for an interaction node include decision logic in corresponding standard implementation code, or for a casting
Node includes casting logic etc. in corresponding standard implementation code.In order to enable a graphic assembly can be realized difference and ask
The different function for assigning it in flow chart is answered, needs to input and custom-configures parameter accordingly.
It cites a plain example, does not find meeting room node 102 for the casting in Fig. 1 b, need to broadcast and not find
Meeting room node 102 in a triggered, can broadcast content " not finding meeting room ", correspondingly, above-mentioned " not finding meeting room "
Casting content, exactly to casting do not find meeting room node 102 imparting function, in order to enable casting do not find meeting room
Node 102 can be realized above-mentioned function, need that the standardization generation is added using above-mentioned casting content as information is custom-configured
It is not found at the corresponding code position of meeting room node 102 in code frame with casting.
Typically, blank generation can be reserved with the setting position in the matched standard implementation code of each graphic assembly
Code section is being obtained for the graphic assembly input in question and answer flow chart 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: not finding meeting room) will can be custom-configured directly as the custom code
It makes an addition in the standardized codes frame, can also be set according to what user selected in custom-configuring information input template
Determine content (for example, transferring mode for the interface of transaction node selection), what matching was write in advance custom-configures letter with difference
It ceases matched custom code to make an addition in the standardized codes frame, the present embodiment is to this and is not limited.
Correspondingly, if completing customized setting to the whole graphic assemblies for including in a question and answer flow chart,
The realization code that can be realized the question and answer flow chart function can be generated, namely: generate question and answer described in the embodiment of the present invention
Process module.
It is wherein, associated with the setting service interface of type of service is executed due to transaction node, with the transaction
The information that custom-configures of node matching includes: service call corresponding with transaction node address, and the service call address refers to
To with the associated service interface of the transaction node.
Wherein, when the transaction node in the question and answer process module is triggered, the transaction node is according to input
At least one dynamic variable construction Transaction Information to own node is sent to corresponding service call address, and by the clothes
Business call address feedback trading processing result be back to the question and answer process module so that the question and answer process module according to
The trading processing result continues to execute.
It should be noted that when a transaction node is triggered, what which obtained, it is input to own node
One or more dynamic variable can be from extracting (for example, the meeting room query node in Fig. 1 b in customer interaction information
101), be also possible to pass over from the upstream node in question and answer process module (for example, the predetermined section of meeting room in Fig. 1 b
Point is 105).
It distinguishes, if in question and answer process module transaction node needs extract one from customer interaction information
A or multiple dynamic variables are then needed in the corresponding relationship established between the transaction node and a knowledge point in knowledge base,
Wherein, knowledge point (being hereinafter knowledge point of trading) corresponding with transaction node includes transaction issues and transaction answer.
Wherein, it is matched by the way that user is inputted information with transaction issues, it can be in successful match, in conjunction with transaction
Answer is supplied to the transaction node using one or more corresponding dynamic variable as Transaction Information;If question and answer process
A transaction node in module needs the upstream node from the question and answer process module to extract one or more dynamic change
Amount is then not necessarily to establish the corresponding relationship of the transaction node and a transaction knowledge point in knowledge base, as long as in the question and answer process
In module, reasonable design cycle code be can be realized.Therefore, can in practical applications, determine according to actual needs whether
Need to establish the corresponding relationship between the knowledge point in transaction node and knowledge base.
Further, it is contemplated that service interface can received Transaction Information have predetermined format requirement, therefore, can
Information is inputted to require user to input the user including dynamic variable according to the data format that the service interface can identify, and
The dynamic variable of input can and then be sent to service corresponding with service interface directly as Transaction Information and adjusted by transaction node
Use address;In addition, it is contemplated that question and answer process module needs to reduce as far as possible for the usage experience of further satisfaction user
To the input requirements of user, therefore, the dynamic variable for being unsatisfactory for service interface requirement that can will be received at transaction node
It is converted to and meets the Transaction Information of service interface requirement and be sent to service call corresponding with service interface address.
Correspondingly, the information that custom-configures can also include: corresponding with the first transaction node to enter to join defined item;
It is described enter to join defined item include that at least one enters to join title, and enters to join the parameter that enters of name-matches with described, it is described enter ginseng
The parameter name that the entitled associated service interface of first transaction node can identify, it is described enter parameter be input to
The dynamic variable of first transaction node matches;Wherein, the Transaction Information includes: described to enter to join title and described
Enter parameter.
Wherein, a kind of schematic diagram for custom-configuring information for inputting transaction node is shown in figure 1 c.Such as Fig. 1 c institute
Show, can be inputted in a meeting room query node (such as: the meeting room query node 101 in Fig. 1 b) call address item
It is directed toward the service call address with the associated service interface of the transaction node;It can be inputted accordingly entering to join in defined item
Enter to join title (such as: startime and overtime), it is above-mentioned enter to join title be the parameter name that the service interface can identify
Claim, and this enter to join in defined item input accordingly enter parameter (such as: " $ { meeting start time } " and $ { meeting knot
The beam time }).It is above-mentioned enter parameter match with the dynamic variable for being input to the meeting room query node.
More specifically, in conjunction with Fig. 1 b, the user that this transaction node of meeting room query node 101 obtains inputs information are as follows:
" the time of meeting be 9:00 to 11:00 ", by by the user input information with it is right with meeting room query node 101 in knowledge base
The transaction knowledge point answered is matched, and dynamic variable is obtained are as follows: meeting start time=9:00, meeting adjourned time=11:
00;Dynamic variable meeting start time=the 9:00, meeting adjourned time=11:00 are configured to transaction letter by transaction node
Breath, namely: startime=9:00;This service interface for being used to complete meeting room inquiry of overtime=11:00 can be known
Other variable format.Later transaction node by the Transaction Information with being sent to a service call corresponding with the service interface
Behind location, namely: http://voadev.sh.xaioi.com can receive the meeting room inquiry of service call address return
As a result.
S140, the addition thematic knowledge point corresponding with each question and answer process module in knowledge base, the theme are known
Knowing point includes problem of subject and theme answer, and the problem of subject is used to indicate the trigger condition of question and answer process module, the master
Topic answer is used to establish the triggering relationship of the thematic knowledge point and the question and answer process module.
Wherein, after generating question and answer process module (code for realizing question and answer flow chart), in order to realize to the question and answer
The normal use of process module needs the further addition theme corresponding with each question and answer process module in knowledge base
Knowledge point.
It should be noted that above scheme, which gives one kind, firstly generates question and answer process module, theme is resettled later and is known
Know the implementation of point, and it will be appreciated by persons skilled in the art that the establishment process of thematic knowledge point can not limit to
It executes in after generating question and answer process module, here and is not limited thereof.For example, thematic knowledge can be initially set up
Point resettles corresponding question and answer process module etc. later.
In fact, thematic knowledge point and the difference of the question and answer knowledge point in knowledge base are: when user inputs information and asks
When answering the matching of the problems in knowledge point, the answer of the question and answer knowledge point can be directly exported, or execute and the answer content
The calling for the control program matched, and when user inputs information and matches with the problem of subject of a thematic knowledge point, then it can correspond to
Trigger the question and answer process module (for example, the root node for directly triggering the question and answer process module).
Typically, the theme answer in a thematic knowledge point can be the corresponding question and answer process mould of thematic knowledge point
The information of the question and answer process module can be accurately positioned in storage address or call address of block etc..
The generation method of above-mentioned question answering system by patterned question and answer flow chart and is directed to the question and answer flow chart
In each graphic assembly setting custom-configure information, can be automatically generated for realizing the question and answer flow chart function
Can question and answer process module, later by adding thematic knowledge corresponding with each question and answer process module in knowledge base
The mode of point, can flexibly realize the use to the question answering system generated based on the question and answer process module, give a kind of logical
The answering method that the mode of What You See Is What You Get can be realized is crossed, the implementation of existing question answering system is optimized, in addition, logical
It crosses and introduces transaction node in graphic assembly, may be implemented to obtain business to functional or service a quick calling
Required service attribute in process avoids and realizes that the repetition of the code of identical function is write or transplanted, ensure that question and answer
System realizes the terseness of code, reduces the workload and error probability of developer, realizes the fast of question answering system
Speed building and update, avoid and introduce developer in question answering system generating process, greatly reduce the work of developer
It measures, reduces costs, improve accuracy rate and efficiency.
Further, as previously mentioned, if a transaction node in question and answer process module is needed from customer interaction information
Middle one or more dynamic variable of extraction, the then answering method further include: established and the transaction node pair in knowledge base
The transaction knowledge point answered.Wherein, the transaction knowledge point includes: transaction issues and transaction answer.
The transaction issues for being matched with the Transaction Information being input in the transaction node, answer by the transaction
Case generates dynamic and becomes for being combined at least one parameter transaction extracted from the successful Transaction Information of fuzzy matching
Amount.Wherein, a kind of data structure of knowledge point of trading has been shown in table 1.
Table 1
As shown in table 1, need to extract the transaction section of one or more dynamic variable from customer interaction information at one
When point (for example, meeting room query node 101 in Fig. 1 b) is triggered, user is inputted into information friendship corresponding with the transaction node
Easy problem is matched (typical, fuzzy matching), if successful match, according to the transaction issues, determine the time, person-time
And the particular content (actual content for the dynamic variable for including in transaction issues) of conference type, and by above-mentioned particular content
It is combined with transaction answer, obtains complete dynamic variable and feed back to corresponding meeting room query node 101 (that is, corresponding
Meeting room in transaction answer inquires this nodename).
More specifically, if inputting information for the user that meeting room query node 101 in Fig. 1 b obtains are as follows: " I will look into
Ask 9 points to 12 points of a tomorrow morning, 3 individual demands have the meeting room of projector ", by by above-mentioned user input information with
Transaction knowledge point described in table 1 is matched, and determining person-time is 3, and the time is 9 points to 12 points, and conference type is projector, it
Afterwards by above- mentioned information with transaction answer match, obtain: " meeting person-time=3 ", " the time of meeting=9 point are to 12 points " and
The complete dynamic variable of " conference type=projector " is input to the meeting room query node 101, by the meeting room query node
The Transaction Information that above-mentioned dynamic variable composition service interface can identify is sent to corresponding service interface by 101.
The benefit being arranged in this way is can further to improve the versatility of transaction node, by transaction node and can be showed
Some knowledge bases are combined use.But, there is a problem by data structure setting transaction knowledge point as described in Table 1,
It exactly requires user to input in information including whole dynamic variables needed for transaction node in other words service interface, can just trigger
Once service interface return to corresponding trading processing as a result, user to input the information dynamic variable that includes imperfect, it is necessary to weight
The new whole dynamic variables of complete input, interactivity and intelligence are slightly worse, and can influence user to a certain extent uses body
It tests.Based on this, the data structure of another transaction knowledge point has been set forth below, can include in user's input information
Dynamic variable it is imperfect when, the dynamic variable that lacks in information, corresponding adjustment output words art, to use are inputted according to user
Family is convenient, quickly dynamic variable supplement is completed by lacking in subsequent input information, to further increase user
Experience and efficiency the problem of question answering system.
Fig. 2 is the flow chart of the generation method of another above-mentioned question answering system, wherein is believed for needs from user's interaction
The transaction node that one or more dynamic variable is extracted in breath gives another data structure of corresponding transaction knowledge point.
Correspondingly, the above method includes:
S210, patterned one or more question and answer flow charts are obtained.
S220, according to each graphic assembly for including in each question and answer flow chart, generate matched with question and answer flow chart
Standardized codes frame, wherein the graphic assembly includes: at least one transaction node, the transaction node and executes setting
The service interface of type of service is associated.
S230, according to each graphic assembly in the question and answer flow chart is matched custom-configures information, generate
Custom code corresponding with each graphic assembly makes an addition in the standardized codes frame to be associated with graphic assembly
Position at, to generate corresponding with question and answer flow chart question and answer process module.
Wherein, and the matched information that custom-configures of the transaction node includes: service call corresponding with transaction node
Address, the service call address are directed toward and the associated service interface of the transaction node;
When the transaction node in the question and answer process module is triggered, the transaction node according to be input to from
At least one dynamic variable construction Transaction Information of body node is sent to corresponding service call address, and the service is adjusted
It is back to the question and answer process module with the trading processing result that address is fed back, so that the question and answer process module is according to
Trading processing result continues to execute.
S240, by setting, transaction node is corresponding with a knowledge point in knowledge base, corresponding with the transaction node to know
Knowing point includes: transaction issues and transaction answer.
As previously mentioned, needing if one or more transaction node in question and answer process module from customer interaction information
Middle one or more dynamic variable of extraction, then need to establish in above-mentioned transaction node and knowledge base a knowledge point (
That is, transaction knowledge point) corresponding relationship.In order to solve the problems of knowledge point of trading in table 1, give in the present embodiment
The data structure of another middle transaction knowledge point is gone out.
Wherein, the transaction answer includes: connected transaction node, and the type of at least one incoming parameter, at least one is lacked
Lose the type of parameter, and the rhetorical question content with the type matching of the default parameters;
The transaction issues are matched for inputting information with received user;
The type of the incoming parameter, the type for inputting the dynamic variable for including in information with the user carry out
Matching;The type of the default parameters and rhetorical question content with the type matching of the default parameters, for it is determining with it is described
User inputs the corresponding rhetorical question content of type of institute's default parameters in information;The connected transaction node, for determining the use
The incoming transaction node of the dynamic variable for including in family input information.
Wherein, a kind of data structure of specific above-mentioned transaction knowledge point has been shown in table 2.
Table 2
As shown in table 2, in the transaction knowledge point, the transaction issues, for received user input information into
Row matching, obtain user input information in include time, person-time and conference type in one or more it is specific in
Hold;The type of the incoming parameter of at least one for including in the transaction answer, specifically: the time of meeting, meeting number and meeting
Type is discussed, the type for inputting the dynamic variable for including in information with the user matches.
If it is determined that it includes the class for being all passed to parameter defined in the transaction answer in information that the user, which inputs,
Type then can directly send out the incoming parameter type composite construction dynamic variable for including in above-mentioned particular content and transaction answer
It send in the connected transaction node into the transaction answer, namely: " meeting room inquiry " this transaction node.
In addition, also defining the type of at least one default parameters, and lack with described in the transaction knowledge point
Lose the rhetorical question content of the type matching of parameter.Such as: " [@time]=may I ask the meeting room that you want several points to several points ", wherein
The type of " [@time] " corresponding default parameters, " may I ask the meeting room that you want several points to several points " corresponding corresponding rhetorical question content.
Namely: if not including the particular content of the time of meeting in user's input information, it can be based on above-mentioned transaction knowledge point, to
User provides corresponding rhetorical question content: " may I ask the meeting room that you want several points to several points ", to request user to re-enter including meeting
Discuss the particular content of time;In another example " [@person-times] [@conference type]=may I ask number of participants and required equipment ", " [@
Person-time] [@conference type] " corresponding default parameters type, " number of participants and required equipment that may I ask " is corresponding corresponding
Ask in reply content.Namely: if user input do not include in information meeting number and conference type particular content, can be with
Based on above-mentioned transaction knowledge point, corresponding rhetorical question content: " number of participants and required equipment that may I ask " is provided a user, with
Request user re-enters the particular content including meeting number and conference type.
By take described in table 2 trade knowledge point data structure, can not strict regulations be input to transaction node
User inputs the data format of information, is based on above-mentioned transaction knowledge point, and the dynamic lacked in information can be inputted according to user and is become
The type of amount returns to corresponding rhetorical question content to user and only weighs so that user corrects user's input content according to rhetorical question content
It is new that the dynamic variable of missing is provided, and the dynamic variable provided does not need then to provide again.Guaranteeing that transaction node can
Triggered as normal while normal work, greatly reduces the requirement that information is inputted to user, and can significantly improve question answering system
Question and answer efficiency and the usage experience of user.
Correspondingly, will setting transaction node it is corresponding with a knowledge point in knowledge base, may include: if it is determined that
Include in the knowledge base with the matched transaction knowledge point of the transaction node, then can in knowledge base directly establish both
Corresponding relationship, if it is determined that in the knowledge base do not include with the matched transaction knowledge point of the transaction node, then can be with
The transaction knowledge point is initially set up in knowledge base, establishes the corresponding relationship of the two later.
In addition, it is necessary to illustrate again, the transaction node has significantly different with previously mentioned question and answer knowledge point.
As previously mentioned, so-called question and answer knowledge point, problematic and corresponding answer (alternatively referred to as " ask-answer " to) is generally comprised,
In, the question and answer knowledge point is primarily adapted for use in the scene for carrying out question and answer with interactive user, and the problems in question and answer knowledge point is used for
Input information with user to match, if successful match, feed back the answer in the question and answer knowledge point, or execute with it is described
The calling of the control program of answer content matching.
Namely: question and answer knowledge point can directly determine with user input the corresponding processing result of information (for example, feedback
Answer content or the calling for executing setting control program), and knowledge point of trading is to be input to corresponding transaction for matching determination
The dynamic variable of node, the two purposes is different.For the ease of in different application scene to above-mentioned two class knowledge point carry out area
Point, transaction knowledge point and question and answer knowledge point can be stored at storage location different in the knowledge base, or handing over
The knowledge point label etc. that addition is distinguished with question and answer knowledge point in mutual knowledge point.
Wherein, question and answer knowledge point with interact knowledge point not it is also possible to not distinguish to the two, all at this
Within the protection scope of invention.
S250, the addition thematic knowledge point corresponding with each question and answer process module in knowledge base, the theme are known
Knowing point includes problem of subject and theme answer, and the problem of subject is used to indicate the trigger condition of question and answer process module, the master
Topic answer is used to establish the triggering relationship of the thematic knowledge point and the question and answer process module.
Above-mentioned technical proposal is by establishing in transaction node and knowledge base the corresponding relationship of knowledge point of trading, and in the friendship
Rhetorical question when one or more dynamic variable needed for inputting loss of learning transaction node in user is defined in easy knowledge point
Content can make ultimately constructed question answering system in circulation to transaction node matched with transaction knowledge point, being capable of basis
Different users inputs information, feeds back different rhetorical question contents, so that user is according in rhetorical question content amendment user's input
Hold, the dynamic variable of missing is only provided again, and the dynamic variable provided does not need then to provide again.Guaranteeing to trade
Node can triggered as normal, while normal work, greatly reduce the requirement that information is inputted to user, and can significantly improve and ask
Answer the question and answer efficiency of system and the usage experience of user.
Further, the graphic assembly can also include: the connector for connecting different nodes, for example, such as Fig. 1 b
It is shown, for connecting meeting room query node 101 and casting the connector A of meeting room node 102 is not found, for connecting
Meeting room query node 101 and ask whether determine destined node 104 connector B and for connect meeting room inquiry
Node 101 and casting meeting room list select the connector C of node 103 for user.
Custom-configuring information described in corresponding includes: and the matched dynamic condition configuration information of the first connector;
First connector is for connecting association upper layer node and association lower level node, the association upper layer node
For the second transaction node;
Wherein, the dynamic condition configuration information be the question and answer process module from the association upper layer node circulate to
The condition of the association lower level node, the dynamic condition configuration information includes: to join defined item and condition setting value, institute out
State out ginseng defined item correspond at least one received trading processing of the transaction node as a result, the condition setting value for
It is described to go out to join the trading processing result progress condition comparison in defined item.
In a specific example, " $ { transaction node title } variable name+relational operator+variate-value " can be passed through
Mode, corresponding with the first connector dynamic condition configuration information is set.
Wherein, $ { transaction node title } the variable name namely the ginseng defined item out, represent the transaction node and connect
At least one trading processing received as a result, variate-value respective conditions setting value, for it is described go out ginseng defined item in the friendship
Easy to handle result carries out condition comparison.
More specifically, as shown in Figure 1 b, connector A, connector B and connector C are connection transaction node (meetings
Room query node 101) with the connectors of other nodes.Assuming that the meeting room query node 101 receives corresponding with service interface
The trading processing result of return is the meeting room quantity of the condition that meets (Transaction Information of information structuring is inputted according to user), then
It can be with relative configurations dynamic condition configuration information corresponding with connector A are as follows: " { transaction node title } .code=0 ";With company
The corresponding dynamic condition configuration information of fitting B are as follows: " $ { transaction node title } .code=1 ", dynamic corresponding with connector C
Condition configuration information are as follows: " $ { transaction node title } .code > 1 "
Wherein, $ { transaction node title } .code represent the received trading processing of transaction node as a result, "=" and
" > " is the relational operator indicated between trading processing result and corresponding condition setting value.
Namely: if the trading processing result that the meeting room query node 101 receives the return of corresponding with service interface is
1, then the dynamic condition configuration information that above-mentioned trading processing result meets is " $ { transaction node title } .code=1 ", accordingly
, the question answering system can from the meeting room query node 101 circulate to ask whether determine destined node 104 continue to hold
Row.
Further, the graphic assembly can also include: interaction node;
Correspondingly, the method also includes: establish one or more knowledge points in each interaction node and knowledge base
Corresponding relationship, knowledge point corresponding with the interaction node includes: interaction problems and interaction answer, and the interaction problems are used
It is matched in the customer interaction information received, the interactive answer is for determining the next of the question and answer process module
Trend.
Wherein, the interaction node specifically refer to can to have carried out with interactive user question and answer (can be with question-response, 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 question and answer
Next trend of system.
For example, as shown in Figure 1 b, it is described to ask whether to determine that destined node 104 is an interaction node, if it is determined that
User asks whether to determine that destined node 104 inputs "No" based on this, it is determined that next trend of question answering system is to terminate stream
Journey;If it is determined that user based on this ask whether determine destined node 104 input "Yes", it is determined that question answering system it is next walk
To for meeting room destined node 105.
Further, interaction node needs to be determined under the question and answer process module established according to customer interaction information
One trend.Namely: interaction node includes at least two branches, and the difference that different branches correspond to the question and answer process module is walked
To.Therefore, it is necessary to be the different branch condition of different branch establishings in the question and answer process module.
In fact, the expression-form for the customer interaction information that user inputs under an interaction node may be not unique,
Customer interaction informations multiple and different in other words can correspond to the same branch condition.It as shown in Figure 1 b, for example, can be pre-
When first regulation customer interaction information is "No" or " uncertain ", question answering system can circulate to terminating process, therefore, it is necessary to
It is established in knowledge base and interaction node is matched interacts knowledge point: (no, no) and (not knowing, no).And it establishes respectively
It states interactive knowledge point and asks whether the corresponding relationship of determining destined node 104.Similarly, can simultaneously prespecified user
When interactive information is "Yes" or " determinations ", question answering system can circulate to terminating process, it is also desirable to established in knowledge base and
The matched interactive knowledge point of interaction node: (being yes), and (determining, yes).
Therefore, it asks whether to determine that destined node 104 need to interact knowledge point with four altogether and establish corresponding relationship.It can manage
Solution, knowledge point corresponding with interaction node and question and answer knowledge point in the prior art be it is distinguishing, therefore, in order to just
In difference, knowledge point corresponding with interaction node is referred to as interactive 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 question and answer process module.
Further, the graphic assembly can also include: casting node.The casting node is for broadcasting by certainly
Define the preset casting content of configuration information.For example, meeting room node 102, casting are not found in casting as shown in Figure 1 b
Meeting room list selects node 103, the predetermined successful node 106 of casting and casting failure cause node 107 for user.Such as:
When question answering system circulate to casting do not find meeting room node 102 when, the casting node can accordingly broadcast " it is sorry, do not find symbol
The meeting room of conjunction condition ".
Further, other than it can be directed to casting node sets casting content, other kinds of section can also be directed to
Point setting casting content, so that each node in question answering system preferably carries out question and answer with user and interacts.
Correspondingly, the information that custom-configures includes: casting content corresponding with first node;
The first node is connected with third transaction node by connector, and the first node is located at third friendship
The downstream of easy node, the first node include: interaction node, casting node or other transaction nodes;
The casting content includes: the received trading processing result of the third transaction node, third transaction
The combination of the received trading processing result of node and presupposed information or the third transaction node are received described
The combination of trading processing result and the dynamic variable for being input to the third transaction node.
Specifically, as shown in Figure 1 b, ask whether determine destined node 104 be one with transaction node (namely: meeting
Room query node 101) pass through a connected interaction node of connector.Therefore, it can be directed to the interaction node, set participant
The matched different types of casting content of the received trading processing result of room query node 101 is discussed, for example, only including at transaction
The casting content for managing result is " meeting room meets condition ", alternatively, including the group of trading processing result and presupposed information
The casting content of conjunction is " according to the meeting room querying condition that you input, an only meeting room meets condition ", or, packet
The combined casting content for including the trading processing result and the dynamic variable for being input to the transaction node is that " only one full
The sufficient the time of meeting is XX, and meeting number is XX, and conference type is the meeting room of XX " etc..
It is understood that above-described embodiment simply shows the set-up mode of several casting contents, in fact, ability
Field technique personnel can casting content corresponding with node needed for customized setting according to the actual situation, the present embodiment is to this
And it is not limited.
Further, the casting content can be list-mode data.Such as: casting meeting room column as shown in Figure 1 b
Table selects node 103 for user, by Such analysis it is found that can circulate when determining has more than one meeting room to meet condition
Therefore accordingly the casting curriculum offering of node 103 can be selected for column for user the casting meeting room list to the node
Phenotypic data, so that the node can broadcast multiple meeting rooms for meeting condition, such as: casting: " meeting the time of meeting is XX,
Meeting number be XX, conference type be XX meeting room it is as follows: meeting room A1, meeting room B2 ... ".
It typically, can be when user double-clicks or clicks a graphic assembly in question and answer flow chart, in corresponding pop-up
State the input template for custom-configuring information, process design personnel can be realized pair by simply selecting and input operation
Different graphic assemblies, which inputs, different custom-configures information.
Embodiment one
Fig. 3 is a kind of flow chart for answering method based on question answering system that the embodiment of the present invention one provides, the present embodiment
The basis of the answering method is the generation method question answering system generated by above-mentioned question answering system, and the present embodiment can
Suitable for carrying out the situation that question and answer interact with user, this method can be by being executed based on the question and answer system of question answering system, the dress
Setting can be realized by software and/or hardware, can be generally integrated in the special equipment with question and answer function (for example, intelligent machine
Device people) or be integrated in the general-purpose terminal device for being equipped with question and answer class software (for example, voice assistant), (for example, mobile phone or
Person's tablet computer etc.), this method specifically includes:
S310, the original request message for obtaining user's input, and according to the original request message and knowing in knowledge base
Know point to be matched, multiple knowledge points is stored in the knowledge base, each knowledge point includes problem and answer.
In the present embodiment, the knowledge point stored in the knowledge base includes: question and answer knowledge point, thematic knowledge point and hands over
The easy corresponding knowledge point of node (namely: transaction knowledge point) and knowledge point corresponding with interaction node are (that is, interaction knowledge
Point).Wherein, the related notion of above-mentioned knowledge point describes in detail above, and details are not described herein again.
S320, if it is determined that the user input original request message and target topic knowledge point in problem of subject
Match, then according to the theme answer in the target topic knowledge point, triggers mesh corresponding with the target topic knowledge point
The root node of question and answer process module is marked, includes at least one transaction node in the target question and answer process module.
In the present embodiment, corresponding question and answer can be accurately positioned by being stored in the theme answer in the thematic knowledge point
The information of process module, in the problem of subject phase for the original request message and a thematic knowledge point for determining interactive user input
After matching, matched question and answer process module can be accurately positioned, and accordingly trigger the root node of the question and answer process module, namely:
The question and answer process module is had activated to interact with interactive user progress question and answer.
It is important to emphasise that: for different types of root node (for example, transaction node, interaction node or casting
Node), the concept of triggering is not identical.Such as: it can be direct if the casting node is triggered for a casting node
Preset casting content is broadcasted to user, and it is next to being connected with it by connector that question and answer process module circulated
Node continues to execute;For an interaction node, if the interaction node is triggered, can directly be set in advance to user's casting
After fixed casting content, according to the interactive information of user feedback, search knowledge base, determine the question and answer process module it is next walk
To.
And distinguished with above-mentioned the two, for a transaction node, if the transaction node is triggered, can stop
Continue to obtain user's input information on the transaction node, only is being determined to input to obtain to construct in information from user to hand over
When whole dynamic variables needed for easy information, which can just be successfully triggered, and above-mentioned Transaction Information is sent to phase
Associated service interface, and the trading processing result that the service interface returns is fed back into question and answer process module.That is,
It include two states for a transaction node, one is triggering states, and in the firing state, obtains user and input information, and
Information structuring trading processing result is inputted according to user;In the case where triggering success status, trading processing result is sent to associated
In service interface.
When S330, the target transaction node in the question and answer process module are successfully triggered, the target transaction node
Corresponding destination service is sent to according at least one the target dynamic structure's variable target transaction information for being input to own node
Call address, and the target transaction processing result that the destination service call address is fed back is back to the target question and answer stream
Journey module, so that the target question and answer process module is continued to execute according to the target transaction processing result.
As previously mentioned, include at least one transaction node in question and answer process module, the transaction node and setting is executed
The service interface of type of service is associated.The service interface is used for according to one or more transaction letter for being input to the interface
Breath, obtains corresponding trading processing result.If guaranteeing that the service interface can normally return to required trading processing knot
Fruit, it is necessary to assure be input to the input of the quantity and person's type and the Service interface definition of the Transaction Information of the service interface
Content is consistent.
Correspondingly, the target transaction node in the question and answer process module is successfully triggered, in particular to question and answer process mould
When block circulates to target transaction node, if target transaction node by user input acquisition of information dynamic variable or from
Transaction Information needed for the quantity and type of upstream node or dynamic variable can construct the service interface, the then mesh
Mark transaction node is successfully triggered.
In a specific example, it is assumed that the original request message of user's input is " I wants to inquire available conference room ", is led to
It crosses and matches above-mentioned original request message with knowledge base, determine and activate question and answer stream corresponding with flow chart described in Fig. 1 b
Journey module, then can trigger meeting room query node 101 first, and meeting room query node 101 will continue to input information according to user
Extract needed for dynamic variable, such as: the XX time, XX number and XX type meeting room, determining that dynamic variable being capable of structure
When at Transaction Information needed for associated service interface, which can be successfully activated, and by above-mentioned friendship
Easy information transmission is associated service interface, and the quantity for the meeting room for meeting condition that service interface returns is supplied to institute
Question and answer process module is stated, with next trend of the determination question and answer process module.
The embodiment of the invention provides a kind of answering methods based on question answering system, by obtaining the initial of user's input
Solicited message, and matched according to the original request message with the knowledge point in knowledge base;If it is determined that user's input
Original request message matches with the problem of subject in target topic knowledge point, then according in the target topic knowledge point
Theme answer triggers the root node of target question and answer process module corresponding with the target topic knowledge point;In question and answer process mould
When target transaction node in block is triggered, target transaction node is according at least one target dynamic for being input to own node
Structure's variable target transaction information is sent to corresponding destination service call address, and the destination service call address is anti-
The target transaction processing result of feedback is back to the technological means of the target question and answer process module, proposes a kind of based on including
There is the question answering system of transaction node to carry out the specific implementation that question and answer interact with user, greatly meets the question and answer of user
Demand improves question and answer efficiency and accuracy.
Embodiment two
Fig. 4 is a kind of flow chart of the answering method based on question answering system provided by Embodiment 2 of the present invention, the present embodiment
It is optimized based on above-described embodiment, in the present embodiment, by the target transaction node quilt in the question and answer process module
The operation successfully triggered is embodied, correspondingly, the method for the present embodiment specifically includes:
S410, the original request message for obtaining user's input, and according to the original request message and knowing in knowledge base
Know point to be matched, multiple knowledge points is stored in the knowledge base, each knowledge point includes problem and answer.
S420, if it is determined that the user input original request message and target topic knowledge point in problem of subject
Match, then according to the theme answer in the target topic knowledge point, triggers mesh corresponding with the target topic knowledge point
The root node of question and answer process module is marked, includes at least one transaction node in the target question and answer process module.
S430, the user obtained for the target transaction node is inputted into information and the mesh in the object knowledge point
Mark transaction issues are matched.
In the present embodiment, when target question and answer process module circulates to the target transaction node, the target transaction section
Point is triggered.
Wherein, the target transaction node corresponds to the first knowledge point in the knowledge base, and the object knowledge point includes
Target transaction problem and target transaction answer.
In the present embodiment, first knowledge point is knowledge point of trading.Wherein, the transaction answer includes: association
Transaction node, the type of at least one incoming parameter, the type of at least one default parameters, and with the default parameters
The rhetorical question content of type matching;
The transaction issues are matched for inputting information with received user;
The type of the incoming parameter, the type for inputting the dynamic variable for including in information with the user carry out
Matching;The type of the default parameters and rhetorical question content with the type matching of the default parameters, for it is determining with it is described
User inputs the corresponding rhetorical question content of type of institute's default parameters in information;The connected transaction node, for determining the use
The incoming transaction node of the dynamic variable for including in family input information.
S440, if it is determined that successful match, then input at least one target dynamic variable of information extraction in the user.
In the present embodiment, if it is determined that successful match then can input at least one mesh of information extraction in the user
Mark dynamic variable, if it is determined that it fails to match, then art, request can re-enter the user by feedback and input information.
S450, judge whether the number of types of the target dynamic variable extracted is less than in the target transaction answer
Incoming parameter number of types: if so, execute S460;Otherwise, S490 is executed.
Wherein, judge whether the number of types of the target dynamic variable extracted is less than in the target transaction answer
The number of types of incoming parameter specifically refer to, judge whether the target dynamic types of variables extracted is answered with target transaction
The type of incoming parameter in case is consistent, and whether the type for obtaining the target dynamic variable can cover the incoming ginseng
Several all types.For example, as shown in table 2, the type for the incoming parameter for including in answer of trading is the time of meeting, meeting people
Several and conference type.
S460, the type for determining at least one target default parameters, and execute S270.
S470, rhetorical question content corresponding with the type of the target default parameters in the target transaction answer is carried out
Target dynamic variable corresponding with the type of the target default parameters is re-entered in feedback, request.
S480, it is inputted in information in the user re-entered and continues to extract at least one described target dynamic variable, and returned
Receipt row S450.
S490, determination successfully trigger the target transaction node, and the whole of the extraction target dynamic variable is inputted
To the target transaction node.
S4100, the target transaction node are according at least one the target dynamic structure's variable mesh for being input to own node
Mark Transaction Information is sent to corresponding destination service call address, and the target of destination service call address feedback is handed over
Easy to handle result is back to the target question and answer process module, so that the target question and answer process module is handed over according to the target
Easy to handle result continues to execute.
The technical solution of the embodiment of the present invention is by establishing corresponding pass of the transaction node with knowledge point of trading in knowledge base
System, and defined in the transaction knowledge point and input one or more dynamic needed for loss of learning transaction node in user
Rhetorical question content when variable can make ultimately constructed question answering system save in circulation to the matched transaction in transaction knowledge point
When point, information can be inputted according to different users, feed back different rhetorical question contents, so that user repairs according to rhetorical question content
Positive user's input content, only provides the dynamic variable of missing again, and the dynamic variable provided do not need then again to
Out.Guarantee transaction node can triggered as normal, while normal work, greatly reduce the requirement that information is inputted to user, and
The question and answer efficiency of question answering system and the usage experience of user can be significantly improved.
On the basis of the various embodiments described above, the target transaction node is according at least one for being input to own node
Target dynamic structure's variable target transaction information is sent to corresponding destination service call address, may include:
The target transaction node according at least one the target dynamic variable for being input to own node, and with it is described
Target transaction node is corresponding to enter to join defined item, and construction target transaction information is sent to and the target transaction node matching
In destination service call address;
It is described to enter to join defined item and include that at least one enters to join title, and with it is described enter join name-matches enter parameter,
It is described to enter to join the parameter name that the entitled associated service interface of target transaction node identify, it is described enter parameter
Match with the target dynamic variable for being input to the target transaction node.
Specifically, the user that this transaction node of meeting room query node 101 obtains inputs in conjunction with Fig. 1 b and Fig. 1 c
Information are as follows: " the time of meeting is 9:00 to 11:00 " is saved by inputting to inquire the user with meeting room in information and knowledge base
101 corresponding transaction knowledge points of point are matched, and obtain dynamic variable are as follows: meeting start time=9:00, meeting adjourned time
=11:00;Transaction node strikes a bargain the dynamic variable meeting start time=9:00, meeting adjourned time=11:00, construction
Easy information, namely: startime=9:00;This service interface for being used to complete meeting room inquiry of overtime=11:00 can
With the variable format of identification.The Transaction Information is sent to a service corresponding with the service interface and adjusted by transaction node later
Behind address, namely: http://voadev.sh.xaioi.com can receive the meeting room of service call address return
Query result.
On the basis of the various embodiments described above, by the target transaction processing result of destination service call address feedback
It is back to the target question and answer process module, so that the target question and answer process module continues according to the trading processing result
It executes, may include:
If it is determined that the target transaction node is associated at least two downstream connection parts, then according to the target transaction at
Reason as a result, and each downstream connection part target dynamic condition configuration information, it is determining with the target transaction processing result
Matched target downstream connector;
By the target question and answer process module circulate to the target downstream node being connected with the target downstream connector after
It is continuous to execute;
Wherein, the target dynamic condition configuration information includes: to join defined item and condition setting value out, described to go out to join
Defined item matches at least one received target transaction processing result of the target transaction node, the condition setting value
It is compared for carrying out condition with the target transaction processing result in the defined item of ginseng out.
On the basis of the various embodiments described above, by the question and answer process module circulate to the target downstream connector
Connected target downstream node continues to execute, comprising:
According to the target downstream node setting with the matched casting content of the target transaction processing result, to institute
User is stated to broadcast;
The casting content includes: the target transaction processing result, the target transaction processing result and default letter
The group of the combination of breath or the target transaction processing result and the target dynamic variable for being input to the target transaction node
It closes;
Wherein, the target downstream node includes: interaction node, casting node or other transaction nodes.
Embodiment three
Fig. 5 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention three provides.Fig. 5, which is shown, to be suitable for using
Come realize embodiment of the present invention exemplary computer device 12 block diagram.The computer equipment 12 that Fig. 5 is shown is only one
A 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
To include but is not limited to: one or more processor or processing unit 16, system storage 28 connect not homologous ray group
The bus 18 of part (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.
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
The usable medium accessed by computer equipment 12, including volatile and non-volatile media, moveable and immovable Jie
Matter.
System storage 28 may include the computer system readable media of form of volatile memory, such as deposit at random
Access to memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/no
Movably, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing
Immovable, non-volatile magnetic media (Fig. 5 do not show, commonly referred to as " hard disk drive ").It, can although being not shown in Fig. 5
To provide the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk "), and it is non-easy to moving
The CD drive that the property lost CD (such as CD-ROM, DVD-ROM or other optical mediums) is read and write.In these cases, often
A driver can be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one
A program product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform
The function of various embodiments of the present invention.
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, Qi Tacheng
It may include the realization of network environment in sequence module and program data, each of these examples or certain combination.Program
Module 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 passes through other modules of bus 18 and computer equipment 12
Communication.It should be understood that other hardware and/or software module can be used in conjunction with computer equipment 12 although being not shown in Fig. 5,
Including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive
Dynamic 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 with
And data processing, such as realize the answering method based on question answering system provided by the embodiment of the present invention.
Namely: the processing unit is realized when executing described program: obtaining the original request message of user's input, and root
It is matched according to the original request message with the knowledge point in knowledge base, multiple knowledge points is stored in the knowledge base, often
A knowledge point includes problem and answer;
If it is determined that the original request message of user's input and the problem of subject phase in target topic knowledge point
Match, then according to the theme answer in the target topic knowledge point, triggers target corresponding with the target topic knowledge point and ask
The root node of process module is answered, includes at least one transaction node in the target question and answer process module;
When target transaction node in the question and answer process module is successfully triggered, the target transaction node according to
At least one the target dynamic structure's variable target transaction information for being input to own node is sent to corresponding destination service and calls
Address, and the target transaction processing result that the destination service call address is fed back is back to the target question and answer process mould
Block, so that the target question and answer process module is continued to execute according to the target transaction processing result.
Example IV
The embodiment of the present invention four provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
The answering method based on question answering system provided such as all inventive embodiments of the application is provided when sequence is executed by processor:
Namely: the realization when program is executed by processor: the original request message of user's input is obtained, and according to described
Original request message is matched with the knowledge point in knowledge base, and multiple knowledge points are stored in the knowledge base, each described
Knowledge point includes problem and answer;
If it is determined that the original request message of user's input and the problem of subject phase in target topic knowledge point
Match, then according to the theme answer in the target topic knowledge point, triggers target corresponding with the target topic knowledge point and ask
The root node of process module is answered, includes at least one transaction node in the target question and answer process module;
When target transaction node in the question and answer process module is successfully triggered, the target transaction node according to
At least one the target dynamic structure's variable target transaction information for being input to own node is sent to corresponding destination service and calls
Address, and the target transaction processing result that the destination service call address is fed back is back to the target question and answer process mould
Block, so that the target question and answer process module is continued to execute according to the target transaction processing result.
It can be using any combination of one or more computer-readable media.Computer-readable medium can be meter
Calculation machine readable signal medium or computer readable storage medium.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example (non exhaustive list) of calculation machine readable storage medium storing program for executing include: electrical connection with one or more conducting wires,
Portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit
Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory
Part or above-mentioned any appropriate combination.In this document, computer readable storage medium, which can be, any include or deposits
The tangible medium of program is stored up, which can be commanded execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or the data as the propagation of carrier wave a part are believed
Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, packet
Include --- but being not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media
It can also be any computer-readable medium other than computer readable storage medium, which can send,
It propagates or transmits 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 not
It is limited to --- 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
Fully execute, partly execute on the user computer on the user computer, being executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.Those skilled in the art can manage
Solution, the invention is not limited to the specific embodiments described herein, is able to carry out various apparent changes for a person skilled in the art
Change, readjust and substitutes without departing from protection scope of the present invention.Therefore, although 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, the case where not departing from present inventive concept
Under, it can also include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of answering method based on question answering system is applied in question answering system characterized by comprising
The original request message of user's input is obtained, and according to the knowledge point progress in the original request message and knowledge base
Match, multiple knowledge points are stored in the knowledge base, each knowledge point includes problem and answer;
If it is determined that the original request message of user input matches with the problem of subject in target topic knowledge point, then root
According to the theme answer in the target topic knowledge point, target question and answer process mould corresponding with the target topic knowledge point is triggered
The root node of block includes at least one transaction node in the target question and answer process module;
When target transaction node in the question and answer process module is successfully triggered, the target transaction node is according to being input to
At least one target dynamic structure's variable target transaction information of own node is sent to corresponding destination service call address, and
The target transaction processing result that the destination service call address is fed back is back to the target question and answer process module, so that institute
Target question and answer process module is stated to be continued to execute according to the target transaction processing result.
2. the method according to claim 1, wherein the question answering system includes:
Question and answer process module corresponding with question and answer flow chart includes multiple graphic assemblies, the figure in the question and answer flow chart
Component includes: at least one transaction node, and the transaction node is associated with the setting service interface of type of service is executed;
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 build for indicating with the trigger condition of the matched question and answer process module of question answering system, the theme answer
Found the triggering relationship of the thematic knowledge point and the question and answer process module.
3. according to the method described in claim 2, it is characterized in that, the question answering system further include:
It is stored in the knowledge point corresponding with transaction node is set in the question and answer process module in the knowledge base;
Knowledge point corresponding with the transaction node includes: transaction issues and transaction answer, and the transaction answer includes: that association is handed over
Easy node, the type of at least one incoming parameter, the type of at least one default parameters, and the type with the default parameters
Matched rhetorical question content;
The transaction issues are matched for inputting information with received user;
The type of the incoming parameter, the type for inputting the dynamic variable for including in information with the user match;
The type of the default parameters and rhetorical question content with the type matching of the default parameters, it is defeated with the user for determination
Enter the corresponding rhetorical question content of type of institute's default parameters in information;The connected transaction node, for determining user's input
The incoming transaction node of the dynamic variable for including in information.
4. according to the method described in claim 2, it is characterized in that, question and answer process module corresponding with question and answer flow chart, specifically
Include:
According to each graphic assembly for including in the question and answer flow chart, the generated and matched standardization of question and answer flow chart
Code skeleton;And
According to each graphic assembly in the question and answer flow chart is matched custom-configures information, it is generated with each institute
State that graphic assembly is corresponding, make an addition in the standardized codes frame with it is customized at the associated position of graphic assembly
Code;
Wherein, and the matched information that custom-configures of the transaction node includes: service call corresponding with transaction node address,
It is directed toward and the transaction node associated service interface the service call address.
5. according to the described in any item methods of claim 2-4, which is characterized in that the target transaction node corresponds to the knowledge
The first knowledge point in library, the object knowledge point include target transaction problem and target transaction answer;
Target transaction node in the question and answer process module is successfully triggered, comprising:
The user obtained for the target transaction node is inputted to the target transaction problem in information and the object knowledge point
It is matched;
If it is determined that successful match, then input at least one target dynamic variable of information extraction in the user;
If it is determined that the number of types of the target dynamic variable extracted is less than the incoming parameter in the target transaction answer
Number of types, it is determined that go out at least one target default parameters type;
Rhetorical question content corresponding with the type of the target default parameters in the target transaction answer is fed back, request weight
It is new to input target dynamic variable corresponding with the type of the target default parameters;
It is inputted in information in the user re-entered and continues to extract at least one described target dynamic variable, and if returning to execution
Determine that the number of types of the target dynamic variable extracted is less than the number of types of the incoming parameter in the target transaction answer
Amount, it is determined that go out the operation of the type of at least one target default parameters, until in complete extraction and the target transaction answer
Whole be passed to parameter the corresponding target dynamic variable of type;
Determination successfully triggers the target transaction node, and the whole of the extraction target dynamic variable is input to the target
Transaction node.
6. according to the described in any item methods of claim 2-4, which is characterized in that the target transaction node according to be input to from
At least one target dynamic structure's variable target transaction information of body node is sent to corresponding destination service call address, packet
It includes:
The target transaction node is handed over according at least one the target dynamic variable for being input to own node, and with the target
Easily node is corresponding enters to join defined item, and construction target transaction information is sent to the destination service with the target transaction node matching
In call address;
It is described enter to join defined item include that at least one enters to join title, and enters to join the parameter that enters of name-matches with described, it is described
Enter to join the parameter name that the entitled associated service interface of target transaction node can identify, it is described enter parameter and input
Target dynamic variable to the target transaction node matches.
7. according to the described in any item methods of claim 2-4, which is characterized in that by destination service call address feedback
Target transaction processing result is back to the target question and answer process module, so that the target question and answer process module is according to the friendship
Easy to handle result continues to execute, comprising:
If it is determined that the target transaction node is associated at least two downstream connection parts, is then handled and tied according to the target transaction
The target dynamic condition configuration information of fruit and each downstream connection part, determination are matched with the target transaction processing result
Target downstream connector;
The target question and answer process module is circulated to the target downstream node being connected with the target downstream connector and continues to hold
Row;
Wherein, the target dynamic condition configuration information includes: to join defined item and condition setting value out, described to go out to join definition
Match at least one received target transaction processing result of the target transaction node, the condition setting value for
It is described to go out to join the target transaction processing result progress condition comparison in defined item.
8. the method according to the description of claim 7 is characterized in that by the question and answer process module circulate to under the target
The connected target downstream node of trip connector continues to execute, comprising:
According to the target downstream node setting with the matched casting content of the target transaction processing result, Xiang Suoshu user
It is broadcasted;
The casting content includes: the target transaction processing result, the target transaction processing result and presupposed information
Combination or the combination of the target transaction processing result and the target dynamic variable for being input to the target transaction node;
Wherein, the target downstream node includes: interaction node, casting node or other transaction nodes.
9. 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
Now such as the answering method described in any one of claims 1-8 based on question answering system.
10. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the program is executed by processor
The Shi Shixian answering method for example described in any one of claims 1-8 based on question answering system.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711396315.2A CN110019723A (en) | 2017-12-21 | 2017-12-21 | Answering method, terminal device and storage medium based on question answering system |
US16/103,104 US10942955B2 (en) | 2017-12-21 | 2018-08-14 | Questioning and answering method, method for generating questioning and answering system, and method for modifying questioning and answering system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711396315.2A CN110019723A (en) | 2017-12-21 | 2017-12-21 | Answering method, terminal device and storage medium based on question answering system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110019723A true CN110019723A (en) | 2019-07-16 |
Family
ID=67187109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711396315.2A Pending CN110019723A (en) | 2017-12-21 | 2017-12-21 | Answering method, terminal device and storage medium based on question answering system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110019723A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110516027A (en) * | 2019-07-22 | 2019-11-29 | 北京达佳互联信息技术有限公司 | Update method, device, electronic equipment and the storage medium of information aggregate |
CN110753316A (en) * | 2019-09-26 | 2020-02-04 | 贝壳技术有限公司 | Information sending method and device, computer readable storage medium and electronic equipment |
CN110929027A (en) * | 2019-09-30 | 2020-03-27 | 珠海格力电器股份有限公司 | Prompting system, prompting method, computer and waste accommodating device |
CN111858872A (en) * | 2020-04-10 | 2020-10-30 | 北京嘀嘀无限科技发展有限公司 | Question-answer interaction method and device, electronic equipment and storage medium |
CN113609277A (en) * | 2021-08-26 | 2021-11-05 | 中国银行股份有限公司 | Data processing method, device, equipment and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105912600A (en) * | 2016-04-05 | 2016-08-31 | 上海智臻智能网络科技股份有限公司 | Question-answer knowledge base and establishing method thereof, intelligent question-answering method and system |
CN106095988A (en) * | 2016-06-21 | 2016-11-09 | 上海智臻智能网络科技股份有限公司 | Automatic question-answering method and device |
US20160379120A1 (en) * | 2015-06-25 | 2016-12-29 | International Business Machines Corporation | Knowledge Canvassing Using a Knowledge Graph and a Question and Answer System |
WO2017028723A1 (en) * | 2015-08-19 | 2017-02-23 | 阿里巴巴集团控股有限公司 | Information processing method and device |
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 |
WO2017092380A1 (en) * | 2015-12-03 | 2017-06-08 | 华为技术有限公司 | Method for human-computer dialogue, neural network system and user equipment |
-
2017
- 2017-12-21 CN CN201711396315.2A patent/CN110019723A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160379120A1 (en) * | 2015-06-25 | 2016-12-29 | International Business Machines Corporation | Knowledge Canvassing Using a Knowledge Graph and a Question and Answer System |
WO2017028723A1 (en) * | 2015-08-19 | 2017-02-23 | 阿里巴巴集团控股有限公司 | Information processing method and device |
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 |
WO2017092380A1 (en) * | 2015-12-03 | 2017-06-08 | 华为技术有限公司 | Method for human-computer dialogue, neural network system and user equipment |
CN105912600A (en) * | 2016-04-05 | 2016-08-31 | 上海智臻智能网络科技股份有限公司 | Question-answer knowledge base and establishing method thereof, intelligent question-answering method and system |
CN106095988A (en) * | 2016-06-21 | 2016-11-09 | 上海智臻智能网络科技股份有限公司 | Automatic question-answering method and device |
Non-Patent Citations (2)
Title |
---|
张爱军;: "基于本体的智能答疑系统的研究与实现", 计算机应用与软件, no. 05 * |
徐晓;: "基于ASP.NET AJAX技术的智能答疑系统知识库的构建", 宁波职业技术学院学报, no. 02 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110516027A (en) * | 2019-07-22 | 2019-11-29 | 北京达佳互联信息技术有限公司 | Update method, device, electronic equipment and the storage medium of information aggregate |
CN110516027B (en) * | 2019-07-22 | 2022-04-22 | 北京达佳互联信息技术有限公司 | Information set updating method and device, electronic equipment and storage medium |
CN110753316A (en) * | 2019-09-26 | 2020-02-04 | 贝壳技术有限公司 | Information sending method and device, computer readable storage medium and electronic equipment |
CN110929027A (en) * | 2019-09-30 | 2020-03-27 | 珠海格力电器股份有限公司 | Prompting system, prompting method, computer and waste accommodating device |
CN110929027B (en) * | 2019-09-30 | 2022-08-12 | 珠海格力电器股份有限公司 | Prompting system, prompting method, computer and waste accommodating device |
CN111858872A (en) * | 2020-04-10 | 2020-10-30 | 北京嘀嘀无限科技发展有限公司 | Question-answer interaction method and device, electronic equipment and storage medium |
CN113609277A (en) * | 2021-08-26 | 2021-11-05 | 中国银行股份有限公司 | Data processing method, device, equipment and readable storage medium |
CN113609277B (en) * | 2021-08-26 | 2024-02-20 | 中国银行股份有限公司 | Data processing method, device, equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107977236B (en) | Question-answering system generation method, terminal device, storage medium and question-answering system | |
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 | |
CN108090177A (en) | The generation methods of more wheel question answering systems, equipment, medium and take turns question answering system more | |
US20180341396A1 (en) | Transactional Conversation-Based Computing System | |
US11341422B2 (en) | Multi-round questioning and answering methods, methods for generating a multi-round questioning and answering system, and methods for modifying the system | |
CN108270843A (en) | The call request of generation and transmission to appropriate third-party agent | |
CN109564530A (en) | The personal supplementary module for having the selectable state machine traversed is provided | |
CN108646580A (en) | The determination method and device of control object, storage medium, electronic device | |
CN103369477B (en) | Display media method, device, client, graphical control display packing and device | |
CN109002510A (en) | A kind of dialog process method, apparatus, equipment and medium | |
CN108804536A (en) | Human-computer dialogue and strategy-generating method, equipment, system and storage medium | |
CN110019716B (en) | Multi-turn question and answer method, terminal equipment and storage medium | |
CN110391970A (en) | For the message management system of communication applications, method, equipment and storage medium | |
CN111611357A (en) | Configuration method of man-machine conversation system, multi-turn conversation configuration platform and electronic equipment | |
CN109634764A (en) | Work-flow control method, apparatus, equipment, storage medium and system | |
CN109271503A (en) | Intelligent answer method, apparatus, equipment and storage medium | |
CN112422405A (en) | Message interaction method and device and electronic equipment | |
CN109670109A (en) | Information acquisition method, device, server, terminal and medium | |
CN109960489B (en) | Method, device, equipment, medium and question-answering system for generating intelligent question-answering system | |
CN109960490A (en) | Generate method, apparatus, equipment, medium and the question answering system of intelligent Answer System | |
CN115810062A (en) | Scene graph generation method, device and equipment | |
CN111090733B (en) | Human-computer interaction method, device, equipment and readable storage medium | |
CN110019721A (en) | Modify method, terminal device and the storage medium of question answering system | |
JP6944920B2 (en) | Smart interactive processing methods, equipment, equipment and computer storage media |
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 |