CN109960490A - Generate method, apparatus, equipment, medium and the question answering system of intelligent Answer System - Google Patents
Generate method, apparatus, equipment, medium and the question answering system of intelligent Answer System Download PDFInfo
- Publication number
- CN109960490A CN109960490A CN201711421595.8A CN201711421595A CN109960490A CN 109960490 A CN109960490 A CN 109960490A CN 201711421595 A CN201711421595 A CN 201711421595A CN 109960490 A CN109960490 A CN 109960490A
- Authority
- CN
- China
- Prior art keywords
- node
- answer
- question
- transaction
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 194
- 230000008569 process Effects 0.000 claims abstract description 145
- 238000012545 processing Methods 0.000 claims abstract description 102
- 230000003993 interaction Effects 0.000 claims description 66
- 238000005266 casting Methods 0.000 claims description 61
- 230000001960 triggered effect Effects 0.000 claims description 14
- 230000002452 interceptive effect Effects 0.000 claims description 12
- 238000010276 construction Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 2
- 235000013399 edible fruits Nutrition 0.000 claims 2
- 230000006870 function Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 11
- 238000013461 design Methods 0.000 description 7
- 241000208340 Araliaceae Species 0.000 description 6
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 6
- 235000003140 Panax quinquefolius Nutrition 0.000 description 6
- 235000008434 ginseng Nutrition 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000005291 magnetic effect Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000000712 assembly Effects 0.000 description 3
- 238000000429 assembly Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000013139 quantization Methods 0.000 description 2
- 238000011144 upstream manufacturing 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
- 230000015572 biosynthetic process 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
- 239000000203 mixture Substances 0.000 description 1
- 239000013307 optical fiber Substances 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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Human Computer Interaction (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a kind of method, apparatus, equipment, medium and intelligent Answer Systems for generating intelligent Answer System.Generation method includes: to obtain patterned question and answer flow chart;According to each graphic assembly for including in question and answer flow chart, generates and the matched processing frame of question and answer flow chart, graphic assembly include: transaction node, transaction node is associated with the setting service interface of type of service is executed;According to each graphic assembly in question and answer flow chart is matched custom-configures information, generate custom code corresponding with each graphic assembly and make an addition to and handles in frame and at the associated position of graphic assembly;Thematic knowledge point corresponding with question and answer process module is added in knowledge base.The scheme of the embodiment of the present invention is realized to functional or service a quick calling, it avoids and realizes that the repetition of the code of identical function is write or transplanted, it ensure that intelligent Answer System realizes the terseness of code, realize rapid build and the update of intelligent Answer System.
Description
Technical field
The present embodiments relate to intelligent answer technology more particularly to a kind of methods for generating intelligent Answer System, dress
It sets, terminal device, storage medium and intelligent Answer System.
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.
The major defect of the prior art is, may go out in the different question and answer flow charts of process design personnel design
Existing a degree of process overlapping phenomenon, such as: one, with the associated question and answer flow chart of schedule, may be related to
The scheduled process of meeting room, and the scheduled process of the meeting room possibly is present in another meeting room intended flow figure.It is this
When situation occurs, it may be necessary to which developer repeats to write the process code for realizing identical function or finished one
Process code migrating into other process codes, heavy workload, error rate is high;Further, since being the stream of intelligent Answer System
After journey designer's proposition demand, writing for corresponding code is realized by developer.That is, the code pair of implementation process
It is entirely a black box for the process design personnel of intelligent Answer System, it is any if necessary to be done to intelligent Answer System
Change, just only art is talked about in modification answer at last, will be introduced developer and be carried out modification process code, regenerates corresponding process clothes
It is updated after business and arrives server, furthermore if flow services are not walked according to set process in interactive process, it is also desirable to by opening
The intervention of hair personnel searches the problems in code breakpoint is arranged.
Summary of the invention
The embodiment of the invention provides a kind of method, terminal device, storage medium and intelligence for generating intelligent Answer System
Energy question answering system improves intelligent Answer System and generates intelligent answer system to optimize the implementation of existing intelligent Answer System
The efficiency of system.
In a first aspect, the embodiment of the invention provides a kind of methods for generating intelligent Answer System, comprising:
Obtain patterned one or more question and answer flow charts;
According to each graphic assembly for including in each question and answer flow chart, generate and the matched processing of question and answer flow chart
Frame, wherein the graphic assembly includes: at least one transaction node, casting node and the company for connecting different nodes
Fitting, the transaction node are associated with the setting service interface of type of service is executed;
According to each graphic assembly in the question and answer flow chart is matched custom-configures information, generate with it is each
The corresponding custom code of the graphic assembly makes an addition in the processing frame and at the associated position of graphic assembly,
To generate question and answer process module corresponding with the question and answer flow chart;
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;
The information that custom-configures includes: casting content corresponding with first node;
The first node is connected with target transaction node by connector, and the first node is located at target friendship
The downstream of easy node, the first node include: casting node or other transaction nodes;
The casting content includes: the received trading processing result of the target transaction node, the target transaction
The combination of the received trading processing result of node and presupposed information or the target transaction node are received described
The combination of trading processing result and the dynamic variable for being input to the target 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;
Addition thematic knowledge point corresponding with each question and answer process module, the thematic knowledge point in knowledge base
Including problem of subject and theme answer, the problem of subject is used to indicate the trigger condition of question and answer process module, and the theme is answered
Case is used to establish the triggering relationship of the thematic knowledge point and the question and answer process module.
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
The method for managing the generation intelligent Answer System that device is realized 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 method for the generation intelligent Answer System as described in any embodiment of the present invention when the program is executed by processor.
Fourth aspect, the embodiment of the invention also provides a kind of intelligent Answer System, the intelligent Answer System is by such as
The method that intelligent Answer System is generated described in any embodiment of the present invention generates.
5th aspect, the embodiment of the invention also provides the devices for generating intelligent Answer System, comprising:
Question and answer flow chart obtains module, for obtaining patterned one or more question and answer flow charts;
Handle frame generation module, for according to each graphic assembly for including in each question and answer flow chart, generate with
The matched processing frame of question and answer flow chart, wherein the graphic assembly include: at least one transaction node, casting node and
For connecting the connector of different nodes, the transaction node is associated with the setting service interface of type of service is executed;
Custom code adding module, for according to matched with each graphic assembly in the question and answer flow chart
It custom-configures information, generates custom code corresponding with each graphic assembly and make an addition in the processing frame
At the associated position of graphic assembly, to generate question and answer process module corresponding with the question and answer flow chart;Wherein, with it is described
Transaction node is matched, and to custom-configure information include: service call corresponding with transaction node address, the service call
It is directed toward and the transaction node associated service interface location;
The information that custom-configures includes: casting content corresponding with first node;
The first node is connected with target transaction node by connector, and the first node is located at target friendship
The downstream of easy node, the first node include: casting node or other transaction nodes;
The casting content includes: the received trading processing result of the target transaction node, the target transaction
The combination of the received trading processing result of node and presupposed information or the target transaction node are received described
The combination of trading processing result and the dynamic variable for being input to the target 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;
Thematic knowledge point adding module, for the addition master corresponding with each question and answer process module in knowledge base
Knowledge point is inscribed, the thematic knowledge point includes problem of subject and theme answer, and the problem of subject is for indicating question and answer process mould
The trigger condition of block, the theme answer are used to establish the triggering relationship of the thematic knowledge point and the question and answer process module.
The embodiment of the invention provides a kind of method, apparatus for generating intelligent Answer System, terminal device, storage medium
And intelligent Answer System, by patterned question and answer flow chart and for each graphical set in the question and answer flow chart
Part setting custom-configures information, can be automatically generated for realizing the question and answer process module of the question and answer flow chart function,
It, can be flexible later by way of the addition thematic knowledge point corresponding with each question and answer process module in knowledge base
Use of the realization to the intelligent Answer System generated based on the question and answer process module, give one kind and pass through What You See Is What You Get
The intelligent Answer System that can be realized of the mode method that generates intelligent Answer System, optimize existing intelligent Answer System
Implementation may be implemented to functional or service in addition, by introducing transaction node in graphic assembly
Quick calling, obtain required service attribute in operation flow, avoid and realize that the repetition of code of identical function is write
Or transplanting, it ensure that intelligent Answer System realizes the terseness of code, reduce the workload and error of developer
Probability realizes rapid build and the update of intelligent Answer System, avoids and introduce in intelligent Answer System generating process
Developer greatly reduces the workload of developer, reduces costs, improves accuracy rate and efficiency.
Detailed description of the invention
Fig. 1 a is the flow chart for the method that one of embodiment of the present invention one generates intelligent Answer System;
Fig. 1 b is the schematic diagram of the patterned question and answer flow chart of one of embodiment of the present invention one;
Fig. 1 c is the schematic diagram for custom-configuring information of one of embodiment of the present invention one input transaction node;
Fig. 2 is the flow chart for the method that one of embodiment of the present invention two generates intelligent Answer System;
Fig. 3 is the flow chart for the method that one of embodiment of the present invention three generates intelligent Answer System;
Fig. 4 is the structural schematic diagram of one of the embodiment of the present invention five terminal device;
Fig. 5 is the structure chart for the device that one of embodiment of the present invention seven generates intelligent Answer System.
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.
Embodiment one
Fig. 1 a is a kind of flow chart of the method for generation intelligent Answer System that the embodiment of the present invention one provides, this implementation
Example is applicable to the case where generating intelligent Answer System according to question and answer flow chart, and the intelligent Answer System specifically refers to can be with
The system that question and answer interact is carried out with interactive user, this method can be generated the device of intelligent Answer System by intelligent Answer System
It executes, the mode which can be used software and/or hardware is realized, and generally can integrate for generating intelligent answer
In the terminal device or server of system.As shown in Figure 1a, the method for the present embodiment specifically includes:
S110, patterned one or more question and answer flow charts are obtained.
In the present embodiment, the question and answer flow chart specifically can be selection and combine and mentions in setting process editing interface
The each graphic assembly supplied, 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 real using one or more in an intelligent Answer System
Existing service function, such as: meeting room is predetermined, network orders train or plane ticket or hospital registers, and can pass through introducing
The mode of transaction node, calling and the matched service interface of the service function are compiled without repeating in the intelligent Answer System
Program code corresponding in required service function is write or transplanted, under the premise of streamlining procedures code significantly, reduces reality
Now workload needed for the intelligent Answer 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 processing frame matched, wherein the graphic assembly includes: at least one transaction node, the transaction node and execution setting class
The service interface of type service is associated.
In the present embodiment, a kind of question and answer process module that can be automatically generated is proposed.Correspondingly, be provided previously with
The standard implementation code that different type graphic assembly matches, such as: it establishes and is saved with transaction node, casting node and casting
The corresponding standard implementation code wrap of point pre-establishes standard implementation code and corresponding diagram in different library files
Corresponding relationship between shape component.Typically, it can be previously written in the process editing interface and be matched with each graphic assembly
Standardization realize code storage address (or reference address), correspondingly, can for be based on the process editing interface
Each graphic assembly for including in the question and answer flow chart of drafting, the automatic corresponding matched processing frame of generation.
It should be noted that concern is primarily with include the generation intelligent answer system of transaction node for the embodiment of the present invention
Therefore the method for system includes one or more transaction node in question and answer flow chart, still, the technology of the embodiment of the present invention
Any kind of generation intelligent Answer System theoretically may be implemented in scheme, as long as drawing corresponding flow chart as needed,
Corresponding processing frame can be obtained, and obtain corresponding process module in turn.
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 make an addition in the processing frame with the associated position of graphic assembly
Place, to generate question and answer process module corresponding with the question and answer flow chart.
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 processing frame is added using above-mentioned casting content as information is custom-configured
In do not found at the corresponding code position of meeting room node 102 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 processing frame, the setting content that can also be selected in custom-configuring information input template according to user
(for example, transferring mode for the interface of transaction node selection), what matching was write in advance custom-configures information matches with difference
Custom code make an addition in the processing 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 in the present embodiment, associated with the setting service interface of type of service is executed due to transaction node, with
The matched information that custom-configures of the transaction node includes: service call corresponding with transaction node address, and the service is adjusted
It is directed toward and the associated service interface of the transaction node with address.
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.
In the present embodiment, after generating question and answer process module (code for realizing question and answer flow chart), in order to realize
To the normal use of the question and answer process module, further addition and each question and answer process module pair in knowledge base are needed
The thematic knowledge point answered.
It should be noted that in the present embodiment, giving one kind and firstly generating question and answer process module, resettle later
The implementation of thematic knowledge point, and it will be appreciated by persons skilled in the art that the establishment process of thematic knowledge point can be simultaneously
It is not limited to execute after generating question and answer process module, here and be not limited thereof.For example, master can be initially set up
Knowledge point is inscribed, 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 embodiment of the invention provides a kind of method, terminal device, storage medium and intelligence for generating intelligent Answer System
Question answering system is arranged by patterned question and answer flow chart and for each graphic assembly in the question and answer flow chart
Custom-configure information, can be automatically generated for realizing the question and answer process module of the question and answer flow chart function, Zhi Houtong
The mode for adding thematic knowledge point corresponding with each question and answer process module in knowledge base is crossed, can flexibly be realized
Use to the intelligent Answer System generated based on the question and answer process module, is given a kind of by way of What You See Is What You Get
The method for the generation intelligent Answer System that can be realized, optimizes the implementation of existing intelligent Answer System, 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 intelligence
Energy question answering system realizes the terseness of code, reduces the workload and error probability of developer, realizes intelligent answer
The rapid build of system and update avoid and introduce developer in intelligent Answer System generating process, greatly reduce
The workload of developer, reduces costs, and improves 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, then it is described generate intelligent Answer System method further include: established in knowledge base
Transaction corresponding with transaction node knowledge point.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 is proposed in example 2, can be inputted in information in user
Including dynamic variable it is imperfect when, the dynamic variable that lacks in information is inputted according to user, corresponding adjustment output words art, with
Make user it is convenient, quickly in subsequent input information will lacking in dynamic variable supplement complete, to further increase
The problem of user experience and intelligent Answer System efficiency.
Embodiment two
Fig. 2 is a kind of flow chart of method for generating intelligent Answer System provided by Embodiment 2 of the present invention, the present embodiment
Optimized based on above-described embodiment, in the present embodiment, for need from customer interaction information extract one or
The transaction node of multiple dynamic variables gives another data structure of corresponding transaction knowledge point.Correspondingly, the present invention is real
The method for applying example 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
Handle frame, wherein the graphic assembly includes: at least one transaction node, the transaction node and execution setting type clothes
The service interface of business 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 make an addition in the processing frame with the associated position of graphic assembly
Place, to generate question and answer process module corresponding with the question and answer flow chart.
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 intelligent answer system
The question and answer efficiency of system 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.
In other embodiments of the invention, question and answer knowledge point with interact knowledge point not it is also possible to not to the two
It distinguishes, all within protection scope of the present invention.
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.
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 intelligent Answer System circulation to transaction the matched friendship in knowledge point
When easy node, information can be inputted according to different users, different rhetorical question contents be fed back, so that user is according in rhetorical question
Hold amendment user's input content, the dynamic variable of missing is only provided again, and the dynamic variable provided does not need then again
It provides.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 intelligent Answer System and the usage experience of user can be significantly improved.
On the basis of the various embodiments described above, the graphic assembly can also include: the connection for connecting different nodes
Part, for example, as shown in Figure 1 b, not finding the company of meeting room node 102 for connecting meeting room query node 101 and casting
Fitting A, for connect meeting room query node 101 and ask whether determine destined node 104 connector B and be used for
It connects meeting room query node 101 and broadcasts the connector C that meeting room list selects 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 intelligent Answer System can from the meeting room query node 101 circulate to ask whether determine destined node 104 after
It is continuous to execute.
On the basis of the various embodiments described above, 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 determines intelligence
Next trend of question answering 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 intelligent Answer System is to terminate
Process;If it is determined that user asks whether to determine that destined node 104 inputs "Yes" based on this, it is determined that intelligent Answer System
Next trend is 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 ", intelligent Answer System can circulate to process is terminated, therefore,
It needs to establish in knowledge base and interaction node is matched interacts knowledge point: (no, no) and (not knowing, no).And it builds respectively
It stands above-mentioned interactive knowledge point and asks whether the corresponding relationship of determining destined node 104.It similarly, can be prespecified simultaneously
When customer interaction information is "Yes" or " determination ", intelligent Answer System can circulate to terminating process, it is also desirable in knowledge
It is established in library and interaction node is matched interacts knowledge point: (being yes), and (determination, 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.
On the basis of the various embodiments described above, the graphic assembly can also include: casting node.The casting node
For broadcasting by custom-configuring the preset casting content of information.For example, meeting is not found in casting as shown in Figure 1 b
Room node 102, casting meeting room list select node 103, the predetermined successful node 106 of casting and casting failure former for user
Because of node 107.Such as: when intelligent Answer System, which circulates, does not find meeting room node 102 to casting, which can phase
" sorry, not find qualified meeting room " should be broadcasted.
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 intelligent Answer 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 three
Fig. 3 is a kind of flow chart of the method for generation intelligent Answer System that the embodiment of the present invention three provides, the present embodiment
It is optimized based on above-described embodiment, it in the present embodiment, will be according to each figure for including in each question and answer flow chart
Shape component is generated and is embodied with the operation of the matched processing frame of the question and answer flow chart.Correspondingly, the present invention is implemented
Example method include:
S310, patterned one or more question and answer flow charts are obtained.
Root node in S320, the acquisition question and answer flow chart, and generated and described according to the type of the root node
The corresponding base standard code of node, and the base standard code is added in source code frame.
S330, since next layer of the root node, successively obtain in the question and answer flow chart node as working as
Preceding traverse node.
Typically, if next layer of root node includes multiple nodes, according to certain traversal order, for example, from
It is left-to-right or from right to left etc., after the node of this layer is all traversed, continue to traverse next node layer.
S340, according to the type of the current traverse node, obtain additional standard corresponding with the current traverse node
Change code.
S350, existed according to the standardized codes for the upper node layer being connect with the current traverse node by connector
Position in the source code frame, will be in the corresponding addition source code frame of the additional standardized codes.
S360, judge whether to complete the processing to nodes whole in the question and answer flow chart: if so, executing S370;Otherwise
It returns and executes S330.
S370, will after the completion of processing the obtained source code frame as with the matched place of question and answer flow chart
Manage frame.
It should be noted that the embodiment of the present invention gives a kind of question and answer flow chart that basis has been completed generation
The method for handling frame, indeed, it is possible to generate the processing frame, this reality in question and answer flowcharting process real-time update
Example is applied to generation opportunity of the processing frame and without limitation.
S380, 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 make an addition in the processing frame with the associated position of graphic assembly
Place, to generate question and answer process module corresponding with the question and answer flow chart.
S390, by setting, transaction node is corresponding with a knowledge point in knowledge base.
S3100, the addition thematic knowledge point corresponding with each question and answer process module in knowledge base, the theme
Knowledge 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, described
Theme answer is used to establish the triggering relationship of the thematic knowledge point and the question and answer process module.
The technical solution of the embodiment of the present invention is by generating corresponding processing frame based on the question and answer flow chart completed
Mode, avoid during flowchart drawing generate processing frame when, the modification for the question and answer flow chart can correspond to more
The defect of the new processing frame, improves the formation efficiency of question and answer process module.
Example IV
The embodiment of the invention provides a kind of intelligent Answer System, the intelligent Answer System passes through as the present invention is any
The method that intelligent Answer System is generated described in embodiment generates.
The intelligent Answer System includes: question and answer process module corresponding with question and answer flow chart, in the question and answer flow chart
Including multiple graphic assemblies, the graphic assembly includes: at least one transaction node, the transaction node and execution setting class
The service interface of type service is associated;
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 intelligent Answer System, the theme
Answer is used to establish the triggering relationship of the thematic knowledge point and the question and answer process module.
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
Handle 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, make an addition in the processing frame with making by oneself at the associated position of graphic assembly
Adopted 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.
Further, the intelligent Answer 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:
Connected transaction node, the type of at least one incoming parameter, the type of at least one default parameters, and join with the missing
The rhetorical question content of several type matchings;
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.
The technical solution of the embodiment of the present invention gives a kind of based on the method intelligence generated for generating intelligent Answer System
It can question answering system.By the intelligent Answer System, question and answer process needed for convenience, effective triggering can be needed according to question and answer
Module has greatly enriched the knowledge vertex type stored in knowledge base.
Embodiment five
Fig. 4 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention five provides.Fig. 4, 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. 4 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 4, 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. 4 do not show, commonly referred to as " hard disk drive ").Although not shown in fig 4, may be used
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 although not shown in fig 4, other hardware and/or software module can be used in conjunction with computer equipment 12,
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 method that intelligent Answer System is generated provided by the embodiment of the present invention.
Namely: the processing unit is realized when executing described program: obtaining patterned one or more question and answer processes
Figure;
According to each graphic assembly for including in each question and answer flow chart, generate and the matched processing of question and answer flow chart
Frame, wherein the graphic assembly includes: at least one transaction node, and the transaction node and execution set type of service
Service interface is associated;
According to each graphic assembly in the question and answer flow chart is matched custom-configures information, generate with it is each
The corresponding custom code of the graphic assembly makes an addition in the processing frame and at the associated position of graphic assembly,
To generate question and answer process module corresponding with the question and answer flow chart;
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;
Addition thematic knowledge point corresponding with each question and answer process module, the thematic knowledge point in knowledge base
Including problem of subject and theme answer, the problem of subject is used to indicate the trigger condition of question and answer process module, and the theme is answered
Case is used to establish the triggering relationship of the thematic knowledge point and the question and answer process module.
Embodiment six
The embodiment of the present invention six provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
The method of the generation intelligent Answer 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: obtain patterned one or more question and answer flow charts;
According to each graphic assembly for including in each question and answer flow chart, generate and the matched processing of question and answer flow chart
Frame, wherein the graphic assembly includes: at least one transaction node, and the transaction node and execution set type of service
Service interface is associated;
According to each graphic assembly in the question and answer flow chart is matched custom-configures information, generate with it is each
The corresponding custom code of the graphic assembly makes an addition in the processing frame and at the associated position of graphic assembly,
To generate question and answer process module corresponding with the question and answer flow chart;
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;
Addition thematic knowledge point corresponding with each question and answer process module, the thematic knowledge point in knowledge base
Including problem of subject and theme answer, the problem of subject is used to indicate the trigger condition of question and answer process module, and the theme is answered
Case is used to establish the triggering relationship of the thematic knowledge point and the question and answer process module.
Embodiment seven
The device that one of embodiment of the present invention seven generates intelligent Answer System is shown in FIG. 5, comprising:
Question and answer flow chart obtains module 510, for obtaining patterned one or more question and answer flow charts;
Frame generation module 520 is handled, for according to each graphic assembly for including in each question and answer flow chart, life
At with the matched processing frame of question and answer flow chart, wherein the graphic assembly include: at least one transaction node, casting node
And the connector for connecting different nodes, the transaction node are associated with the setting service interface of type of service is executed;
Custom code adding module 530, for being matched according to each graphic assembly in the question and answer flow chart
Custom-configure information, generate custom code corresponding with each graphic assembly and make an addition to the processing frame
In at the associated position of graphic assembly, to generate corresponding with question and answer flow chart question and answer process module;Wherein, with institute
Stating the matched information that custom-configures of transaction node includes: service call corresponding with transaction node address, the service call
It is directed toward and the transaction node associated service interface address;
The information that custom-configures includes: casting content corresponding with first node;
The first node is connected with target transaction node by connector, and the first node is located at target friendship
The downstream of easy node, the first node include: casting node or other transaction nodes;
The casting content includes: the received trading processing result of the target transaction node, the target transaction
The combination of the received trading processing result of node and presupposed information or the target transaction node are received described
The combination of trading processing result and the dynamic variable for being input to the target 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;
Thematic knowledge point adding module 540, it is corresponding with each question and answer process module for being added in knowledge base
Thematic knowledge point, the thematic knowledge point include problem of subject and theme answer, and the problem of subject is for indicating question and answer process
The trigger condition of module, the theme answer is used to establish the thematic knowledge point and the triggering of the question and answer process module is closed
System.
On the basis of the various embodiments described above, further includes:
First corresponding relation building module, it is corresponding with a knowledge point in knowledge base for transaction node will to be set, 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.
It is described to custom-configure information on the basis of the various embodiments described above further include: corresponding with the first transaction node
Enter to join defined item;
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 first transaction node identify, it is described enter parameter
Match with the dynamic variable for being input to first transaction node;
Wherein, the Transaction Information include: it is described enter join title and it is described enter parameter.
On the basis of the various embodiments described above, the information that custom-configures includes: and the matched dynamic of the first connector
Condition configuration information;
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.
On the basis of the various embodiments described above, the graphic assembly further include: interaction node;
Described device further include: the second corresponding relation building module, for establishing each interaction node and knowledge base
The corresponding relationship of middle one or more knowledge point, knowledge point corresponding with the interaction node include: that interaction problems and interaction are answered
Case, the interaction problems with the customer interaction information received for being matched, and the interactive answer described in determination for asking
Answer next trend of process module.
On the basis of the various embodiments described above, the casting content is list-mode data.
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 (15)
1. a kind of method for generating intelligent Answer System characterized by comprising
Obtain patterned one or more question and answer flow charts;
According to each graphic assembly for including in each question and answer flow chart, generation and the matched processing frame of question and answer flow chart,
Wherein, the graphic assembly includes: at least one transaction node, broadcasts node and the connector for connecting different nodes,
The transaction node is associated with the setting service interface of type of service is executed;
According to each graphic assembly in the question and answer flow chart is matched custom-configures information, generate and each figure
The corresponding custom code of shape component makes an addition in the processing frame and at the associated position of graphic assembly, with generate with
The corresponding question and answer process module of the question and answer flow chart;Wherein, include: with the matched information that custom-configures of the transaction node
Service call corresponding with transaction node address, the service call address are directed toward and are connect with the associated service of the transaction node
Mouthful;
It is described to custom-configure information further include: casting content corresponding with first node;
The first node is connected with target transaction node by connector, and the first node is located at the target transaction node
Downstream, the first node includes: casting node or other transaction nodes;
The casting content includes: the received trading processing result of the target transaction node, the target transaction node
At the combination or the received transaction of the target transaction node of the received trading processing result and presupposed information
The combination of reason result and the dynamic variable for being input to the target transaction node;
When the transaction node in the question and answer process module is triggered, the transaction node is according to being input to own node
At least one dynamic variable construction Transaction Information be sent to corresponding service call address, and it is the service call address is anti-
The trading processing result of feedback is back to the question and answer process module, so that the question and answer process module is according to the trading processing knot
Fruit continues to execute;
The addition thematic knowledge point corresponding with each question and answer process module in knowledge base, the thematic knowledge point include leading
Topic problem and theme answer, the problem of subject are used to indicate the trigger condition of question and answer process module, and the theme answer is used for
Establish the triggering relationship of the thematic knowledge point and the question and answer process module.
2. the method according to claim 1, wherein further include:
Setting transaction node is corresponding with a knowledge point in knowledge base, and knowledge point corresponding with the transaction node includes:
Transaction issues and transaction answer, the transaction answer includes: connected transaction node, the type of at least one incoming parameter, at least
The type of one default parameters, 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 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.
3. according to the method described in claim 2, it is characterized in that, described custom-configure information further include: with the first transaction
Node is corresponding 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 to join the parameter name that the entitled associated service interface of first transaction node can identify, it is described enter parameter and input
Dynamic variable to first transaction node matches;
Wherein, the Transaction Information include: it is described enter join title and it is described enter parameter.
4. the method according to claim 1, wherein the information that custom-configures includes: and the first connector
Matched dynamic condition configuration information;
First connector is second for connecting association upper layer node and association lower level node, the association upper layer node
Transaction node;
Wherein, the dynamic condition configuration information is that the question and answer process module circulates from the association upper layer node to the pass
Join the condition of lower level node, the dynamic condition configuration information includes: to join defined item and condition setting value out, described to go out to join
Defined item corresponds at least one received trading processing of the transaction node as a result, the condition setting value is used to go out to join with described
The trading processing result in defined item carries out condition comparison.
5. method according to claim 1-3, which is characterized in that the graphic assembly further include: interaction node;
The method also includes: the corresponding relationship of one or more knowledge points in each interaction node and knowledge base is established,
Corresponding with interaction node knowledge point includes: interaction problems and interaction answer, and the interaction problems are used for and receive
Customer interaction information is matched, and the interactive answer is used to determine next trend of the question and answer process module.
6. the method according to claim 1, wherein the casting content is list-mode data.
7. a kind of device for generating intelligent Answer System characterized by comprising
Question and answer flow chart obtains module, for obtaining patterned one or more question and answer flow charts;
Frame generation module is handled, for according to each graphic assembly for including in each question and answer flow chart, generation and question and answer
The matched processing frame of flow chart, wherein the graphic assembly includes: at least one transaction node, casting node and is used for
The connector of different nodes is connected, the transaction node is associated with the setting service interface of type of service is executed;
Custom code adding module, for according to matched customized with each graphic assembly in the question and answer flow chart
Configuration information, generate custom code corresponding with each graphic assembly make an addition in the processing frame with graphical set
At the associated position of part, to generate question and answer process module corresponding with the question and answer flow chart;Wherein, with the transaction node
The information that custom-configures matched includes: service call corresponding with transaction node address, and the service call address is directed toward and institute
State the associated service interface of transaction node;
The information that custom-configures includes: casting content corresponding with first node;
The first node is connected with target transaction node by connector, and the first node is located at the target transaction node
Downstream, the first node includes: casting node or other transaction nodes;
The casting content includes: the received trading processing result of the target transaction node, the target transaction node
At the combination or the received transaction of the target transaction node of the received trading processing result and presupposed information
The combination of reason result and the dynamic variable for being input to the target transaction node;
When the transaction node in the question and answer process module is triggered, the transaction node is according to being input to own node
At least one dynamic variable construction Transaction Information be sent to corresponding service call address, and it is the service call address is anti-
The trading processing result of feedback is back to the question and answer process module, so that the question and answer process module is according to the trading processing knot
Fruit continues to execute;
Thematic knowledge point adding module, for the addition thematic knowledge corresponding with each question and answer process module in knowledge base
Point, the thematic knowledge point include problem of subject and theme answer, and the problem of subject is used to indicate the touching of question and answer process module
Clockwork spring part, the theme answer are used to establish the triggering relationship of the thematic knowledge point and the question and answer process module.
8. device according to claim 7, which is characterized in that further include:
First corresponding relation building module, it is corresponding with a knowledge point in knowledge base for that will set transaction node, and it is described
The corresponding knowledge point of transaction node includes: transaction issues and transaction answer, and the transaction answer includes: connected transaction node, until
The type of a few incoming parameter, the type of at least one default parameters, and it is anti-with the type matching of the default parameters
Ask 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.
9. device according to claim 8, which is characterized in that described to custom-configure information further include: with the first transaction
Node is corresponding 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 to join the parameter name that the entitled associated service interface of first transaction node can identify, it is described enter parameter and input
Dynamic variable to first transaction node matches;
Wherein, the Transaction Information include: it is described enter join title and it is described enter parameter.
10. device according to claim 7, which is characterized in that the information that custom-configures includes: and the first connector
Matched dynamic condition configuration information;
First connector is second for connecting association upper layer node and association lower level node, the association upper layer node
Transaction node;
Wherein, the dynamic condition configuration information is that the question and answer process module circulates from the association upper layer node to the pass
Join the condition of lower level node, the dynamic condition configuration information includes: to join defined item and condition setting value out, described to go out to join
Defined item corresponds at least one received trading processing of the transaction node as a result, the condition setting value is used to go out to join with described
The trading processing result in defined item carries out condition comparison.
11. according to the described in any item devices of claim 7-9, which is characterized in that the graphic assembly further include: interaction section
Point;
Described device further include: the second corresponding relation building module, for establishing one in each interaction node and knowledge base
The corresponding relationship of a or multiple knowledge points, knowledge point corresponding with the interaction node include: interaction problems and interaction answer, institute
Interaction problems are stated for being matched with the customer interaction information received, the interactive answer is for determining the question and answer process
Next trend of module.
12. device according to claim 7, which is characterized in that the casting content is list-mode data.
13. 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 method as claimed in any one of claims 1 to 6 for generating intelligent Answer System.
14. 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 method for example as claimed in any one of claims 1 to 6 for generating intelligent Answer System.
15. a kind of intelligent Answer System, which is characterized in that the intelligent Answer System passes through such as any one of claim 1-6 institute
The method for the generation intelligent Answer System stated generates.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711421595.8A CN109960490B (en) | 2017-12-25 | 2017-12-25 | Method, device, equipment, medium and question-answering system for generating intelligent question-answering system |
US16/106,680 US11341422B2 (en) | 2017-12-15 | 2018-08-21 | Multi-round questioning and answering methods, methods for generating a multi-round questioning and answering system, and methods for modifying the system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711421595.8A CN109960490B (en) | 2017-12-25 | 2017-12-25 | Method, device, equipment, medium and question-answering system for generating intelligent question-answering system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109960490A true CN109960490A (en) | 2019-07-02 |
CN109960490B CN109960490B (en) | 2024-01-02 |
Family
ID=67020983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711421595.8A Active CN109960490B (en) | 2017-12-15 | 2017-12-25 | Method, device, equipment, medium and question-answering system for generating intelligent question-answering system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109960490B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110753316A (en) * | 2019-09-26 | 2020-02-04 | 贝壳技术有限公司 | Information sending method and device, computer readable storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120084112A1 (en) * | 2010-09-24 | 2012-04-05 | International Business Machines Corporation | Providing community for customer questions |
WO2012122196A2 (en) * | 2011-03-08 | 2012-09-13 | International Business Machines Corporation | A decision-support application and system for medical differential-diagnosis and treatment using a question-answering system |
CN104112184A (en) * | 2014-07-01 | 2014-10-22 | 江苏科技大学 | Refined customer service knowledge base system and working method thereof |
CN106649825A (en) * | 2016-12-29 | 2017-05-10 | 上海智臻智能网络科技股份有限公司 | Voice interaction system, establishment method and device thereof |
-
2017
- 2017-12-25 CN CN201711421595.8A patent/CN109960490B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120084112A1 (en) * | 2010-09-24 | 2012-04-05 | International Business Machines Corporation | Providing community for customer questions |
WO2012122196A2 (en) * | 2011-03-08 | 2012-09-13 | International Business Machines Corporation | A decision-support application and system for medical differential-diagnosis and treatment using a question-answering system |
CN104112184A (en) * | 2014-07-01 | 2014-10-22 | 江苏科技大学 | Refined customer service knowledge base system and working method thereof |
CN106649825A (en) * | 2016-12-29 | 2017-05-10 | 上海智臻智能网络科技股份有限公司 | Voice interaction system, establishment method and device thereof |
Non-Patent Citations (2)
Title |
---|
曾承;陈桂生;杜钢;林晨;: "按需智能问答系统Uniponse", 计算机科学, no. 01 * |
龙新征;欧阳荣彬;彭一明;: "高校移动智能问答系统设计与实现", 中国教育网络, no. 1 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110753316A (en) * | 2019-09-26 | 2020-02-04 | 贝壳技术有限公司 | Information sending method and device, computer readable storage medium and electronic equipment |
CN110753316B (en) * | 2019-09-26 | 2022-04-26 | 贝壳技术有限公司 | Information sending method and device, computer readable storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109960490B (en) | 2024-01-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107977236A (en) | Generation method, terminal device, storage medium and the question answering system of question answering system | |
JP6969653B2 (en) | Electronic conference system | |
CN108090177A (en) | The generation methods of more wheel question answering systems, equipment, medium and take turns question answering system more | |
US20220294836A1 (en) | Systems for information sharing and methods of use, discussion and collaboration system and methods of use | |
CN108877791A (en) | Voice interactive method, device, server, terminal and medium based on view | |
CN110019723A (en) | Answering method, terminal device and storage medium based on question answering system | |
CN104777911B (en) | A kind of intelligent interactive method based on holographic technique | |
CN110019731A (en) | Intelligent interactive method, device, terminal device and storage medium | |
CN110796712A (en) | Material processing method, device, electronic equipment and storage medium | |
CN110019716B (en) | Multi-turn question and answer method, terminal equipment and storage medium | |
CN110708358B (en) | Session message processing method, electronic device and computer-readable storage medium | |
CN109634764A (en) | Work-flow control method, apparatus, equipment, storage medium and system | |
CN109408834A (en) | Auxiliary machinery interpretation method, device, equipment and storage medium | |
CN115345126A (en) | Contextual real-time content highlighting on shared screens | |
US11558440B1 (en) | Simulate live video presentation in a recorded video | |
CN109960490A (en) | Generate method, apparatus, equipment, medium and the question answering system of intelligent Answer System | |
CN109902182A (en) | Knowledge data processing method, device, equipment and storage medium | |
CN109960489A (en) | Generate method, apparatus, equipment, medium and the question answering system of intelligent Answer System | |
CN116489149A (en) | Cloud edge end collaborative mixed reality collaborative environment construction method for industrial application | |
CN115810062A (en) | Scene graph generation method, device and equipment | |
CN110019727A (en) | Intelligent interactive method, device, terminal device and storage medium | |
JP7193595B2 (en) | INFORMATION SHARING SUPPORT DEVICE, INFORMATION SHARING SUPPORT METHOD, AND PROGRAM | |
CN112487170B (en) | Man-machine interaction dialogue robot system facing scene configuration | |
CN113961680A (en) | Human-computer interaction based session processing method and device, medium and electronic equipment | |
CN110019721A (en) | Modify method, terminal device and the storage medium of question answering system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |