CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to CN Patent Application No. 201711346210.6, filed on Dec. 15, 2017, CN Patent Application No. 201711346197.4, filed on Dec. 15, 2017, CN Patent Application No. 201711346376.8, filed on Dec. 15, 2017, CN Patent Application No. 201711346369.8, filed on Dec. 15, 2017, CN Patent Application No. 201711346539.2, filed on Dec. 15, 2017, CN Patent Application No. 201711346368.3, filed on Dec. 15, 2017, CN Patent Application No. 201711419805.X, filed on Dec. 25, 2017, CN Patent Application No. 201711421595.8, filed on Dec. 25, 2017, CN Patent Application No. 201711421670.0, filed on Dec. 25, 2017 and CN Patent Application No. 201711419779.0, filed on Dec. 25, 2017. All of the aforementioned applications are hereby incorporated by reference in their entireties.

TECHNICAL FIELD

The present invention relates to the technical field of intelligent questioning and answering, and in particular to a multi-round questioning and answering method, a method for generating a multi-round questioning and answering system and a method for modifying a multi-round questioning and answering system.

BACKGROUND

The human-machine interaction is a science that studies an interactive relationship between systems and users. The systems may be various machines, or may be computerized systems and software. For example, various artificial intelligence (AI) systems (intelligent customer-service systems, voice control systems, etc.) can be realized by the human-machine interaction. AI semantic recognition is the basis of the human-machine interaction. By the AI semantic recognition, a human language can be recognized and converted into a machine-understandable language.

Intelligent questioning and answering systems are one typical application of the human-machine interaction. When a user raises a question, the intelligent questioning and answering system provides an answer to this question. As one of very important intelligent questioning and answering systems, a multi-round questioning and answering system often needs to perform multiple rounds of questioning and answering interaction with the user. Meanwhile, feedback information to be provided to the user in the next round of questioning and answering is determined according to the interaction content input by the user in a certain round of questioning and answering. Correspondingly, one multi-round questioning and answering system usually corresponds to one multi-round questioning and answering flow. From a root node in a multi-round questioning and answering flow, a next proceeding trend for the whole multi-round questioning and answering flow is continuously determined according to user interaction information received on multiple interaction nodes (decision nodes) until the arrival of the final node as expected. Then, the whole multi-round questioning and answering flow is completed.

With the continuous improvement of technology, people's demands for the multi-round questioning and answering systems and requirements on questioning and answering in the multi-round systems are increased. Existing multi-round questioning and answering technologies already cannot satisfy people's increasing questioning and answering demands for personalization and facilitation.

SUMMARY

In view of this, embodiments of the present invention are aimed at providing a multi-round questioning and answering method, a method for generating a multi-round questioning and answering system and a method for modifying a multi-round questioning and answering system, in order to optimize the existing multi-round questioning and answering methods based on multi-round questioning and answering systems and improve the efficiency and accuracy of the multiple rounds of questioning and answering interaction.

According to one aspect of the present invention, an embodiment of the present invention provides a multi-round questioning and answering method, applied to a multi-round questioning and answering system, including steps of: acquiring initial request information input by an interactive user, and matching the initial request information with a knowledge point in a knowledge base, wherein the knowledge base includes multiple knowledge points and each knowledge point includes a question and an answer; if it is determined that the initial request information input by the interactive user matches with a thematic question in a thematic knowledge point, triggering, according to a thematic answer in the thematic knowledge point, a root node of a multi-round questioning and answering flow module corresponding to the thematic knowledge point, the multi-round questioning and answering flow module comprising multiple layers of interaction nodes; and, performing questioning and answering interaction with the interactive user according to a first interaction node to which the multi-round questioning and answering flow module is proceeded currently, one or more knowledge points corresponding to the first interaction node stored in the knowledge base and user interaction information input for the first interaction node by the interactive user.

According another aspect of the present invention, an embodiment of the present invention provides a method for generating a multi-round questioning and answering system which executes the multi-round questioning and answering method described above, including steps of: acquiring one or more graphic multi-round questioning and answering flowcharts; generating, according to graphic components contained in each of the multi-round questioning and answering flowcharts, a standardized code framework matching with the multi-round questioning and answering flowchart, wherein each of the graphic components includes multiple interaction nodes; generating, according to custom configuration information matching with the graphic components in the multi-round questioning and answering flowcharts, custom codes corresponding to the graphic components, and adding the custom codes at positions associated with the graphic components in the standardized code frameworks to generate multi-round questioning and answering flow modules corresponding to the multi-round questioning and answering flowcharts; establishing a correspondence between each of the interaction nodes and one or more knowledge points in a knowledge base, a knowledge point corresponding to the interaction node including an interaction question used for being compared with the received user interaction information and an interaction answer used for determining a next proceeding trend for the multi-round questioning and answering flow modules; and, adding, in the knowledge base, a thematic knowledge point corresponding to each of the multi-round questioning and answering flow modules, the thematic knowledge point including a thematic question used for representing a trigger condition for the multi-round questioning and answering flow module and a thematic answer used for establishing a trigger relationship between the thematic knowledge point and the multi-round questioning and answering flow module.

According to another aspect of the present invention, an embodiment of the present invention provides a method for modifying a multi-round questioning and answering system, the multi-round questioning and answering system to be modified executing the multi-round questioning and answering method described above, including steps of: acquiring modification information for set system components in the multi-round questioning and answering system, wherein the modification information includes any one or any combination of the following: modifying a thematic knowledge point corresponding to the multi-round questioning and answering system, modifying a multi-round questioning and answering flow module corresponding to the multi-round questioning and answering system, and modifying knowledge points corresponding to a set interaction node in the multi-round questioning and answering flow module; and, correspondingly updating the multi-round questioning and answering system according to the modification information.

In the multi-round questioning and answering method applied to a multi-round questioning and answering system in the embodiments of the present invention, by acquiring initial request information and matching the initial request information with a knowledge point in a knowledge base, triggering a root node of a multi-round questioning and answering flow module corresponding to a thematic knowledge point if it is determined that the initial request information matches with a thematic question in the thematic knowledge point, and performing questioning and answering interaction with the interactive user according to a first interaction node to which the multi-round questioning and answering flow module is proceeded currently, one or more knowledge points corresponding to the first interaction node stored in the knowledge base and user interaction information input for the first interaction node by an interactive user, specific implementations of performing multiple rounds of questioning and answering interaction with a user based on the multi-round questioning and answering system are provided. Interactive users' demands for multiple rounds of questioning and answering interaction are greatly satisfied, and the efficiency and accuracy of the multiple rounds of questioning and answering interaction are improved.

