A method, device, electronic device and storage medium for obtaining results

By splitting the question information and querying the knowledge base, it solves the problem that the intelligent question and answer system is difficult to answer complex questions, realizes support for comparative and multiple-choice questions, and improves the applicability and efficiency of the system.

CN115203366BActive Publication Date: 2024-09-13CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210758739.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2024-09-13
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

Existing intelligent question and answer technology is difficult to support the answer to complex questions, such as comparison questions and multiple-choice questions, making it unsuitable for a variety of scenarios.

Method used

By obtaining the question information, split it into a question topology map, determine the problem nodes to be processed according to the connection sequence and preset rules in the topology map, obtain the answer results in the pre-built knowledge base, and gradually update the problem nodes until the last one is obtained The solution result of the question node. This method supports the splitting and answering of complex problems and is suitable for a variety of scenarios.

Benefits of technology

It realizes effective answers to complex questions, such as comparison questions and multiple-choice questions, and improves the applicability and efficiency of the intelligent question and answer system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115203366B
    Figure CN115203366B
Patent Text Reader

Abstract

The disclosed embodiment provides a method, device, electronic device and storage medium for obtaining a result, and relates to the technical field of natural language processing. The method includes: obtaining question information; obtaining a question topology map based on splitting the question information; determining the current pending question node according to a preset rule based on the connection sequence between the question nodes in the question topology map; obtaining the target answer result of the current pending question node based on a pre-built knowledge base; updating the next question node of the current pending question node in the connection sequence based on the target answer result, and using the updated next question node as the current pending question node, and returning to execute the step of obtaining the target answer result of the current pending question node based on the pre-built knowledge base, until the target answer result of the last question node in the connection sequence is obtained as the answer result of the question information. In this way, it can be applied to more scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of natural language processing, and in particular to a method, device, electronic device and storage medium for obtaining results. Background Art

[0002] With the development of information technology, there are a large number of repeated questions in the context of consultation and question answering, and the answers to the questions are relatively fixed and simple. Therefore, in order to reduce the cost of manual customer service and improve the efficiency of question answering, intelligent question answering technology has emerged. For example, in the context of electronic customer service, electronic customer service can search for corresponding answers in the knowledge base based on the questions raised by the customer, and provide timely feedback to the customer. In addition, intelligent question answering technology can also be applied to the search engine field on the Internet.

[0003] However, the related technology cannot support the answering of complex questions, such as the answering of comparison questions and the answering of multiple-choice questions, which makes it inapplicable to many scenarios. Summary of the invention

[0004] The purpose of the embodiments of the present disclosure is to provide a method, device, electronic device and storage medium for obtaining results, which can support the answering of complex questions, such as the answering of comparison questions and the answering of multiple-choice questions, and can be applied to more scenarios. The specific technical solution is as follows:

[0005] According to a first aspect of an embodiment of the present disclosure, a result acquisition method is provided, the method comprising:

[0006] Get question information;

[0007] Based on splitting the question information, a question topology graph is obtained; wherein the question topology graph includes a plurality of question nodes, each question node represents each target sub-question obtained by splitting the question information; the connection order between the plurality of question nodes is determined according to the target solution order between the target sub-questions;

[0008] Based on the connection sequence between the problem nodes in the problem topology graph, determine the current problem node to be processed according to the preset rules;

[0009] Based on the pre-built knowledge base, obtain the target solution result of the current problem node to be processed;

[0010] Based on the target answer result, the next question node of the current problem node to be processed in the connection sequence is updated, and the updated next question node is used as the current problem node to be processed, and the step of obtaining the target answer result of the current problem node to be processed based on the pre-built knowledge base is returned to execute until the target answer result of the last question node in the connection sequence is obtained as the answer result of the question information.

[0011] Optionally, the initial state of each question node in the question topology diagram is unanswered;

[0012] The determining of the current problem node to be processed according to a preset rule based on the connection sequence between the problem nodes in the problem topology graph includes:

[0013] Based on the connection sequence between the question nodes in the question topology graph, determining the current question node to be processed from the currently unanswered question nodes;

[0014] After obtaining the target solution result of the current problem node to be processed based on the pre-built knowledge base, the method further includes:

[0015] Determine that the current pending question node is answered.

[0016] Optionally, the step of obtaining a question topology map based on splitting the question information includes:

[0017] Based on performing entity extraction on the question information, a plurality of entity pairs are obtained as target entity pairs;

[0018] For each target entity pair, determining a target operation process that matches two entities in the target entity pair;

[0019] Combining the target entity pair and the corresponding target operation processing, a subproblem corresponding to the target entity pair is obtained as the target subproblem;

[0020] Determine the solution order between every two target sub-problems as the target solution order;

[0021] Based on the determined target solution sequence, a problem topology graph is obtained.

[0022] Optionally, for each target entity pair, determining a target operation process that matches two entities in the target entity pair includes:

[0023] For each target entity pair, the target entity pair is input into a pre-trained operation prediction model to obtain a predicted operation process of the target entity pair; wherein the operation prediction model is trained based on a sample entity pair and a sample operation process matching two entities in the sample entity pair;

[0024] If it is determined based on the pre-built knowledge graph that the predicted operation process passes the verification, the predicted operation process is determined as the target operation process;

[0025] Determine the solution order between each two target sub-problems as the target solution order, including:

[0026] Inputting each two target sub-problems into a pre-trained solution order prediction model to obtain a predicted solution order corresponding to the two target sub-problems; wherein the solution order prediction model is trained based on sample sub-problems and sample solution orders between the sample sub-problems;

[0027] If it is determined based on the pre-constructed causal graph that the predicted solution sequence passes verification, the predicted solution sequence is determined as the target solution sequence.

[0028] Optionally, the knowledge base includes at least one of the following:

[0029] Preset unstructured text, preset structured text, knowledge graph and fact graph;

[0030] Wherein, the knowledge graph is obtained based on the unstructured text and / or the structured text;

[0031] The event graph is obtained based on the unstructured text and / or the structured text.

[0032] Optionally, the knowledge base includes: preset unstructured text, preset structured text, non-common sense knowledge graph, common sense knowledge graph, common sense reason graph and non-common sense reason graph;

[0033] The method of obtaining the target solution result of the current problem node to be processed based on the pre-built knowledge base includes:

[0034] respectively querying the answer result of the current problem node to be processed in the unstructured text, the structured text, the uncommon knowledge graph and the uncommon matter graph to obtain an initial answer result;

[0035] If the initial answer result is consistent with the common sense knowledge graph and / or the common sense reasoning graph, the initial answer result is determined as the target answer result of the current problem node to be processed.

[0036] According to a second aspect of an embodiment of the present disclosure, a result acquisition device is provided, the device comprising:

[0037] A first acquisition module is used to acquire question information;

[0038] A first splitting module is used to obtain a question topology map based on splitting the question information; wherein the question topology map includes a plurality of question nodes, each question node represents each target sub-question obtained by splitting the question information; and the connection order between the plurality of question nodes is determined according to the target solution order between the target sub-questions;

[0039] A first determination module is used to determine the current problem node to be processed according to a preset rule based on the connection sequence between the problem nodes in the problem topology graph;

[0040] The second acquisition module is used to obtain the target solution result of the current problem node to be processed based on the pre-built knowledge base;

[0041] The third acquisition module is used to update the next question node of the current problem node to be processed in the connection sequence based on the target answer result, and use the updated next question node as the current problem node to be processed, and return to execute the step of obtaining the target answer result of the current problem node to be processed based on the pre-built knowledge base, until the target answer result of the last question node in the connection sequence is obtained as the answer result of the question information.

[0042] Optionally, the initial state of each question node in the question topology diagram is unanswered;

[0043] The first determining module includes:

[0044] A first determination submodule is used to determine, based on the connection order between the question nodes in the question topology graph, the question nodes that are currently unanswered as the current question nodes to be processed;

[0045] The device also includes:

[0046] The second determination module is used to determine that the current problem node to be processed is answered after obtaining the target solution result of the current problem node to be processed based on the pre-built knowledge base.

[0047] Optionally, the first splitting module includes:

[0048] An extraction submodule, configured to extract entities based on the question information to obtain a plurality of entity pairs as target entity pairs;

[0049] A second determination submodule is used to determine, for each target entity pair, a target operation process that matches two entities in the target entity pair;

[0050] A first acquisition submodule is used to combine the target entity pair and the corresponding target operation processing to obtain a subproblem corresponding to the target entity pair as a target subproblem;

[0051] The third determination submodule is used to determine the solution order between every two target sub-problems as the target solution order;

[0052] The second acquisition submodule is used to obtain a problem topology diagram based on the determined target solution sequence.

[0053] Optionally, the second determining submodule includes:

[0054] A first acquisition unit is used to input each target entity pair into a pre-trained operation prediction model to obtain a predicted operation process of the target entity pair; wherein the operation prediction model is trained based on a sample entity pair and a sample operation process matching two entities in the sample entity pair;

[0055] A first determining unit is configured to determine the predicted operation process as a target operation process if it is determined based on a pre-built knowledge graph that the predicted operation process passes verification;

[0056] The third determining submodule comprises:

[0057] A second acquisition unit is used to input each two target sub-problems into a pre-trained solution order prediction model to obtain a predicted solution order corresponding to the two target sub-problems; wherein the solution order prediction model is trained based on sample sub-problems and sample solution orders between the sample sub-problems;

[0058] The second determination unit is used to determine the predicted solution sequence as the target solution sequence if it is determined that the predicted solution sequence passes the verification based on the pre-constructed causal graph.

[0059] Optionally, the knowledge base includes at least one of the following:

[0060] Preset unstructured text, preset structured text, knowledge graph and fact graph;

[0061] Wherein, the knowledge graph is obtained based on the unstructured text and / or the structured text;

[0062] The event graph is obtained based on the unstructured text and / or the structured text.

[0063] Optionally, the knowledge base includes: preset unstructured text, preset structured text, non-common sense knowledge graph, common sense knowledge graph, common sense reason graph and non-common sense reason graph;

[0064] The second acquisition module includes:

[0065] The third acquisition submodule is used to query the solution results of the current problem node to be processed in the unstructured text, the structured text, the uncommon knowledge graph and the uncommon matter graph respectively to obtain the initial solution results;

[0066] The third determination submodule is used to determine the initial solution result as the target solution result of the current problem node to be processed if the initial solution result conforms to the common sense knowledge graph and / or the common sense reason graph.

[0067] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:

[0068] A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0069] Memory, used to store computer programs;

[0070] The processor is used to implement any result acquisition method described in the first aspect when executing the program stored in the memory.

[0071] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the result acquisition method described in any one of the first aspects is implemented.

[0072] According to a fifth aspect of an embodiment of the present disclosure, there is provided a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the result acquisition methods described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.

[0074] Figure 1 A flowchart of obtaining a result provided by an embodiment of the present disclosure;

[0075] Figure 2A problem topology diagram provided for an embodiment of the present disclosure;

[0076] Figure 3 Another problem topology diagram provided for an embodiment of the present disclosure;

[0077] Figure 4 A flowchart of another result acquisition provided by an embodiment of the present disclosure;

[0078] Figure 5 Another problem topology diagram provided for an embodiment of the present disclosure;

[0079] Figure 6 A flowchart of another result acquisition provided by an embodiment of the present disclosure;

[0080] Figure 7 A schematic diagram of a principle of obtaining a result provided by an embodiment of the present disclosure;

[0081] Figure 8 A structural diagram of a result acquisition device provided in an embodiment of the present disclosure;

[0082] Fig. 9 A structural diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0083] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field based on the present disclosure belong to the scope of protection of the present disclosure.

[0084] In related technologies, the answers to some simple questions are often based on building a reading comprehension model based on a graph structure or a graph neural network. This reading comprehension model usually does not support the splitting of complex questions, or only supports splitting complex questions into multiple sub-questions, but cannot merge the split sub-questions. Therefore, it cannot support the answering of complex questions. For example, the answering of comparison questions and the answering of multiple-choice questions cannot be applied to many scenarios.

[0085] In order to solve the above problems, the embodiments of the present disclosure provide a method for obtaining results, which can be applied to an electronic device, and the electronic device can obtain the answer result of the question information based on the question information and the method provided by the embodiments of the present disclosure. The electronic device can be applied to question-answering scenarios that require multi-hop reasoning, such as electronic customer service scenarios, judicial law popularization scenarios, smart education scenarios, etc. Correspondingly, the electronic device can be an intelligent question-answering device in the question-answering system of the above scenarios. Alternatively, the electronic device can also be a search engine, etc.

[0086] See also Figure 1 , Figure 1 A flowchart of obtaining a result provided in an embodiment of the present disclosure, the method may include the following steps:

[0087] S101: Obtain question information.

[0088] S102: Obtain a question topology map based on splitting the question information.

[0089] The question topology graph includes a plurality of question nodes, each of which represents each target sub-question obtained by splitting the question information; the connection order between the plurality of question nodes is determined according to the target solution order between the target sub-questions.

[0090] S103: Based on the connection sequence between the problem nodes in the problem topology graph, determine the current problem node to be processed according to a preset rule.

[0091] S104: Based on the pre-built knowledge base, obtain the target solution result of the current problem node to be processed.

[0092] S105: Based on the target answer result, the next question node of the current question node to be processed in the connection sequence is updated, and the updated next question node is used as the current question node to be processed, and the step of obtaining the target answer result of the current question node to be processed based on the pre-built knowledge base is returned to execute, until the target answer result of the last question node in the connection sequence is obtained as the answer result of the question information.

[0093] Based on the above processing, the question information can be split to obtain a question topology map composed of multiple sub-questions, that is, for the question information corresponding to complex questions, for example, the question information corresponding to comparison questions, and the question information corresponding to multiple-choice questions, the corresponding question topology map can be obtained, and then the answer result can be obtained. Based on the above processing, it is possible to adapt to various types of complex questions, and it is possible to integrate clues of multiple word questions corresponding to complex questions. In other words, it can support the answer to complex questions, for example, the answer to comparison questions, and the answer to multiple-choice questions, and it can be applicable to more scenarios.

[0094] With respect to step S101 , the question information may include questions to be answered.

[0095] For example, when a user communicates with an intelligent customer service device through a client, the user can enter text representing his or her question, and the intelligent customer service device can then obtain the text as question information; or the user can enter voice data representing his or her question, and the intelligent customer service device can then obtain the voice data and convert it into text to obtain question information.

[0096] With respect to S102, in one implementation, the electronic device identifies events in the question information, extracts corresponding events, and then constructs a question topology map based on event relationships between the events.

[0097] The event relationship between events can be a sequential relationship, a causal relationship, or a conditional relationship, etc., which is not specifically limited here.

[0098] Among them, the sequential relationship indicates the relationship between two events that occur successively in time, for example, event A1 "the school bell rings" and event B1 "students leave the school one after another". Since the students leave the school one after another after the school bell rings, it can be seen that the event relationship between event A1 and event B1 is a sequential relationship. Correspondingly, in the problem topology diagram, the problem node corresponding to event A1 is the previous problem node of the problem node corresponding to event B1.

[0099] A causal relationship means that the occurrence of one event leads to the occurrence of another event. For example, event A2 "Zhang San is sick" and event B2 "Zhang San goes to the hospital to register". Zhang San is sick and causes Zhang San to go to the hospital. It can be seen that the event relationship between event A2 and event B2 is a causal relationship. Correspondingly, in the problem topology diagram, the problem node corresponding to event A2 is the previous problem node of the problem node corresponding to event B2.

[0100] A conditional relationship indicates that one event is a condition for another event to occur. For example, event A3 "determines the price of a pencil" and event B3 "calculates the total price of five pencils". Only by determining the price of a pencil can the total price of five pencils be calculated. It can be seen that the event relationship between event A3 and event B3 is a conditional relationship. Correspondingly, in the problem topology diagram, the problem node corresponding to event A3 is the previous problem node of the problem node corresponding to event B3.

[0101] It can be understood that, in the problem topology diagram, the previous problem node of a problem node corresponding to an event may be one or more than one problem node.

[0102] For example, question information Q1 is "You are trying to lose weight. How long do you need to run on the treadmill to burn off the calories from a hamburger and three bags of spicy strips you ate today?"

[0103] The electronic device can extract from the question information pending events A4 "How many calories 1 are in a hamburger?", pending event A5 "How many calories 2 are in a bag of spicy strips?", pending event A6 "How many calories 3 are consumed per minute running on a treadmill?", pending event B4 "How many calories 1 times 1 are in a hamburger?", pending event B5 "How many calories 2 times 3 are in a bag of spicy strips?" and pending event C1 "Calculate the calories 1 of a hamburger plus the calories 2 times 3 of a bag of spicy strips, and then divide the above sum by the calories 3 consumed per minute running on a treadmill. What is the result?".

[0104] It can be determined that the event relationship between the pending event A4 and the pending event B4 is a conditional relationship. Correspondingly, the problem node 1 corresponding to the pending event A4 is the previous problem node of the problem node 2 corresponding to the pending event B4; similarly, the problem node 3 corresponding to the pending event A5 is the previous problem node of the problem node 4 corresponding to the pending event B5; the event relationship between the pending event B4 and the pending event C1 is a conditional relationship, the event relationship between the pending event B5 and the pending event C1 is a conditional relationship, and the event relationship between the pending event A6 and the pending event C1 is a conditional relationship. Correspondingly, the problem node 2, the problem node 4 and the problem node 5 corresponding to the pending event A6 are all the previous problem nodes of the problem node 6 corresponding to the pending event C1. Then, the problem topology corresponding to the question information Q1 can be obtained, such as Figure 2 shown.

[0105] Figure 2 , the previous problem node of problem node 2 is problem node 1; the previous problem node of problem node 4 is problem node 3; and there are multiple previous problem nodes of problem node 6, namely problem node 2, problem node 4 and problem node 5.

[0106] For example, the question information Q2 is "How tall is Zhang San's deskmate?", and the electronic device can extract the pending event A7 "Who is Zhang San's deskmate?" and the pending event B7 "How tall is he?" from the question information.

[0107] Furthermore, it can be determined that the event relationship between the pending event A7 and the pending event B7 is a conditional relationship. Accordingly, the problem node 7 corresponding to the pending event A7 is the previous problem node of the problem node 8 corresponding to the pending event B7. Based on the position relationship corresponding to the above problem nodes, the problem topology corresponding to the question information Q2 can be obtained, such as Figure 3 shown.

[0108] In the related art, a question template can be manually pre-set, and then, after obtaining the question information, the question information can be split according to the question template. However, in the embodiment of the present disclosure, there is no need to set a question template, which can avoid relying on manually set question templates, and thus can save costs.

[0109] In some embodiments, see Figure 4 , Figure 4 Another flowchart of obtaining results provided by the embodiment of the present disclosure is as follows: Figure 1 On the basis of, step S102 may include the following steps:

[0110] S1021: Extract entities based on the question information to obtain multiple entity pairs as target entity pairs.

[0111] S1022: For each target entity pair, determine a target operation process that matches two entities in the target entity pair.

[0112] S1023: Combine the target entity pair and the corresponding target operation processing to obtain a sub-problem corresponding to the target entity pair as the target sub-problem.

[0113] S1024: Determine the solution order between every two target sub-problems as the target solution order.

[0114] S1025: Based on the determined target solution sequence, a problem topology map is obtained.

[0115] In step S1021, the electronic device may perform grammatical analysis on the received question information, that is, analyze the grammatical structure of the question information according to grammatical rules, and then extract multiple entities in the question information. Then, based on the extracted multiple entities, multiple entity pairs are obtained as target entity pairs.

[0116] For example, question information Q3 is "Which has more calories, a hamburger or a bowl of rice?". Question information Q3 is parsed syntactically to extract multiple entities in question information Q3, such as "hamburger", "rice", and "calories". Then, multiple target entity pairs in question information Q3 are determined, such as entity pair 1 ("hamburger", "calories"), entity pair 2 ("rice", "calories"), and entity pair 3 ("hamburger", "rice").

[0117] Based on the attributes of the two entities in each target entity pair and the entity relationship between the two entities, the target operation process of the two entities is determined. Then, based on the target entity pair and the corresponding target operation process, the target sub-problem is obtained.

[0118] Taking question information Q3 as an example, based on the respective attributes of "hamburger" and "calories" in target entity pair 1, and the entity relationship between the two entities, the target entity pair 1 ("hamburger", "calories") can be matched with the target operation processing of "query" to obtain the corresponding target sub-question 1 "query how many calories X a hamburger is?"; correspondingly, entity pair 2 ("rice", "calories") can also be matched with the target operation processing of "query" to obtain the corresponding target sub-question 2 "query how many calories Y a bowl of rice is?"; entity pair 3 ("hamburger", "rice") is matched with the target operation processing of "comparison", that is, compare the size of the two values, and then obtain the target sub-question 3 "compare the values ​​of X and Y, which one is larger?".

[0119] Every two target sub-problems can form a target sub-problem pair. For each target sub-problem pair, a target solution order between the two target sub-problems in the target sub-problem pair can be determined.

[0120] In one implementation, events matching the two target sub-problems in the target sub-problem pair can be determined from the pre-selected event graph. Further, the target solution order between the two target sub-problems can be determined based on the order between the matching events.

[0121] In some embodiments, Figure 4 On the basis of, step S1022 may include the following steps:

[0122] Step 1: For each target entity pair, the target entity pair is input into a pre-trained operation prediction model to obtain a predicted operation process of the target entity pair.

[0123] The operation prediction model is trained based on sample entity pairs and sample operation processing that matches two entities in the sample entity pairs.

[0124] Step 2: If the predicted operation process is determined to have passed verification based on the pre-built knowledge graph, the predicted operation process is determined as the target operation process.

[0125] Step S1024 may include the following steps:

[0126] Step 3: Input each two target sub-problems into the pre-trained solution order prediction model to obtain the predicted solution order corresponding to the two target sub-problems.

[0127] The solution order prediction model is trained based on sample sub-questions and the sample solution order between sample sub-questions.

[0128] Step 4: If the predicted solution sequence is determined to pass verification based on the pre-constructed causal graph, the predicted solution sequence is determined as the target solution sequence.

[0129] A knowledge graph can represent a data structure consisting of entities, entity relationships, and attributes. A knowledge graph can contain multiple nodes, each of which represents an entity. There are directed lines between different nodes, which represent the entity relationships between the entities corresponding to the nodes.

[0130] The event graph can represent the evolution laws and patterns between events. The event graph can contain multiple nodes, each node represents an event, and there are directed lines between different nodes, which represent the event relationship between the events corresponding to the nodes.

[0131] In one implementation, after obtaining the predicted operation processing of the target entity pair based on the operation prediction model, the entity relationship between the two entities in the target entity pair can be queried in the knowledge graph, and it can be determined whether the entity relationship matches the predicted operation processing; if they match, it is determined that the verification has passed; otherwise, it is determined that the verification has not passed.

[0132] Taking question information Q3 as an example, for target entity pair 1 ("hamburger", "calories"), the predicted operation process is determined to be "query"; and based on the knowledge graph, the entity relationship between the two entities in target entity pair 1 ("hamburger", "calories") is determined to be: "calories" is an attribute of "hamburger", that is, the "calories" of "hamburger" can be queried. Therefore, it can be determined that the entity relationship queried in the knowledge graph matches the predicted operation process.

[0133] On the contrary, for the target entity pair 1 ("hamburger", "calories"), if the predicted operation is determined to be "comparison", based on the knowledge graph, the entity relationship between the two entities in the target entity pair 1 ("hamburger", "calories") is determined to be: "calories" is an attribute of "hamburger". Since it is impossible to compare "hamburger" and "calories", it can be determined that the entity relationship queried in the knowledge graph does not match the predicted operation.

[0134] In one implementation, the answer order prediction model may be a BERT (Bidirectional Encoder Representations from Transformers) model.

[0135] The order of answers between questions can be parallel, or can be in order, or can be in order. In one implementation, for every two sample sub-questions, a corresponding triple can be generated, that is, the triple includes the two sample sub-questions and the sample answer order between the two sample sub-questions. Then, based on the constructed triples, a solution order prediction model can be trained.

[0136] Every two target sub-problems can constitute a target sub-problem pair. Taking question information Q3 as an example, the multiple target sub-problem pairs obtained are: target sub-problem pair 1 (target sub-problem 1, target sub-problem 2), target sub-problem pair 2 (target sub-problem 1, target sub-problem 3) and target sub-problem pair 3 (target sub-problem 2, target sub-problem 3). After inputting the above target sub-problem pairs into the BERT model, it can be obtained that the target solution order between target sub-problem 1 and target sub-problem 2 in target sub-problem pair 1 is parallel; the target solution order between target sub-problem 1 and target sub-problem 3 in target sub-problem pair 2 is pre-order, that is, target sub-problem 1 is before target sub-problem 3; similarly, the target solution order between target sub-problem 2 and target sub-problem 3 in target sub-problem pair 3 is pre-order, that is, target sub-problem 2 is before target sub-problem 3. Based on the above processing, the corresponding question topology graph of question information Q3 is obtained, as shown in Figure 5 shown.

[0137] In one implementation, after the predicted solution order is obtained based on the solution order prediction model, the two target sub-problems can be matched with the events in the pre-constructed causal graph, and then the predicted solution order of the two target sub-problems can be verified according to the event relationship between the matched events in the causal graph. If the event relationship between the matched events in the causal graph is consistent with the predicted solution order, it is determined that the predicted solution order has passed the verification; otherwise, it is determined that it has not passed the verification.

[0138] Taking question information Q3 as an example, the predicted answer order of target sub-question 1 and target sub-question 3 is the first order, that is, target sub-question 1 is before target sub-question 3. Correspondingly, for target sub-question 1 "Query the calorie X of the hamburger?" and target sub-question 3 "Compare the values ​​of X and Y, which one is larger?", the matching events in the event graph correspond to event 1 "Query the value of A?" and event 2 "Compare the values ​​of A and B, which one is larger?". Since only after the value of A is queried first, the value of A and the value of B can be compared later, so the event relationship between event 1 and event 2 is a conditional relationship. Correspondingly, event 1 is before event 2 in the event graph. It can be determined that the predicted answer order of target question 1 and target sub-question 3 matches the event relationship between the matching events in the event graph, and it is determined to pass the verification.

[0139] In one implementation, in the problem topology graph, multiple problem nodes with event relationships such as sequential relationships, causal relationships, and conditional relationships can constitute a branch. If there are the same next problem nodes between different branches, these branches can be used as parallel branches, and the corresponding problem topology graph can be called a parallel problem topology graph.

[0140] For example, Figure 2 In the example, the first layer contains three problem nodes, namely, problem node 1, problem node 3, and problem node 5; the second layer contains two problem nodes, namely, problem node 2 and problem node 4; and the third layer contains one problem node, namely, problem node 6.

[0141] Figure 2 In the example, problem nodes 1 and 2 form a branch; problem nodes 3 and 4 form a branch; and problem node 5 is a branch. Accordingly, the three branches have the same next problem node, i.e., problem node 6, so the three branches can be called parallel branches.

[0142] If there are no parallel branches in the problem topology graph, the problem topology graph can be called a non-parallel problem topology graph.

[0143] In one implementation, the problem topology graph can be divided into different layers according to the connection relationship between each problem node in the problem topology graph. There is a sequence between each layer, and the sequence between each layer is determined based on the connection relationship between the problem nodes contained in each layer. In the parallel problem topology graph, there is a layer containing multiple problem nodes.

[0144] For example, Figure 2 In the example, problem node 1, problem node 3 and problem node 5 belong to one layer (i.e., the first layer); problem node 2 and problem node 4 belong to one layer (i.e., the second layer); and problem node 6 belongs to the third layer.

[0145] It can be understood that in the non-parallel problem topology graph, each layer contains only one problem node.

[0146] For example, Figure 3 In the example, the first layer only contains the problem node 7, and the second layer only contains the problem node 8.

[0147] With respect to steps S103-S105, in one implementation, the electronic device may perform processing based on the order relationship between the layers in the problem topology map. For example, after obtaining the problem topology map, the problem node in the first layer may be determined as the current problem node to be processed, and the corresponding answer result may be obtained. Then, the problem node in the second layer may be updated according to the answer result of the problem node in the first layer, and then the updated problem node in the second layer may be determined as the current problem node to be processed, and the corresponding answer result may be obtained, and so on, until the answer result of the problem node in the last layer is obtained, and the answer result of the question information is obtained.

[0148] by Figure 2 For example, it can be known that after the electronic device obtains the problem topology map, it can determine that the problem nodes 1, 3 and 5 of the first layer are the current problem nodes to be processed, and obtain the value of the heat 1 of a hamburger, the value of the heat 2 of a bag of spicy strips, and the value of the heat 3 consumed per minute running on the treadmill. Then, the value of heat 1 is substituted into the problem node 2 of the second layer, and the value of heat 2 is substituted into the problem node 4 of the second layer. The two updated problem nodes of the second layer are used as the current problem nodes to be processed, and the electronic device obtains the corresponding answer results, that is, the value of the heat 1 of a hamburger multiplied by 1 and the value of the heat 2 of a bag of spicy strips multiplied by 3. Then, the value of the heat 1 of a hamburger multiplied by 1, the value of the heat 2 of a bag of spicy strips multiplied by 3, and the value of the heat 3 consumed per minute running on the treadmill are substituted into the problem node 6 of the third layer, and the problem nodes after the third layer are updated are obtained. The electronic device obtains the answer results corresponding to the updated problem nodes of the third layer, and obtains the answer results of the question information Q1.

[0149] In one implementation, if a layer contains multiple question nodes, the electronic device can simultaneously obtain the answer results corresponding to the multiple question nodes in a parallel manner, or can also obtain the answer result of each question node in the layer in sequence.

[0150] Based on the above processing, it can be seen that the electronic device can construct a question topology map corresponding to the question information, and each question node in the question topology map represents a sub-question with specific and clear semantic information, thereby realizing the display splitting of the question information and making the result acquisition process highly interpretable.

[0151] In some embodiments, the initial state of each question node in the question topology diagram is unanswered, see Figure 6 , Figure 6 Another flowchart of obtaining results provided by the embodiment of the present disclosure is as follows: Figure 1 On the basis of, step S103 comprises:

[0152] S1031: Based on the connection sequence between the question nodes in the question topology graph, determine the current question node to be processed from the currently unanswered question nodes.

[0153] After step S104, the method further includes:

[0154] S106: Determine whether the current question node to be processed has been answered.

[0155] In one implementation, the preset rule indicates: determine the current unprocessed question node from the currently unanswered question nodes. For each question node, after the electronic device obtains the answer result corresponding to the question node, the state of the question node is determined as answered. Accordingly, the electronic device can determine the current unanswered question node, that is, the current state is an unanswered question node (which can be called an unanswered question node), and determine the layer to which each unanswered question node belongs (which can be called an unanswered layer), and then, according to the order between the unanswered layers, the unanswered question node in the front unanswered layer can be determined as the current unprocessed question node.

[0156] For example, in generating Figure 2 After the problem topology diagram shown, the electronic device can set the initial state of each problem node to unanswered. After the electronic device obtains the answer result corresponding to the problem node in the first layer, that is, after obtaining the value of the heat 1 of a hamburger, the value of the heat 2 of a bag of spicy strips, and the value of the heat 3 consumed per minute running on a treadmill, the problem node in the first layer can be determined to be answered, that is, the state of the problem node in the first layer is updated to answered. At this time, the states of the problem nodes in the second layer and the problem nodes in the third layer are both unanswered, that is, the second layer and the third layer are currently unanswered layers. Then, according to the order between the unanswered layers, the first unanswered layer is determined to be the second layer, then the unanswered problem nodes in the second layer, problem node 2 and problem node 4, can be determined as the current problem nodes to be processed. And so on, until the answer result of the problem node in the third layer is obtained.

[0157] It is understandable that, when the electronic device obtains the solution result of the last layer, the status of each question node in the question topology diagram is answered.

[0158] In some embodiments, the knowledge base includes at least one of the following: preset unstructured text, preset structured text, a knowledge graph, and a causal graph.

[0159] Among them, the knowledge graph is obtained based on unstructured text and / or structured text; the fact graph is obtained based on unstructured text and / or structured text.

[0160] The preset unstructured text refers to plain text, that is, text without a specified structure, such as text in a book, text in a newspaper, etc. The preset structured text refers to text with a specified structure, such as text in a transcript, text in a hospital's inpatient registration form, etc. Among them, unstructured text can also be called unstructured data, and structured text can also be called structured data.

[0161] In one implementation, entities, entity relationships, and attributes can be extracted from unstructured text and / or structured text. Then, a knowledge graph is constructed based on the attributes and entity relationships. Correspondingly, events and event relationships can also be extracted from unstructured text and / or structured text, and then, a knowledge graph is constructed based on the event relationships between events.

[0162] Based on the above processing, it can be known that the entities, entity relationships and attributes contained in the knowledge graph, as well as the events and event relationships contained in the matter graph, correspond to text paragraphs at different locations in the unstructured text and / or structured text. Accordingly, when the electronic device obtains the answer result from the knowledge graph and the matter graph, it means that the electronic device can find the corresponding answer clues at multiple distant locations in the unstructured text and / or structured text, thereby obtaining the answer result.

[0163] If the knowledge base includes: preset unstructured text, preset structured text, knowledge graph and matter graph. In one implementation, the electronic device can query the answer result corresponding to the problem node in the knowledge graph and the matter graph. If the answer result corresponding to the problem node is found, the answer result can be used; if the answer result corresponding to the problem node is not found, the electronic device can query the answer result corresponding to the problem node in the unstructured text and the structured text. Based on this, the electronic device can search for the answer result of the problem node from multiple information sources, thereby improving the accuracy of the answer result. In addition, the electronic device preferentially obtains the answer result from the knowledge graph and the matter graph, which can improve the efficiency of result acquisition.

[0164] In one implementation, unstructured text and structured text can be obtained, and then a knowledge graph and a fact graph can be constructed based on the unstructured text and the structured text. Accordingly, at least one item can be selected from the unstructured text, the structured text, the knowledge graph, and the fact graph to obtain a knowledge base.

[0165] In some embodiments, the knowledge base includes: preset unstructured text, preset structured text, non-common sense knowledge graph, common sense knowledge graph, common sense reason graph and non-common sense reason graph.

[0166] In some embodiments, Figure 1On the basis of, step S104 may include the following steps:

[0167] Step 1: Query the solution results of the current problem node to be processed in unstructured text, structured text, non-common sense knowledge graph and non-common sense reason graph respectively to obtain the initial solution results.

[0168] Step 2: If the initial answer result is consistent with the common sense knowledge graph and / or the common sense reason graph, the initial answer result is determined as the target answer result of the current problem node to be processed.

[0169] In one implementation, entities, attributes, and entity relationships in text containing common sense knowledge can be extracted, and then a knowledge graph can be constructed based on the above information as a common sense knowledge graph. For example, a common sense knowledge graph can represent: salt is salty, apples are fruits, etc.

[0170] Accordingly, entities, attributes and entity relationships in texts containing non-common sense knowledge can be extracted, and then a knowledge graph can be constructed based on the above information as a non-common sense knowledge graph. For example, a non-common sense knowledge graph can represent: Zhang San gets up at 7 o'clock every Saturday morning, Zhang San's favorite fruit is apple, etc.

[0171] Similarly, we can extract events and event relationships between events in texts containing common sense knowledge, and then build a reasoning graph based on the above information as a common sense reasoning graph. For example, a common sense reasoning graph can represent that the heart rate will increase after exercise, and you will drink water when you are thirsty.

[0172] Accordingly, events in the text containing non-common sense knowledge and the event relationships between events can be extracted, and then, a fact map can be constructed based on the above information as a non-common sense fact map. For example, a non-common sense fact map can represent: choosing to go to the supermarket to buy food when feeling hungry and thirsty, and using a mobile phone to pay at the end of a meal.

[0173] In one implementation, the electronic device may use a sparse search method to search in unstructured text, a dense search method to search in structured text, and a graph search method to search in non-common sense knowledge graphs and non-common sense reason graphs.

[0174] In one implementation, corresponding answer results can be obtained for unstructured text, structured text, non-common sense knowledge graph and non-common sense reason graph. Then, the electronic device can select one from each answer result as the initial answer result. For example, the electronic device can select one from each answer result as the initial answer result according to a preset order. The electronic device can randomly select one from each answer result as the initial answer result.

[0175] Then, the initial answer result can be verified based on the common sense knowledge graph and / or the common sense reason graph, that is, whether the initial answer result conforms to the common sense knowledge graph and / or the common sense reason graph. If the initial answer result conforms to the common sense knowledge graph and / or the common sense reason graph, the initial answer result can be determined to be the target answer result of the current problem node to be processed. If the initial answer result does not conform to the common sense knowledge graph and / or the common sense reason graph, the initial answer result can be discarded.

[0176] For example, the problem node to be processed represents "What is Zhang San's favorite fruit?" If the initial answer obtained is "apple", it is verified according to the common sense knowledge graph to determine that apple is a fruit, indicating that the initial answer result conforms to the common sense knowledge graph, and the initial answer result is determined to be the target answer result of the current problem node to be processed. If the initial answer obtained is "mutton", it is verified according to the common sense knowledge graph to determine that mutton is not a fruit, indicating that the initial answer result does not conform to the common sense knowledge graph, and the initial answer result can be discarded.

[0177] In addition, after discarding the initial solution result, the electronic device may reselect a solution result from the solution results as the initial solution result, and re-verify until the target solution result of the current problem node to be processed is determined.

[0178] If the target answer result is not obtained after all the multiple answer results in the current problem node to be processed are verified, the electronic device returns a prompt message to the user that the answer result has not been found.

[0179] Based on the above processing, the electronic device can verify the answer results of each sub-question according to the common sense knowledge graph and / or the common sense reason graph, so as to improve the accuracy of the obtained results.

[0180] See also Figure 7 , Figure 7 A schematic diagram of the principle of obtaining a result provided in an embodiment of the present disclosure.

[0181] like Figure 7 As shown, the data and knowledge module is used to extract, calculate, and fuse the knowledge obtained from "encyclopedia", "common sense", "field", "corpus", and "literature" to obtain unstructured data and structured data.

[0182] Then, "entities", "attributes", "relationships" and "events" in unstructured data and structured data can be extracted, as well as entity relationships between entities and event relationships between events. For example, event relationships can include causal relationships and sequential relationships, and entity relationships can include composition relationships. Furthermore, based on the above extracted information, a knowledge graph (including common sense knowledge graphs and non-common sense knowledge graphs) and a matter graph (including common sense matter graphs and non-common sense matter graphs) are constructed to obtain a knowledge base (including unstructured data, structured data, matter graphs and knowledge graphs).

[0183] The reasoning module is used to obtain the complex problem to be answered and split the complex problem into multiple sub-problems. Then, based on the multiple sub-problems, a problem topology graph is constructed. The problem topology graph contains multiple problem nodes, each problem node represents each sub-problem obtained by splitting the problem, and the initial state of the problem node is unanswered. The reasoning module determines the sub-problem to be processed (i.e., the current problem node to be processed) according to the state of the problem node corresponding to the sub-problem. Then, the searcher uses sparse query, dense query and graph query to search the answer result corresponding to the sub-problem in the knowledge base, and verifies the answer result based on the knowledge graph and / or the fact graph. After the verification is passed, the state of the problem node corresponding to the sub-problem is updated to answered, and the answer result of the sub-problem is used as evidence to update the next sub-problem of the sub-problem. The next sub-problem after the update is determined to be the current sub-problem to be processed, and then the corresponding answer result is searched in the knowledge base through the above multiple query methods. Repeat the above steps until the state of all problem nodes in the problem topology graph is answered. The answer result of the last sub-problem is used as the final answer to the problem.

[0184] Based on the same inventive concept, the embodiment of the present disclosure also provides a result acquisition device, see Figure 8 , Figure 8 A structural diagram of a result acquisition device provided in an embodiment of the present disclosure, the device may include:

[0185] The first acquisition module 801 is used to acquire question information;

[0186] The first splitting module 802 is used to obtain a question topology map based on splitting the question information; wherein the question topology map includes a plurality of question nodes, each question node represents each target sub-question obtained by splitting the question information; the connection order between the plurality of question nodes is determined according to the target solution order between the target sub-questions;

[0187] The first determination module 803 is used to determine the current problem node to be processed according to a preset rule based on the connection sequence between the problem nodes in the problem topology graph;

[0188] The second acquisition module 804 is used to acquire the target solution result of the current problem node to be processed based on the pre-built knowledge base;

[0189] The third acquisition module 805 is used to update the next question node of the current problem node to be processed in the connection sequence based on the target answer result, and use the updated next question node as the current problem node to be processed, and return to execute the step of obtaining the target answer result of the current problem node to be processed based on the pre-built knowledge base, until the target answer result of the last question node in the connection sequence is obtained as the answer result of the question information.

[0190] Optionally, the initial state of each question node in the question topology graph is unanswered;

[0191] The first determining module 803 includes:

[0192] A first determination submodule is used to determine the current unanswered question node from the currently unanswered question nodes based on the connection order between the question nodes in the question topology graph;

[0193] The device also includes:

[0194] The second determination module is used to determine that the current problem node to be processed is answered after obtaining the target solution result of the current problem node to be processed based on the pre-built knowledge base.

[0195] Optionally, the first splitting module 802 includes:

[0196] An extraction submodule is used to extract entities based on the question information to obtain multiple entity pairs as target entity pairs;

[0197] A second determination submodule is used to determine, for each target entity pair, a target operation process that matches two entities in the target entity pair;

[0198] A first acquisition submodule is used to combine the target entity pair and the corresponding target operation processing to obtain a subproblem corresponding to the target entity pair as a target subproblem;

[0199] The third determination submodule is used to determine the solution order between every two target sub-problems as the target solution order;

[0200] The second acquisition submodule is used to obtain a problem topology diagram based on the determined target solution sequence.

[0201] Optionally, the second determining submodule includes:

[0202] A first acquisition unit is used to input each target entity pair into a pre-trained operation prediction model to obtain a predicted operation process of the target entity pair; wherein the operation prediction model is trained based on a sample entity pair and a sample operation process matching two entities in the sample entity pair;

[0203] A first determination unit is configured to determine the predicted operation process as a target operation process if it is determined based on the pre-built knowledge graph that the predicted operation process passes the verification;

[0204] The third determination submodule includes:

[0205] A second acquisition unit is used to input each two target sub-problems into a pre-trained solution order prediction model to obtain a predicted solution order corresponding to the two target sub-problems; wherein the solution order prediction model is trained based on sample sub-problems and sample solution orders between sample sub-problems;

[0206] The second determination unit is used to determine the predicted solution sequence as the target solution sequence if it is determined that the predicted solution sequence passes the verification based on the pre-constructed causal graph.

[0207] Optionally, the knowledge base includes at least one of the following:

[0208] Preset unstructured text, preset structured text, knowledge graph and fact graph;

[0209] Among them, the knowledge graph is obtained based on unstructured text and / or structured text;

[0210] The reasoning graph is obtained based on unstructured text and / or structured text.

[0211] Optionally, the knowledge base includes: preset unstructured text, preset structured text, non-common sense knowledge graph, common sense knowledge graph, common sense reason graph and non-common sense reason graph;

[0212] The second acquisition module 804 includes:

[0213] The third acquisition submodule is used to query the answer result of the current problem node to be processed in the unstructured text, the structured text, the non-common sense knowledge graph and the non-common sense reason graph respectively to obtain the initial answer result;

[0214] The third determination submodule is used to determine the initial solution result as the target solution result of the current problem node to be processed if the initial solution result conforms to the common sense knowledge graph and / or the common sense reason graph.

[0215] The present disclosure also provides an electronic device, such as Fig. 9As shown, it includes a processor 901, a communication interface 902, a memory 903 and a communication bus 904, wherein the processor 901, the communication interface 902, and the memory 903 communicate with each other through the communication bus 904.

[0216] Memory 903, used for storing computer programs;

[0217] The processor 901 is used to implement any of the above-mentioned result acquisition methods when executing the program stored in the memory 903.

[0218] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0219] The communication interface is used for communication between the above electronic device and other devices.

[0220] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0221] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0222] In another embodiment provided by the present disclosure, a computer-readable storage medium is further provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned result acquisition methods are implemented.

[0223] In another embodiment provided by the present disclosure, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any result acquisition method in the above embodiments.

[0224] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0225] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0226] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0227] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the protection scope of the present disclosure. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure are included in the protection scope of the present disclosure.

Claims

