Multi-system based intelligent question answering method, device and equipment

The multi-system approach in intelligent question answering methods addresses the limitations of conventional FAQ systems by prioritizing and sequentially employing multiple analysis systems to provide accurate and diverse answers to user queries.

JP7548967B2Active Publication Date: 2024-09-10BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2022131721
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-03-02
Filing Date
2022-08-22
Publication Date
2024-09-10
Estimated Expiration
2042-08-22

AI Technical Summary

Technical Problem

Conventional FAQ systems are limited in their ability to provide answers to user queries that are not pre-defined, failing to meet the diverse range of user demands.

Method used

A multi-system based intelligent question answering method that involves determining the question type, invoking multiple problem analysis systems based on a query engine, and processing the query through a prioritized sequence of systems to provide accurate answers.

Benefits of technology

Enhances the ability of question answering systems to meet a wide range of user queries by leveraging multiple analysis systems, improving accuracy and efficiency in answering user questions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007548967000003
    Figure 0007548967000003
  • Figure 0007548967000004
    Figure 0007548967000004
  • Figure 0007548967000010
    Figure 0007548967000010
Patent Text Reader

Abstract

To provide an intelligent question response method based on a multi-system, a device, and an apparatus related to a field of artificial intelligence, particularly, a field of knowledge graphs.SOLUTION: A method includes the steps of: responding to a question and answer instruction from a user, wherein the question and answer instruction is to indicate question information and determine a question type of the question information; determining a query engine corresponding to the question type and calling a plurality of question analysis systems corresponding to the query engine based on the query engine; and in a process of adopting the plurality of question analysis systems in order and processing the question information according to the system priority of the question analysis systems, when determining answer information corresponding to the question information according to the current question analysis system, sending feedback to the user with the answer information.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to knowledge graphs in artificial intelligence, and in particular to a multi-system based intelligent question answering method, apparatus and device. [Background technology]

[0002] With the development of intelligent and natural language technologies, it has become possible to provide users with intelligent question answering: the user provides a voice or text question, and the intelligent system provides the user with the answer.

[0003] 2. Description of the Related Art Conventionally, a frequently-asked questions (FAQ) system is used to process problem information input by a user and output answers to the user.

[0004] However, in the above method, questions and corresponding answers are preset in the FAQ system, and the answer is determined by directly searching for the answer corresponding to the question. However, if the answer is not preset in the FAQ system, it is not possible to inquire about the answer corresponding to the problem information input by the user, and it is not possible to meet a wide range of answer needs. Summary of the Invention [Problem to be solved by the invention]

[0005] The present disclosure provides a multi-system based intelligent question answering method, apparatus and device. [Means for solving the problem]

[0006] According to a first aspect, the present disclosure provides a multi-system based intelligent question answering method, the method comprising: responding to a user's question and answer instructions, the question and answer instructions being for indicating problem information and for determining a problem type of the problem information; determining a query engine corresponding to the problem type, and invoking a plurality of problem analysis systems corresponding to the query engine based on the query engine; In the process of processing the problem information by sequentially employing the multiple problem analysis systems according to the system priority of the problem analysis systems, when answer information corresponding to the problem information is determined according to the current problem analysis system, the process includes a step of feeding back the answer information to a user.

[0007] According to a second aspect, the present disclosure provides an intelligent question answering apparatus based on a multi-system, the apparatus comprising: a first determination unit for responding to a user's question and answer instruction, the question and answer instruction indicating question information, and for determining a question type of the question information; an invocation unit for determining a query engine corresponding to the problem type and invoking a plurality of problem analysis systems corresponding to the query engine based on the query engine; In the process of sequentially employing the multiple problem analysis systems to process the problem information according to a system priority of the problem analysis systems, when answer information corresponding to the problem information is determined according to a current problem analysis system, a second determination unit is included for feeding back the answer information to a user.

[0008] According to a third aspect, the present disclosure provides an electronic device, At least one processor; a memory communicatively connected to the at least one processor; The memory has stored therein instructions executable by the at least one processor, the instructions, when executed by the at least one processor, enabling the at least one processor to perform the method of the first aspect.

[0009] According to a fourth aspect, the present disclosure provides a non-transitory computer-readable storage medium having stored thereon computer instructions for causing a computer to perform a method according to the first aspect.

[0010] According to a fifth aspect, the present disclosure provides a computer program, the computer program being stored in a readable storage medium, at least one processor of an electronic device being capable of reading the computer program from the readable storage medium, and when the at least one processor executes the computer program, the electronic device performs the method of the first aspect. Effect of the Invention

[0011] The technology disclosed herein solves the problem that current FAQ systems are unable to meet the wide range of answer needs of users.

[0012] However, the contents described in this section are not intended to identify key or important features of the embodiments of the present disclosure, and are not intended to limit the scope of the present disclosure. Other features of the present disclosure will be readily understood through the following detailed description. [Brief description of the drawings]

[0013] The drawings are used for a better understanding of the present solution and are not intended to limit the present application. [Figure 1] FIG. 1 is a schematic diagram according to a first embodiment of the present disclosure. [Diagram 2] FIG. 1 is a schematic diagram according to a first embodiment of the present disclosure. [Diagram 3] FIG. 2 is a schematic diagram according to a second embodiment of the present disclosure. [Figure 4]FIG. 11 is a schematic diagram according to a third embodiment of the present disclosure. [Diagram 5] FIG. 11 is a schematic diagram according to a fourth embodiment of the present disclosure. [Figure 6] FIG. 13 is a schematic diagram according to a fifth embodiment of the present disclosure. [Figure 7] FIG. 13 is a schematic diagram according to a sixth embodiment of the present disclosure. [Figure 8] FIG. 13 is a schematic diagram according to a seventh embodiment of the present disclosure. [Figure 9] FIG. 13 is a schematic diagram according to an eighth embodiment of the present disclosure. [Figure 10] FIG. 13 is a schematic diagram according to a ninth embodiment of the present disclosure. [Figure 11] FIG. 2 is a block diagram of an electronic device for implementing the multi-system based intelligent question answering method of an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, exemplary embodiments of the present disclosure will be described with reference to the drawings, and in order to facilitate understanding, various details of the embodiments of the present disclosure are included therein, which should be regarded as merely illustrative. Therefore, those skilled in the art can make various changes and modifications to the embodiments described in the detailed description without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, the following description will omit the description of well-known functions and structures.

[0015] The present disclosure provides a multi-system based intelligent question answering method, device and equipment applied to the field of knowledge graphs in the field of artificial intelligence, solving the problem that current FAQ systems cannot meet users' wide range of answering needs.

[0016] In the present disclosure, FIG. 1 is a schematic diagram according to a first embodiment of the present disclosure, which includes multiple problem analysis systems, and after obtaining a user's question and answer instructions in the decision application layer 101, classifying the user's question and answer instructions in the decision application layer 101, determining problem information indicated by the user's question and answer instructions, and determining a final problem type according to the problem information, the problem type is in the query engine layer 102, and after determining the problem type in the query engine layer 102, the problem analysis system determines the type in the core service layer 103, and the problem analysis system obtains data information from various databases in the basic data layer 104, and the data types in the basic data layer 104 include knowledge graph, SQL / table, rule-based, document-based, FAQ-based and terminology-based.

[0017] FIG. 2 is a schematic diagram according to a first embodiment of the present disclosure, in which the present disclosure provides an intelligent question answering method based on multi-systems, the method including the following steps:

[0018] In S201, in response to a question and answer command from a user, the question and answer command is for designating question information and determining a question type of the question information.

[0019] In one example, the user's question and answer command is a query command message sent by the user in the enterprise document, and the query command message may be in text format or voice format. In addition, the enterprise document may include content such as photos, directories, titles, tables, formulas, etc., and the content included in the enterprise document is long in length and has many types. Therefore, after analyzing the question type of the question information indicated by the question and answer command according to the user's question and answer command, the enterprise document queries the user's question and answer command according to the question type. The question type is for distinguishing the type of the user's question and answer command. In this way, there is an advantage that the data required for the question type can be queried according to the question type, thereby improving the query efficiency.

[0020] In S202, a query engine corresponding to the problem type is determined, and a plurality of problem analysis systems corresponding to the query engine are invoked based on the query engine.

[0021] In one example, the query engine provides a comprehensive information service to the user according to a preset algorithm, and the preset algorithm includes a web crawler algorithm, a search sorting algorithm, a web page processing algorithm, a big data processing algorithm, and a natural language processing algorithm. In this embodiment, the content of the problem analysis system determined by different query engines is different, for example, the query engine may include a number type engine, a short text type engine, a long text type engine, a generalized demand type engine, and a judgment type engine. In this way, the algorithms adopted by different engines are different, which has the advantage of improving the query efficiency.

[0022] In S203, in the process of processing problem information by sequentially employing a plurality of problem analysis systems according to the system priority of the problem analysis systems, when answer information corresponding to the problem information is determined according to the current problem analysis system, the answer information is fed back to the user.

[0023] In this embodiment, after obtaining the order of system priorities of the problem analysis systems, if the priority of the current problem analysis system is the first priority, the problem information is processed according to the current problem analysis system, the answer information corresponding to the problem information is obtained according to the current problem analysis system, and the answer information is fed back to the user; if the answer information obtained by the first priority problem analysis system is empty, the problem information is processed using the second priority problem analysis system, the answer information corresponding to the problem information is obtained according to the second priority problem analysis system, and the answer information is fed back to the user; if the answer information obtained by the second priority problem analysis system is also empty, the problem information is processed using the third priority problem analysis system until the answer information is obtained. Furthermore, in the process in which different problem analysis systems process the same problem information, the answer information determined by the problem analysis system with a higher priority is more accurate than the answer information determined by the problem analysis system with a lower priority.

[0024] The present disclosure provides an intelligent question answering method based on multi-systems, in which the question answering command indicates problem information by responding to a user's question and answer command, for determining the problem type of the problem information, determining a query engine corresponding to the problem type, invoking multiple problem analysis systems corresponding to the query engine according to the query engine, and in the process of processing the problem information by sequentially employing the multiple problem analysis systems according to the system priority of the problem analysis system, when determining answer information corresponding to the problem information according to the current problem analysis system, feeding back the answer information to the user. By adopting this solution, the problem that the current FAQ system cannot meet the wide range of answer needs of users can be solved.

[0025] FIG. 3 is a schematic diagram according to a second embodiment of the present disclosure, in which the present disclosure provides an intelligent question answering method based on multi-systems, the method including the following steps:

[0026] In S301, respond to a user's question and answer command, the question and answer command is for indicating problem information and extracting main information of the problem information, where the main information includes entity words and / or mood words.

[0027] In one example, the problem information includes multiple primary pieces of information, and different primary pieces of information indicate different meanings, and further, the primary pieces of information include entity words and mood words, or the primary pieces of information include entity words or mood words, and the entity words include place names, person names, or attributes, while the mood words include conjunctions such as ka, o, or to.

[0028] In this embodiment, the semantic content indicated by the problem information can be analyzed by extracting the main information of the problem information. For example, if the problem information is "How tall is A?", the main information of the problem information is the entity word "A", the mood word "of", the entity word "height", the mood word "is" and the mood word "how much".

[0029] In S302, a question type of the question information is determined according to a preset correspondence between main information and question type, and the question type is any one of a number type, a short text type, a long text type, a generalization demand type, and a judgment type.

[0030] In one example, there is a correspondence between the preset primary information and the question type, for example, the preset primary information may be a number type of question corresponding to "how much", the preset primary information may be a judgment type of question corresponding to "is...", etc. After obtaining the primary information, the question type to which the relevant question information belongs is determined according to the correspondence between the preset primary information and the question type.

[0031] In S303, a query engine corresponding to the problem type is determined according to a preset mapping relationship between the problem type and the query engine, and multiple problem analysis systems corresponding to the query engine are invoked based on the query engine.

[0032] In one example, there is a mapping relationship between the preset problem types and the query engines, and the query engines used for different problem types are different, and the algorithms used for different query engines are different, so that when the determined query engines are different, the algorithms used for the invoked problem analysis systems are different, and the types of data analyzed by the invoked problem analysis systems are different, but the priorities of the problem analysis systems invoked by different query engines are the same.

[0033] Further, the plurality of problem analysis systems includes a knowledge graph system, a reasoning question and answer system, a document question and answer system, and a frequently asked questions (FAQ) question and answer system.

[0034] The knowledge graph system is for indicating answer information corresponding to entities of problem information.

[0035] The inference question and answer system is for indicating an inference template corresponding to problem information, and the inference template is for determining answer information, and the inference template includes a plurality of entry points having an order relationship, and the entry points have word characteristics.

[0036] The document question and answer system is for indicating a paragraph corresponding to the question information, and the paragraph is for determining the answer information.

[0037] The FAQ question and answer system is for indicating other questions related to problem information, and for the other questions and the problem information to determine answer information.

[0038] In this embodiment, the knowledge graph system is a system composed of a series of different graphs that display knowledge development processes and structural relationships, knowledge resources and their carriers are illustrated using visualization techniques, and knowledge and the interrelationships between them can be mined, analyzed, constructed, depicted and displayed. The knowledge graph system receives problem information from the knowledge base of the knowledge graph, and can automatically query, calculate, reason and find answers in the knowledge graph base by performing semantic understanding and analysis on the problem information.

[0039] An inference question and answer system is a system that obtains answers by making inquiries and performing calculations according to specific inference rules, and the inference rules may be simple answer calculation logic.

[0040] A document question and answer system is a question and answer system oriented towards a document knowledge base, and its core technology is machine reading comprehension, which is a system in which a machine reads a text and answers questions related to the content it has read, thereby giving the computer the ability to obtain knowledge from the text data and answer the questions.

[0041] The frequently-asked questions (FAQ) question and answer system provides some possible frequently asked question and answer pairs in advance and publishes the frequently asked question and answer pairs. In this way, it is advantageous that multiple problem analysis systems are used in combination, and the advantages of each problem analysis system are fully utilized.

[0042] Additionally, the system priority may be preset, the system priority may be identified by a user, or the system priority may characterize the amount of data contained in the problem analysis system.

[0043] In this embodiment, the system priority may be preset, for example, the system priority is, from high to low, a frequently asked questions (FAQ) question and answer system, a knowledge graph system, an inference question and answer system, and a document question and answer system. The system priority may be confirmed by a user, in which case the set system priority can be set according to the user's preference, for example, if the user needs to give a higher priority to the knowledge graph system than the document question and answer system, the user sets the priority order of the knowledge graph system. This has the advantage that it can be applied to various application scenarios, and the recommended answer information is therefore highly accurate.

[0044] Furthermore, the system priority may be based on the amount of data included in the problem analysis system, with a problem analysis system with a large amount of data having a high priority and a problem analysis system with a small amount of data having a low priority. For example, if the amount of data in the document question-and-answer system is greater than the amount of data in the FAQ question-and-answer system, the system priority of the document question-and-answer system is set to a higher priority than the system priority of the FAQ question-and-answer system.

[0045] In S304, in the process of processing problem information by sequentially employing multiple problem analysis systems according to the system priority of the problem analysis systems, if answer information corresponding to the problem information is determined according to the current problem analysis system, the answer information is fed back to the user.

[0046] Illustratively, this step can refer to step S203, and will not be described again here.

[0047] The present disclosure provides an intelligent question answering method based on multi-systems, in which the question answering command indicates problem information by responding to a user's question and answer command, for extracting key information of the problem information, the key information including entity words and / or mood words, determining a problem type of the problem information according to a preset correspondence relationship between the key information and the problem type, determining a query engine corresponding to the problem type according to a preset mapping relationship between the problem type and the query engine, invoking multiple problem analysis systems corresponding to the query engine according to the query engine, and in the process of sequentially employing the multiple problem analysis systems to process the problem information according to the system priority of the problem analysis system, when determining answer information corresponding to the problem information according to the current problem analysis system, feeding back the answer information to the user. The adoption of this solution can improve the overall recall rate of the answer information and solve the semantic and generalization problems of the problem information.

[0048] FIG. 4 is a schematic diagram according to a third embodiment of the present disclosure, in which the present disclosure provides an intelligent question answering method based on a multi-system, specifically, based on the above embodiment, a method for determining answer information corresponding to problem information according to a current problem analysis system, the method including the following steps:

[0049] In S401, a question and answer command from a user is responded to, the question and answer command is for designating question information and determining a question type of the question information.

[0050] Illustratively, this step can refer to step S201, which will not be described again here.

[0051] In S402, a query engine corresponding to the problem type is determined, and a plurality of problem analysis systems corresponding to the query engine are invoked based on the query engine.

[0052] Illustratively, this step can refer to step S202, which will not be described again here.

[0053] In S403, in the process of sequentially employing multiple problem analysis systems to process problem information according to the system priority of the problem analysis systems, if the current problem analysis system is a document question and answer system, determine answer information corresponding to the problem information according to the current problem analysis system.

[0054] In one example, when the current problem analysis system is a document question and answer system, the step of determining answer information corresponding to the problem information according to the current problem analysis system includes: Performing similarity matching on the problem information according to a first database of the document question answering system to obtain an optimal paragraph corresponding to the problem information, where the first database includes a plurality of documents, and each document has a plurality of paragraphs; and performing character number reduction processing on the optimal paragraph according to the first extended representation ERNIE model based on knowledge accumulation, to obtain answer information corresponding to the question information.

[0055] In this embodiment, the first database includes a document base and a term base. If it is determined that the current problem analysis system is a document question and answer system, the similar contents of the problem information in the first database may be determined, and the paragraph with the highest similarity may be determined as the corresponding optimal paragraph by performing similarity matching on the problem information. For example, there are various document types in the first database, which may be news-type document content, question and answer search-type document content, and literature-type document content. In the news-type document content, question and answer search-type document content, and literature-type document content, the optimal paragraph of the high similarity document is determined by performing similarity matching on the problem information, and the ERNIE (enhanced representation through knowledge integration) model is used to delete meaningless words from the optimal paragraph, for example, deleting "is...", "is", and "of" in the optimal paragraph to obtain simplified answer information.

[0056] Furthermore, the ERNIE model is trained using preset question information and simplified answer information corresponding to the question information, so that after inputting question information into the ERNIE model, the optimal number of characters in a paragraph can be simplified using the ERNIE model. In this way, adding the ERNIE model to a document Q&A system has the advantage of increasing the accuracy of the final answer information.

[0057] In one example, the step of performing similarity matching on the problem information according to a first database of the document question and answer system to obtain an optimal paragraph corresponding to the problem information includes: performing similarity matching on the problem information according to a first database of the document question and answer system to obtain a plurality of candidate paragraphs similar to the problem information; and obtaining core element information corresponding to the problem information; The method includes a step of calculating a similarity between the core element information and the candidate paragraphs, and determining the candidate paragraph having the highest similarity as the optimal paragraph corresponding to the problem information.

[0058] In this embodiment, the core element information includes one or more of user location information, user attribute information, and information on the terminal device used by the user. In this way, there is an advantage that the accuracy of the candidate paragraph similarity can be improved by increasing the content of the core element information.

[0059] In one example, in the first database, a plurality of candidate paragraphs similar to the problem information are determined, and after the plurality of candidate paragraphs are determined, core element information of the problem information is obtained, and the core element information may be user location information, user attribute information, and information of the terminal device used by the user. The user attribute information may be information that can describe the characteristics of the user himself, such as the user's name, the user's height, the user's age, and the user's preferences.

[0060] In this embodiment, a similarity calculation is performed between the core element information and a plurality of candidate paragraphs to determine the most similar candidate paragraph, and the most similar candidate paragraph is set as the optimal paragraph. In this way, the core element information and the plurality of candidate paragraphs can be used to quickly determine the optimal paragraph corresponding to the problem information, which has the advantage of improving the accuracy of the optimal paragraph.

[0061] In S404, in the process of sequentially employing multiple problem analysis systems to process problem information according to the system priority of the problem analysis systems, if the current problem analysis system is an FAQ question and answer system, answer information corresponding to the problem information is determined according to the current problem analysis system.

[0062] In one example, when the current problem analysis system is a FAQ question and answer system, the step of determining answer information corresponding to the problem information according to the current problem analysis system includes: performing similarity matching on the problem information according to a second database of the FAQ question and answer system to obtain a plurality of problem texts similar to the problem information, where the second database includes a plurality of problem texts; determining answer information corresponding to the question information according to the question information and a plurality of question texts similar to the question information.

[0063] In one example, the second database includes an FAQ base and a terminology base, and the second database determines a plurality of problem texts similar to the problem information, and then determines answer information corresponding to the problem information according to both the problem information and the plurality of problem texts. For example, if the problem information is "How old is A?", the second database can perform similarity matching on the problem information, and can obtain a plurality of problem texts such as "What is A's date of birth?" and "How old is A this year?", and then determine the corresponding answer information according to both the obtained problem information and the plurality of problem texts. In this way, there is an advantage that the generalization ability of the problem information can be improved, and the fed-back answer information can be made more accurate.

[0064] In one example, the step of determining answer information corresponding to the question information according to the question information and a plurality of question texts similar to the question information includes: determining the question information and a plurality of question texts similar to the question information as candidate questions in the question set, the candidate questions having feature information; inputting feature information of the candidate problems in the problem set into a pre-configured neural network model to obtain optimal candidate problems; and determining answer information corresponding to the optimal candidate question as answer information corresponding to the question information according to a preset correspondence relationship between the candidate questions and the answer information.

[0065] In this embodiment, the question information and a plurality of question texts are determined as candidate questions in the question set, and the candidate questions have the same feature information. For example, the candidate questions include "How old is A?", "What is A's date of birth?", and "How old is A this year?". Since the feature information of the candidate questions is age, the acquired feature information of age is input into the neural network model to determine the optimal candidate question, and then the answer information is determined according to the correspondence between the optimal candidate question and the answer information, and the answer information is set as the answer information corresponding to the question information. For example, if the optimal candidate question is "How old is A this year?" and the obtained answer information is 27, 27 is set as the answer information of the question information "How old is A?". In this way, after the optimal candidate question is determined, the answer information corresponding to the optimal candidate question is directly set as the final answer information, which has the advantage of saving the time required to determine the answer information.

[0066] In one example, the process of generating the plurality of question texts of the second database includes: A process of obtaining an original document, performing a segmentation process on the original document to obtain a plurality of short texts, and performing a block process on the short texts according to a second ERNIE model to generate a question text in a second database; or a process of obtaining an original document, determining a title of the original document, and determining the title as a problem text in a second database; Or, it is a process of obtaining an original document, performing a content structure analysis process on the original document to obtain short snippets with question characteristics, inputting the short snippets and original paragraphs in the original documents of the short snippets into a pre-set model to obtain question texts in a second database, and the short snippets are answer information corresponding to the obtained question texts.

[0067] In this embodiment, the original document may be document data that exists in various forms, and after obtaining the original document, a segmentation process is performed on the original document, which may be a process of segmenting the original document according to semantic relationships, for example, in the original document, documents showing the same semantics are segmented to obtain multiple short texts, and multiple question texts are obtained by performing block processing on some of the words in the short texts according to the second ERNIE model. In this process, the technologies applied include paragraph recognition technology, answer paragraph recognition technology, question and answer paragraph matching technology, and noise reduction technology.

[0068] In this embodiment, after obtaining the original document, the title or subtitle of the original document is extracted, and the format of the title or subtitle is changed to the format of a question, or the title is spliced ​​into the question text.

[0069] In this embodiment, after obtaining the original document, the text content of the original document can be analyzed, specifically, the content structure analysis process can be performed, the conjunctions of the original document can be extracted, and the short snippets with question characteristics can be obtained. Then, the short snippets and the original paragraphs with the short snippets can be input into the neural network model to determine the question text of the second database. In this way, the question text of the second database can be provided as much as possible, which has the advantage that the question information can be queried later.

[0070] In S405, in the process of sequentially employing multiple problem analysis systems to process problem information according to the system priority of the problem analysis systems, if the current problem analysis system is a knowledge graph system, then determine answer information corresponding to the problem information according to the current problem analysis system.

[0071] In one example, when the current problem analysis system is a knowledge graph system, the step of determining answer information corresponding to the problem information according to the current problem analysis system includes: Extracting entities of problem information; The method includes a step of recognizing entities of problem information and obtaining answer information corresponding to the problem information according to a knowledge graph and a third ERNIE model preset in the knowledge graph system, wherein the preset knowledge graph includes a plurality of entities, there are connection relationships between the entities of the preset knowledge graph, and the third ERNIE model is for processing the entities of the problem information.

[0072] In one example, after extracting the entity of the question information, the knowledge graph preset in the knowledge graph system and the third ERNIE model are used to determine the entity in the preset knowledge graph, and then the answer information related to the entity is determined, and the entity is recognized by the third ERNIE model. In this way, the use of the ERNIE model has the advantage of improving the accuracy of the entity determination by the knowledge graph system.

[0073] In one example, the step of recognizing an entity of the problem information and obtaining answer information corresponding to the problem information according to a knowledge graph and a third ERNIE model preset in the knowledge graph system includes: performing block processing on the entities of the problem information according to a third ERNIE model to obtain a number of related entities; inputting the problem information entities and the obtained related entities into a pre-defined knowledge graph to obtain a number of initial answers; and a third step of performing a marking process on the initial answers according to the ERNIE model to obtain answer information corresponding to the question information.

[0074] In this embodiment, a block process is performed on the entity recognized from the question information, and a number of associated entities related to the entity are determined, and then the entity and the associated entities of the question information are input into a pre-defined knowledge graph to determine a number of initial answers, and then a scoring process is performed on the initial answers according to the third ERNIE model to obtain answer information corresponding to the question information. This has the advantage of improving the accuracy of the determined answer information.

[0075] In one example, when the current problem analysis system is a knowledge graph system, the step of determining answer information corresponding to the problem information according to the current problem analysis system includes: Extracting keywords from the problem information, the keywords having word characteristics; A step of performing a matching process on the problem information according to a preset rule template base of the knowledge graph system and the word characteristics of the keywords of the problem information to determine a rule template corresponding to the problem information, in which the rule template base has a plurality of rule templates, the rule template includes a plurality of slots with no order relationship, the slots characterize the word characteristics, and the word characteristics of each slot of the rule template are different; and performing answer matching on the question information according to a rule template corresponding to the question information to obtain answer information corresponding to the question information.

[0076] In this embodiment, keywords of the problem information are extracted, and each word of the problem information is a keyword, but each keyword belongs to different word characteristics, which include entities, attributes, interrogative particles, stop words, conjunctions, and jump words. In this embodiment, a slot is a position where a keyword is placed, and the keyword placed differs depending on the slot.

[0077] In this embodiment, the word characteristics contained in the keywords of the question information are determined according to a preset rule template base, and a rule template corresponding to the question information is determined, and then answer matching is performed for the question information.

[0078] In this embodiment, the rule template base includes rules related to entities, attributes, and interrogative particles, and further includes rules related to attributes, interrogative particles, and conjunctions, and rules related to entities, jump words, and attributes. For example, when the word characteristics included in the problem information are entities, attributes, and interrogative particles, the problem information is made to correspond to a first rule in the rule template base, and the first rule is used to determine answer information corresponding to the problem information. In this way, there is an advantage that the rule template is provided in advance and the problem information can be quickly identified.

[0079] In one example, the rule template has a predefined fine rule base, the fine rule base includes a plurality of fine rule tables corresponding to the rule template, the fine rule tables include a plurality of slots in an ordered relationship, and the word characteristics of each slot of the fine rule table are different from each other, or some of the word characteristics of the slots of the fine rule table are the same.

[0080] The step of performing a matching process on the problem information according to the preset rule template base of the knowledge graph system and the word characteristics of the keywords of the problem information to determine a rule template corresponding to the problem information; According to the preset fine rule base of the fine rule base, the number of keywords of different word characteristics of the problem information, and the connection relationship between the keywords of different word characteristics of the problem information, performing a matching process on the problem information to determine a fine rule table corresponding to the problem information; The method includes a step of entering a keyword of the problem information in a detailed rule table corresponding to the problem information to obtain problem explanation information, and a step of determining the answer information corresponding to the obtained problem explanation information as the answer information corresponding to the problem information according to a preset correspondence relationship between the problem explanation information and the answer information.

[0081] In this embodiment, the rule template includes multiple fine rule bases, and the word characteristics of the multiple slots in each rule template are the same, but there is an order relationship between the multiple slots in the fine rule table of each rule template. For example, if the first rule of the rule template is an entity, an attribute and an interrogative particle, the fine rules included in the fine rule base may be rules related to the entity, attribute and interrogative particle, but may also include rules related to the entity, attribute, entity and interrogative particle, or may include rules related to the entity, interrogative particle and attribute.

[0082] In this embodiment, after determining the number of keywords of different word characteristics of the question information and the connection relationship between the keywords of different word characteristics of the question information, a matching process is performed on the question information to determine a detailed rule table corresponding to the question information. For example, if the detailed rule table determined in this case is a table related to entities, attributes, and interrogative particles, the keywords of the question information are entered, and the question information in the detailed rule table is used to determine the corresponding answer information. For example, if the question information is "How old is A?", where "A" is an entity, "of" is a conjunction, "age" is an attribute, "ga" is a conjunction, and "how many" is an interrogative particle, the rule template can determine a rule template related to entities, conjunctions, attributes, and interrogative particles, and the rule template determines a detailed rule table related to two conjunctions, one entity word, one attribute, and one interrogative particle to obtain question explanation information, and thereby, according to the correspondence relationship between the question explanation information and the answer information set in advance, the answer information corresponding to the obtained question explanation information is determined, and the answer information is the answer information corresponding to the question information. This has the advantage that the overall recall of the answer information can be improved.

[0083] In S406, in the process of sequentially employing multiple problem analysis systems to process problem information according to the system priority of the problem analysis systems, if the current problem analysis system is an inference question and answer system, answer information corresponding to the problem information is determined according to the current problem analysis system.

[0084] In one example, when the current problem analysis system is an inference question and answer system, the step of determining answer information corresponding to the problem information according to the current problem analysis system includes: Extracting keywords from the problem information, the keywords having word characteristics; A step of performing a matching process on the problem information according to a preset inference rule template base of the inference question and answer system, the word characteristics of the keywords of the problem information, and the order relationship between the keywords of the problem information to determine an inference template corresponding to the problem information, in which the inference rule template base includes a plurality of inference templates, the inference template includes a plurality of entry points having an order relationship, and the entry points have word characteristics; The method includes a step of obtaining core element information corresponding to the problem information, and determining answer information corresponding to the problem information according to the core element information corresponding to the problem information and an inference template corresponding to the problem information.

[0085] In this embodiment, the multiple entry points in the inference template are ordered, and when the word characteristics of the entry points are the same, the order of the word characteristics of the entry points is different, and the answer information corresponding to the question information is determined according to both the core element information corresponding to the question information and the inference template corresponding to the question information. This has the advantage of meeting a wide range of user's question and answer needs.

[0086] In one example, the step of determining answer information corresponding to the question information according to core element information corresponding to the question information and an inference template corresponding to the question information includes: Recognizing each inference template corresponding to the problem information according to a preset neural network model, and determining an optimal inference template; determining answer information corresponding to the question information according to the core element information corresponding to the question information and the optimal reasoning template.

[0087] In this embodiment, a plurality of inference templates are input to a preset neural network model, and an optimal inference template is determined using the preset neural network model, and then core element information corresponding to the question information is obtained, and answer information corresponding to the question information is determined according to both the optimal inference template and the core element information corresponding to the question information. This has the advantage of improving the robustness of the answer information.

[0088] In one example, the step of determining answer information corresponding to the problem information according to the core element information corresponding to the problem information and the optimal reasoning template includes: determining word characteristics of the core element information and obtaining entry points corresponding to the word characteristics of the core element information; adding entries corresponding to the word characteristics of the core element information to the optimal inference template to obtain a final inference template; A step of inputting keywords of the problem information and core element information corresponding to the problem information into each entry point of the final inference template to obtain an inference phrase; and determining, according to a preset correspondence relationship between inference phrases and answer information, the answer information corresponding to the obtained inference phrase as answer information corresponding to the question information.

[0089] In this embodiment, the word characteristics of the acquired core element information are entered into the entry points, and the core element information is added to the optimal inference template, for example, when the core element information is geographical location information, the geographical location information is entered into the entry points of the entity, and the final inference template is determined together with the entry points of the entity. After obtaining the keywords of the problem information, the keywords are also entered into the entry points, and inference phrases are obtained according to the final inference template.

[0090] After obtaining the inference phrase, the final answer information is determined according to the relationship between the inference phrase and the answer information that is preset. In this way, there is an advantage that the inference phrase can be used to determine the accurate answer information, and the efficiency of determining the answer information can be improved.

[0091] The method of this embodiment further includes the step of feeding back the answer information to the user.

[0092] The present disclosure provides an intelligent question answering method based on multi-systems, and determines answer information corresponding to problem information according to the different current problem analysis systems, and there are multiple current problem analysis systems, and these systems can be arbitrarily combined, thereby determining answer information corresponding to problem information. By adopting this solution, answer information can be quickly found in a large amount of professional enterprise documents.

[0093] FIG. 5 is a schematic diagram according to a fourth embodiment of the present disclosure, in which the present disclosure provides a multi-system based intelligent question answering apparatus 500, the apparatus comprising: A first determination unit 501 for responding to a user's question and answer command, the question and answer command indicating question information, and for determining a question type of the question information; an invoking unit 502 for determining a query engine corresponding to a problem type, and invoking a plurality of problem analysis systems corresponding to the query engine according to the query engine; In the process of sequentially employing multiple problem analysis systems to process problem information according to the system priority of the problem analysis systems, a second determination unit 503 is included for feeding back the answer information to a user when answer information corresponding to the problem information is determined according to the current problem analysis system.

[0094] Those skilled in the art can well understand that for convenience and conciseness of explanation, the specific working processes of the above-described apparatus can refer to the corresponding processes in the above-described method embodiments, and will not be described repeatedly here.

[0095] FIG. 6 is a schematic diagram according to a fifth embodiment of the present disclosure, in which the present disclosure provides a multi-system based intelligent question answering apparatus 600, the apparatus comprising: A first determination unit 601 for responding to a user's question and answer command, the question and answer command indicating question information, and for determining a question type of the question information; an invoking unit 602 for determining a query engine corresponding to a problem type, and invoking a plurality of problem analysis systems corresponding to the query engine according to the query engine; In the process of sequentially employing multiple problem analysis systems to process problem information according to the system priority of the problem analysis systems, a second determination unit 603 is included for feeding back the answer information to the user when answer information corresponding to the problem information is determined according to the current problem analysis system.

[0096] In one example, the multiple problem analysis systems include a knowledge graph system, a reasoning question and answer system, a document question and answer system, and a frequently asked questions (FAQ) question and answer system.

[0097] The knowledge graph system is for indicating answer information corresponding to entities of problem information.

[0098] The inference question and answer system is for indicating an inference template corresponding to problem information, and the inference template is for determining answer information, and the inference template includes a plurality of entry points having an order relationship, and the entry points have word characteristics.

[0099] The document question and answer system is for indicating a paragraph corresponding to the question information, and the paragraph is for determining the answer information.

[0100] The FAQ question and answer system is for indicating other questions related to problem information, and for the other questions and the problem information to determine answer information.

[0101] In one example, the system priorities may be preset, the system priorities may be identified by a user, or the system priorities may characterize the amount of data included in the problem analysis system.

[0102] In one example, the first determining unit 601 is An extraction module 6011 for extracting key information of the problem information, the key information including entity words and / or mood words; and a determination module 6012 for determining a question type of the question information according to a preset correspondence relationship between the main information and the question type.

[0103] In one example, the calling unit 602 includes: The system further includes a determining module 6021 for determining a query engine corresponding to the problem type according to a preset mapping relationship between the problem type and the query engine.

[0104] The question type is one of the following types: number type, short text type, long text type, generalization demand type, and judgment type.

[0105] Those skilled in the art can well understand that for convenience and conciseness of explanation, the specific working processes of the above-described apparatus can refer to the corresponding processes in the above-described method embodiments, and will not be described repeatedly here.

[0106] FIG. 7 is a schematic diagram according to a sixth embodiment of the present disclosure, in which the present disclosure provides a multi-system based intelligent question answering apparatus 700, the apparatus comprising: A first determination unit 701 for responding to a user's question and answer command, the question and answer command indicating question information and for determining a question type of the question information; an invoking unit 702 for determining a query engine corresponding to a problem type, and invoking a plurality of problem analysis systems corresponding to the query engine according to the query engine; In the process of sequentially employing multiple problem analysis systems to process problem information according to the system priority of the problem analysis systems, a second determination unit 703 is included for feeding back the answer information to the user when answer information corresponding to the problem information is determined according to the current problem analysis system.

[0107] In one example, if the current problem analysis system is a document question and answer system, the second determination unit 703: A matching module 7031 for performing similarity matching on the question information according to a first database of the document question answering system to obtain an optimal paragraph corresponding to the question information, where the first database includes a plurality of documents, and the document has a plurality of paragraphs; and a processing module 7032 for performing character number reduction processing on the optimal paragraph according to the first extended representation ERNIE model based on knowledge accumulation, and obtaining answer information corresponding to the question information.

[0108] In one example, the matching module 7031 includes: a first determining submodule 70311 for performing similarity matching on the problem information according to a first database of the document question answering system to obtain a plurality of candidate paragraphs similar to the problem information, and obtaining core element information corresponding to the problem information; and a second determination submodule 70312 for performing a similarity calculation on the core element information and the candidate paragraphs, and determining the candidate paragraph with the highest similarity as the optimal paragraph corresponding to the problem information.

[0109] In one example, the core element information includes one or more of user location information, user attribute information, and information on a terminal device used by a user.

[0110] Those skilled in the art can well understand that for convenience and conciseness of explanation, the specific working processes of the above-described apparatus can refer to the corresponding processes in the above-described method embodiments, and will not be described repeatedly here.

[0111] FIG. 8 is a schematic diagram according to a seventh embodiment of the present disclosure, in which the present disclosure provides a multi-system based intelligent question answering apparatus 800, the apparatus comprising: A first determination unit 801 for responding to a user's question and answer command, the question and answer command indicating question information, and for determining a question type of the question information; an invoking unit 802 for determining a query engine corresponding to a problem type, and invoking a plurality of problem analysis systems corresponding to the query engine according to the query engine; In the process of sequentially employing multiple problem analysis systems to process problem information according to the system priority of the problem analysis systems, a second determination unit 803 is included for feeding back the answer information to the user when answer information corresponding to the problem information is determined according to the current problem analysis system.

[0112] In one example, if the current problem analysis system is a FAQ question and answer system, the second decision unit 803: A matching module 8031 ​​for performing similarity matching on the problem information according to a second database of the FAQ question and answer system to obtain a plurality of problem texts similar to the problem information, where the second database includes a plurality of problem texts; a first determination module 8032 for determining answer information corresponding to the question information according to the question information and a plurality of question texts similar to the question information.

[0113] In one example, the first determination module 8032 is A first determination submodule 80321 for determining question information and a plurality of question texts similar to the question information as candidate questions in a question set, where the candidate questions have feature information; A second determining submodule 80322 for inputting the feature information of the candidate problems in the problem set into a pre-defined neural network model to obtain optimal candidate problems; and a third determination submodule 80323 for determining answer information corresponding to an optimal candidate question as answer information corresponding to the question information according to a preset correspondence relationship between the candidate questions and the answer information.

[0114] In one example, the apparatus comprises: a first generation unit 804 for obtaining an original document, performing a segmentation process on the original document to obtain a number of short texts, and performing a block process on the short texts according to a second ERNIE model to generate question texts of a second database; or a second generating unit 805 used to obtain an original document, determine the title of the original document, and determine the title as a question text in a second database; Or, the third generation unit 806 is used for obtaining an original document, performing a content structure analysis process on the original document to obtain a short snippet having question characteristics, and inputting the short snippet and an original paragraph in the original document of the short snippet into a pre-set model to obtain a question text in a second database, wherein the third generation unit 806 is answer information corresponding to the question text from which the short snippet is obtained.

[0115] Those skilled in the art can well understand that for convenience and conciseness of explanation, the specific working processes of the above-described apparatus can refer to the corresponding processes in the above-described method embodiments, and will not be described repeatedly here.

[0116] FIG. 9 is a schematic diagram according to an eighth embodiment of the present disclosure, in which the present disclosure provides a multi-system based intelligent question answering apparatus 900, the apparatus comprising: A first determination unit 901 for responding to a user's question and answer command, the question and answer command indicating question information, and for determining a question type of the question information; an invoking unit 902 for determining a query engine corresponding to a problem type, and invoking a plurality of problem analysis systems corresponding to the query engine according to the query engine; In the process of sequentially employing multiple problem analysis systems to process problem information according to the system priority of the problem analysis systems, a second determination unit 903 is included for feeding back the answer information to the user when answer information corresponding to the problem information is determined according to the current problem analysis system.

[0117] In one example, when the current problem analysis system is a knowledge graph system, the second determination unit 903: a first extraction module 9031 for extracting entities of problem information; The knowledge graph system includes a recognition module 9032 for recognizing entities of the problem information and obtaining answer information corresponding to the problem information according to a knowledge graph and a third ERNIE model preset in the knowledge graph system, wherein the preset knowledge graph includes a plurality of entities, there are connection relationships between the entities of the preset knowledge graph, and the third ERNIE model is for processing the entities of the problem information.

[0118] In one example, the recognition module 9032 a first processing submodule 90321 for performing block processing on the entity of the problem information according to a third ERNIE model to obtain a plurality of related entities; an input submodule 90322 for inputting the problem information entities and the obtained related entities into a pre-defined knowledge graph to obtain a number of initial answers; and a second processing sub-module 90323 for performing a marking process on the multiple initial answers according to the third ERNIE model to obtain answer information corresponding to the question information.

[0119] In one example, when the current problem analysis system is a knowledge graph system, the second determination unit 903: A second extraction module 9033 for extracting keywords of the problem information, the keywords having word characteristics; A processing module 9034 for performing a matching process on the problem information according to a preset rule template base of the knowledge graph system and the word characteristics of the keywords of the problem information to determine a rule template corresponding to the problem information, the rule template base has a plurality of rule templates, the rule template includes a plurality of slots with no order relationship, the slots characterize word characteristics, and the word characteristics of each slot of the rule template are different; and a matching module 9035 for performing answer matching on the question information according to a rule template corresponding to the question information to obtain answer information corresponding to the question information.

[0120] In one example, the rule template has a predefined fine rule base, the fine rule base includes a plurality of fine rule tables corresponding to the rule template, the fine rule tables include a plurality of slots in an ordered relationship, and the word characteristics of each slot of the fine rule table are different from each other, or some of the word characteristics of the slots of the fine rule table are the same.

[0121] The processing module 9034 is A first determining submodule 90341 for performing a matching process on the question information according to the preset fine rule base of the fine rule base, the number of keywords of different word characteristics of the question information, and the connection relationship between the keywords of different word characteristics of the question information, to determine a fine rule table corresponding to the question information; and a second determination submodule 90342, which is used to enter keywords of the question information into a detailed rule table corresponding to the question information and obtain question explanation information, and which determines the answer information corresponding to the obtained question explanation information as the answer information corresponding to the question information according to a predetermined correspondence relationship between the question explanation information and the answer information.

[0122] Those skilled in the art can well understand that for convenience and conciseness of explanation, the specific working processes of the above-described apparatus can refer to the corresponding processes in the above-described method embodiments, and will not be described repeatedly here.

[0123] FIG. 10 is a schematic diagram according to a ninth embodiment of the present disclosure, in which the present disclosure provides a multi-system based intelligent question answering apparatus 1000, the apparatus comprising: A first determination unit 1001 for responding to a user's question and answer command, the question and answer command indicating question information and for determining a question type of the question information; an invoking unit 1002 for determining a query engine corresponding to a problem type, and invoking a plurality of problem analysis systems corresponding to the query engine according to the query engine; In the process of sequentially employing multiple problem analysis systems to process problem information according to the system priority of the problem analysis systems, a second determination unit 1003 is included for feeding back the answer information to a user when answer information corresponding to the problem information is determined according to the current problem analysis system.

[0124] In one example, if the current problem analysis system is a reasoning question and answer system, the second decision unit 1003: An extraction module 10031 for extracting keywords of problem information, the keywords having word characteristics; a processing module 10032 for performing a matching process on the problem information according to a preset inference rule template base of the inference question answering system, the word characteristics of the keywords of the problem information, and the order relationship between the keywords of the problem information, and determining an inference template corresponding to the problem information, the inference rule template base includes a plurality of inference templates, the inference template includes a plurality of entry points having an order relationship, and the entry points have word characteristics; and a determination module 10033 for obtaining core element information corresponding to the question information and determining answer information corresponding to the question information according to the core element information corresponding to the question information and the inference template corresponding to the question information.

[0125] In one example, the determination module 10033 A first determination submodule 100331 for recognizing each inference template corresponding to the problem information according to a preset neural network model and determining an optimal inference template; and a second determination submodule 100332 for determining answer information corresponding to the question information according to the core element information corresponding to the question information and the optimal reasoning template.

[0126] In one example, the second determination submodule 100332 further comprises: determining word characteristics of the core element information and obtaining entry points corresponding to the word characteristics of the core element information; adding entries corresponding to the word characteristics of the core element information to the optimal inference template to obtain a final inference template; Entering the keywords of the problem information and the core element information corresponding to the problem information into each entry point of the final inference template to obtain an inference phrase; and determining, according to a correspondence relationship between a preset inference phrase and answer information, the answer information corresponding to the obtained inference phrase as the answer information corresponding to the question information.

[0127] Those skilled in the art can well understand that for convenience and conciseness of explanation, the specific working processes of the above-described apparatus can refer to the corresponding processes in the above-described method embodiments, and will not be described repeatedly here.

[0128] In the solution disclosed herein, the collection, storage, use, processing, transmission, provision, disclosure and other processing of personal information of relevant users shall all comply with the provisions of relevant laws and regulations and shall not violate public order or morals.

[0129] According to an embodiment of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium, and a computer program.

[0130] According to an embodiment of the present disclosure, the present disclosure further provides a computer program, the computer program being stored in a readable storage medium, and at least one processor of the electronic device being capable of reading the computer program from the readable storage medium, and when the at least one processor executes the computer program, the electronic device performs the solution provided by any one of the above embodiments.

[0131] 11 shows a schematic block diagram of an exemplary electronic device 1100 that can be used to implement embodiments of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components illustrated herein, their connections and relationships, and their functions are merely examples and are not intended to limit the practice of the present disclosure as described herein and / or claimed herein.

[0132] 11, the electronic device 1100 includes a computing unit 1101, which can execute various suitable operations and processes based on a computer program stored in a read only memory (ROM) 1102 or loaded from a storage unit 1108 into a random access memory (RAM) 1103. The RAM 1103 can further store various programs and data required for the operation of the electronic device 1100. The computing unit 1101, the ROM 1102 and the RAM 1103 are connected via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0133] At least one component in the electronic device 1100, including an input unit 1106 such as a keyboard or mouse, an output unit 1107 such as various types of monitors and speakers, a storage unit 1108 such as a magnetic disk or optical disk, and a communication unit 1109 such as a network card, modem, wireless communication transceiver, etc., are connected to the I / O interface 1105. The communication unit 1109 enables the electronic device 1100 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0134] The computing unit 1101 may be various general-purpose and / or special-purpose processing components having processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units for executing machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1101 performs each of the methods and processes described above, such as the multi-system based intelligent question answering method. For example, in some embodiments, the multi-system based intelligent question answering method can be realized as a computer software program and tangibly included in a machine-readable medium, such as the storage unit 1108. In some embodiments, some or all of the computer program can be loaded and / or installed in the electronic device 1100 via the ROM 1102 and / or the communication unit 1109. When the computer program is loaded into the RAM 1103 and executed by the computing unit 1101, it can perform one or more steps of the multi-system based intelligent question answering method described above. Alternatively, in other embodiments, the computing unit 1101 can be configured to execute the multi-system based intelligent question answering method using any other suitable means (eg, relying on firmware).

[0135] Various embodiments of the systems and techniques described herein above may be implemented in digital electronic circuitry systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may be implemented in one or more computer programs that may be executed and / or interpreted in a programmable system that includes at least one programmable processor, which may be a special purpose or general purpose programmable processor, and that may receive data and instructions from a storage system, at least one input device, and at least one output device, and that may transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0136] The program codes for implementing the methods according to the present disclosure can be programmed using any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general purpose computer, a special purpose computer or other programmable data processing apparatus, such that when the program codes are executed by the processor or controller, the functions / operations shown in the flowcharts and / or block diagrams are performed. The program codes can be fully executed on a machine, partly executed on a machine, partly executed on a machine as a separate software package and partly executed on a remote machine, or entirely executed on a remote machine or server.

[0137] In the context of this disclosure, a machine-readable medium may be a tangible medium, and may include or store a program for use with an instruction execution system, device, or apparatus, or a program for use in conjunction with an instruction execution system, device, or apparatus. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium includes, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination of the above. More specific examples of machine-readable storage media include one or more wire-based electrical connections, portable computer disks, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), optical fibers, portable compact disk read-only memories (CDs), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0138] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user, and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other types of devices can also provide interaction with a user, for example, the feedback provided to the user can be any form of sensing feedback (e.g., visual feedback, auditory feedback, or haptic feedback) and can receive input from the user in any form (including acoustic input, speech input, and haptic input).

[0139] The systems and techniques described herein may be implemented in a computing system including a back-end component (e.g., a data server), or a computing system including a middleware component (e.g., an application server), or a computing system including a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user interacts with embodiments of the systems and techniques described herein), or a computing system including any combination of the back-end, middleware, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0140] The computer system may include client terminals and servers that are generally remote from each other and typically interact through a communication network, where the relationship of client terminal to server is created by computer programs running on corresponding computers and having a client terminal-server relationship to each other.

[0141] It should be understood that steps can be rearranged, added, or removed using the various forms of flow shown above. For example, each step described in this disclosure can be performed in parallel, sequentially, or in a different order, but is not limited herein as long as the solution disclosed in this disclosure can achieve the desired results.

[0142] The above embodiments for carrying out the invention do not limit the scope of protection of the present disclosure. Those skilled in the art can make various modifications, combinations, subcombinations, and substitutions based on design requirements and other factors. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present disclosure should be included within the scope of protection of the present disclosure.

Claims

1. 1. A multi-system based intelligent question answering method executed by a processor of a computer, comprising: determining, in response to a user's question and answer instruction, a question type of the problem information indicated by said question and answer instruction; determining a query engine corresponding to the problem type, and invoking a plurality of problem analysis systems corresponding to the query engine based on the query engine; In a process of processing the problem information by sequentially using the plurality of problem analysis systems according to a system priority of the problem analysis systems, when answer information corresponding to the problem information is determined according to a current problem analysis system, feeding back the answer information to a user; and when answer information corresponding to the problem information cannot be determined according to the current problem analysis system, processing the problem information using a next problem analysis system according to the system priority; The question type is any one of a number type, a short text type, a long text type, and a judgment type; The number type is a question type in which the question information requires a number as answer information, The short text type is a question type in which the question information requires a short text as answer information, The long text type is a question type in which the question information requires long text as answer information, the judgment type is a question type in which the question information requires a positive or negative judgment result for the question information as answer information, The step of determining a question type of the question information includes: extracting key information of the problem information, the key information including entity words and / or mood words; determining a question type of the question information according to a preset correspondence between main information and question type; An intelligent question answering method based on multi-systems.

2. the plurality of problem analysis systems include a knowledge graph system, an inference question and answer system, a document question and answer system, and a frequently asked questions (FAQ) question and answer system; The knowledge graph system is for indicating answer information corresponding to an entity of question information; The inference question and answer system is for instructing an inference template corresponding to question information, the inference template is for determining answer information, the inference template includes a plurality of entry points having an order relationship, and the entry points have word characteristics; the document question and answer system is for indicating a paragraph corresponding to the question information, the paragraph being for determining answer information; 2. The multi-system based intelligent question answering method of claim 1, wherein the FAQ question answering system is for indicating other questions related to the problem information, and the other questions and the problem information are for determining answer information.

3. When the current problem analysis system is a document question and answer system, the step of determining answer information corresponding to the problem information according to the current problem analysis system includes: performing similarity matching on the problem information according to a first database of the document question and answer system to obtain an optimal paragraph corresponding to the problem information, the first database including a plurality of documents, each of the documents having a plurality of paragraphs; The intelligent question answering method based on a multi-system according to claim 2, further comprising a step of performing a character number reduction process on the optimal paragraph according to a first expanded representation ERNIE model based on knowledge accumulation to obtain an answer corresponding to the problem information.

4. The step of performing similarity matching on the problem information according to a first database of the document question and answer system to obtain an optimal paragraph corresponding to the problem information includes: performing similarity matching on the problem information according to a first database of the document question and answer system to obtain a plurality of candidate paragraphs similar to the problem information; and obtaining core element information corresponding to the problem information; 4. The multi-system based intelligent question answering method according to claim 3, further comprising a step of: performing a similarity calculation between the core element information and the candidate paragraphs; and determining the candidate paragraph with the highest similarity as the optimal paragraph corresponding to the problem information.

5. The multi-system based intelligent question answering method according to claim 4 , wherein the core element information includes one or more of user location information, user attribute information, and information on a terminal device used by the user.

6. When the current problem analysis system is a FAQ question and answer system, the step of determining answer information corresponding to the problem information according to the current problem analysis system includes: performing similarity matching on the problem information according to a second database of the FAQ question-answering system to obtain a plurality of problem texts similar to the problem information, the second database including a plurality of problem texts; and determining answer information corresponding to the question information according to the question information and a plurality of question texts similar to the question information.

7. The step of determining answer information corresponding to the question information according to the question information and a plurality of question texts similar to the question information includes: determining the question information and a plurality of question texts similar to the question information as candidate questions in a question set, the candidate questions having feature information; inputting feature information of the candidate problems in the problem set into a pre-configured neural network model to obtain optimal candidate problems; and determining answer information corresponding to the optimal candidate question as answer information corresponding to the question information according to a predetermined correspondence relationship between candidate questions and answer information.

8. The multi-system based intelligent question answering method further comprises: The method includes the steps of: obtaining an original document; performing a segmentation process on the original document to obtain a plurality of short texts; and performing a block process on the short texts according to a second ERNIE model to generate question texts in the second database; or obtaining an original document, determining a title of the original document, and determining the title as a question text in the second database; Or, the multi-system based intelligent question answering method of claim 6 includes the steps of: acquiring an original document, performing a content structure analysis process on the original document to obtain short snippets having question characteristics; and inputting the short snippets and original paragraphs in the original document of the short snippets into a pre-set model to obtain question text in the second database, wherein the short snippets are answer information corresponding to the obtained question text.

9. When the current problem analysis system is a knowledge graph system, the step of determining answer information corresponding to the problem information according to the current problem analysis system includes: extracting entities of the problem information; 3. The intelligent question answering method based on a multi-system according to claim 2, further comprising: a step of recognizing an entity of the problem information according to a knowledge graph preset in the knowledge graph system and a third ERNIE model, and obtaining answer information corresponding to the problem information, wherein the preset knowledge graph includes a plurality of entities, there are connection relationships between the entities of the preset knowledge graph, and the third ERNIE model is for processing the entities of the problem information.

10. The step of recognizing an entity of the problem information according to a knowledge graph preset in the knowledge graph system and a third ERNIE model, and obtaining answer information corresponding to the problem information, performing block processing on the problem information entities according to the third ERNIE model to obtain a plurality of related entities; inputting the problem information entities and the obtained related entities into the pre-defined knowledge graph to obtain a number of initial answers; and performing a scoring process on the initial answers according to the third ERNIE model to obtain answer information corresponding to the problem information.

11. When the current problem analysis system is a knowledge graph system, the step of determining answer information corresponding to the problem information according to the current problem analysis system includes: extracting keywords from the problem information, the keywords having word characteristics; A step of performing a matching process on the problem information according to a preset rule template base of the knowledge graph system and word characteristics of keywords of the problem information to determine a rule template corresponding to the problem information, in which the rule template base has a plurality of rule templates, the rule templates include a plurality of slots with no order relationship, the slots characterize word characteristics, and the word characteristics of each slot of the rule templates are different; 3. The multi-system based intelligent question answering method according to claim 2, further comprising: performing answer matching on the question information according to a rule template corresponding to the question information to obtain answer information corresponding to the question information.

12. The rule template has a preset fine rule base, the fine rule base includes a plurality of fine rule tables corresponding to the rule template, the fine rule table includes a plurality of slots having an order relationship, and the word characteristics of each slot of the fine rule table are different from each other, or some of the word characteristics of the slots of the fine rule table are the same; According to the preset rule template base of the knowledge graph system and the word characteristics of the keywords of the problem information, a matching process is performed on the problem information to determine a rule template corresponding to the problem information; According to the preset fine rule base of the fine rule base, the number of keywords of different word characteristics of the problem information, and the connection relationship between the keywords of different word characteristics of the problem information, performing a matching process on the problem information to determine a fine rule table corresponding to the problem information; 12. The multi-system based intelligent question answering method according to claim 11, comprising the steps of: entering a keyword of the problem information into a detailed rule table corresponding to the problem information to obtain problem explanation information; and determining, according to a predetermined correspondence relationship between the problem explanation information and answer information, the answer information corresponding to the obtained problem explanation information as the answer information corresponding to the problem information.

13. When the current problem analysis system is an inference question and answer system, the step of determining answer information corresponding to the problem information according to the current problem analysis system includes: extracting keywords from the problem information, the keywords having word characteristics; a step of performing a matching process on the problem information according to a pre-defined inference rule template base in the inference question and answer system, a word characteristic of a keyword of the problem information, and an order relationship between the keywords of the problem information, and determining an inference template corresponding to the problem information, the inference rule template base including a plurality of inference templates, the inference template including a plurality of entry points having an order relationship, the entry points having word characteristics; 3. The multi-system based intelligent question answering method of claim 2, further comprising: obtaining core element information corresponding to the problem information; and determining answer information corresponding to the problem information according to the core element information corresponding to the problem information and the inference template corresponding to the problem information.

14. The step of determining answer information corresponding to the problem information according to core element information corresponding to the problem information and an inference template corresponding to the problem information includes: Recognizing each inference template corresponding to the problem information according to a preset neural network model, and determining an optimal inference template; and determining answer information corresponding to the problem information according to core element information corresponding to the problem information and the optimal reasoning template.

15. The step of determining answer information corresponding to the problem information according to core element information corresponding to the problem information and the optimal inference template includes: determining word characteristics of the core element information to obtain entry points corresponding to the word characteristics of the core element information; adding entries corresponding to the word characteristics of the core element information to the optimal inference template to obtain a final inference template; A step of inputting keywords of the problem information and core element information corresponding to the problem information into each entry point of the final inference template to obtain an inference phrase; and determining answer information corresponding to the obtained inference phrase as answer information corresponding to the problem information according to a correspondence relationship between a preset inference phrase and answer information.

16. 2. The multi-system based intelligent question answering method of claim 1, wherein the system priority is preset, the system priority is confirmed by a user, or the system priority characterizes the amount of data contained in a problem analysis system.

17. Determining a query engine corresponding to the problem type comprises: The multi-system based intelligent question answering method according to claim 1 , further comprising: determining a query engine corresponding to the problem type according to a preset mapping relationship between the problem type and the query engine.

18. A multi-system based intelligent question answering device, comprising: a first determination unit for determining, in response to a user's question and answer instruction, a question type of the question information indicated by the question and answer instruction; an invoking unit for determining a query engine corresponding to the problem type, and invoking a plurality of problem analysis systems corresponding to the query engine based on the query engine; a second determination unit for, in the process of processing the problem information by sequentially using the plurality of problem analysis systems according to a system priority of the problem analysis systems, feeding back the answer information to a user when answer information corresponding to the problem information is determined according to a current problem analysis system, and processing the problem information by using a next problem analysis system according to the system priority when answer information corresponding to the problem information cannot be determined according to the current problem analysis system; The question type is any one of a number type, a short text type, a long text type, and a judgment type; The number type is a question type in which the question information requires a number as answer information, The short text type is a question type in which the question information requires a short text as answer information, The long text type is a question type in which the question information requires long text as answer information, the judgment type is a question type in which the question information requires a positive or negative judgment result for the question information as answer information, The first determination unit comprises: an extraction module for extracting key information of the problem information, the key information including entity words and / or mood words; A determination module for determining a question type of the question information according to a correspondence relationship between a preset main information and a question type. A multi-system based intelligent question answerer.

19. the plurality of problem analysis systems include a knowledge graph system, an inference question and answer system, a document question and answer system, and a frequently asked questions (FAQ) question and answer system; The knowledge graph system is for indicating answer information corresponding to an entity of question information; The inference question and answer system is for instructing an inference template corresponding to question information, the inference template is for determining answer information, the inference template includes a plurality of entry points having an order relationship, and the entry points have word characteristics; the document question and answer system is for indicating a paragraph corresponding to the question information, the paragraph being for determining answer information; 20. The multi-system based intelligent question answering apparatus of claim 18, wherein the FAQ question answering system is for indicating other questions related to the problem information, and the other questions and the problem information are for determining answer information.

20. When the current problem analysis system is a document question and answer system, the second decision unit: A matching module for performing similarity matching on the problem information according to a first database of the document question answering system to obtain an optimal paragraph corresponding to the problem information, where the first database includes a plurality of documents, and the document has a plurality of paragraphs; and a processing module for performing character number reduction processing on the optimal paragraph according to a first extended representation ERNIE model based on knowledge accumulation, to obtain answer information corresponding to the problem information.

21. The matching module includes: a first determination submodule, which is used for: performing similarity matching on the problem information according to a first database of the document question and answer system to obtain a plurality of candidate paragraphs similar to the problem information; and obtaining core element information corresponding to the problem information; and a second determination submodule for performing a similarity calculation on the core element information and the candidate paragraphs, and determining the candidate paragraph with the highest similarity as the optimal paragraph corresponding to the problem information.

22. The multi-system based intelligent question answering apparatus according to claim 21, wherein the core element information includes one or more of user location information, user attribute information, and information on a terminal device used by the user.

23. When the current problem analysis system is a FAQ question and answer system, the second determination unit: A matching module for performing similarity matching on the problem information according to a second database of the FAQ question-answering system to obtain a plurality of problem texts similar to the problem information, the second database including a plurality of problem texts; and a first determination module for determining answer information corresponding to the question information according to the question information and a plurality of question texts similar to the question information.

24. The first determination module: a first determination sub-module for determining the question information and a plurality of question texts similar to the question information as candidate questions in a question set, the candidate questions having feature information; A second determination submodule for inputting feature information of the candidate problems in the problem set into a pre-defined neural network model to obtain optimal candidate problems; and a third determination submodule for determining answer information corresponding to the optimal candidate question as answer information corresponding to the question information according to a predetermined correspondence relationship between candidate questions and answer information.

25. The multi-system based intelligent question answering device comprises: a first generation unit used for obtaining an original document, performing a segmentation process on the original document to obtain a plurality of short texts, and performing a block process on the short texts according to a second ERNIE model to generate question texts of the second database; or a second generation unit adapted to obtain an original document, determine a title of said original document, and determine said title as a question text of said second database; Or, the multi-system based intelligent question answering device of claim 23 includes a third generation unit used for obtaining an original document, performing a content structure analysis process on the original document to obtain a short snippet having question characteristics, and inputting the short snippet and an original paragraph in the original document of the short snippet into a predetermined model to obtain a question text in the second database, wherein the short snippet is answer information corresponding to the obtained question text.

26. When the current problem analysis system is a knowledge graph system, the second decision unit: a first extraction module for extracting entities of the problem information; 20. The multi-system based intelligent question answering apparatus of claim 19, further comprising: a recognition module for recognizing an entity of the problem information according to a knowledge graph preset in the knowledge graph system and a third ERNIE model, and obtaining answer information corresponding to the problem information, wherein the preset knowledge graph includes a plurality of entities, there are connection relationships between the entities of the preset knowledge graph, and the third ERNIE model is for processing the entities of the problem information.

27. The recognition module includes: a first processing sub-module for performing block processing on the entities of the problem information according to the third ERNIE model to obtain a plurality of related entities; an input submodule for inputting the problem information entities and the obtained related entities into the pre-defined knowledge graph to obtain a number of initial answers; and a second processing sub-module for performing a scoring process on the plurality of initial answers according to the third ERNIE model to obtain answer information corresponding to the problem information.

28. When the current problem analysis system is a knowledge graph system, the second decision unit: a second extraction module for extracting keywords of the problem information, the keywords having word characteristics; A processing module for performing a matching process on the problem information according to a preset rule template base of the knowledge graph system and word characteristics of keywords of the problem information to determine a rule template corresponding to the problem information, the rule template base having a plurality of rule templates, the rule templates including a plurality of slots with no order relationship, the slots characterizing word characteristics, and the word characteristics of each slot of the rule templates being different; A matching module for performing answer matching on the question information according to a rule template corresponding to the question information to obtain answer information corresponding to the question information.

29. The rule template has a preset fine rule base, the fine rule base includes a plurality of fine rule tables corresponding to the rule template, the fine rule table includes a plurality of slots having an order relationship, and the word characteristics of each slot of the fine rule table are different from each other, or some of the word characteristics of the slots of the fine rule table are the same; The processing module includes: a first determination submodule for performing a matching process on the question information according to the preset fine rule base of the fine rule base, the number of keywords of different word characteristics of the question information, and the connection relationship between the keywords of different word characteristics of the question information, to determine a fine rule table corresponding to the question information; 29. The multi-system based intelligent question answering apparatus of claim 28, further comprising: a second determination submodule used for: entering keywords of the problem information into a detailed rule table corresponding to the problem information to obtain problem explanation information; and determining, according to a predetermined correspondence relationship between problem explanation information and answer information, the answer information corresponding to the obtained problem explanation information as the answer information corresponding to the problem information.

30. If the current problem analysis system is a reasoning question and answer system, the second decision unit: an extraction module for extracting keywords from the problem information, the keywords having word characteristics; a processing module for performing a matching process on the problem information according to a pre-defined inference rule template base in the inference question and answer system, a word characteristic of a keyword of the problem information, and an order relationship between the keywords of the problem information, and determining an inference template corresponding to the problem information, the inference rule template base including a plurality of inference templates, the inference template including a plurality of entry points having an order relationship, the entry points having word characteristics; and a determination module for obtaining core element information corresponding to the problem information, and determining answer information corresponding to the problem information according to the core element information corresponding to the problem information and an inference template corresponding to the problem information.

31. The decision module: a first determination submodule for recognizing each inference template corresponding to the problem information according to a preset neural network model, and determining an optimal inference template; and a second determination submodule for determining answer information corresponding to the question information according to core element information corresponding to the question information and the optimal reasoning template.

32. The second determination submodule further comprises: determining word characteristics of the core element information to obtain entry points corresponding to the word characteristics of the core element information; adding entries corresponding to the word characteristics of the core element information to the optimal inference template to obtain a final inference template; Entering keywords of the problem information and core element information corresponding to the problem information into each entry point of the final inference template to obtain an inference phrase; and determining answer information corresponding to the obtained inference phrase as answer information corresponding to the problem information according to a correspondence relationship between a preset inference phrase and answer information.

33. 20. The multi-system based intelligent question answering apparatus of claim 18, wherein the system priorities are preset, the system priorities are confirmed by a user, and the system priorities characterize the amount of data contained in a problem analysis system.

34. The calling unit comprises: The multi-system based intelligent question answering apparatus according to any one of claims 18 to 33, further comprising a determination module for determining a query engine corresponding to the problem type according to a mapping relationship between the problem type and the query engine that is preset.

35. An electronic device, At least one processor; and a memory having stored therein a program that causes the at least one processor to execute the multi-system based intelligent question answering method according to any one of claims 1 to 17.

36. A non-transitory computer-readable storage medium having stored thereon a computer program for causing a computer to execute the multi-system based intelligent question answering method according to any one of claims 1 to 17.

37. A computer program product causing a computer processor to execute the multi-system based intelligent question answering method according to any one of claims 1 to 17.

Citation Information

Patent Citations

  • Apparatus and method for answering question, apparatus and method for rewording and dependency generation, and program

    JP2005346160A

  • Question answering system

    JP2006244102A

  • Systems and methods for human inspired simple question answering (HISQA)

    JP2017076403A

  • Generation device, generation method, and generation program

    JP2019012439A

  • Request paraphrasing system, request paraphrasing model, training method of request determination model, and dialog system

    JP2019185521A