1. A result acquisition method, characterized in that: The method comprises: Get question information; Based on splitting the question information, a question topology graph is obtained; wherein the question topology graph includes a plurality of question nodes, each question node represents each target sub-question obtained by splitting the question information; the connection order between the plurality of question nodes is determined according to the target solution order between the target sub-questions; Based on the connection sequence between the problem nodes in the problem topology graph, determine the current problem node to be processed according to a preset rule; Based on the pre-built knowledge base, obtain the target solution result of the current problem node to be processed; Based on the target answer result, the next question node of the current question node to be processed in the connection sequence is updated, and the updated next question node is used as the current question node to be processed, and the step of obtaining the target answer result of the current question node to be processed based on the pre-built knowledge base is returned to execute until the target answer result of the last question node in the connection sequence is obtained as the answer result of the question information; Wherein, based on splitting the question information, a question topology map is obtained, including: based on entity extraction of the question information, a plurality of entity pairs are obtained as target entity pairs; for each target entity pair, the target entity pair is input into a pre-trained operation prediction model to obtain a predicted operation process of the target entity pair; wherein the operation prediction model is trained based on sample entity pairs and sample operation processes matching two entities in the sample entity pairs; if based on a pre-constructed knowledge graph, it is determined that the predicted operation process passes verification, the predicted operation process is determined as a target operation process; combining the target entity pair and the corresponding target operation process, a sub-problem corresponding to the target entity pair is obtained as a target sub-problem; inputting each two target sub-problems into a pre-trained solution order prediction model to obtain a predicted solution order corresponding to the two target sub-problems; wherein the solution order prediction model is trained based on sample sub-problems and a sample solution order between the sample sub-problems; if based on a pre-constructed causal graph, it is determined that the predicted solution order passes verification, the predicted solution order is determined as a target solution order; based on the determined target solution order, a question topology map is obtained.

2. The method according to claim 1, characterized in that The initial state of each question node in the question topology diagram is unanswered; The step of determining the current problem node to be processed according to a preset rule based on the connection sequence between the problem nodes in the problem topology graph includes: Based on the connection sequence between the question nodes in the question topology graph, determining the current question node to be processed from the currently unanswered question nodes; After obtaining the target solution result of the current problem node to be processed based on the pre-built knowledge base, the method further includes: Determine that the current pending question node is answered.

3. The method according to claim 1, characterized in that The knowledge base includes at least one of the following: Preset unstructured text, preset structured text, knowledge graph and fact graph; Wherein, the knowledge graph is obtained based on the unstructured text and / or the structured text; The event graph is obtained based on the unstructured text and / or the structured text.

4. The method according to claim 1, characterized in that: The knowledge base includes: preset unstructured text, preset structured text, non-common sense knowledge graph, common sense knowledge graph, common sense reason graph and non-common sense reason graph; The method of obtaining the target solution result of the current problem node to be processed based on the pre-built knowledge base includes: respectively querying the answer result of the current problem node to be processed in the unstructured text, the structured text, the uncommon knowledge graph and the uncommon matter graph to obtain an initial answer result; If the initial answer result is consistent with the common sense knowledge graph and / or the common sense reasoning graph, the initial answer result is determined as the target answer result of the current problem node to be processed.

5. A result acquisition device, characterized in that: The device comprises: A first acquisition module is used to acquire question information; A first splitting module is used to obtain a question topology map based on splitting the question information; wherein the question topology map includes a plurality of question nodes, each question node represents each target sub-question obtained by splitting the question information; and the connection order between the plurality of question nodes is determined according to the target solution order between the target sub-questions; A first determination module is used to determine the current problem node to be processed according to a preset rule based on the connection sequence between the problem nodes in the problem topology graph; The second acquisition module is used to obtain the target solution result of the current problem node to be processed based on the pre-built knowledge base; A third acquisition module is used to update the next question node of the current question node to be processed in the connection sequence based on the target answer result, and use the updated next question node as the current question node to be processed, and return to execute the step of obtaining the target answer result of the current question node to be processed based on the pre-built knowledge base, until the target answer result of the last question node in the connection sequence is obtained as the answer result of the question information; The first splitting module includes: an extraction submodule, which is used to extract entities based on the question information to obtain multiple entity pairs as target entity pairs; a first acquisition unit, which is used to input the target entity pair into a pre-trained operation prediction model for each target entity pair to obtain a predicted operation process of the target entity pair; wherein the operation prediction model is trained based on sample entity pairs and sample operation processes that match two entities in the sample entity pairs; a first determination unit, which is used to determine the predicted operation process as the target operation process if it is determined based on a pre-built knowledge graph that the predicted operation process passes the verification; and a first acquisition submodule, which is used to conclude that the predicted operation process passes the verification based on the pre-built knowledge graph. The target entity pair and the corresponding target operation are processed together to obtain the sub-problem corresponding to the target entity pair as the target sub-problem; a second acquisition unit is used to input every two target sub-problems into a pre-trained solution order prediction model to obtain the predicted solution order corresponding to the two target sub-problems; wherein the solution order prediction model is trained based on sample sub-problems and the sample solution order between the sample sub-problems; a second determination unit is used to determine the predicted solution order as the target solution order if it is determined that the predicted solution order passes the verification based on a pre-constructed causal graph; a second acquisition submodule is used to obtain a problem topology map based on the determined target solution order.

6. The device according to claim 5, characterized in that The initial state of each question node in the question topology diagram is unanswered; The first determining module includes: A first determination submodule is used to determine, based on the connection order between the question nodes in the question topology graph, the question nodes that are currently unanswered as the current question nodes to be processed; The device also includes: The second determination module is used to determine that the current problem node to be processed is answered after obtaining the target solution result of the current problem node to be processed based on the pre-built knowledge base.

7. The device according to claim 5, characterized in that The knowledge base includes at least one of the following: Preset unstructured text, preset structured text, knowledge graph and fact graph; Wherein, the knowledge graph is obtained based on the unstructured text and / or the structured text; The event graph is obtained based on the unstructured text and / or the structured text.

8. The device according to claim 5, characterized in that The knowledge base includes: preset unstructured text, preset structured text, non-common sense knowledge graph, common sense knowledge graph, common sense reason graph and non-common sense reason graph; The second acquisition module includes: The third acquisition submodule is used to query the solution results of the current problem node to be processed in the unstructured text, the structured text, the uncommon knowledge graph and the uncommon matter graph respectively to obtain the initial solution results; The third determination submodule is used to determine the initial solution result as the target solution result of the current problem node to be processed if the initial solution result conforms to the common sense knowledge graph and / or the common sense reason graph.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 4 when executing a program stored in a memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 4 are implemented.